/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/ |
D | ActionDisabledLearnMoreButtonLauncherTest.java | 217 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/ |
D | DevicePolicyManagerInternal.java | 266 public abstract int getDeviceOwnerUserId(); in getDeviceOwnerUserId() method in DevicePolicyManagerInternal
|
D | IDevicePolicyManager.aidl | 187 int getDeviceOwnerUserId(); in getDeviceOwnerUserId() method
|
D | DevicePolicyManager.java | 9543 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/ |
D | ActionDisabledLearnMoreButtonLauncher.java | 113 return enforcementAdminUserId == dpm.getDeviceOwnerUserId(); in isEnforcedByDeviceOwnerOnSystemUserMode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 100 .that(mDeviceStateCache.isUserOrganizationManaged(owners.getDeviceOwnerUserId())) in loadDeviceOwner()
|
D | DevicePolicyManagerTest.java | 1197 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/ |
D | CertificateMonitor.java | 187 } else if (mService.getDeviceOwnerUserId() == userHandle.getIdentifier()) { in buildNotification()
|
D | Owners.java | 224 int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in Owners
|
D | DevicePolicyManagerService.java | 1155 && 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/ |
D | BugreportManagerServiceImplTest.java | 230 when(mMockDevicePolicyManager.getDeviceOwnerUserId()).thenReturn(-1); in testStartBugreport_throwsForNotAffiliatedUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerServiceShellCommand.java | 215 if (dpm.getDeviceOwnerUserId() == user.id) { in runList()
|
/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | RoleServicePlatformHelperImpl.java | 352 if (devicePolicyManagerInternal.getDeviceOwnerUserId() == userId) { in computePackageStateHash()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 759 int deviceOwnerUid = dpm.getDeviceOwnerUserId(); in isUserAffiliated()
|
/frameworks/base/services/ |
D | art-wear-profile | 9660 PLcom/android/server/devicepolicy/DevicePolicyManagerService$LocalService;->getDeviceOwnerUserId()I 9743 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->getDeviceOwnerUserId()I 9890 HPLcom/android/server/devicepolicy/Owners;->getDeviceOwnerUserId()I
|
D | art-profile | 1450 HSPLcom/android/server/devicepolicy/Owners;->getDeviceOwnerUserId()I
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 2504 Landroid/app/admin/DevicePolicyManager;->getDeviceOwnerUserId()I 2658 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->getDeviceOwnerUserId()I 3186 Landroid/app/admin/IDevicePolicyManager;->getDeviceOwnerUserId()I
|