Searched refs:mAlarmCount (Results 1 – 3 of 3) sorted by relevance
94 private final AtomicInteger mAlarmCount = new AtomicInteger(); field in BatterySaverAlarmTest99 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 …]
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()503 final boolean success = waitUntil(() -> (mAlarmCount.get() == 1), DEFAULT_WAIT); in waitForAlarm()504 mAlarmCount.set(0); in waitForAlarm()