Home
last modified time | relevance | path

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

/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DPersistableEventHistory.java41 final LongArray mHistory; field in PersistableEventHistory
46 mHistory = (file.exists() ? readFromFile() : new LongArray()); in PersistableEventHistory()
61 final long[] historyArray = mHistory.toArray(); in saveToFile()
73 if (n <= 0 || n > mHistory.size()) { in getNthLastEventTime()
76 return mHistory.get(mHistory.size() - n); in getNthLastEventTime()
80 if (mHistory.size() == 0 || mHistory.get(mHistory.size() - 1) < timeOfReceipt) { in recordLatestEvent()
81 mHistory.add(timeOfReceipt); in recordLatestEvent()
87 Log.i(TAG, prefix + ": " + Arrays.toString(mHistory.toArray())); in dump()
DAppStandbyTests.java325 private LongArray mHistory = new LongArray(); field in AppStandbyTests.TestAlarmHistory
328 mHistory.add(timestamp); in addTime()
335 if (x == 0 || x > mHistory.size()) { in getLast()
338 return mHistory.get(mHistory.size() - x); in getLast()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java1638 private final List<int[]> mHistory;
1641 mHistory = new ArrayList<int[]>();
1650 mHistory.add(new int[] {start, end});
1654 return mHistory;