Searched refs:mMockScheduledExecutorService (Results 1 – 3 of 3) sorted by relevance
64 private MockScheduledExecutorService mMockScheduledExecutorService; field in ConversationStoreTest197 long futuresExecuted = mMockScheduledExecutorService.fastForwardTime( in testDataPersistenceAndRestoration()201 mMockScheduledExecutorService.resetTimeElapsedMillis(); in testDataPersistenceAndRestoration()205 mMockScheduledExecutorService.fastForwardTime(3L * DateUtils.MINUTE_IN_MILLIS); in testDataPersistenceAndRestoration()229 mMockScheduledExecutorService.fastForwardTime(3L * DateUtils.MINUTE_IN_MILLIS); in testDelayedDiskWrites()230 mMockScheduledExecutorService.resetTimeElapsedMillis(); in testDelayedDiskWrites()235 mMockScheduledExecutorService.fastForwardTime(DateUtils.MINUTE_IN_MILLIS); in testDelayedDiskWrites()244 mMockScheduledExecutorService.fastForwardTime(3L * DateUtils.MINUTE_IN_MILLIS); in testDelayedDiskWrites()245 mMockScheduledExecutorService.resetTimeElapsedMillis(); in testDelayedDiskWrites()248 mMockScheduledExecutorService.fastForwardTime(3L * DateUtils.MINUTE_IN_MILLIS); in testDelayedDiskWrites()[all …]
80 private MockScheduledExecutorService mMockScheduledExecutorService; field in EventHistoryImplTest87 mMockScheduledExecutorService = new MockScheduledExecutorService(); in setUp()89 mMockScheduledExecutorService); in setUp()159 long futuresExecuted = mMockScheduledExecutorService.fastForwardTime( in testPersistenceAndRestoration()187 assertEquals(0, mMockScheduledExecutorService.getFutures().size()); in testMimicDevicePowerOff()190 assertEquals(2, mMockScheduledExecutorService.getExecutes().size()); in testMimicDevicePowerOff()232 EVENT_HISTORY_INJECTOR, mCacheDir, mMockScheduledExecutorService); in testEventHistoriesImplFromDisk()247 mMockScheduledExecutorService); in resetAndLoadEventHistory()
55 private final MockScheduledExecutorService mMockScheduledExecutorService = field in HibernationStateDiskStoreTest66 new MockProtoReadWriter(), mMockScheduledExecutorService, STATES_FILE_NAME); in setUp()81 mMockScheduledExecutorService.executeScheduledTask(); in testScheduleWriteHibernationStates_writesDataThatCanBeRead()99 mMockScheduledExecutorService.executeScheduledTask(); in testScheduleWriteHibernationStates_laterWritesOverwritePrevious()