Home
last modified time | relevance | path

Searched refs:getDeviceOwnerUserId (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncherTest.java217 when(mDevicePolicyManager.getDeviceOwnerUserId()).thenReturn(ENFORCEMENT_ADMIN_USER_ID + 1); in mockEnforcementAdminIsNotDeviceOwner()
221 when(mDevicePolicyManager.getDeviceOwnerUserId()).thenReturn(userId); in mockDeviceOwner()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManagerInternal.java266 public abstract int getDeviceOwnerUserId(); in getDeviceOwnerUserId() method in DevicePolicyManagerInternal
DIDevicePolicyManager.aidl187 int getDeviceOwnerUserId(); in getDeviceOwnerUserId() method
DDevicePolicyManager.java9543 int userId = mService.getDeviceOwnerUserId(); in getDeviceOwnerUser()
9558 public int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in DevicePolicyManager
9561 return mService.getDeviceOwnerUserId(); in getDeviceOwnerUserId()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java113 return enforcementAdminUserId == dpm.getDeviceOwnerUserId(); in isEnforcedByDeviceOwnerOnSystemUserMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java100 .that(mDeviceStateCache.isUserOrganizationManaged(owners.getDeviceOwnerUserId())) in loadDeviceOwner()
DDevicePolicyManagerTest.java1197 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_SYSTEM); in setDeviceOwner_headlessSystemUser()
1230 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_SYSTEM); in checkGetDeviceOwnerInfoApi()
1238 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in checkGetDeviceOwnerInfoApi()
1249 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_SYSTEM); in checkGetDeviceOwnerInfoApi()
1257 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in checkGetDeviceOwnerInfoApi()
1269 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_SYSTEM); in checkGetDeviceOwnerInfoApi()
1273 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in checkGetDeviceOwnerInfoApi()
1286 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_SYSTEM); in checkGetDeviceOwnerInfoApi()
1294 assertThat(dpm.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in checkGetDeviceOwnerInfoApi()
1314 dpm::getDeviceOwnerUserId); in checkGetDeviceOwnerInfoApi()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java187 } else if (mService.getDeviceOwnerUserId() == userHandle.getIdentifier()) { in buildNotification()
DOwners.java224 int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in Owners
DDevicePolicyManagerService.java1155 && userHandle == mOwners.getDeviceOwnerUserId()) {
2417 final int doUserId = mOwners.getDeviceOwnerUserId(); in migrateToProfileOnOrganizationOwnedDeviceIfCompLocked()
2608 final int doUserId = mOwners.getDeviceOwnerUserId(); in applyProfileRestrictionsIfDeviceOwnerLocked()
3648 userId = mOwners.getDeviceOwnerUserId();
7006 ? caller.getUserId() == getDeviceOwnerUserId()
9203 deviceOwnerUserId = mOwners.getDeviceOwnerUserId();
9215 userId = mOwners.getDeviceOwnerUserId();
9278 mOwners.getDeviceOwnerUserId());
9281 mContext.sendBroadcastAsUser(intent, UserHandle.of(mOwners.getDeviceOwnerUserId()));
9784 return mOwners.hasDeviceOwner() && mOwners.getDeviceOwnerUserId() == userId
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/os/
DBugreportManagerServiceImplTest.java230 when(mMockDevicePolicyManager.getDeviceOwnerUserId()).thenReturn(-1); in testStartBugreport_throwsForNotAffiliatedUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerServiceShellCommand.java215 if (dpm.getDeviceOwnerUserId() == user.id) { in runList()
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java352 if (devicePolicyManagerInternal.getDeviceOwnerUserId() == userId) { in computePackageStateHash()
/frameworks/base/services/core/java/com/android/server/os/
DBugreportManagerServiceImpl.java759 int deviceOwnerUid = dpm.getDeviceOwnerUserId(); in isUserAffiliated()
/frameworks/base/services/
Dart-wear-profile9660 PLcom/android/server/devicepolicy/DevicePolicyManagerService$LocalService;->getDeviceOwnerUserId()I
9743 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->getDeviceOwnerUserId()I
9890 HPLcom/android/server/devicepolicy/Owners;->getDeviceOwnerUserId()I
Dart-profile1450 HSPLcom/android/server/devicepolicy/Owners;->getDeviceOwnerUserId()I
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt2504 Landroid/app/admin/DevicePolicyManager;->getDeviceOwnerUserId()I
2658 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->getDeviceOwnerUserId()I
3186 Landroid/app/admin/IDevicePolicyManager;->getDeviceOwnerUserId()I