Home
last modified time | relevance | path

Searched refs:accessFinishTime (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java146 return Long.compare(access1.accessFinishTime, access2.accessFinishTime); in getAppListSorted()
211 public final long accessFinishTime; field in RecentLocationAccesses.Access
215 long accessFinishTime) { in Access() argument
221 this.accessFinishTime = accessFinishTime; in Access()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAccessesTest.java94 assertThat(requests.get(0).accessFinishTime).isEqualTo(ONE_MIN_AGO); in testGetAppList_shouldFilterRecentAccesses()
96 assertThat(requests.get(1).accessFinishTime).isEqualTo(TWENTY_THREE_HOURS_AGO); in testGetAppList_shouldFilterRecentAccesses()
123 assertThat(requests.get(0).accessFinishTime).isEqualTo(ONE_MIN_AGO); in testGetAppList_shouldNotShowAndroidOS()
125 assertThat(requests.get(1).accessFinishTime).isEqualTo(TWENTY_THREE_HOURS_AGO); in testGetAppList_shouldNotShowAndroidOS()