Home
last modified time | relevance | path

Searched refs:allowWhileIdle (Results 1 – 5 of 5) sorted by relevance

/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/
DTestAlarmScheduler.java70 final boolean allowWhileIdle = intent.getBooleanExtra(EXTRA_ALLOW_WHILE_IDLE, in onReceive()
73 + ", interval=" + interval + ", allowWhileIdle=" + allowWhileIdle); in onReceive()
76 } else if (allowWhileIdle) { in onReceive()
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DCommReceiver.java98 final boolean allowWhileIdle = req.getAllowWhileIdle(); in handleBatterySaverBgServiceRequest()
104 + ", interval=" + interval + ", allowWhileIdle=" + allowWhileIdle); in handleBatterySaverBgServiceRequest()
107 } else if (allowWhileIdle) { in handleBatterySaverBgServiceRequest()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java69 void scheduleJob(boolean allowWhileIdle, boolean needNetwork) { in scheduleJob() argument
73 scheduleJobIntent.putExtra(TestJobSchedulerReceiver.EXTRA_ALLOW_IN_IDLE, allowWhileIdle); in scheduleJob()
DJobThrottlingTest.java352 private void sendScheduleJobBroadcast(boolean allowWhileIdle) throws Exception { in sendScheduleJobBroadcast() argument
353 mTestAppInterface.scheduleJob(allowWhileIdle, false); in sendScheduleJobBroadcast()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java177 private void scheduleAlarm(long triggerMillis, boolean allowWhileIdle, long interval) { in scheduleAlarm() argument
183 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_ALLOW_WHILE_IDLE, allowWhileIdle); in scheduleAlarm()