Searched refs:loadEvents (Results 1 – 9 of 9) sorted by relevance
110 runBlocking { assertThat(storage.loadEvents()).isEmpty() } in loadEvents_noData_returnsEmptyList()118 assertThat(storage.loadEvents()).containsExactly(mapEvent) in storeEvent_singleEvent_writeSuccessAndReturnOnLoad()130 assertThat(storage.loadEvents()) in storeEvent_multipleEVents_returnedOrderedByMostRecentlyAdded()141 assertThat(storage.loadEvents()).containsExactly(mapEventSameKey) in storeEvent_uniqueForPrimaryKey()151 assertThat(storage.loadEvents()).containsExactly(mapEvent) in storeEvent_ignoresExactDuplicates()161 assertThat(storage.loadEvents()).isEmpty() in clearEvents_clearsExistingData()173 assertThat(storage.loadEvents()).containsExactly(musicEvent) in removeEventsForPackage_removesEvents()191 assertThat(storage.loadEvents()).containsExactly(todayEvent, sixDaysAgoEvent) in removeOldData_removesOnlyOldData()202 assertThat(storage.loadEvents()) in updateEventsBySystemTimeDelta_oneDayForward_shiftsData()216 assertThat(storage.loadEvents()) in updateEventsBySystemTimeDelta_oneDayBackward_shiftsData()
112 assertThat(permissionEventStorage.loadEvents().isNotEmpty()) in onReceive_clearAction_removesEventsForPackage()119 runBlocking { assertThat(permissionEventStorage.loadEvents().isEmpty()) } in onReceive_clearAction_removesEventsForPackage()
35 suspend fun loadEvents(): List<T> method
68 override suspend fun loadEvents(): List<T> { in loadEvents() method
83 PermissionChangeStorageImpl.getInstance().loadEvents().associateBy { it.packageName } in <lambda>()
42 recentDecisionsStorage.loadEvents().also { postValue(it) } in loadDataAndPostValue()
31 override suspend fun loadEvents(): List<T> { in loadEvents() method in com.android.permissioncontroller.tests.mocking.permission.data.FakeEventStorage
126 Event.loadEvents(eventLoader?.mContext, events, startDay, in processRequest()
132 @JvmStatic fun loadEvents( in loadEvents() method