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.java824 final int numAlarms = 103; in alarmCountOnSetPi() local
826 for (int i = 1; i <= numAlarms; i++) { in alarmCountOnSetPi()
834 final int numAlarms = 103; in alarmCountOnSetListener() local
836 for (int i = 1; i <= numAlarms; i++) { in alarmCountOnSetListener()
848 final int numAlarms = 8; // This test is slow in alarmCountOnExpirationPi() local
849 for (int i = 0; i < numAlarms; i++) { in alarmCountOnExpirationPi()
853 while (expired < numAlarms) { in alarmCountOnExpirationPi()
857 assertEquals(numAlarms - expired, mService.mAlarmsPerUid.get(TEST_CALLING_UID, 0)); in alarmCountOnExpirationPi()
863 final int numAlarms = 8; // This test is slow in alarmCountOnExpirationListener() local
864 for (int i = 0; i < numAlarms; i++) { in alarmCountOnExpirationListener()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java3764 final int numAlarms = b.alarms.size(); in recordWakeupAlarms() local
3765 for (int nextAlarm = 0; nextAlarm < numAlarms; nextAlarm++) { in recordWakeupAlarms()