Home
last modified time | relevance | path

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

/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/Settings/src/com/android/settings/wifi/
DWifiUtils.java96 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local
97 if (deviceOwner != null) { in isNetworkLockedDown()
100 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java134 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks() local
135 if (deviceOwner == null) { in addDeviceOwnerTasks()
143 .setDeviceAdminComponentName(deviceOwner) in addDeviceOwnerTasks()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java131 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown() local
132 if (deviceOwner != null) { in isNetworkLockedDown()
135 final int deviceOwnerUid = pm.getPackageUidAsUser(deviceOwner.getPackageName(), in isNetworkLockedDown()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java818 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnCallingUser(); in isPackageDeviceOwner() local
819 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
434 if (deviceOwner) { in addWorkPolicyInfoIntent()