Home
last modified time | relevance | path

Searched refs:getAllAfter (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBootBroadcastReceiverTest.java137 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()
DPeriodicJobReceiverTest.java101 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()
DBatteryUsageContentProviderTest.java312 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryStateDaoTest.java75 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()
DAppUsageEventDaoTest.java75 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()
DBatteryEventDaoTest.java116 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()
DBatteryReattributeDaoTest.java58 mBatteryReattributeDao.getAllAfter(/* timestampStart= */ 300L); in getAllAfter_returnExpectedEntityData()
109 return mBatteryReattributeDao.getAllAfter(/* timestampStart= */ 0L); in getAllEntityData()
DBatteryUsageSlotDaoTest.java79 final Cursor cursor1 = mBatteryUsageSlotDao.getAllAfter(TIMESTAMP1); in getAllAfter_normalFlow_expectedBehavior()
87 final Cursor cursor2 = mBatteryUsageSlotDao.getAllAfter(TIMESTAMP1 + 1); in getAllAfter_normalFlow_expectedBehavior()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DLogUtils.java100 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()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryReattributeDao.kt38 fun getAllAfter(timestampStart: Long): List<BatteryReattributeEntity> method
DBatteryUsageSlotDao.java43 Cursor getAllAfter(long timestamp); in getAllAfter() method
DBatteryEventDao.java56 Cursor getAllAfter(long timestamp, List<Integer> batteryEventTypes); in getAllAfter() method
DAppUsageEventDao.java42 List<AppUsageEventEntity> getAllAfter(long timestamp); in getAllAfter() method
DBatteryStateDao.java50 List<BatteryState> getAllAfter(long timestamp); in getAllAfter() method
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageContentProvider.java300 cursor = mBatteryEventDao.getAllAfter(queryTimestamp, queryBatteryEventTypes); in getBatteryEvents()
313 cursor = mBatteryUsageSlotDao.getAllAfter(queryTimestamp); in getBatteryUsageSlots()