Home
last modified time | relevance | path

Searched refs:OpType (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/internal/
DLifecycleOperationStorageTest.java29 import com.android.server.backup.OperationStorage.OpType;
72 mOpStorage.registerOperation(TOKEN_1, OpState.PENDING, mCallback, OpType.BACKUP_WAIT); in testRegisterOperation_singleOperation()
74 Set<Integer> tokens = mOpStorage.operationTokensForOpType(OpType.BACKUP_WAIT); in testRegisterOperation_singleOperation()
82 mOpStorage.registerOperation(TOKEN_1, OpState.PENDING, mCallback, OpType.BACKUP_WAIT); in testRegisterOperation_multipleOperations()
83 mOpStorage.registerOperation(TOKEN_2, OpState.ACKNOWLEDGED, mCallback, OpType.BACKUP_WAIT); in testRegisterOperation_multipleOperations()
85 Set<Integer> typeWaitTokens = mOpStorage.operationTokensForOpType(OpType.BACKUP_WAIT); in testRegisterOperation_multipleOperations()
99 MULTIPLE_PKG, mCallback, OpType.BACKUP_WAIT); in testRegisterOperationForPackages_singlePackage()
110 MULTIPLE_PKGS_1, mCallback, OpType.BACKUP); in testRegisterOperationForPackages_multiplePackage()
112 MULTIPLE_PKGS_2, mCallback, OpType.BACKUP); in testRegisterOperationForPackages_multiplePackage()
126 mOpStorage.registerOperation(TOKEN_2, OpState.PENDING, mCallback, OpType.BACKUP_WAIT); in testRemoveOperation()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DOperationStorage.java61 OpType.BACKUP_WAIT,
62 OpType.RESTORE_WAIT,
63 OpType.BACKUP,
65 public @interface OpType { annotation
87 BackupRestoreTask task, @OpType int type); in registerOperation()
100 Set<String> packageNames, BackupRestoreTask task, @OpType int type); in registerOperationForPackages()
145 Set<Integer> operationTokensForOpType(@OpType int type); in operationTokensForOpType()
DKeyValueAdbBackupEngine.java24 import com.android.server.backup.OperationStorage.OpType;
165 OpType.BACKUP_WAIT); in invokeAgentForAdbBackup()
265 OpType.BACKUP_WAIT); in writeBackupData()
DUserBackupManagerService.java111 import com.android.server.backup.OperationStorage.OpType;
1974 mOperationStorage.operationTokensForOpType(OpType.BACKUP); in cancelBackups()
1994 if (operationType != OpType.BACKUP_WAIT && operationType != OpType.RESTORE_WAIT) { in prepareOperationTimeout()
2026 case OpType.BACKUP_WAIT: in getMessageIdForOperationType()
2028 case OpType.RESTORE_WAIT: in getMessageIdForOperationType()
2054 if (operationType == OpType.BACKUP_WAIT || operationType == OpType.RESTORE_WAIT) { in handleCancel()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DLifecycleOperationStorage.java92 BackupRestoreTask task, @OpType int type) { in registerOperation()
99 Set<String> packageNames, BackupRestoreTask task, @OpType int type) { in registerOperationForPackages()
144 if (op.type == OpType.BACKUP && op.state == OpState.PENDING) { in isBackupOperationInProgress()
167 public Set<Integer> operationTokensForOpType(@OpType int type) { in operationTokensForOpType()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupObbConnection.java35 import com.android.server.backup.OperationStorage.OpType;
86 token, fullBackupAgentTimeoutMillis, null, OpType.BACKUP_WAIT); in backupObbs()
DFullBackupEngine.java41 import com.android.server.backup.OperationStorage.OpType;
152 OpType.BACKUP_WAIT); in run()
DPerformFullTransportBackupTask.java48 import com.android.server.backup.OperationStorage.OpType;
281 packageNames, this, OpType.BACKUP); in PerformFullTransportBackupTask()
754 mCurrentOpToken, fullBackupAgentTimeoutMillis, this, OpType.BACKUP_WAIT); in preflightFullBackup()
871 packages, this, OpType.BACKUP_WAIT); in registerTask()
/frameworks/proto_logging/stats/enums/media/outputswitcher/
Denums.proto23 enum OpType { enum
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java57 import com.android.server.backup.OperationStorage.OpType;
463 OpType.RESTORE_WAIT); in restoreOneFile()
718 token, fullBackupAgentTimeoutMillis, latch, OpType.RESTORE_WAIT); in tearDownAgent()
DPerformUnifiedRestoreTask.java69 import com.android.server.backup.OperationStorage.OpType;
944 mEphemeralOpToken, restoreAgentTimeoutMillis, this, OpType.RESTORE_WAIT); in initiateOneRestore()
1081 OpType.RESTORE_WAIT); in restoreFinished()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java60 import com.android.server.backup.OperationStorage.OpType;
348 mOperationStorage.registerOperation(mCurrentOpToken, OpState.PENDING, this, OpType.BACKUP); in registerTask()
/frameworks/proto_logging/stats/
Datoms.proto23934 optional com.google.android.wearable.media.routing.OpType op_type = 2;
23973 optional com.google.android.wearable.media.routing.OpType op_type = 6;
23996 optional com.google.android.wearable.media.routing.OpType op_type = 3;