Searched refs:getCurrentToken (Results 1 – 3 of 3) sorted by relevance
285 when(mBackupManagerService.getCurrentToken()).thenReturn(0L); in testRunTask_whenQueueEmpty_updatesBookkeeping()299 when(mBackupManagerService.getCurrentToken()).thenReturn(0L); in testRunTask_whenQueueEmpty_releasesWakeLock()310 when(mBackupManagerService.getCurrentToken()).thenReturn(0L); in testRunTask_whenQueueEmpty_doesNotProduceData()322 when(mBackupManagerService.getCurrentToken()).thenReturn(0L); in testRunTask_whenQueueEmpty_doesNotCallTransport()335 when(mBackupManagerService.getCurrentToken()).thenReturn(0L); in testRunTask_whenQueueEmpty_notifiesCorrectly()371 assertThat(mBackupManagerService.getCurrentToken()).isEqualTo(0L); in testRunTask_whenQueueEmptyOnFirstBackup_doesNotUpdateCurrentToken()464 assertThat(mBackupManagerService.getCurrentToken()).isEqualTo(1234L); in testRunTask_whenOnePackage_updatesBookkeeping()2435 assertThat(mBackupManagerService.getCurrentToken()).isEqualTo(0L); in testRunTask_whenNoDataToBackupOnFirstBackup_doesNotUpdateCurrentToken()
775 long currentToken = mBackupManagerService.getCurrentToken(); in finishTask()
874 public long getCurrentToken() { in getCurrentToken() method in UserBackupManagerService