Home
last modified time | relevance | path

Searched refs:BackupRestoreEventLogger (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperEventLoggerTest.java33 import android.app.backup.BackupRestoreEventLogger;
54 private BackupRestoreEventLogger mEventLogger;
83 BackupRestoreEventLogger.DataTypeResult result = getLogsForType(WALLPAPER_IMG_SYSTEM); in onSystemImgWallpaperBackedUp_logsSuccess()
94 BackupRestoreEventLogger.DataTypeResult result = getLogsForType(WALLPAPER_IMG_LOCK); in onLockImgWallpaperBackedUp_logsSuccess()
105 BackupRestoreEventLogger.DataTypeResult result = getLogsForType(WALLPAPER_LIVE_SYSTEM); in onSystemLiveWallpaperBackedUp_logsSuccess()
116 BackupRestoreEventLogger.DataTypeResult result = getLogsForType(WALLPAPER_LIVE_LOCK); in onLockLiveWallpaperBackedUp_logsSuccess()
127 BackupRestoreEventLogger.DataTypeResult result = getLogsForType(WALLPAPER_IMG_SYSTEM); in onImgWallpaperBackedUp_nullInfo_doesNotLogMetadata()
139 BackupRestoreEventLogger.DataTypeResult result = getLogsForType(WALLPAPER_LIVE_SYSTEM); in onLiveWallpaperBackedUp_logsMetadata()
151 BackupRestoreEventLogger.DataTypeResult result = getLogsForType(WALLPAPER_IMG_SYSTEM); in onSystemImgWallpaperBackupFailed_logsFail()
163 BackupRestoreEventLogger.DataTypeResult result = getLogsForType(WALLPAPER_IMG_LOCK); in onLockImgWallpaperBackupFailed_logsFail()
[all …]
DWallpaperBackupAgentTest.java54 import android.app.backup.BackupRestoreEventLogger;
55 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
753 BackupRestoreEventLogger logger = new BackupRestoreEventLogger( in testUpdateWallpaperComponent_delayedRestore_logsSuccess()
777 BackupRestoreEventLogger logger = new BackupRestoreEventLogger( in testUpdateWallpaperComponent_delayedRestoreFails_logsFailure()
799 BackupRestoreEventLogger logger = new BackupRestoreEventLogger( in testUpdateWallpaperComponent_delayedRestore_packageNotInstalled_logsFailure()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupRestoreEventLoggerTest.java26 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
61 private BackupRestoreEventLogger mLogger;
74 mLogger = new BackupRestoreEventLogger(BACKUP); in testBackupLogger_rejectsRestoreLogs()
85 mLogger = new BackupRestoreEventLogger(RESTORE); in testRestoreLogger_rejectsBackupLogs()
97 mLogger = new BackupRestoreEventLogger(BACKUP); in testBackupLogger_datatypeLimitFlagOff_onlyAcceptsAllowedNumberOfDataTypes()
118 mLogger = new BackupRestoreEventLogger(RESTORE); in testRestoreLogger_datatypeLimitFlagOff_onlyAcceptsAllowedNumberOfDataTypes()
139 mLogger = new BackupRestoreEventLogger(BACKUP); in testBackupLogger_datatypeLimitFlagOn_onlyAcceptsAllowedNumberOfDataTypes()
160 mLogger = new BackupRestoreEventLogger(RESTORE); in testRestoreLogger_datatypeLimitFlagOn_onlyAcceptsAllowedNumberOfDataTypes()
180 mLogger = new BackupRestoreEventLogger(BACKUP); in testLogBackupMetadata_repeatedCalls_recordsLatestMetadataHash()
192 mLogger = new BackupRestoreEventLogger(RESTORE); in testLogRestoreMetadata_repeatedCalls_recordsLatestMetadataHash()
[all …]
DBackupManagerTest.java78 BackupRestoreEventLogger logger = mBackupManager.getBackupRestoreEventLogger(agent); in testGetBackupRestoreEventLogger_returnsBackupLoggerForBackup()
89 BackupRestoreEventLogger logger = mBackupManager.getBackupRestoreEventLogger(agent); in testGetBackupRestoreEventLogger_returnsRestoreLoggerForRestore()
104 BackupRestoreEventLogger logger = mBackupManager.getDelayedRestoreLogger(); in testGetDelayedRestoreLogger_returnsRestoreLogger()
/frameworks/base/core/java/android/app/backup/
DBackupHelperWithLogger.java28 private BackupRestoreEventLogger mLogger;
41 public BackupRestoreEventLogger getLogger() { in getLogger()
48 public void setLogger(BackupRestoreEventLogger logger) { in setLogger()
DBackupRestoreEventLogger.aidl19 parcelable BackupRestoreEventLogger.DataTypeResult;
DBackupManager.java1072 public BackupRestoreEventLogger getBackupRestoreEventLogger(@NonNull BackupAgent backupAgent) { in getBackupRestoreEventLogger()
1073 BackupRestoreEventLogger logger = backupAgent.getBackupRestoreEventLogger(); in getBackupRestoreEventLogger()
1091 public BackupRestoreEventLogger getDelayedRestoreLogger() { in getDelayedRestoreLogger()
1092 return new BackupRestoreEventLogger(OperationType.RESTORE); in getDelayedRestoreLogger()
1104 public void reportDelayedRestoreResult(@NonNull BackupRestoreEventLogger logger) { in reportDelayedRestoreResult()
DBackupRestoreEventLogger.java52 public final class BackupRestoreEventLogger { class
93 public BackupRestoreEventLogger(@OperationType int operationType) { in BackupRestoreEventLogger() method in BackupRestoreEventLogger
DIBackupManager.aidl19 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
DBackupAgent.java217 @Nullable private volatile BackupRestoreEventLogger mLogger = null;
261 public BackupRestoreEventLogger getBackupRestoreEventLogger() { in getBackupRestoreEventLogger()
302 mLogger = new BackupRestoreEventLogger(operationType); in onCreate()
1375 AndroidFuture<List<BackupRestoreEventLogger.DataTypeResult>> in) { in getLoggerResults()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperEventLogger.java22 import android.app.backup.BackupRestoreEventLogger;
23 import android.app.backup.BackupRestoreEventLogger.BackupRestoreDataType;
24 import android.app.backup.BackupRestoreEventLogger.BackupRestoreError;
69 private final BackupRestoreEventLogger mLogger;
77 WallpaperEventLogger(BackupRestoreEventLogger logger) { in WallpaperEventLogger()
81 BackupRestoreEventLogger getBackupRestoreLogger() { in getBackupRestoreLogger()
DWallpaperBackupAgent.java36 import android.app.backup.BackupRestoreEventLogger.BackupRestoreError;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupManagerMonitorEventSenderTest.java40 import android.app.backup.BackupRestoreEventLogger;
247 List<BackupRestoreEventLogger.DataTypeResult> loggingResults = new ArrayList<>(); in setUpLoggingAgentForOperation()
248 loggingResults.add(new BackupRestoreEventLogger.DataTypeResult("testLoggingResult")); in setUpLoggingAgentForOperation()
251 AndroidFuture<List<BackupRestoreEventLogger.DataTypeResult>> in = in setUpLoggingAgentForOperation()
273 List<BackupRestoreEventLogger.DataTypeResult> loggingResults = new ArrayList<>(); in sendAgentLoggingResults_onBackup_fillsBundleCorrectly()
274 loggingResults.add(new BackupRestoreEventLogger.DataTypeResult("testLoggingResult")); in sendAgentLoggingResults_onBackup_fillsBundleCorrectly()
286 List<BackupRestoreEventLogger.DataTypeResult> loggingResults = new ArrayList<>(); in sendAgentLoggingResults_onRestore_fillsBundleCorrectly()
287 loggingResults.add(new BackupRestoreEventLogger.DataTypeResult("testLoggingResult")); in sendAgentLoggingResults_onRestore_fillsBundleCorrectly()
311 List<BackupRestoreEventLogger.DataTypeResult> filledLoggingResults = in assertCorrectBundleSentToMonitor()
314 BackupRestoreEventLogger.DataTypeResult.class); in assertCorrectBundleSentToMonitor()
/frameworks/base/core/java/android/app/
DIBackupAgent.aidl19 import android.app.backup.BackupRestoreEventLogger;
208 in AndroidFuture<List<BackupRestoreEventLogger.DataTypeResult>> resultsFuture); in getLoggerResults()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorDumpsysUtils.java21 import android.app.backup.BackupRestoreEventLogger;
159 ArrayList<BackupRestoreEventLogger.DataTypeResult> agentLogs = in hasAgentLogging()
179 ArrayList<BackupRestoreEventLogger.DataTypeResult> agentLogs = in addAgentLogsIfAvailable()
182 for (BackupRestoreEventLogger.DataTypeResult result : agentLogs) { in addAgentLogsIfAvailable()
DBackupManagerMonitorEventSender.java32 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
/frameworks/base/services/core/java/com/android/server/backup/
DSystemBackupAgent.java24 import android.app.backup.BackupRestoreEventLogger;
116 private BackupRestoreEventLogger mLogger;
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java24 import android.app.backup.BackupRestoreEventLogger;
1100 ArrayList<BackupRestoreEventLogger.DataTypeResult> results = in onEvent()
1103 BackupRestoreEventLogger.DataTypeResult.class); in onEvent()
1105 for (BackupRestoreEventLogger.DataTypeResult result : results) { in onEvent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java38 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java82 import android.app.backup.BackupRestoreEventLogger;
1467 List<BackupRestoreEventLogger.DataTypeResult> results = new ArrayList<>(); in testRunTask_whenFinishBackupSucceeds_sendsAgentLogsToMonitor()
1468 results.add(new BackupRestoreEventLogger.DataTypeResult("testDataTypeResult")); in testRunTask_whenFinishBackupSucceeds_sendsAgentLogsToMonitor()
1471 AndroidFuture<List<BackupRestoreEventLogger.DataTypeResult>> in = in testRunTask_whenFinishBackupSucceeds_sendsAgentLogsToMonitor()
1484 List<BackupRestoreEventLogger.DataTypeResult> sentLoggingResults = in testRunTask_whenFinishBackupSucceeds_sendsAgentLogsToMonitor()
1487 BackupRestoreEventLogger.DataTypeResult.class); in testRunTask_whenFinishBackupSucceeds_sendsAgentLogsToMonitor()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java24 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java28 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
DUserBackupManagerService.java54 import android.app.backup.BackupRestoreEventLogger;
3070 List<BackupRestoreEventLogger.DataTypeResult> results) { in reportDelayedRestoreResult()
/frameworks/base/core/api/
Dsystem-current.txt1740 …method @NonNull public android.app.backup.BackupRestoreEventLogger getBackupRestoreEventLogger(@No…
1747 method @NonNull public android.app.backup.BackupRestoreEventLogger getDelayedRestoreLogger();
1753 …ethod public void reportDelayedRestoreResult(@NonNull android.app.backup.BackupRestoreEventLogger);
1862 public final class BackupRestoreEventLogger {
1871 …public static final class BackupRestoreEventLogger.DataTypeResult implements android.os.Parcelable…
1872 ctor public BackupRestoreEventLogger.DataTypeResult(@NonNull String);
1880 …c static final android.os.Parcelable.Creator<android.app.backup.BackupRestoreEventLogger.DataTypeR…
/frameworks/base/boot/
Dpreloaded-classes1042 android.app.backup.BackupRestoreEventLogger

12