Home
last modified time | relevance | path

Searched refs:operationType (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DFullBackup.java132 BackupSchemeId(String packageName, @OperationType int operationType) { in BackupSchemeId() argument
134 mOperationType = operationType; in BackupSchemeId()
167 @OperationType int operationType) { in getBackupScheme() argument
168 BackupSchemeId backupSchemeId = new BackupSchemeId(context.getPackageName(), operationType); in getBackupScheme()
172 backupSchemeForPackage = new BackupScheme(context, operationType); in getBackupScheme()
429 BackupScheme(Context context, @OperationType int operationType) { in BackupScheme() argument
434 mOperationType = operationType; in BackupScheme()
579 private void parseSchemeForOperationType(@OperationType int operationType) in parseSchemeForOperationType() argument
581 String configSection = getConfigSectionForOperationType(operationType); in parseSchemeForOperationType()
584 + operationType); in parseSchemeForOperationType()
[all …]
DBackupAgent.java266 public void onCreate(UserHandle user, @OperationType int operationType) { in onCreate() argument
270 mOperationType = operationType; in onCreate()
/frameworks/base/services/core/java/com/android/server/am/
DBackupRecord.java35 @OperationType final int operationType; // see BackupManager#OperationType field in BackupRecord
44 operationType = _operationType; in BackupRecord()
DActivityManagerService.java4604 backupTarget.backupMode, backupTarget.userId, backupTarget.operationType); in attachApplicationLocked()
12052 @OperationType int operationType) { in bindBackupAgent() argument
12095 BackupRecord r = new BackupRecord(app, backupMode, targetUserId, operationType); in bindBackupAgent()
12136 operationType); in bindBackupAgent()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java144 int operationType = mService.getOperationTypeFromTransport(mTransportClient); in testGetOperationTypeFromTransport_returnsBackupByDefault() local
146 assertThat(operationType).isEqualTo(OperationType.BACKUP); in testGetOperationTypeFromTransport_returnsBackupByDefault()
160 int operationType = mService.getOperationTypeFromTransport(mTransportClient); in testGetOperationTypeFromTransport_returnsMigrationForMigrationTransport() local
162 assertThat(operationType).isEqualTo(OperationType.MIGRATION); in testGetOperationTypeFromTransport_returnsMigrationForMigrationTransport()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupAgentTest.java76 private BackupAgent getAgentForOperationType(@OperationType int operationType) { in getAgentForOperationType() argument
78 agent.onCreate(USER_HANDLE, operationType); in getAgentForOperationType()
/frameworks/base/services/core/java/com/android/server/backup/
DSystemBackupAgent.java91 public void onCreate(UserHandle user, @BackupManager.OperationType int operationType) { in onCreate() argument
92 super.onCreate(user, operationType); in onCreate()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/transport/
DIntermediateEncryptingTransport.java178 private File getTempStorage(String packageName, String operationType) { in getTempStorage() argument
179 File encryptedDir = new File(mContext.getFilesDir(), operationType); in getTempStorage()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java887 public void setAncestralOperationType(@OperationType int operationType) { in setAncestralOperationType() argument
888 mAncestralOperationType = operationType; in setAncestralOperationType()
1662 @OperationType int operationType) { in bindToAgentSynchronous() argument
1669 operationType)) { in bindToAgentSynchronous()
1899 int operationType; in requestBackup() local
1906 operationType = getOperationTypeFromTransport(transportClient); in requestBackup()
1919 operationType); in requestBackup()
2014 int operationType) { in prepareOperationTimeout() argument
2015 if (operationType != OP_TYPE_BACKUP_WAIT && operationType != OP_TYPE_RESTORE_WAIT) { in prepareOperationTimeout()
2023 + operationType)); in prepareOperationTimeout()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java94 @OperationType int operationType) { in BackupEligibilityRules() argument
98 mOperationType = operationType; in BackupEligibilityRules()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DEsimOdsaOperation.java97 public abstract int operationType(); in operationType() method in EsimOdsaOperation
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt55 override fun onCreate(userHandle: UserHandle, operationType: Int) { in onCreate()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaApi.java319 if (odsaOperation.operationType() != EsimOdsaOperation.OPERATION_TYPE_NOT_SET) { in appendParametersForEsimOdsaOperation()
321 Integer.toString(odsaOperation.operationType())); in appendParametersForEsimOdsaOperation()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java302 int operationType = DEVICE_NAME_FOR_D2D_SET.equals(restoreSet.device) in getBackupEligibilityRules() local
304 return mBackupManagerService.getEligibilityRulesForOperation(operationType); in getBackupEligibilityRules()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceProxy.java509 private String pendingOperationToString(@PendingOperationId int operationType) { in pendingOperationToString() argument
510 return DebugUtils.constantToString(CarServiceProxy.class, "PO_" , operationType); in pendingOperationToString()
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl104 int backupMode, int userId, int operationType); in scheduleCreateBackupAgent() argument
DIActivityManager.aidl294 int operationType); in bindBackupAgent() argument
DActivityThread.java796 int operationType; field in ActivityThread.CreateBackupAgentData
1019 CompatibilityInfo compatInfo, int backupMode, int userId, int operationType) { in scheduleCreateBackupAgent() argument
1025 d.operationType = operationType; in scheduleCreateBackupAgent()
4384 agent.onCreate(UserHandle.of(data.userId), data.operationType); in handleCreateBackupAgent()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java791 private BackupEligibilityRules getBackupEligibilityRules(@OperationType int operationType) { in getBackupEligibilityRules() argument
793 operationType); in getBackupEligibilityRules()