Searched refs:BackupRestoreEventLogger (Results 1 – 25 of 28) sorted by relevance
12
33 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 …]
54 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()
26 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 …]
78 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()
28 private BackupRestoreEventLogger mLogger;41 public BackupRestoreEventLogger getLogger() { in getLogger()48 public void setLogger(BackupRestoreEventLogger logger) { in setLogger()
19 parcelable BackupRestoreEventLogger.DataTypeResult;
1072 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()
52 public final class BackupRestoreEventLogger { class93 public BackupRestoreEventLogger(@OperationType int operationType) { in BackupRestoreEventLogger() method in BackupRestoreEventLogger
19 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
217 @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()
22 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()
36 import android.app.backup.BackupRestoreEventLogger.BackupRestoreError;
40 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()
19 import android.app.backup.BackupRestoreEventLogger;208 in AndroidFuture<List<BackupRestoreEventLogger.DataTypeResult>> resultsFuture); in getLoggerResults()
21 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()
32 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
24 import android.app.backup.BackupRestoreEventLogger;116 private BackupRestoreEventLogger mLogger;
24 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()
38 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
82 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()
24 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
28 import android.app.backup.BackupRestoreEventLogger.DataTypeResult;
54 import android.app.backup.BackupRestoreEventLogger;3070 List<BackupRestoreEventLogger.DataTypeResult> results) { in reportDelayedRestoreResult()
1740 …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…
1042 android.app.backup.BackupRestoreEventLogger