Home
last modified time | relevance | path

Searched refs:getSuccessCount (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperEventLoggerTest.java86 assertThat(result.getSuccessCount()).isEqualTo(1); in onSystemImgWallpaperBackedUp_logsSuccess()
97 assertThat(result.getSuccessCount()).isEqualTo(1); in onLockImgWallpaperBackedUp_logsSuccess()
108 assertThat(result.getSuccessCount()).isEqualTo(1); in onSystemLiveWallpaperBackedUp_logsSuccess()
119 assertThat(result.getSuccessCount()).isEqualTo(1); in onLockLiveWallpaperBackedUp_logsSuccess()
240 assertThat(result.getSuccessCount()).isEqualTo(1); in onSystemImgWallpaperRestored_logsSuccess()
251 assertThat(result.getSuccessCount()).isEqualTo(1); in onLockImgWallpaperRestored_logsSuccess()
262 assertThat(result.getSuccessCount()).isEqualTo(1); in onSystemLiveWallpaperRestored_logsSuccess()
273 assertThat(result.getSuccessCount()).isEqualTo(1); in onLockLiveWallpaperRestored_logsSuccess()
DWallpaperBackupAgentTest.java449 assertThat(result.getSuccessCount()).isEqualTo(1); in testOnFullBackup_systemWallpaperImgSuccess_logsSuccess()
489 assertThat(result.getSuccessCount()).isEqualTo(1); in testOnFullBackup_systemWallpaperImgMissingButHasLiveComponent_logsLiveSuccess()
516 assertThat(result.getSuccessCount()).isEqualTo(1); in testOnFullBackup_lockWallpaperImgSuccess_logsSuccess()
556 assertThat(result.getSuccessCount()).isEqualTo(1); in testOnFullBackup_lockWallpaperImgMissingButHasLiveComponent_logsLiveSuccess()
615 assertThat(result.getSuccessCount()).isEqualTo(1); in testOnFullBackup_lastBackupOverQuota_logsSystemSuccess()
631 assertThat(result.getSuccessCount()).isEqualTo(1); in testOnRestore_wallpaperImgSuccess_logsSuccess()
636 assertThat(result.getSuccessCount()).isEqualTo(1); in testOnRestore_wallpaperImgSuccess_logsSuccess()
651 assertThat(result.getSuccessCount()).isEqualTo(1); in testOnRestore_lockWallpaperImgSuccess_logsSuccess()
767 assertThat(system.getSuccessCount()).isEqualTo(1); in testUpdateWallpaperComponent_delayedRestore_logsSuccess()
769 assertThat(lock.getSuccessCount()).isEqualTo(1); in testUpdateWallpaperComponent_delayedRestore_logsSuccess()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupRestoreEventLoggerTest.java211 int dataTypeCount = getResultForDataType(mLogger, DATA_TYPE_1).getSuccessCount(); in testLogItemsBackedUp_repeatedCalls_recordsTotalItems()
224 int dataTypeCount = getResultForDataType(mLogger, DATA_TYPE_1).getSuccessCount(); in testLogItemsRestored_repeatedCalls_recordsTotalItems()
237 int firstDataTypeCount = getResultForDataType(mLogger, DATA_TYPE_1).getSuccessCount(); in testLogItemsBackedUp_multipleDataTypes_recordsEachDataType()
238 int secondDataTypeCount = getResultForDataType(mLogger, DATA_TYPE_2).getSuccessCount(); in testLogItemsBackedUp_multipleDataTypes_recordsEachDataType()
252 int firstDataTypeCount = getResultForDataType(mLogger, DATA_TYPE_1).getSuccessCount(); in testLogItemsRestored_multipleDataTypes_recordsEachDataType()
253 int secondDataTypeCount = getResultForDataType(mLogger, DATA_TYPE_2).getSuccessCount(); in testLogItemsRestored_multipleDataTypes_recordsEachDataType()
344 assertThat(recreatedList.get(0).getSuccessCount()).isEqualTo(firstTypeSuccessCount); in testGetLoggingResults_resultsParceledAndUnparceled_recreatedCorrectly()
350 assertThat(recreatedList.get(1).getSuccessCount()).isEqualTo(secondTypeSuccessCount); in testGetLoggingResults_resultsParceledAndUnparceled_recreatedCorrectly()
DBackupAgentTest.java149 0).getSuccessCount()).isEqualTo(1); in testClearLoggerBetweenBackups_restartsSuccessCount()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorDumpsysUtils.java183 int totalItems = result.getFailCount() + result.getSuccessCount(); in addAgentLogsIfAvailable()
185 pw.println("\t\t\tItem restored: " + result.getSuccessCount() + "/" + in addAgentLogsIfAvailable()
/frameworks/base/core/java/android/app/backup/
DBackupRestoreEventLogger.java353 public int getSuccessCount() { in getSuccessCount() method in BackupRestoreEventLogger.DataTypeResult
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java925 Log.i(TAG, "\tsuccessCount: " + result.getSuccessCount()); in onEvent()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java1109 out.append(result.getSuccessCount()); in onEvent()
/frameworks/base/core/api/
Dsystem-current.txt1878 method public int getSuccessCount();