Home
last modified time | relevance | path

Searched refs:mDevicePolicyManagerInternal (Results 1 – 4 of 4) 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.java123 @Mock private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in WifiConfigManagerTest
206 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in setUp()
210 .thenReturn(mDevicePolicyManagerInternal); in setUp()
483 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in testCannotUpdateMacRandomizationSettingWithoutPermission()
538 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
799 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testUpdateIpConfiguration()
934 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testAddUpdateRemoveMultipleNetworks()
4542 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
4545 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()