Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java89 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local
90 if (deviceOwner != null) { in isNetworkLockedDown()
93 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiUtils.java89 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local
90 if (deviceOwner != null) { in isNetworkLockedDown()
93 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java126 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local
127 if (deviceOwner != null) { in isNetworkLockedDown()
130 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java129 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks() local
130 if (deviceOwner == null) { in addDeviceOwnerTasks()
138 .setDeviceAdminComponentName(deviceOwner) in addDeviceOwnerTasks()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java800 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnCallingUser(); in isPackageDeviceOwner() local
801 return deviceOwner != null && deviceOwner.getPackageName().equals(packageName); in isPackageDeviceOwner()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java424 String packageName, boolean deviceOwner, boolean profileOwner) { in addWorkPolicyInfoIntent() argument
435 if (deviceOwner) { in addWorkPolicyInfoIntent()