Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmTest.java28 import static com.android.server.alarm.Alarm.NUM_POLICIES;
79 for (int i = 0; i < NUM_POLICIES; i++) { in initSetsOnlyRequesterPolicy()
114 final long[][] uniqueData = generatePolicyTestMatrix(NUM_POLICIES); in whenElapsed()
115 for (int i = 0; i < NUM_POLICIES; i++) { in whenElapsed()
116 for (int j = 0; j < NUM_POLICIES; j++) { in whenElapsed()
122 for (int i = 0; i < NUM_POLICIES; i++) { in whenElapsed()
139 for (int i = 0; i < NUM_POLICIES; i++) { in maxWhenElapsed()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarm.java46 public static final int NUM_POLICIES = 4; field in Alarm
125 mPolicyWhenElapsed = new long[NUM_POLICIES]; in Alarm()
217 for (int i = 0; i < NUM_POLICIES; i++) { in updateWhenElapsed()
319 for (int i = 0; i < NUM_POLICIES; i++) { in dump()