| /cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
| D | ProfileOwnerTest.kt | 63 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
|
| D | ManagedSubscriptionsPolicyTest.java | 157 ProfileOwner profileOwner = (ProfileOwner) dpc.devicePolicyController(); in setManagedSubscriptionsPolicy_policySet_oemDialerAndSmsAppInstalledInWorkProfile() local 266 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner( in setManagedSubscriptionsPolicy_fromDPMRoleHolder_works() local
|
| D | CrossProfileAppsTest.java | 810 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
|
| D | AdbProvisioningTest.java | 102 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(); in setProfileOwnerUsingAdb_isLogged() local
|
| D | ProvisioningTest.kt | 395 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/ |
| D | ProfileOwnersComponent.kt | 169 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
|
| D | EnterpriseDeviceStateExtensions.kt | 121 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
|
| D | EnterpriseComponent.kt | 163 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/ |
| D | ProfileOwnerTest.kt | 88 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
|
| D | DevicePolicyTest.kt | 68 val profileOwner = in <lambda>() constant 155 val profileOwner = in <lambda>() constant
|
| D | EnterpriseAnnotationExecutorTest.kt | 260 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/ |
| D | RemoteDpcTest.java | 129 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/ |
| D | AdbDevicePolicyParser27.java | 90 ProfileOwner profileOwner = extractProfileOwner(profileOwnerSection); in parseProfileOwners() local 91 profileOwners.put(profileOwner.user(), profileOwner); in parseProfileOwners() local
|
| D | DevicePolicy.kt | 141 val profileOwner = getProfileOwner(user) in <lambda>() constant
|
| /cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/ |
| D | RemoteDpc.java | 88 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/ |
| D | DevicePolicyManagerTest.java | 159 ComponentName profileOwner = getProfileOwnerComponent(); in testSetSecureSetting_failForInstallNonMarketApps() local
|
| /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
| D | CreateAndManageUserTest.java | 392 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/ |
| D | UsersComponent.kt | 719 val profileOwner = TestApis.devicePolicy().getProfileOwner(profile) in <lambda>() constant
|
| /cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/ |
| D | EventLibDeviceAdminReceiverTest.java | 119 ProfileOwner profileOwner = in enableProfileOwner_logsEnabledEvent() local
|
| /cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
| D | UserReference.java | 186 ProfileOwner profileOwner = TestApis.devicePolicy().getProfileOwner(this); in remove() local
|