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.java93 DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in BaseLockSettingsServiceTests
111 mDevicePolicyManagerInternal = mock(DevicePolicyManagerInternal.class); in setUp_baseServices()
120 LocalServices.addService(DevicePolicyManagerInternal.class, mDevicePolicyManagerInternal); in setUp_baseServices()
DCachedSyntheticPasswordTests.java62 when(mDevicePolicyManagerInternal in enableSpCaching()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java129 @Mock private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in WifiConfigManagerTest
219 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in setUp()
223 .thenReturn(mDevicePolicyManagerInternal); in setUp()
536 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in testCannotUpdateMacRandomizationSettingWithoutPermission()
591 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), anyInt())) in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
856 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testUpdateIpConfiguration()
991 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in testAddUpdateRemoveMultipleNetworks()
4637 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
4640 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy(anyInt(), in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
DWifiServiceImplTest.java260 @Mock DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in WifiServiceImplTest
373 .thenReturn(mDevicePolicyManagerInternal); in setUp()
618 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testSetWifiEnabledSuccessForDOAppsTargetingQSDK()
882 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testSetWifiDisabledSuccessForPOAppsTargetingQSDK()
3832 when(mDevicePolicyManagerInternal.isActiveAdminWithPolicy( in testAddOrUpdateNetworkIsAllowedForDOApp()
3853 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()