Searched refs:getAllAfter (Results 1 – 15 of 15) sorted by relevance
137 assertThat(mDao.getAllAfter(0).size()).isEqualTo(1); in onReceive_withTimeChangedIntentSetEarlierTime_refreshesJob()142 assertThat(mDao.getAllAfter(0)).isEmpty(); in onReceive_withTimeChangedIntentSetEarlierTime_refreshesJob()151 assertThat(mDao.getAllAfter(0).size()).isEqualTo(1); in onReceive_withTimeChangedIntentSetLaterTime_clearNoDataAndRefreshesJob()156 assertThat(mDao.getAllAfter(0).size()).isEqualTo(1); in onReceive_withTimeChangedIntentSetLaterTime_clearNoDataAndRefreshesJob()164 assertThat(mDao.getAllAfter(0).size()).isEqualTo(1); in onReceive_withTimeFormatChangedIntent_skipRefreshJob()174 assertThat(mDao.getAllAfter(0).size()).isEqualTo(1); in onReceive_withTimeFormatChangedIntent_skipRefreshJob()183 assertThat(mDao.getAllAfter(0).size()).isEqualTo(1); in onReceive_withTimeZoneChangedIntent_clearAllDataAndRefreshesJob()188 assertThat(mDao.getAllAfter(0)).isEmpty(); in onReceive_withTimeZoneChangedIntent_clearAllDataAndRefreshesJob()
101 assertThat(mDao.getAllAfter(0)).hasSize(1); in onReceive_containsExpiredData_clearsExpiredDataFromDatabase()112 assertThat(mDao.getAllAfter(0)).hasSize(3); in onReceive_withoutExpiredData_notClearsExpiredDataFromDatabase()130 assertThat(mDao.getAllAfter(0)).hasSize(3); in insertExpiredData()
312 BatteryStateDatabase.getInstance(mContext).batteryStateDao().getAllAfter(0); in insert_batteryState_returnsExpectedResult()346 BatteryStateDatabase.getInstance(mContext).batteryStateDao().getAllAfter(0); in insert_partialFieldsContentValues_returnsExpectedResult()370 BatteryStateDatabase.getInstance(mContext).appUsageEventDao().getAllAfter(0); in insert_appUsageEvent_returnsExpectedResult()
75 final List<BatteryState> states = mBatteryStateDao.getAllAfter(TIMESTAMP1); in insertAll_normalFlow_expectedBehavior()127 final List<BatteryState> states = mBatteryStateDao.getAllAfter(0); in clearAllBefore_normalFlow_expectedBehavior()135 assertThat(mBatteryStateDao.getAllAfter(0)).hasSize(3); in clearAll_normalFlow_expectedBehavior()137 assertThat(mBatteryStateDao.getAllAfter(0)).isEmpty(); in clearAll_normalFlow_expectedBehavior()
75 final List<AppUsageEventEntity> entities = mAppUsageEventDao.getAllAfter(TIMESTAMP1); in appUsageEventDao_insertAll()135 final List<AppUsageEventEntity> entities = mAppUsageEventDao.getAllAfter(0); in appUsageEventDao_clearAllBefore()143 assertThat(mAppUsageEventDao.getAllAfter(0)).hasSize(3); in appUsageEventDao_clearAll()145 assertThat(mAppUsageEventDao.getAllAfter(0)).isEmpty(); in appUsageEventDao_clearAll()
116 final Cursor cursor = mBatteryEventDao.getAllAfter(160L, List.of(1, 2)); in getAllAfter_normalFlow_returnExpectedResult()142 final Cursor cursor = mBatteryEventDao.getAllAfter(0L, List.of(1)); in getAllAfter_filterBatteryTypes_returnExpectedResult()168 final Cursor cursor = mBatteryEventDao.getAllAfter(200L, List.of(1)); in getAllAfter_filterTimestamp_returnExpectedResult()
58 mBatteryReattributeDao.getAllAfter(/* timestampStart= */ 300L); in getAllAfter_returnExpectedEntityData()109 return mBatteryReattributeDao.getAllAfter(/* timestampStart= */ 0L); in getAllEntityData()
79 final Cursor cursor1 = mBatteryUsageSlotDao.getAllAfter(TIMESTAMP1); in getAllAfter_normalFlow_expectedBehavior()87 final Cursor cursor2 = mBatteryUsageSlotDao.getAllAfter(TIMESTAMP1 + 1); in getAllAfter_normalFlow_expectedBehavior()
100 dao.getAllAfter(Clock.systemUTC().millis() - DUMP_TIME_OFFSET_FOR_ENTRY.toMillis()); in dumpBatteryStateDatabaseHist()108 dao.getAllAfter(Clock.systemUTC().millis() - DUMP_TIME_OFFSET_FOR_ENTRY.toMillis()); in dumpAppUsageDatabaseHist()155 batteryReattributeDao.getAllAfter( in dumpBatteryReattributeDatabaseHist()
38 fun getAllAfter(timestampStart: Long): List<BatteryReattributeEntity> method
43 Cursor getAllAfter(long timestamp); in getAllAfter() method
56 Cursor getAllAfter(long timestamp, List<Integer> batteryEventTypes); in getAllAfter() method
42 List<AppUsageEventEntity> getAllAfter(long timestamp); in getAllAfter() method
50 List<BatteryState> getAllAfter(long timestamp); in getAllAfter() method
300 cursor = mBatteryEventDao.getAllAfter(queryTimestamp, queryBatteryEventTypes); in getBatteryEvents()313 cursor = mBatteryUsageSlotDao.getAllAfter(queryTimestamp); in getBatteryUsageSlots()