Home
last modified time | relevance | path

Searched defs:profileOwner (Results 1 – 25 of 191) sorted by relevance

12345678

/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/
H A DProfileOwnerTest.kt63 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
84 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
128 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
167 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
206 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
240 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
265 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
H A DCrossProfileAppsTest.java810 RemoteDevicePolicyManager profileOwner = profileOwner(sDeviceState, WORK_PROFILE) in canRequestInteractAcrossProfiles_hasValidTarget_returnsTrue() local
839 RemoteDevicePolicyManager profileOwner = profileOwner(sDeviceState, WORK_PROFILE) in canRequestInteractAcrossProfiles_packageNotInAllowList_returnsTrue() local
858 RemoteDevicePolicyManager profileOwner = profileOwner(sDeviceState, WORK_PROFILE) in canRequestInteractAcrossProfiles_packageNotInstalledInPersonalProfile_returnsTrue() local
875 RemoteDevicePolicyManager profileOwner = profileOwner(sDeviceState, WORK_PROFILE) in canRequestInteractAcrossProfiles_packageNotInstalledInWorkProfile_returnsTrue() local
892 RemoteDevicePolicyManager profileOwner = profileOwner(sDeviceState, WORK_PROFILE) in canRequestInteractAcrossProfiles_permissionNotRequested_returnsFalse() local
912 RemoteDevicePolicyManager profileOwner = profileOwner(sDeviceState, WORK_PROFILE) in canRequestInteractAcrossProfiles_profileOwner_returnsFalse() local
H A DManagedSubscriptionsPolicyTest.java156 ProfileOwner profileOwner = (ProfileOwner) dpc.devicePolicyController(); in setManagedSubscriptionsPolicy_policySet_oemDialerAndSmsAppInstalledInWorkProfile() local
265 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner( in setManagedSubscriptionsPolicy_fromDPMRoleHolder_works() local
H A DProvisioningTest.kt395 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
507 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
531 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
H A DAdbProvisioningTest.java102 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(); in setProfileOwnerUsingAdb_isLogged() local
/aosp_15_r20/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
H A DProfileOwnersComponent.kt169 val profileOwner: RemoteDpc = profileOwner(user) in <lambda>() constant
203 fun profileOwner(): RemoteDpc { in <lambda>() method
210 fun profileOwner(onUser: UserType): RemoteDpc { in <lambda>() method
217 fun profileOwner(onUser: UserReference): RemoteDpc { in <lambda>() method
222 val profileOwner = profileOwners[onUser] in <lambda>() constant
H A DEnterpriseComponent.kt163 val profileOwner = profileOwnersComponent.getExistingProfileOwner(users().instrumented()) in dpc() constant
242 val profileOwner = profileOwnersComponent in EnsureHasWorkProfile() constant
276 val profileOwner = profileOwnersComponent in logic() constant
H A DEnterpriseDeviceStateExtensions.kt117 fun DeviceState.profileOwner(): RemoteDpc = profileOwner(UserType.INSTRUMENTED_USER) method
126 fun DeviceState.profileOwner(onUser: UserType): RemoteDpc = method
136 fun DeviceState.profileOwner(onUser: UserReference): RemoteDpc = method
/aosp_15_r20/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/
H A DRemoteDpcTest.java129 ProfileOwner profileOwner = in profileOwner_nonRemoteDpcProfileOwner_returnsNull() local
273 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner(sUser, in any_noDeviceOwner_nonRemoteDpcProfileOwner_returnsNull() local
380 RemoteDpc profileOwner = RemoteDpc.setAsProfileOwner(profile); in any_userHandle_remoteDpcProfileOwner_returnsProfileOwner() local
454 RemoteDpc profileOwner = RemoteDpc.setAsProfileOwner(profile); in any_userReference_remoteDpcProfileOwner_returnsProfileOwner() local
601 RemoteDpc profileOwner = RemoteDpc.setAsProfileOwner(profile.userHandle()); in setAsProfileOwner_disallowInstallUnknownSourcesIsDisabled() local
829 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(sUser); in setAsProfileOwner_alreadySetToDifferentRemoteDpc_replacesRemoteDpc() local
865 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(sUser); in setAsProfileOwner_matchesExistingRemoteDpc_doesNotReplace() local
/aosp_15_r20/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/
H A DProfileOwnerTest.java113 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner( in remove_nonTestOnlyDpc_removesProfileOwner() local
129 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner( in setAndRemoveProfileOwnerRepeatedly_doesNotThrowError() local
160 ProfileOwner profileOwner = (ProfileOwner) profileOwner(sDeviceState, in setIsOrganizationOwned_becomesOrganizationOwned() local
172 ProfileOwner profileOwner = (ProfileOwner) profileOwner(sDeviceState, in unsetIsOrganizationOwned_becomesNotOrganizationOwned() local
H A DDevicePolicyTest.java116 ProfileOwner profileOwner = in setProfileOwner_profileOwnerIsSet() local
210 ProfileOwner profileOwner = in getProfileOwner_returnsProfileOwner() local
338 try (ProfileOwner profileOwner = in profileOwner_autoclose_removesProfileOwner()
/aosp_15_r20/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
H A DRemoteDpc.java85 public static RemoteDpc profileOwner() { in profileOwner() method in RemoteDpc
95 public static RemoteDpc profileOwner(UserHandle profile) { in profileOwner() method in RemoteDpc
109 public static RemoteDpc profileOwner(UserReference profile) { in profileOwner() method in RemoteDpc
114 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(profile); in profileOwner() local
/aosp_15_r20/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
H A DEnterpriseAnnotationExecutorTest.kt259 val profileOwner = devicePolicy().getProfileOwner() in ensureHasProfileOwnerAnnotation_noQuerySpecified_setsDefaultRemoteDpc() constant
692 val profileOwner = sDeviceState.profileOwner( in requireRunOnWorkProfile_isOrganizationOwned_organizationOwnerIsTrue() constant
701 val profileOwner = sDeviceState.profileOwner( in requireRunOnWorkProfile_isNotOrganizationOwned_organizationOwnedIsFalse() constant
/aosp_15_r20/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DOwners.java376 OwnerInfo profileOwner = mData.mProfileOwners.get(userId); in getProfileOwnerComponent() local
383 OwnerInfo profileOwner = mData.mProfileOwners.get(userId); in getProfileOwnerPackage() local
394 OwnerInfo profileOwner = mData.mProfileOwners.get(userId); in isProfileOwnerOfOrganizationOwnedDevice() local
521 OwnerInfo profileOwner = mData.mProfileOwners.get(userId); in setProfileOwnerOfOrganizationOwnedDevice() local
H A DOwnersData.java149 OwnerInfo profileOwner = mProfileOwners.get(mDeviceOwnerUserId); in load() local
549 final OwnerInfo profileOwner = mProfileOwners.get(mUserId); in writeInner() local
/aosp_15_r20/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
H A DAdbDevicePolicyParser27.java90 ProfileOwner profileOwner = extractProfileOwner(profileOwnerSection); in parseProfileOwners() local
91 profileOwners.put(profileOwner.user(), profileOwner); in parseProfileOwners() local
H A DDevicePolicy.kt126 val profileOwner = getProfileOwner(user) in <lambda>() constant
/aosp_15_r20/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java167 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedProfileTasks() local
190 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedUserTasks() local
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
H A DCreateAndManageUserTest.java392 ComponentName profileOwner = SecondaryUserAdminReceiver.getComponentName(getContext()); in runCrossUserVerification() local
452 private UserHandle createAndManageUser(ComponentName profileOwner, in createAndManageUser()
/aosp_15_r20/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DWifiHelper.java70 final ComponentName profileOwner = dpm.getProfileOwnerAsUser(profileOwnerUserId); in isNetworkLockedDown() local
/aosp_15_r20/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
H A DUsersComponent.kt719 val profileOwner = TestApis.devicePolicy().getProfileOwner(profile) in <lambda>() constant
/aosp_15_r20/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserInfoView.java131 ComponentName profileOwner = dpm.getProfileOwnerAsUser(userId); in setManagedStatus() local
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java135 final ComponentName profileOwner = dpm.getProfileOwnerAsUser(profileOwnerUserId); in isNetworkLockedDown() local
/aosp_15_r20/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java225 final ComponentName profileOwner = dpm.getProfileOwnerAsUser(profileOwnerUserId); in isNetworkLockedDown() local
/aosp_15_r20/cts/tests/admin/src/android/admin/cts/
H A DDevicePolicyManagerTest.java159 ComponentName profileOwner = getProfileOwnerComponent(); in testSetSecureSetting_failForInstallNonMarketApps() local

12345678