/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | BackupManagerMonitorEventSenderTest.java | 69 private BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in BackupManagerMonitorEventSenderTest 74 mBackupManagerMonitorEventSender = new BackupManagerMonitorEventSender(mMonitorMock, in setUp() 82 mBackupManagerMonitorEventSender.setMonitor(null); in monitorEvent_monitorIsNull_sendBundleToDumpsys() 83 mBackupManagerMonitorEventSender.monitorEvent(0, null, 0, extras); in monitorEvent_monitorIsNull_sendBundleToDumpsys() 84 IBackupManagerMonitor monitor = mBackupManagerMonitorEventSender.getMonitor(); in monitorEvent_monitorIsNull_sendBundleToDumpsys() 92 mBackupManagerMonitorEventSender = new BackupManagerMonitorEventSender(null); in monitorEvent_monitorIsNull_doNotCallOnEvent() 93 mBackupManagerMonitorEventSender.monitorEvent(0, null, 0, null); in monitorEvent_monitorIsNull_doNotCallOnEvent() 94 IBackupManagerMonitor monitor = mBackupManagerMonitorEventSender.getMonitor(); in monitorEvent_monitorIsNull_doNotCallOnEvent() 103 mBackupManagerMonitorEventSender.monitorEvent(0, null, 0, null); in monitorEvent_monitorOnEventThrows_setsMonitorToNull() 104 IBackupManagerMonitor monitor = mBackupManagerMonitorEventSender.getMonitor(); in monitorEvent_monitorOnEventThrows_setsMonitorToNull() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | TarBackupReader.java | 95 private BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in TarBackupReader 104 mBackupManagerMonitorEventSender = new BackupManagerMonitorEventSender(monitor); in TarBackupReader() 333 mBackupManagerMonitorEventSender.monitorEvent( in readAppManifestAndReturnSignatures() 337 mBackupManagerMonitorEventSender.putMonitoringExtra(null, in readAppManifestAndReturnSignatures() 343 Bundle monitoringExtras = mBackupManagerMonitorEventSender.putMonitoringExtra( in readAppManifestAndReturnSignatures() 345 monitoringExtras = mBackupManagerMonitorEventSender.putMonitoringExtra( in readAppManifestAndReturnSignatures() 348 mBackupManagerMonitorEventSender.monitorEvent( in readAppManifestAndReturnSignatures() 357 Bundle monitoringExtras = mBackupManagerMonitorEventSender.putMonitoringExtra( in readAppManifestAndReturnSignatures() 359 monitoringExtras = mBackupManagerMonitorEventSender.putMonitoringExtra( in readAppManifestAndReturnSignatures() 361 mBackupManagerMonitorEventSender.monitorEvent( in readAppManifestAndReturnSignatures() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 106 private BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in PerformUnifiedRestoreTask 198 mBackupManagerMonitorEventSender = new BackupManagerMonitorEventSender(/* monitor= */ null); in PerformUnifiedRestoreTask() 228 mBackupManagerMonitorEventSender = new BackupManagerMonitorEventSender(monitor); in PerformUnifiedRestoreTask() 439 if (mBackupManagerMonitorEventSender.getMonitor() == null) { in startRestore() 440 mBackupManagerMonitorEventSender.setMonitor(transport.getBackupManagerMonitor()); in startRestore() 445 mBackupManagerMonitorEventSender.monitorEvent( in startRestore() 456 mBackupManagerMonitorEventSender.monitorEvent( in startRestore() 464 mBackupManagerMonitorEventSender.monitorEvent( in startRestore() 475 mBackupManagerMonitorEventSender.monitorEvent( in startRestore() 489 mBackupManagerMonitorEventSender.monitorEvent( in startRestore() [all …]
|
D | FullRestoreEngine.java | 148 private BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in FullRestoreEngine 162 mBackupManagerMonitorEventSender = new BackupManagerMonitorEventSender(monitor); in FullRestoreEngine() 658 mBackupManagerMonitorEventSender.monitorEvent(eventId, pkgInfo, in logBMMEvent() 660 mBackupManagerMonitorEventSender.putMonitoringExtra(/*extras=*/ in logBMMEvent()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 68 private final BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in KeyValueBackupReporter 76 mBackupManagerMonitorEventSender = backupManagerMonitorEventSender; in KeyValueBackupReporter() 82 return mBackupManagerMonitorEventSender.getMonitor(); in getMonitor() 211 mBackupManagerMonitorEventSender.monitorEvent( in onAgentIllegalKey() 215 mBackupManagerMonitorEventSender.putMonitoringExtra( in onAgentIllegalKey() 255 mBackupManagerMonitorEventSender.monitorEvent( in onEmptyData() 290 mBackupManagerMonitorEventSender.monitorEvent( in onPackageBackupNonIncrementalRequired() 333 mBackupManagerMonitorEventSender.monitorEvent( in onAgentTimedOut() 337 mBackupManagerMonitorEventSender.putMonitoringExtra( in onAgentTimedOut() 345 mBackupManagerMonitorEventSender.monitorEvent( in onAgentCancelled() [all …]
|
D | KeyValueBackupTask.java | 702 BackupManagerMonitorEventSender mBackupManagerMonitorEventSender = in backupPackage() local 704 mBackupManagerMonitorEventSender.monitorAgentLoggingResults(mCurrentPackage, mAgent); in backupPackage()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 169 private BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in PerformFullTransportBackupTask 192 mBackupManagerMonitorEventSender = in PerformFullTransportBackupTask() 222 mBackupManagerMonitorEventSender.monitorEvent( in PerformFullTransportBackupTask() 237 mBackupManagerMonitorEventSender.monitorEvent( in PerformFullTransportBackupTask() 252 mBackupManagerMonitorEventSender.monitorEvent( in PerformFullTransportBackupTask() 264 mBackupManagerMonitorEventSender.monitorEvent( in PerformFullTransportBackupTask() 360 mBackupManagerMonitorEventSender in run() 373 mBackupManagerMonitorEventSender.monitorEvent( in run() 382 if (mBackupManagerMonitorEventSender.getMonitor() == null) { in run() 384 mBackupManagerMonitorEventSender in run() [all …]
|
D | FullBackupEngine.java | 70 private final BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in FullBackupEngine 214 mBackupManagerMonitorEventSender = backupManagerMonitorEventSender; in FullBackupEngine() 271 mBackupManagerMonitorEventSender.monitorAgentLoggingResults(mPkg, mAgent); in backupOnePackage()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporterTest.java | 50 private BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in KeyValueBackupReporterTest 54 mBackupManagerMonitorEventSender = new BackupManagerMonitorEventSender(mMonitor); in setUp() 56 mBackupManagerService, mObserver, mBackupManagerMonitorEventSender); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 101 @Mock BackupManagerMonitorEventSender mBackupManagerMonitorEventSender; field in UserBackupManagerServiceTest 302 verify(mBackupManagerMonitorEventSender).sendAgentLoggingResults( in testReportDelayedRestoreResult_sendsLogsToMonitor() 362 return mBackupManagerMonitorEventSender; in getBMMEventSender()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 1850 BackupManagerMonitorEventSender mBackupManagerMonitorEventSender = in requestBackup() local 1857 mBackupManagerMonitorEventSender.monitorEvent( in requestBackup() 1875 mBackupManagerMonitorEventSender.monitorEvent(logTag, null, in requestBackup() 1893 mBackupManagerMonitorEventSender.monitorEvent( in requestBackup() 3088 BackupManagerMonitorEventSender mBackupManagerMonitorEventSender = in reportDelayedRestoreResult() local 3090 mBackupManagerMonitorEventSender.sendAgentLoggingResults(packageInfo, results, in reportDelayedRestoreResult()
|