Searched refs:deviceOwner (Results 1 – 7 of 7) sorted by relevance
209 String deviceOwner = ""; in runList() local216 deviceOwner = " (device-owner)"; in runList()240 deviceOwner, profileOwner, in runList()
350 String deviceOwner= ""; in computePackageStateHash() local356 deviceOwner = deviceOwnerComponent.getPackageName(); in computePackageStateHash()360 dataOutputStream.writeUTF(deviceOwner); in computePackageStateHash()
1274 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 …]
1002 Pair<UserHandle, ComponentName> deviceOwner = getDeviceOwner(context); in isDeviceOwner() local1005 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()
412 int deviceOwnerUserId, String deviceOwner, SparseArray<String> profileOwners); in setDeviceAndProfileOwnerPackages() argument
9497 final ComponentName deviceOwner = getDeviceOwnerComponentInner(callingUserOnly); in isDeviceOwnerAppOnAnyUserInner() local9498 if (deviceOwner == null) { in isDeviceOwnerAppOnAnyUserInner()9501 return packageName.equals(deviceOwner.getPackageName()); in isDeviceOwnerAppOnAnyUserInner()9508 ComponentName deviceOwner = null; in isDeviceOwnerAppOnContextUser() local9511 deviceOwner = mService.getDeviceOwnerComponentOnUser(myUserId()); in isDeviceOwnerAppOnContextUser()9516 if (deviceOwner == null) { in isDeviceOwnerAppOnContextUser()9519 return packageName.equals(deviceOwner.getPackageName()); in isDeviceOwnerAppOnContextUser()
1664 ActiveAdmin deviceOwner = getDeviceOwner(); in checkDeviceOwnerWithMultipleDeviceAdmins() local1665 assertThat(deviceOwner.info.getComponent()).isEqualTo(admin3); in checkDeviceOwnerWithMultipleDeviceAdmins()1666 assertThat(deviceOwner.getUid()).isEqualTo(DpmMockContext.CALLER_SYSTEM_USER_UID); in checkDeviceOwnerWithMultipleDeviceAdmins()