/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 22 import android.app.backup.BackupManagerMonitor; 1017 int id = event.getInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID); in onEvent() 1018 int category = event.getInt(BackupManagerMonitor.EXTRA_LOG_EVENT_CATEGORY); in onEvent() 1021 String packageName = event.getString(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_NAME); in onEvent() 1024 if (event.containsKey(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION)) { in onEvent() 1027 BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION); in onEvent() 1033 remainingKeys.remove(BackupManagerMonitor.EXTRA_LOG_EVENT_ID); in onEvent() 1034 remainingKeys.remove(BackupManagerMonitor.EXTRA_LOG_EVENT_CATEGORY); in onEvent() 1035 remainingKeys.remove(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_NAME); in onEvent() 1036 remainingKeys.remove(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION); in onEvent() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtils.java | 19 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_NAME; 25 import android.app.backup.BackupManagerMonitor; 58 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID, id); in monitorEvent() 59 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_CATEGORY, category); in monitorEvent() 63 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_VERSION, in monitorEvent() 65 bundle.putLong(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION, in monitorEvent()
|
D | TarBackupReader.java | 19 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_NAME; 20 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_VERSION; 21 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_MANIFEST_PACKAGE_NAME; 22 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_OLD_VERSION; 23 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_POLICY_ALLOW_APKS; 24 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_CATEGORY_AGENT; 25 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY; 26 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_APK_NOT_INSTALLED; 27 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_CANNOT_RESTORE_WITHOUT_APK; 28 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_EXPECTED_DIFFERENT_PACKAGE; [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 21 import android.app.backup.BackupManagerMonitor; 214 BackupManagerMonitor.LOG_EVENT_ID_ILLEGAL_KEY, in onAgentIllegalKey() 216 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, in onAgentIllegalKey() 218 null, BackupManagerMonitor.EXTRA_LOG_ILLEGAL_KEY, key)); in onAgentIllegalKey() 260 BackupManagerMonitor.LOG_EVENT_ID_NO_DATA_TO_SEND, in onEmptyData() 262 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, in onEmptyData() 296 BackupManagerMonitor.LOG_EVENT_ID_TRANSPORT_NON_INCREMENTAL_BACKUP_REQUIRED, in onPackageBackupNonIncrementalRequired() 298 BackupManagerMonitor.LOG_EVENT_CATEGORY_TRANSPORT, in onPackageBackupNonIncrementalRequired() 341 BackupManagerMonitor.LOG_EVENT_ID_KEY_VALUE_BACKUP_CANCEL, in onAgentTimedOut() 343 BackupManagerMonitor.LOG_EVENT_CATEGORY_AGENT, in onAgentTimedOut() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 29 import android.app.backup.BackupManagerMonitor; 204 BackupManagerMonitor.LOG_EVENT_ID_PACKAGE_INELIGIBLE, in PerformFullTransportBackupTask() 206 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, in PerformFullTransportBackupTask() 219 BackupManagerMonitor.LOG_EVENT_ID_PACKAGE_KEY_VALUE_PARTICIPANT, in PerformFullTransportBackupTask() 221 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, in PerformFullTransportBackupTask() 234 BackupManagerMonitor.LOG_EVENT_ID_PACKAGE_STOPPED, in PerformFullTransportBackupTask() 236 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, in PerformFullTransportBackupTask() 246 BackupManagerMonitor.LOG_EVENT_ID_PACKAGE_NOT_FOUND, in PerformFullTransportBackupTask() 248 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, in PerformFullTransportBackupTask() 333 monitoringEvent = BackupManagerMonitor.LOG_EVENT_ID_BACKUP_DISABLED; in run() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 35 import android.app.backup.BackupManagerMonitor; 393 BackupManagerMonitor.LOG_EVENT_ID_NO_RESTORE_METADATA_AVAILABLE, in startRestore() 395 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, null); in startRestore() 405 BackupManagerMonitor.LOG_EVENT_ID_NO_PM_METADATA_RECEIVED, in startRestore() 407 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, null); in startRestore() 438 BackupManagerMonitor.LOG_EVENT_ID_PM_AGENT_HAS_NO_METADATA, in startRestore() 440 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, null); in startRestore() 458 BackupManagerMonitor.LOG_EVENT_ID_LOST_TRANSPORT, in startRestore() 460 BackupManagerMonitor.LOG_EVENT_CATEGORY_TRANSPORT, null); in startRestore() 518 BackupManagerMonitor.LOG_EVENT_ID_PACKAGE_NOT_PRESENT, in dispatchNextRestore() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | RestoreSession.java | 56 public int getAvailableRestoreSets(RestoreObserver observer, BackupManagerMonitor monitor) { in getAvailableRestoreSets() 99 public int restoreAll(long token, RestoreObserver observer, BackupManagerMonitor monitor) { in restoreAll() 155 @NonNull Set<String> packages, @Nullable BackupManagerMonitor monitor) { in restorePackages() 220 public int restoreSome(long token, RestoreObserver observer, BackupManagerMonitor monitor, in restoreSome() 274 BackupManagerMonitor monitor) { in restorePackage() 398 final BackupManagerMonitor mMonitor; 400 BackupManagerMonitorWrapper(BackupManagerMonitor monitor) { in BackupManagerMonitorWrapper()
|
D | BackupManager.java | 320 public int requestRestore(RestoreObserver observer, BackupManagerMonitor monitor) { in requestRestore() 761 BackupManagerMonitor monitor, int flags) { in requestBackup() 1041 final BackupManagerMonitor mMonitor; 1043 BackupManagerMonitorWrapper(BackupManagerMonitor monitor) { in BackupManagerMonitorWrapper()
|
D | BackupManagerMonitor.java | 34 public class BackupManagerMonitor { class
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtilsTest.java | 19 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_CATEGORY; 20 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_ID; 21 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION; 22 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_NAME; 23 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_VERSION;
|
D | TarBackupReaderTest.java | 19 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_ID; 20 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_APK_NOT_INSTALLED; 21 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_CANNOT_RESTORE_WITHOUT_APK; 22 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_FULL_RESTORE_ALLOW_BACKUP_FALSE; 23 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_FULL_RESTORE_SIGNATURE_MISMATCH; 24 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_RESTORE_ANY_VERSION; 25 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_SYSTEM_APP_NO_AGENT; 26 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_VERSIONS_MATCH; 27 import static android.app.backup.BackupManagerMonitor.LOG_EVENT_ID_VERSION_OF_BACKUP_OLDER;
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 50 import android.app.backup.BackupManagerMonitor; 1688 BackupManagerMonitor.LOG_EVENT_ID_NO_PACKAGES, in requestBackup() 1689 null, BackupManagerMonitor.LOG_EVENT_CATEGORY_TRANSPORT, null); in requestBackup() 1703 ? BackupManagerMonitor.LOG_EVENT_ID_BACKUP_DISABLED in requestBackup() 1704 : BackupManagerMonitor.LOG_EVENT_ID_DEVICE_NOT_PROVISIONED; in requestBackup() 1706 BackupManagerMonitor.LOG_EVENT_CATEGORY_BACKUP_MANAGER_POLICY, null); in requestBackup() 1721 BackupManagerMonitor.LOG_EVENT_ID_TRANSPORT_IS_NULL, in requestBackup() 1722 null, BackupManagerMonitor.LOG_EVENT_CATEGORY_TRANSPORT, null); in requestBackup()
|
/frameworks/base/non-updatable-api/ |
D | system-removed.txt | 38 …eSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]);
|
D | system-current.txt | 785 …tBackup(String[], android.app.backup.BackupObserver, android.app.backup.BackupManagerMonitor, int); 786 …ic int requestRestore(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 808 public class BackupManagerMonitor { 809 ctor public BackupManagerMonitor(); 955 …tAvailableRestoreSets(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 957 … int restoreAll(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 959 …estorePackage(String, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 961 …rver, @NonNull java.util.Set<java.lang.String>, @Nullable android.app.backup.BackupManagerMonitor);
|
/frameworks/base/api/ |
D | system-removed.txt | 38 …eSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]);
|
D | system-current.txt | 785 …tBackup(String[], android.app.backup.BackupObserver, android.app.backup.BackupManagerMonitor, int); 786 …ic int requestRestore(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 808 public class BackupManagerMonitor { 809 ctor public BackupManagerMonitor(); 955 …tAvailableRestoreSets(android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 957 … int restoreAll(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 959 …estorePackage(String, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor); 961 …rver, @NonNull java.util.Set<java.lang.String>, @Nullable android.app.backup.BackupManagerMonitor);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 4192 …ckup/BackupManager$BackupManagerMonitorWrapper;->mMonitor:Landroid/app/backup/BackupManagerMonitor; 4560 …kup/RestoreSession$BackupManagerMonitorWrapper;->mMonitor:Landroid/app/backup/BackupManagerMonitor; 4576 …toreSome(JLandroid/app/backup/RestoreObserver;Landroid/app/backup/BackupManagerMonitor;[Ljava/lang…
|