Home
last modified time | relevance | path

Searched refs:loadEvents (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DBasePermissionEventStorageTest.kt110 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()
DPersistedStoragePackageUninstalledReceiverTest.kt112 assertThat(permissionEventStorage.loadEvents().isNotEmpty()) in onReceive_clearAction_removesEventsForPackage()
119 runBlocking { assertThat(permissionEventStorage.loadEvents().isEmpty()) } in onReceive_clearAction_removesEventsForPackage()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionEventStorage.kt35 suspend fun loadEvents(): List<T> method
DBasePermissionEventStorage.kt68 override suspend fun loadEvents(): List<T> { in loadEvents() method
DAutoRevokePermissions.kt83 PermissionChangeStorageImpl.getInstance().loadEvents().associateBy { it.packageName } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v33/
DRecentPermissionDecisionsLiveData.kt42 recentDecisionsStorage.loadEvents().also { postValue(it) } in loadDataAndPostValue()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/data/
DFakeEventStorage.kt31 override suspend fun loadEvents(): List<T> { in loadEvents() method in com.android.permissioncontroller.tests.mocking.permission.data.FakeEventStorage
/packages/apps/Calendar/src/com/android/calendar/
DEventLoader.kt126 Event.loadEvents(eventLoader?.mContext, events, startDay, in processRequest()
DEvent.kt132 @JvmStatic fun loadEvents( in loadEvents() method