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.java94 private final AtomicInteger mAlarmCount = new AtomicInteger(); field in BatterySaverAlarmTest
99 mAlarmCount.incrementAndGet();
195 1, mAlarmCount.get()); in testAllowWhileIdleThrottled()
198 mAlarmCount.set(0); in testAllowWhileIdleThrottled()
213 final int alarmCount = mAlarmCount.get(); in testAllowWhileIdleThrottled()
225 1, mAlarmCount.get()); in testAllowWhileIdleThrottled()
228 mAlarmCount.set(0); in testAllowWhileIdleThrottled()
238 1, mAlarmCount.get()); in testAllowWhileIdleThrottled()
244 mAlarmCount.set(0); in testAllowWhileIdleThrottled()
252 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()
503 final boolean success = waitUntil(() -> (mAlarmCount.get() == 1), DEFAULT_WAIT); in waitForAlarm()
504 mAlarmCount.set(0); in waitForAlarm()