Home
last modified time | relevance | path

Searched refs:numAlarms (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java1166 final int numAlarms = 103; in alarmCountOnSetPi() local
1168 for (int i = 1; i <= numAlarms; i++) { in alarmCountOnSetPi()
1176 final int numAlarms = 103; in alarmCountOnSetListener() local
1178 for (int i = 1; i <= numAlarms; i++) { in alarmCountOnSetListener()
1190 final int numAlarms = 8; // This test is slow in alarmCountOnExpirationPi() local
1191 for (int i = 0; i < numAlarms; i++) { in alarmCountOnExpirationPi()
1195 while (expired < numAlarms) { in alarmCountOnExpirationPi()
1199 assertEquals(numAlarms - expired, mService.mAlarmsPerUid.get(TEST_CALLING_UID, 0)); in alarmCountOnExpirationPi()
1205 final int numAlarms = 8; // This test is slow in alarmCountOnExpirationListener() local
1206 for (int i = 0; i < numAlarms; i++) { in alarmCountOnExpirationListener()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DMetricsHelper.java111 static void pushAlarmBatchDelivered(int numAlarms, int wakeups) { in pushAlarmBatchDelivered() argument
114 numAlarms, in pushAlarmBatchDelivered()