Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
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
DManagedSubscriptionsPolicyTest.java157 ProfileOwner profileOwner = (ProfileOwner) dpc.devicePolicyController(); in setManagedSubscriptionsPolicy_policySet_oemDialerAndSmsAppInstalledInWorkProfile() local
266 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner( in setManagedSubscriptionsPolicy_fromDPMRoleHolder_works() local
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
DAdbProvisioningTest.java102 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(); in setProfileOwnerUsingAdb_isLogged() local
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
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
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
DEnterpriseDeviceStateExtensions.kt121 fun DeviceState.profileOwner(): RemoteDpc = profileOwner(UserType.INSTRUMENTED_USER) method
130 fun DeviceState.profileOwner(onUser: UserType): RemoteDpc = method
140 fun DeviceState.profileOwner(onUser: UserReference): RemoteDpc = method
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
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
DProfileOwnerTest.kt88 val profileOwner = devicePolicy().setProfileOwner( in remove_nonTestOnlyDpc_removesProfileOwner() constant
103 val profileOwner = devicePolicy().setProfileOwner( in setAndRemoveProfileOwnerRepeatedly_doesNotThrowError() constant
133 val profileOwner = in setIsOrganizationOwned_becomesOrganizationOwned() constant
146 val profileOwner = in unsetIsOrganizationOwned_becomesNotOrganizationOwned() constant
DDevicePolicyTest.kt68 val profileOwner = in <lambda>() constant
155 val profileOwner = in <lambda>() constant
DEnterpriseAnnotationExecutorTest.kt260 val profileOwner = devicePolicy().getProfileOwner() in ensureHasProfileOwnerAnnotation_noQuerySpecified_setsDefaultRemoteDpc() constant
695 val profileOwner = sDeviceState.profileOwner( in requireRunOnWorkProfile_isOrganizationOwned_organizationOwnerIsTrue() constant
704 val profileOwner = sDeviceState.profileOwner( in requireRunOnWorkProfile_isNotOrganizationOwned_organizationOwnedIsFalse() constant
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/
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
/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.kt141 val profileOwner = getProfileOwner(user) in <lambda>() constant
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
DRemoteDpc.java88 public static RemoteDpc profileOwner() { in profileOwner() method in RemoteDpc
98 public static RemoteDpc profileOwner(UserHandle profile) { in profileOwner() method in RemoteDpc
112 public static RemoteDpc profileOwner(UserReference profile) { in profileOwner() method in RemoteDpc
117 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/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt719 val profileOwner = TestApis.devicePolicy().getProfileOwner(profile) in <lambda>() 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