Searched refs:mDevicePolicyManagerInternal (Results 1 – 5 of 5) sorted by relevance
93 DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in BaseLockSettingsServiceTests111 mDevicePolicyManagerInternal = mock(DevicePolicyManagerInternal.class); in setUp_baseServices()120 LocalServices.addService(DevicePolicyManagerInternal.class, mDevicePolicyManagerInternal); in setUp_baseServices()
62 when(mDevicePolicyManagerInternal in enableSpCaching()
129 @Mock private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in WifiConfigManagerTest219 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()
260 @Mock DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in WifiServiceImplTest373 .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()
232 private DevicePolicyManagerInternal mDevicePolicyManagerInternal; field in AppWidgetServiceImpl259 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()