Home
last modified time | relevance | path

Searched refs:mDeviceIdleController (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java99 private DeviceIdleController mDeviceIdleController; field in DeviceIdleControllerTest
263 mDeviceIdleController = new DeviceIdleController(getContext(), mInjector); in setUp()
264 spyOn(mDeviceIdleController); in setUp()
265 doNothing().when(mDeviceIdleController).publishBinderService(any(), any()); in setUp()
266 mDeviceIdleController.onStart(); in setUp()
267 mDeviceIdleController.onBootPhase(SystemService.PHASE_SYSTEM_SERVICES_READY); in setUp()
268 mDeviceIdleController.setDeepEnabledForTest(true); in setUp()
269 mDeviceIdleController.setLightEnabledForTest(true); in setUp()
272 mConstants = mInjector.getConstants(mDeviceIdleController, in setUp()
273 mInjector.getHandler(mDeviceIdleController), mContentResolver); in setUp()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java77 private IDeviceIdleController mDeviceIdleController; field in BackgroundRestrictionsTest
109 mDeviceIdleController = IDeviceIdleController.Stub.asInterface( in setUp()
175 mDeviceIdleController.addPowerSaveWhitelistApp(TEST_APP_PACKAGE); in setPowerWhiteListed()
177 mDeviceIdleController.removePowerSaveWhitelistApp(TEST_APP_PACKAGE); in setPowerWhiteListed()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java78 private IDeviceIdleController mDeviceIdleController; field in WapPushOverSms
140 mDeviceIdleController = TelephonyComponentFactory.getInstance() in WapPushOverSms()
374 mDeviceIdleController.addPowerSaveTempWhitelistAppForMms( in dispatchWapPdu()
433 long duration = mDeviceIdleController.addPowerSaveTempWhitelistAppForMms( in dispatchWapPdu()
DInboundSmsHandler.java241 IDeviceIdleController mDeviceIdleController; field in InboundSmsHandler
284 mDeviceIdleController = TelephonyComponentFactory.getInstance() in InboundSmsHandler()
1203 long duration = mDeviceIdleController.addPowerSaveTempWhitelistAppForSms( in handleSmsWhitelisting()
1470 long duration = mDeviceIdleController.addPowerSaveTempWhitelistAppForMms( in onReceive()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java130 IDeviceIdleController mDeviceIdleController; field in UsageStatsService
259 mDeviceIdleController = IDeviceIdleController.Stub.asInterface( in onBootPhase()
1334 mDeviceIdleController.addPowerSaveTempWhitelistApp(packageName, duration, userId, in whitelistAppTemporarily()
DAppStandbyController.java1581 private IDeviceIdleController mDeviceIdleController; field in AppStandbyController.Injector
1603 mDeviceIdleController = IDeviceIdleController.Stub.asInterface( in onBootPhase()
1647 return mDeviceIdleController.isPowerSaveWhitelistExceptIdleApp(packageName); in isPowerSaveWhitelistExceptIdleApp()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java406 private IDeviceIdleController mDeviceIdleController; field in NetworkPolicyManagerService
611 mDeviceIdleController = IDeviceIdleController.Stub.asInterface(ServiceManager.getService( in NetworkPolicyManagerService()
646 int[] whitelist = mDeviceIdleController.getAppIdWhitelistExceptIdle(); in updatePowerSaveWhitelistUL()
653 whitelist = mDeviceIdleController.getAppIdWhitelist(); in updatePowerSaveWhitelistUL()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java367 private IDeviceIdleController mDeviceIdleController; field in NotificationManagerService
1602 mDeviceIdleController = IDeviceIdleController.Stub.asInterface( in init()
1925 if (mDeviceIdleController != null) {
1926 mDeviceIdleController.exitIdle("notification interaction");
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java975 private DeviceIdleController.LocalService mDeviceIdleController; field in PackageManagerService
4992 if (mDeviceIdleController == null) { in getDeviceIdleController()
4993 mDeviceIdleController = in getDeviceIdleController()
4996 return mDeviceIdleController; in getDeviceIdleController()