Home
last modified time | relevance | path

Searched refs:firstIndexOnOrAfter (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/usage/
DEventListTest.java97 assertTrue(listUnderTest.firstIndexOnOrAfter(1) == 0); in testFirstIndexOnOrAfter()
98 assertTrue(listUnderTest.firstIndexOnOrAfter(2) == 0); in testFirstIndexOnOrAfter()
99 assertTrue(listUnderTest.firstIndexOnOrAfter(3) == 1); in testFirstIndexOnOrAfter()
100 assertTrue(listUnderTest.firstIndexOnOrAfter(4) == 1); in testFirstIndexOnOrAfter()
101 assertTrue(listUnderTest.firstIndexOnOrAfter(5) == 1); in testFirstIndexOnOrAfter()
102 assertTrue(listUnderTest.firstIndexOnOrAfter(6) == 4); in testFirstIndexOnOrAfter()
103 assertTrue(listUnderTest.firstIndexOnOrAfter(7) == 4); in testFirstIndexOnOrAfter()
104 assertTrue(listUnderTest.firstIndexOnOrAfter(8) == 4); in testFirstIndexOnOrAfter()
105 assertTrue(listUnderTest.firstIndexOnOrAfter(9) == listUnderTest.size()); in testFirstIndexOnOrAfter()
106 assertTrue(listUnderTest.firstIndexOnOrAfter(100) == listUnderTest.size()); in testFirstIndexOnOrAfter()
[all …]
/frameworks/base/core/java/android/app/usage/
DEventList.java77 final int insertIndex = firstIndexOnOrAfter(event.mTimeStamp + 1); in insert()
89 public int firstIndexOnOrAfter(long timeStamp) { in firstIndexOnOrAfter() method in EventList
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java382 final int startIndex = stats.events.firstIndexOnOrAfter(beginTime); in queryEvents()
425 final int startIndex = stats.events.firstIndexOnOrAfter(beginTime); in queryEventsForPackage()
769 final int startIndex = stats.events.firstIndexOnOrAfter(beginTime); in printLast24HrEvents()
/frameworks/base/config/
Dboot-image-profile.txt3071 HSPLandroid/app/usage/EventList;->firstIndexOnOrAfter(J)I
Dhiddenapi-greylist-max-o.txt9206 Landroid/app/usage/EventList;->firstIndexOnOrAfter(J)I