Home
last modified time | relevance | path

Searched refs:deviceOwner (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerServiceShellCommand.java209 String deviceOwner = ""; in runList() local
216 deviceOwner = " (device-owner)"; in runList()
240 deviceOwner, profileOwner, in runList()
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java350 String deviceOwner= ""; in computePackageStateHash() local
356 deviceOwner = deviceOwnerComponent.getPackageName(); in computePackageStateHash()
360 dataOutputStream.writeUTF(deviceOwner); in computePackageStateHash()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1274 ActiveAdmin deviceOwner = getDeviceOwnerAdminLocked();
1275 if (deviceOwner != null) {
1278 sendAdminCommandLocked(deviceOwner, action, extras, /* result */ null,
3540 ActiveAdmin deviceOwner = getDeviceOwnerAdminLocked();
3541 if (deviceOwner != null) {
3543 mUserManagerInternal.setForceEphemeralUsers(deviceOwner.forceEphemeralUsers);
3549 deviceOwner.startUserSessionMessage);
3551 deviceOwner.endUserSessionMessage);
9574 ActiveAdmin deviceOwner = getDeviceOwnerAdminLocked();
9576 deviceOwner.keepUninstalledPackages = packageList;
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java1002 Pair<UserHandle, ComponentName> deviceOwner = getDeviceOwner(context); in isDeviceOwner() local
1005 if (deviceOwner == null) return false; in isDeviceOwner()
1007 return deviceOwner.first.equals(UserHandle.getUserHandleForUid(uid)) in isDeviceOwner()
1008 && deviceOwner.second.getPackageName().equals(packageName); in isDeviceOwner()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java412 int deviceOwnerUserId, String deviceOwner, SparseArray<String> profileOwners); in setDeviceAndProfileOwnerPackages() argument
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java9497 final ComponentName deviceOwner = getDeviceOwnerComponentInner(callingUserOnly); in isDeviceOwnerAppOnAnyUserInner() local
9498 if (deviceOwner == null) { in isDeviceOwnerAppOnAnyUserInner()
9501 return packageName.equals(deviceOwner.getPackageName()); in isDeviceOwnerAppOnAnyUserInner()
9508 ComponentName deviceOwner = null; in isDeviceOwnerAppOnContextUser() local
9511 deviceOwner = mService.getDeviceOwnerComponentOnUser(myUserId()); in isDeviceOwnerAppOnContextUser()
9516 if (deviceOwner == null) { in isDeviceOwnerAppOnContextUser()
9519 return packageName.equals(deviceOwner.getPackageName()); in isDeviceOwnerAppOnContextUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1664 ActiveAdmin deviceOwner = getDeviceOwner(); in checkDeviceOwnerWithMultipleDeviceAdmins() local
1665 assertThat(deviceOwner.info.getComponent()).isEqualTo(admin3); in checkDeviceOwnerWithMultipleDeviceAdmins()
1666 assertThat(deviceOwner.getUid()).isEqualTo(DpmMockContext.CALLER_SYSTEM_USER_UID); in checkDeviceOwnerWithMultipleDeviceAdmins()