Home
last modified time | relevance | path

Searched refs:BackupManagerMonitor (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java22 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/
DBackupManagerMonitorUtils.java19 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()
DTarBackupReader.java19 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/
DKeyValueBackupReporter.java21 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/
DPerformFullTransportBackupTask.java29 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/
DPerformUnifiedRestoreTask.java35 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/
DRestoreSession.java56 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()
DBackupManager.java320 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()
DBackupManagerMonitor.java34 public class BackupManagerMonitor { class
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupManagerMonitorUtilsTest.java19 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;
DTarBackupReaderTest.java19 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/
DUserBackupManagerService.java50 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/
Dsystem-removed.txt38 …eSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]);
Dsystem-current.txt785 …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/
Dsystem-removed.txt38 …eSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]);
Dsystem-current.txt785 …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/
Dhiddenapi-greylist-max-o.txt4192 …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…