Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DProfileOwnerTest.kt59 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
80 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
124 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
159 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
194 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
224 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
249 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
DManagedSubscriptionsPolicyTest.java155 ProfileOwner profileOwner = (ProfileOwner) dpc.devicePolicyController(); in setManagedSubscriptionsPolicy_policySet_oemDialerAndSmsAppInstalledInWorkProfile() local
265 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner( in setManagedSubscriptionsPolicy_fromDPMRoleHolder_works() local
DCrossProfileAppsTest.java805 RemoteDevicePolicyManager profileOwner = sDeviceState.profileOwner(WORK_PROFILE) in canRequestInteractAcrossProfiles_hasValidTarget_returnsTrue() local
834 RemoteDevicePolicyManager profileOwner = sDeviceState.profileOwner(WORK_PROFILE) in canRequestInteractAcrossProfiles_packageNotInAllowList_returnsTrue() local
853 RemoteDevicePolicyManager profileOwner = sDeviceState.profileOwner(WORK_PROFILE) in canRequestInteractAcrossProfiles_packageNotInstalledInPersonalProfile_returnsTrue() local
870 RemoteDevicePolicyManager profileOwner = sDeviceState.profileOwner(WORK_PROFILE) in canRequestInteractAcrossProfiles_packageNotInstalledInWorkProfile_returnsTrue() local
887 RemoteDevicePolicyManager profileOwner = sDeviceState.profileOwner(WORK_PROFILE) in canRequestInteractAcrossProfiles_permissionNotRequested_returnsFalse() local
907 RemoteDevicePolicyManager profileOwner = sDeviceState.profileOwner(WORK_PROFILE) in canRequestInteractAcrossProfiles_profileOwner_returnsFalse() local
DAdbProvisioningTest.java101 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(); in setProfileOwnerUsingAdb_isLogged() local
DProvisioningTest.kt383 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
498 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
522 val profileOwner = TestApis.devicePolicy().getProfileOwner() in <lambda>() constant
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/
DProfileOwnerTest.java109 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner( in remove_nonTestOnlyDpc_removesProfileOwner() local
125 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner( in setAndRemoveProfileOwnerRepeatedly_doesNotThrowError() local
156 ProfileOwner profileOwner = (ProfileOwner) sDeviceState.profileOwner( in setIsOrganizationOwned_becomesOrganizationOwned() local
168 ProfileOwner profileOwner = (ProfileOwner) sDeviceState.profileOwner( in unsetIsOrganizationOwned_becomesNotOrganizationOwned() local
DDevicePolicyTest.java108 ProfileOwner profileOwner = in setProfileOwner_profileOwnerIsSet() local
202 ProfileOwner profileOwner = in getProfileOwner_returnsProfileOwner() local
330 try (ProfileOwner profileOwner = in profileOwner_autoclose_removesProfileOwner()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DProfileOwnersComponent.kt163 val profileOwner: RemoteDpc = deviceState.profileOwner(user) in <lambda>() constant
197 fun profileOwner(onUser: UserReference): RemoteDpc { in <lambda>() method
202 val profileOwner = profileOwners[onUser] in <lambda>() constant
DEnterpriseComponent.kt152 val profileOwner = profileOwnersComponent.getExistingProfileOwner(users().instrumented()) in dpc() constant
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/
DRemoteDpcTest.java126 ProfileOwner profileOwner = in profileOwner_nonRemoteDpcProfileOwner_returnsNull() local
270 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner(sUser, in any_noDeviceOwner_nonRemoteDpcProfileOwner_returnsNull() local
377 RemoteDpc profileOwner = RemoteDpc.setAsProfileOwner(profile); in any_userHandle_remoteDpcProfileOwner_returnsProfileOwner() local
451 RemoteDpc profileOwner = RemoteDpc.setAsProfileOwner(profile); in any_userReference_remoteDpcProfileOwner_returnsProfileOwner() local
598 RemoteDpc profileOwner = RemoteDpc.setAsProfileOwner(profile.userHandle()); in setAsProfileOwner_disallowInstallUnknownSourcesIsDisabled() local
826 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(sUser); in setAsProfileOwner_alreadySetToDifferentRemoteDpc_replacesRemoteDpc() local
862 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(sUser); in setAsProfileOwner_matchesExistingRemoteDpc_doesNotReplace() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DAdbDevicePolicyParser27.java90 ProfileOwner profileOwner = extractProfileOwner(profileOwnerSection); in parseProfileOwners() local
91 profileOwners.put(profileOwner.user(), profileOwner); in parseProfileOwners() local
DDevicePolicy.kt119 val profileOwner = getProfileOwner(user) in <lambda>() constant
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
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
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java159 ComponentName profileOwner = getProfileOwnerComponent(); in testSetSecureSetting_failForInstallNonMarketApps() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java392 ComponentName profileOwner = SecondaryUserAdminReceiver.getComponentName(getContext()); in runCrossUserVerification() local
452 private UserHandle createAndManageUser(ComponentName profileOwner, in createAndManageUser()
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
DEnterpriseAnnotationExecutorTest.kt229 val profileOwner = devicePolicy().getProfileOwner() in ensureHasProfileOwnerAnnotation_noQuerySpecified_setsDefaultRemoteDpc() constant
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiverTest.java119 ProfileOwner profileOwner = in enableProfileOwner_logsEnabledEvent() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserReference.java186 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(this); in remove() local