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/
DAlarmManagerServiceTest.java822 final int numAlarms = 103; in alarmCountOnSetPi() local
824 for (int i = 1; i <= numAlarms; i++) { in alarmCountOnSetPi()
832 final int numAlarms = 103; in alarmCountOnSetListener() local
834 for (int i = 1; i <= numAlarms; i++) { in alarmCountOnSetListener()
846 final int numAlarms = 8; // This test is slow in alarmCountOnExpirationPi() local
847 for (int i = 0; i < numAlarms; i++) { in alarmCountOnExpirationPi()
851 while (expired < numAlarms) { in alarmCountOnExpirationPi()
855 assertEquals(numAlarms - expired, mService.mAlarmsPerUid.get(TEST_CALLING_UID, 0)); in alarmCountOnExpirationPi()
861 final int numAlarms = 8; // This test is slow in alarmCountOnExpirationListener() local
862 for (int i = 0; i < numAlarms; i++) { in alarmCountOnExpirationListener()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java3767 final int numAlarms = b.alarms.size(); in recordWakeupAlarms() local
3768 for (int nextAlarm = 0; nextAlarm < numAlarms; nextAlarm++) { in recordWakeupAlarms()