Searched refs:mDeviceIdleInternal (Results 1 – 6 of 6) sorted by relevance
284 DeviceIdleInternal mDeviceIdleInternal; field in BaseAppStateTracker.Injector305 mDeviceIdleInternal = LocalServices.getService(DeviceIdleInternal.class); in onSystemReady()342 return mDeviceIdleInternal; in getDeviceIdleInternal()
243 private DeviceIdleInternal mDeviceIdleInternal; field in AlarmManagerServiceTest444 doReturn(mDeviceIdleInternal).when( in setUp()2238 when(mDeviceIdleInternal.isAppOnWhitelist(TEST_CALLING_UID)).thenReturn(true);2243 when(mDeviceIdleInternal.isAppOnWhitelist(TEST_CALLING_UID)).thenReturn(false);2275 when(mDeviceIdleInternal.isAppOnWhitelist(TEST_CALLING_UID)).thenReturn(true);2279 when(mDeviceIdleInternal.isAppOnWhitelist(TEST_CALLING_UID)).thenReturn(false);2314 verify(mDeviceIdleInternal, never()).isAppOnWhitelist(anyInt());2405 verify(mDeviceIdleInternal, never()).isAppOnWhitelist(anyInt());2434 verify(mDeviceIdleInternal, never()).isAppOnWhitelist(anyInt());2485 when(mDeviceIdleInternal.isAppOnWhitelist(anyInt())).thenReturn(true);[all …]
307 @Mock DeviceIdleInternal mDeviceIdleInternal; field in VpnTest544 verify(mDeviceIdleInternal, timeout(TEST_TIMEOUT_MS)).addPowerSaveTempWhitelistApp( in verifyPowerSaveTempWhitelistApp()1576 reset(mDeviceIdleInternal); in testVpnManagerEventForUserDeactivated()1586 reset(mDeviceIdleInternal); in testVpnManagerEventForUserDeactivated()1599 reset(mDeviceIdleInternal); in testVpnManagerEventForAlwaysOnChanged()1608 reset(mDeviceIdleInternal); in testVpnManagerEventForAlwaysOnChanged()1617 reset(mDeviceIdleInternal); in testVpnManagerEventForAlwaysOnChanged()1626 reset(mDeviceIdleInternal); in testVpnManagerEventForAlwaysOnChanged()1635 reset(mDeviceIdleInternal); in testVpnManagerEventForAlwaysOnChanged()1644 reset(mDeviceIdleInternal); in testVpnManagerEventForAlwaysOnChanged()[all …]
1630 private DeviceIdleInternal mDeviceIdleInternal; field in FlexibilityController.SpecialAppTracker1706 mDeviceIdleInternal = LocalServices.getService(DeviceIdleInternal.class); in onSystemServicesReady()1844 if (mDeviceIdleInternal == null) { in updatePowerAllowlistCache()1849 final String[] allowlistedPkgs = mDeviceIdleInternal.getFullPowerWhitelistExceptIdle(); in updatePowerAllowlistCache()
139 private DeviceIdleInternal mDeviceIdleInternal; field in FlexibilityControllerTest173 doReturn(mDeviceIdleInternal) in setup()1944 .when(mDeviceIdleInternal).getFullPowerWhitelistExceptIdle(); in setPowerWhitelistExceptIdle()
288 @Mock private DeviceIdleInternal mDeviceIdleInternal; field in BackgroundRestrictionTest3396 return BackgroundRestrictionTest.this.mDeviceIdleInternal; in getDeviceIdleInternal()