Searched refs:deviceOwner (Results 1 – 6 of 6) sorted by relevance
89 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local90 if (deviceOwner != null) { in isNetworkLockedDown()93 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
126 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local127 if (deviceOwner != null) { in isNetworkLockedDown()130 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
129 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks() local130 if (deviceOwner == null) { in addDeviceOwnerTasks()138 .setDeviceAdminComponentName(deviceOwner) in addDeviceOwnerTasks()
800 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnCallingUser(); in isPackageDeviceOwner() local801 return deviceOwner != null && deviceOwner.getPackageName().equals(packageName); in isPackageDeviceOwner()
424 String packageName, boolean deviceOwner, boolean profileOwner) { in addWorkPolicyInfoIntent() argument435 if (deviceOwner) { in addWorkPolicyInfoIntent()