Searched refs:mBackupManagerMonitorMock (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | TarBackupReaderTest.java | 87 @Mock private IBackupManagerMonitor mBackupManagerMonitorMock; field in TarBackupReaderTest 109 mBytesReadListenerMock, mBackupManagerMonitorMock); in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata() 126 mBytesReadListenerMock, mBackupManagerMonitorMock); in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata() 144 mBytesReadListenerMock, mBackupManagerMonitorMock); in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader() 183 mBytesReadListenerMock, mBackupManagerMonitorMock); in readAppManifest_backupEncrypted_correctlyParsesAppManifest() 204 mBytesReadListenerMock, mBackupManagerMonitorMock); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest() 225 mBytesReadListenerMock, mBackupManagerMonitorMock); in chooseRestorePolicy_signaturesIsNull_returnsIgnore() 232 verifyZeroInteractions(mBackupManagerMonitorMock); in chooseRestorePolicy_signaturesIsNull_returnsIgnore() 243 mBytesReadListenerMock, mBackupManagerMonitorMock); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk() 254 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | TrampolineTest.java | 117 private IBackupManagerMonitor mBackupManagerMonitorMock; field in TrampolineTest 1217 PACKAGE_NAMES, mBackupObserverMock, mBackupManagerMonitorMock, 123)); in requestBackup_calledBeforeInitialize_ignored() 1224 mBackupObserverMock, mBackupManagerMonitorMock, 123)).thenReturn(456); in requestBackupForUser_forwarded() 1228 mBackupObserverMock, mBackupManagerMonitorMock, 123)); in requestBackupForUser_forwarded() 1230 mBackupObserverMock, mBackupManagerMonitorMock, 123); in requestBackupForUser_forwarded() 1237 mBackupObserverMock, mBackupManagerMonitorMock, 123)).thenReturn(456); in requestBackup_forwardedToCallingUserId() 1241 mBackupObserverMock, mBackupManagerMonitorMock, 123)); in requestBackup_forwardedToCallingUserId() 1243 mBackupObserverMock, mBackupManagerMonitorMock, 123); in requestBackup_forwardedToCallingUserId()
|