Searched refs:deviceOwner (Results 1 – 3 of 3) sorted by relevance
94 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks() local95 if (deviceOwner == null) { in addDeviceOwnerTasks()103 .setDeviceAdminComponentName(deviceOwner) in addDeviceOwnerTasks()
678 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnCallingUser(); in isPackageDeviceOwner() local679 return deviceOwner != null && deviceOwner.getPackageName().equals(packageName); in isPackageDeviceOwner()
1176 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in canModifyNetwork() local1177 if (deviceOwner != null) { in canModifyNetwork()1180 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in canModifyNetwork()