/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 20 import android.app.backup.BackupManager; 141 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageNotEligibleForBackup() 149 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageEligibleForFullBackup() 154 mObserver, packageName, BackupManager.ERROR_BACKUP_NOT_ALLOWED); in onPackageStopped() 160 mObserver, packageName, BackupManager.ERROR_PACKAGE_NOT_FOUND); in onAgentUnknown() 166 mObserver, packageName, BackupManager.ERROR_AGENT_FAILURE); in onBindAgentError() 174 mObserver, packageName, BackupManager.ERROR_AGENT_FAILURE); in onAgentError() 197 mObserver, packageName, BackupManager.ERROR_AGENT_FAILURE); in onCallAgentDoBackupError() 220 mObserver, packageName, BackupManager.ERROR_AGENT_FAILURE); in onAgentIllegalKey() 268 mObserver, packageName, BackupManager.SUCCESS); in onPackageBackupComplete() [all …]
|
D | KeyValueBackupTask.java | 35 import android.app.backup.BackupManager; 798 return BackupManager.ERROR_BACKUP_CANCELLED; in getBackupFinishedStatus() 804 return BackupManager.SUCCESS; in getBackupFinishedStatus() 808 return BackupManager.ERROR_TRANSPORT_ABORTED; in getBackupFinishedStatus()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 28 import android.app.backup.BackupManager; 210 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask() 225 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask() 240 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in PerformFullTransportBackupTask() 323 int backupRunStatus = BackupManager.SUCCESS; in run() 346 backupRunStatus = BackupManager.ERROR_BACKUP_NOT_ALLOWED; in run() 353 backupRunStatus = BackupManager.ERROR_TRANSPORT_ABORTED; in run() 546 BackupManager.ERROR_TRANSPORT_PACKAGE_REJECTED); in run() 564 BackupManager.ERROR_TRANSPORT_QUOTA_EXCEEDED); in run() 575 BackupManager.ERROR_AGENT_FAILURE); in run() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | BackupManagerProxy.java | 19 import android.app.backup.BackupManager; 31 BackupManager.dataChanged("com.android.providers.settings"); in notifyDataChanged()
|
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/ |
D | TransportManager.java | 22 import android.app.backup.BackupManager; 534 return BackupManager.SUCCESS; in registerAndSelectTransport() 542 if (result != BackupManager.SUCCESS) { in registerAndSelectTransport() 548 return BackupManager.SUCCESS; in registerAndSelectTransport() 551 return BackupManager.ERROR_TRANSPORT_UNAVAILABLE; in registerAndSelectTransport() 630 return BackupManager.ERROR_TRANSPORT_INVALID; in registerTransport() 648 return BackupManager.ERROR_TRANSPORT_UNAVAILABLE; in registerTransport() 659 result = BackupManager.SUCCESS; in registerTransport() 662 result = BackupManager.ERROR_TRANSPORT_UNAVAILABLE; in registerTransport()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 42 import android.app.backup.BackupManager; 388 .thenReturn(BackupManager.SUCCESS); in testSelectBackupTransportAsync() 412 .thenReturn(BackupManager.ERROR_TRANSPORT_UNAVAILABLE); in testSelectBackupTransportAsync_whenRegistrationFails() 434 .thenReturn(BackupManager.SUCCESS); in testSelectBackupTransportAsync_whenTransportGetsUnregistered() 839 verify(mObserver).backupFinished(BackupManager.ERROR_TRANSPORT_ABORTED); in testRequestBackup_whenPackagesNull() 855 verify(mObserver).backupFinished(BackupManager.ERROR_TRANSPORT_ABORTED); in testRequestBackup_whenPackagesEmpty() 870 assertThat(result).isEqualTo(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled() 871 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled() 887 assertThat(result).isEqualTo(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned() 888 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned() [all …]
|
D | TransportManagerTest.java | 45 import android.app.backup.BackupManager; 322 assertThat(result).isEqualTo(BackupManager.SUCCESS); in testRegisterAndSelectTransport_whenTransportRegistered() 339 assertThat(result).isEqualTo(BackupManager.SUCCESS); in testRegisterAndSelectTransport_whenTransportNotRegistered()
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeBackupActivity.java | 20 import android.app.backup.BackupManager; 63 BackupManager mBackupManager; 82 mBackupManager = new BackupManager(this); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsFavoritePersistenceWrapper.kt | 19 import android.app.backup.BackupManager in <lambda>() 45 private var backupManager: BackupManager? = null in <lambda>() 72 fun changeFileAndBackupManager(fileName: File, newBackupManager: BackupManager?) { in <lambda>()
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 21 import android.app.backup.BackupManager; 398 if (status == BackupManager.ERROR_BACKUP_CANCELLED) { in backupFinished() 407 case BackupManager.SUCCESS: in convertBackupStatusToString() 409 case BackupManager.ERROR_BACKUP_NOT_ALLOWED: in convertBackupStatusToString() 411 case BackupManager.ERROR_PACKAGE_NOT_FOUND: in convertBackupStatusToString() 413 case BackupManager.ERROR_TRANSPORT_ABORTED: in convertBackupStatusToString() 415 case BackupManager.ERROR_TRANSPORT_PACKAGE_REJECTED: in convertBackupStatusToString() 418 case BackupManager.ERROR_AGENT_FAILURE: in convertBackupStatusToString() 420 case BackupManager.ERROR_TRANSPORT_QUOTA_EXCEEDED: in convertBackupStatusToString() 422 case BackupManager.ERROR_BACKUP_CANCELLED: in convertBackupStatusToString() [all …]
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 23 import android.app.backup.BackupManager; 55 BackupManager sBm = new BackupManager(this);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 22 import android.app.backup.BackupManager; 277 BackupManager.dataChanged("com.android.providers.settings");
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 19 import static android.app.backup.BackupManager.ERROR_AGENT_FAILURE; 20 import static android.app.backup.BackupManager.ERROR_BACKUP_NOT_ALLOWED; 21 import static android.app.backup.BackupManager.ERROR_PACKAGE_NOT_FOUND; 22 import static android.app.backup.BackupManager.ERROR_TRANSPORT_ABORTED; 23 import static android.app.backup.BackupManager.ERROR_TRANSPORT_PACKAGE_REJECTED; 24 import static android.app.backup.BackupManager.SUCCESS; 78 import android.app.backup.BackupManager; 744 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenAgentUnavailable() 777 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenNonIncrementalAndAgentUnavailable() 794 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenBindToAgentThrowsSecurityException() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 49 import android.app.backup.BackupManager; 1801 BackupObserverUtils.sendBackupFinished(observer, BackupManager.ERROR_TRANSPORT_ABORTED); in requestBackup() 1816 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup() 1822 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackup() 1834 BackupObserverUtils.sendBackupFinished(observer, BackupManager.ERROR_TRANSPORT_ABORTED); in requestBackup() 1838 return BackupManager.ERROR_TRANSPORT_ABORTED; in requestBackup() 1856 BackupManager.ERROR_BACKUP_NOT_ALLOWED); in requestBackup() 1866 BackupManager.ERROR_PACKAGE_NOT_FOUND); in requestBackup() 1885 boolean nonIncrementalBackup = (flags & BackupManager.FLAG_NON_INCREMENTAL_BACKUP) != 0; in requestBackup() 1891 return BackupManager.SUCCESS; in requestBackup() [all …]
|
D | BackupManagerService.java | 26 import android.app.backup.BackupManager; 1110 listener.onFailure(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in selectBackupTransportAsyncForUser() 1339 return BackupManager.ERROR_BACKUP_NOT_ALLOWED; in requestBackupForUser() 1365 ? BackupManager.ERROR_BACKUP_NOT_ALLOWED in requestBackup()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupManager.java | 70 public class BackupManager { class 218 public BackupManager(Context context) { in BackupManager() method in BackupManager
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | BackupManagerServiceTest.java | 37 import android.app.backup.BackupManager; 479 assertEquals(BackupManager.ERROR_BACKUP_NOT_ALLOWED, (int) future.get(5, TimeUnit.SECONDS)); in selectBackupTransportAsyncForUser_beforeUserUnlocked_notifiesBackupNotAllowed()
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 24 import android.app.backup.BackupManager;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 24 import android.app.backup.BackupManager; 1182 BackupManager.dataChanged("com.android.providers.settings"); in changeLanguage()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 26 import android.app.backup.BackupManager; 595 BackupManager.dataChanged("com.android.providers.settings"); in setString()
|
/frameworks/base/api/ |
D | test-lint-baseline.txt | 460 IntentBuilderName: android.app.backup.BackupManager#getConfigurationIntent(String): 462 IntentBuilderName: android.app.backup.BackupManager#getDataManagementIntent(String): 690 MissingNullability: android.app.backup.BackupManager#getConfigurationIntent(String): 692 MissingNullability: android.app.backup.BackupManager#getConfigurationIntent(String) parameter #0: 694 MissingNullability: android.app.backup.BackupManager#getDataManagementIntent(String): 696 MissingNullability: android.app.backup.BackupManager#getDataManagementIntent(String) parameter #0: 698 MissingNullability: android.app.backup.BackupManager#getDestinationString(String): 700 MissingNullability: android.app.backup.BackupManager#getDestinationString(String) parameter #0:
|
D | lint-baseline.txt | 680 RequiresPermission: android.app.backup.BackupManager#dataChanged(String):
|
/frameworks/base/config/ |
D | dirty-image-objects | 42 android.app.backup.BackupManager
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 25 import android.app.backup.BackupManager; 2616 BackupManager.dataChanged("android"); in queueBackup()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 33 import android.app.backup.BackupManager; 2579 private final BackupManager mBackupManager; 2586 mBackupManager = new BackupManager(getContext());
|