Home
last modified time | relevance | path

Searched refs:mDevicePolicyManagerInternal (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java86 DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in BaseLockSettingsServiceTests
106 mDevicePolicyManagerInternal = mock(DevicePolicyManagerInternal.class); in setUp()
115 LocalServices.addService(DevicePolicyManagerInternal.class, mDevicePolicyManagerInternal); in setUp()
DCachedSyntheticPasswordTests.java57 when(mDevicePolicyManagerInternal in enableSpCaching()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java126 @Mock private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in WifiConfigManagerTest
209 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in setUp()
213 .thenReturn(mDevicePolicyManagerInternal); in setUp()
521 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in testCannotUpdateMacRandomizationSettingWithoutPermission()
576 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
841 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testUpdateIpConfiguration()
976 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testAddUpdateRemoveMultipleNetworks()
4584 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
4587 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
DWifiServiceImplTest.java254 @Mock DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in WifiServiceImplTest
366 .thenReturn(mDevicePolicyManagerInternal); in setUp()
3676 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testAddOrUpdateNetworkIsAllowedForDOApp()
3697 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testAddOrUpdateNetworkIsAllowedForPOApp()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java232 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in AppWidgetServiceImpl
259 mDevicePolicyManagerInternal = LocalServices.getService(DevicePolicyManagerInternal.class); in onStart()
324 if (mDevicePolicyManagerInternal != null) { in registerOnCrossProfileProvidersChangedListener()
325 mDevicePolicyManagerInternal.addOnCrossProfileWidgetProvidersChangeListener(this); in registerOnCrossProfileProvidersChangedListener()
630 onClickIntent = mDevicePolicyManagerInternal.createShowAdminSupportIntent( in maskWidgetsViewsLocked()
3804 if (mDevicePolicyManagerInternal == null) { in isProviderWhiteListed()
3808 List<String> crossProfilePackages = mDevicePolicyManagerInternal in isProviderWhiteListed()