Home
last modified time | relevance | path

Searched refs:getDeviceOwnerUserId (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDevicePolicyManagerCompat.java59 public int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in DevicePolicyManagerCompat
60 return this.mManager.getDeviceOwnerUserId(); in getDeviceOwnerUserId()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseUtils.java203 private static int getDeviceOwnerUserId(Context context) { in getDeviceOwnerUserId() method in EnterpriseUtils
204 return getDevicePolicyManager(context).getDeviceOwnerUserId(); in getDeviceOwnerUserId()
248 ? getDeviceOwnerUserId(context) in getActionDisabledByAdminDialog()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DWifiHelper.java60 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java114 return enforcementAdminUserId == dpm.getDeviceOwnerUserId(); in isEnforcedByDeviceOwnerOnSystemUserMode()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDevicePolicyManager.java88 protected int getDeviceOwnerUserId() { in getDeviceOwnerUserId() method in ShadowDevicePolicyManager
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java215 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java118 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java107 final int deviceOwnerUserId = mDevicePolicyManager.getDeviceOwnerUserId(); in run()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java305 doReturn(0).when(mDpm).getDeviceOwnerUserId(); in updateUninstallButton_isNotSystemAndIsProfileOrDeviceOwner_setButtonDisable()
316 doReturn(10).when(mDpm).getDeviceOwnerUserId(); in updateUninstallButton_isNotSystemAndIsNotProfileOrDeviceOwner_setButtonEnabled()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java231 when(mDevicePolicyManager.getDeviceOwnerUserId()).thenReturn(userId); in setDeviceOwner()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java191 final int deviceOwnerUserId = dpm.getDeviceOwnerUserId(); in isNetworkLockedDown()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1036 if ((devicePolicyManager.getDeviceOwnerUserId() == userId) in isProfileOrDeviceOwner()