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()
96 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local97 if (deviceOwner != null) { in isNetworkLockedDown()100 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
134 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks() local135 if (deviceOwner == null) { in addDeviceOwnerTasks()143 .setDeviceAdminComponentName(deviceOwner) in addDeviceOwnerTasks()
131 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local132 if (deviceOwner != null) { in isNetworkLockedDown()135 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
818 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnCallingUser(); in isPackageDeviceOwner() local819 return deviceOwner != null && deviceOwner.getPackageName().equals(packageName); in isPackageDeviceOwner()
424 String packageName, boolean deviceOwner, boolean profileOwner) { in addWorkPolicyInfoIntent() argument434 if (deviceOwner) { in addWorkPolicyInfoIntent()