Home
last modified time | relevance | path

Searched refs:getDeviceOwnerComponentOnAnyUser (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java107 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testHasDeviceOwner()
110 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in testHasDeviceOwner()
116 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in testIsInCompMode()
134 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testGetDeviceOwnerDisclosure()
142 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in testGetDeviceOwnerDisclosure()
364 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in workPolicyInfo_unmanagedDevice_shouldDoNothing()
375 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in workPolicyInfo_deviceOwner_shouldResolveIntent()
388 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in workPolicyInfo_profileOwner_shouldResolveIntent()
408 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(OWNER); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationServicePreferenceControllerTest.java158 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
216 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in withUserRestriction_shouldDisableLocationAccuracy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDevicePolicyManager.java59 protected ComponentName getDeviceOwnerComponentOnAnyUser() { in getDeviceOwnerComponentOnAnyUser() method in ShadowDevicePolicyManager
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java67 return mDpm.getDeviceOwnerComponentOnAnyUser() != null; in hasDeviceOwner()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java89 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiUtils.java89 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java126 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java129 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java253 return mDpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java260 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(admin); in setDeviceOwner()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DProvisioningAnalyticsTracker.java391 final ComponentName currentDeviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in maybeLogManagedProfileOnFullyManagedDevice()
/packages/apps/Settings/src/com/android/settings/
DUtils.java857 return dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java862 return dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()