Searched refs:mAlarmCount (Results 1 – 3 of 3) sorted by relevance
93 private final AtomicInteger mAlarmCount = new AtomicInteger(); field in BatterySaverAlarmTest98 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 …]
69 private int mAlarmCount; field in BackgroundRestrictedAlarmsTest77 mAlarmCount = intent.getIntExtra(TestAlarmReceiver.EXTRA_ALARM_COUNT, 1);87 mAlarmCount = 0; in setUp()193 alarmCount = mAlarmCount; in waitForAlarms()
139 private AtomicInteger mAlarmCount; field in AppStandbyTests144 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()