Home
last modified time | relevance | path

Searched refs:mAlarmCount (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java93 private final AtomicInteger mAlarmCount = new AtomicInteger(); field in BatterySaverAlarmTest
98 mAlarmCount.incrementAndGet();
193 1, mAlarmCount.get()); in testAllowWhileIdleThrottled()
196 mAlarmCount.set(0); in testAllowWhileIdleThrottled()
202 0, mAlarmCount.get()); in testAllowWhileIdleThrottled()
207 1, mAlarmCount.get()); in testAllowWhileIdleThrottled()
210 mAlarmCount.set(0); in testAllowWhileIdleThrottled()
219 1, mAlarmCount.get()); in testAllowWhileIdleThrottled()
225 mAlarmCount.set(0); in testAllowWhileIdleThrottled()
232 1, mAlarmCount.get()); in testAllowWhileIdleThrottled()
[all …]
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java69 private int mAlarmCount; field in BackgroundRestrictedAlarmsTest
77 mAlarmCount = intent.getIntExtra(TestAlarmReceiver.EXTRA_ALARM_COUNT, 1);
87 mAlarmCount = 0; in setUp()
193 alarmCount = mAlarmCount; in waitForAlarms()
DAppStandbyTests.java139 private AtomicInteger mAlarmCount; field in AppStandbyTests
144 mAlarmCount.getAndAdd(intent.getIntExtra(TestAlarmReceiver.EXTRA_ALARM_COUNT, 1));
147 Log.d(TAG, "No. of expirations: " + mAlarmCount + " elapsed: " + nowElapsed);
168 mAlarmCount = new AtomicInteger(0); in setUp()
497 final boolean success = waitUntil(() -> (mAlarmCount.get() == 1), DEFAULT_WAIT); in waitForAlarm()
498 mAlarmCount.set(0); in waitForAlarm()