Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/backup/
DBackupRestoreEventLogger.java22 import android.app.backup.BackupAnnotations.OperationType;
93 public BackupRestoreEventLogger(@OperationType int operationType) { in BackupRestoreEventLogger()
118 logSuccess(OperationType.BACKUP, dataType, count); in logItemsBackedUp()
136 logFailure(OperationType.BACKUP, dataType, count, error); in logItemsBackupFailed()
155 logMetaData(OperationType.BACKUP, dataType, metaData); in logBackupMetadata()
173 logSuccess(OperationType.RESTORE, dataType, count); in logItemsRestored()
193 logFailure(OperationType.RESTORE, dataType, count, error); in logItemsRestoreFailed()
214 logMetaData(OperationType.RESTORE, dataType, metadata); in logRestoreMetadata()
233 @OperationType
248 private void logSuccess(@OperationType int operationType, in logSuccess()
[all …]
DBackupAnnotations.java33 OperationType.UNKNOWN,
34 OperationType.BACKUP,
35 OperationType.RESTORE,
37 public @interface OperationType { annotation in BackupAnnotations
DBackupManagerMonitor.java20 import android.app.backup.BackupAnnotations.OperationType;
DBackupManager.java23 import android.app.backup.BackupAnnotations.OperationType;
1092 return new BackupRestoreEventLogger(OperationType.RESTORE); in getDelayedRestoreLogger()
DBackupAgent.java24 import android.app.backup.BackupAnnotations.OperationType;
300 @OperationType int operationType) { in onCreate()
1386 in.complete(mLogger == null ? OperationType.UNKNOWN : mLogger.getOperationType()); in getOperationType()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupManagerTest.java26 import android.app.backup.BackupAnnotations.OperationType;
76 OperationType.BACKUP); in testGetBackupRestoreEventLogger_returnsBackupLoggerForBackup()
80 assertThat(logger.getOperationType()).isEqualTo(OperationType.BACKUP); in testGetBackupRestoreEventLogger_returnsBackupLoggerForBackup()
87 OperationType.RESTORE); in testGetBackupRestoreEventLogger_returnsRestoreLoggerForRestore()
91 assertThat(logger.getOperationType()).isEqualTo(OperationType.RESTORE); in testGetBackupRestoreEventLogger_returnsRestoreLoggerForRestore()
106 assertThat(logger.getOperationType()).isEqualTo(OperationType.RESTORE); in testGetDelayedRestoreLogger_returnsRestoreLogger()
DBackupAgentTest.java26 import android.app.backup.BackupAnnotations.OperationType;
100 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.BACKUP); in getBackupRestoreEventLogger_afterOnCreateForBackup_initializedForBackup()
103 OperationType.BACKUP); in getBackupRestoreEventLogger_afterOnCreateForBackup_initializedForBackup()
109 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.RESTORE); in getBackupRestoreEventLogger_afterOnCreateForRestore_initializedForRestore()
112 OperationType.RESTORE); in getBackupRestoreEventLogger_afterOnCreateForRestore_initializedForRestore()
119 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.BACKUP); in getBackupRestoreEventLogger_afterBackup_containsLogsLoggedByAgent()
131 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.BACKUP); in testClearLogger_clearsPendingLogs()
142 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.BACKUP); in testClearLoggerBetweenBackups_restartsSuccessCount()
157 agent.onCreate(USER_HANDLE, BackupDestination.CLOUD, OperationType.RESTORE); in doRestoreFile_agentOverrideIgnoresFile_consumesAllBytesInBuffer()
DBackupRestoreEventLoggerTest.java19 import static android.app.backup.BackupAnnotations.OperationType.BACKUP;
20 import static android.app.backup.BackupAnnotations.OperationType.RESTORE;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupManagerMonitorEventSenderTest.java38 import android.app.backup.BackupAnnotations.OperationType;
81 extras.putInt(EXTRA_LOG_OPERATION_TYPE, OperationType.RESTORE); in monitorEvent_monitorIsNull_sendBundleToDumpsys()
190 extras.putInt(EXTRA_LOG_OPERATION_TYPE, OperationType.RESTORE); in monitorEvent_eventOpTypeIsRestore_sendBundleToDumpsys()
200 extras.putInt(EXTRA_LOG_OPERATION_TYPE, OperationType.BACKUP); in monitorEvent_eventOpTypeIsBackup_doNotSendBundleToDumpsys()
210 extras.putInt(EXTRA_LOG_OPERATION_TYPE, OperationType.UNKNOWN); in monitorEvent_eventOpTypeIsUnknown_doNotSendBundleToDumpsys()
222 IBackupAgent agent = setUpLoggingAgentForOperation(OperationType.BACKUP); in monitorAgentLoggingResults_onBackup_fillsBundleCorrectly()
228 assertCorrectBundleSentToMonitor(monitor, OperationType.BACKUP); in monitorAgentLoggingResults_onBackup_fillsBundleCorrectly()
236 IBackupAgent agent = setUpLoggingAgentForOperation(OperationType.RESTORE); in monitorAgentLoggingResults_onRestore_fillsBundleCorrectly()
241 assertCorrectBundleSentToMonitor(monitor, OperationType.RESTORE); in monitorAgentLoggingResults_onRestore_fillsBundleCorrectly()
244 private IBackupAgent setUpLoggingAgentForOperation(@OperationType int operationType) in setUpLoggingAgentForOperation()
[all …]
DBackupManagerMonitorDumpsysUtilsTest.java264 BackupAnnotations.OperationType.RESTORE); in createRestoreBMMEvent()
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dintrinsics_float.h36 template <typename FloatType, typename OperationType, typename... Args>
37 inline FloatType ExecuteFloatOperationRmm(OperationType operation, Args... args) { in ExecuteFloatOperationRmm()
79 template <typename FloatType, typename OperationType, typename... Args>
82 OperationType operation, in ExecuteFloatOperation()
/frameworks/base/core/java/android/window/
DTaskFragmentOperation.java188 public @interface OperationType {} annotation in TaskFragmentOperation
190 @OperationType
216 private TaskFragmentOperation(@OperationType int opType, in TaskFragmentOperation()
275 @OperationType
407 @OperationType
436 public Builder(@OperationType int opType) { in Builder()
DTaskFragmentOrganizer.java134 @Nullable TaskFragmentInfo info, @TaskFragmentOperation.OperationType int opType) { in putErrorInfoInBundle()
/frameworks/base/media/java/android/media/metrics/
DEditingEndedEvent.java188 public @interface OperationType {} annotation in EditingEndedEvent
214 private final @OperationType long mOperationTypes;
225 @OperationType long operationTypes, in EditingEndedEvent()
306 public @OperationType long getOperationTypes() { in getOperationTypes()
441 private @OperationType long mOperationTypes;
531 public @NonNull Builder addOperationType(@OperationType long operationType) { in addOperationType()
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperBackupAgentTest.java135 BackupAnnotations.OperationType.BACKUP); in setUp()
623 BackupAnnotations.OperationType.RESTORE); in testOnRestore_wallpaperImgSuccess_logsSuccess()
644 BackupAnnotations.OperationType.RESTORE); in testOnRestore_lockWallpaperImgSuccess_logsSuccess()
659 BackupAnnotations.OperationType.RESTORE); in testOnRestore_systemWallpaperImgMissingAndNoLive_logsFailure()
675 BackupAnnotations.OperationType.RESTORE); in testOnRestore_wallpaperImgMissingAndNoLive_logsFailure()
692 BackupAnnotations.OperationType.RESTORE); in testOnRestore_wallpaperInfoMissing_logsFailure()
707 BackupAnnotations.OperationType.RESTORE); in testOnRestore_imgMissingButWallpaperInfoHasLive_doesNotLogImg()
731 BackupAnnotations.OperationType.RESTORE); in testOnRestore_throwsException_logsErrors()
754 BackupAnnotations.OperationType.RESTORE); in testUpdateWallpaperComponent_delayedRestore_logsSuccess()
778 BackupAnnotations.OperationType.RESTORE); in testUpdateWallpaperComponent_delayedRestoreFails_logsFailure()
[all …]
DWallpaperEventLoggerTest.java396 mEventLogger = new BackupRestoreEventLogger(BackupAnnotations.OperationType.BACKUP); in setUpLoggerForBackup()
401 mEventLogger = new BackupRestoreEventLogger(BackupAnnotations.OperationType.RESTORE); in setUpLoggerForRestore()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorEventSender.java30 import android.app.backup.BackupAnnotations.OperationType;
109 extras.getInt(EXTRA_LOG_OPERATION_TYPE) == OperationType.RESTORE){ in monitorEvent()
163 @OperationType int operationType) { in sendAgentLoggingResults()
DBackupManagerMonitorDumpsysUtils.java400 case BackupAnnotations.OperationType.RESTORE -> true; in isOpTypeRestore()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskFragmentOrganizerController.java355 @TaskFragmentOperation.OperationType int opType, @NonNull Throwable exception) { in prepareTaskFragmentError()
730 @TaskFragmentOperation.OperationType int opType, @NonNull Throwable exception) { in onTaskFragmentError()
933 @TaskFragmentOperation.OperationType
945 @TaskFragmentOperation.OperationType int opType) { in PendingTaskFragmentEvent()
992 @TaskFragmentOperation.OperationType
1035 Builder setOpType(@TaskFragmentOperation.OperationType int opType) { in setOpType()
DWindowOrganizerController.java1743 @TaskFragmentOperation.OperationType int opType, @Nullable IBinder errorCallbackToken, in validateTaskFragment()
2447 @TaskFragmentOperation.OperationType int opType, @NonNull Throwable exception) { in sendTaskFragmentOperationFailure()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java303 eq(packageInfo), eq(results), eq(BackupAnnotations.OperationType.RESTORE)); in testReportDelayedRestoreResult_sendsLogsToMonitor()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java662 BackupAnnotations.OperationType.RESTORE)); in logBMMEvent()
/frameworks/base/services/core/java/com/android/server/media/metrics/
DMediaMetricsManagerService.java420 @EditingEndedEvent.OperationType long operationTypes = event.getOperationTypes(); in reportEditingEndedEvent()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java3091 BackupAnnotations.OperationType.RESTORE); in reportDelayedRestoreResult()
3932 BackupAnnotations.OperationType.RESTORE)); in restoreAtInstall()
3994 BackupAnnotations.OperationType.RESTORE)); in restoreAtInstall()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentOrganizerControllerTest.java1965 @TaskFragmentOperation.OperationType int opType) { in testApplyTransaction_reorder_failsIfNotSystemOrganizer_common()
2097 private void assertTaskFragmentErrorTransaction(@TaskFragmentOperation.OperationType int opType, in assertTaskFragmentErrorTransaction()

12