/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 99 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/ |
D | BackgroundRestrictionsTest.java | 77 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/ |
D | WapPushOverSms.java | 78 private IDeviceIdleController mDeviceIdleController; field in WapPushOverSms 140 mDeviceIdleController = TelephonyComponentFactory.getInstance() in WapPushOverSms() 374 mDeviceIdleController.addPowerSaveTempWhitelistAppForMms( in dispatchWapPdu() 433 long duration = mDeviceIdleController.addPowerSaveTempWhitelistAppForMms( in dispatchWapPdu()
|
D | InboundSmsHandler.java | 241 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/ |
D | UsageStatsService.java | 130 IDeviceIdleController mDeviceIdleController; field in UsageStatsService 259 mDeviceIdleController = IDeviceIdleController.Stub.asInterface( in onBootPhase() 1334 mDeviceIdleController.addPowerSaveTempWhitelistApp(packageName, duration, userId, in whitelistAppTemporarily()
|
D | AppStandbyController.java | 1581 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/ |
D | NetworkPolicyManagerService.java | 406 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/ |
D | NotificationManagerService.java | 367 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/ |
D | PackageManagerService.java | 975 private DeviceIdleController.LocalService mDeviceIdleController; field in PackageManagerService 4992 if (mDeviceIdleController == null) { in getDeviceIdleController() 4993 mDeviceIdleController = in getDeviceIdleController() 4996 return mDeviceIdleController; in getDeviceIdleController()
|