Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
H A DAlarmManagerServiceTest.java3085 mService.mLastOpScheduleExactAlarm.put(UserHandle.getUid(userId1, appId1), MODE_ALLOWED);
3086 mService.mLastOpScheduleExactAlarm.put(UserHandle.getUid(userId2, appId1), MODE_DEFAULT);
3087 mService.mLastOpScheduleExactAlarm.put(UserHandle.getUid(userId1, appId2), MODE_IGNORED);
3088 mService.mLastOpScheduleExactAlarm.put(UserHandle.getUid(userId2, appId2), MODE_ERRORED);
3163 mService.mLastOpScheduleExactAlarm.put(TEST_CALLING_UID, MODE_ALLOWED);
3176 mService.mLastOpScheduleExactAlarm.put(TEST_CALLING_UID, MODE_ALLOWED);
3189 mService.mLastOpScheduleExactAlarm.put(TEST_CALLING_UID, MODE_ERRORED);
3205 mService.mLastOpScheduleExactAlarm.put(TEST_CALLING_UID, MODE_ERRORED);
3367 assertEquals(appIds.length, mService.mLastOpScheduleExactAlarm.size());
3370 assertEquals(appOpModes[i], mService.mLastOpScheduleExactAlarm.get(uid, -1));
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DAlarmManagerService.java278 SparseIntArray mLastOpScheduleExactAlarm = new SparseIntArray(); field in AlarmManagerService
2063 mLastOpScheduleExactAlarm.put(uid, mode); in onUserStarting()
2122 mLastOpScheduleExactAlarm.put(uid, newMode); in onBootPhase()
2124 oldMode = mLastOpScheduleExactAlarm.valueAt(index); in onBootPhase()
3339 for (int i = 0; i < mLastOpScheduleExactAlarm.size(); i++) { in dumpImpl()
3343 UserHandle.formatUid(pw, mLastOpScheduleExactAlarm.keyAt(i)); in dumpImpl()
4085 appOpMode = mLastOpScheduleExactAlarm.get(uid, in handleChangesToExactAlarmDenyList()
4261 for (int i = mLastOpScheduleExactAlarm.size() - 1; i >= 0; i--) { in removeUserLocked()
4262 if (UserHandle.getUserId(mLastOpScheduleExactAlarm.keyAt(i)) == userHandle) { in removeUserLocked()
4263 mLastOpScheduleExactAlarm.removeAt(i); in removeUserLocked()
[all …]