Home
last modified time | relevance | path

Searched refs:backupManager (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/backup/
DPrivacySettingsUtils.java65 final IBackupManager backupManager = IBackupManager.Stub.asInterface( in getInvisibleKey() local
69 isServiceActive = backupManager.isBackupServiceActive(UserHandle.myUserId()); in getInvisibleKey()
89 final IBackupManager backupManager = IBackupManager.Stub.asInterface( in updatePrivacyBuffer() local
93 data.setBackupEnabled(backupManager.isBackupEnabled()); in updatePrivacyBuffer()
94 String transport = backupManager.getCurrentTransport(); in updatePrivacyBuffer()
96 backupManager.getConfigurationIntent(transport), "config")); in updatePrivacyBuffer()
97 data.setConfigSummary(backupManager.getDestinationString(transport)); in updatePrivacyBuffer()
99 backupManager.getDataManagementIntent(transport), "management")); in updatePrivacyBuffer()
101 backupManager.getDataManagementLabelForUser(UserHandle.myUserId(), transport)); in updatePrivacyBuffer()
DAutoRestorePreferenceController.java74 final IBackupManager backupManager = IBackupManager.Stub.asInterface( in setChecked() local
78 backupManager.setAutoRestore(nextValue); in setChecked()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java69 BackupManager backupManager) { in performRestore() argument
74 task.sanitizeDB(helper, db, backupManager); in performRestore()
88 @NonNull DatabaseHelper helper, @NonNull BackupManager backupManager) { in restoreIfPossible() argument
92 task.restoreWorkspace(context, db, helper, backupManager); in restoreIfPossible()
111 @NonNull DatabaseHelper helper, @NonNull BackupManager backupManager) in restoreWorkspace() argument
117 int itemsDeleted = sanitizeDB(helper, db, backupManager); in restoreWorkspace()
137 private int sanitizeDB(DatabaseHelper helper, SQLiteDatabase db, BackupManager backupManager) in sanitizeDB() argument
150 UserHandle user = getUserForAncestralSerialNumber(backupManager, oldManagedProfileId); in sanitizeDB()
258 private UserHandle getUserForAncestralSerialNumber(BackupManager backupManager, in getUserForAncestralSerialNumber() argument
263 return backupManager.getUserForAncestralSerialNumber(ancestralSerialNumber); in getUserForAncestralSerialNumber()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTestable.java21 BlockedNumberProviderTestable(BackupManager backupManager) { in BlockedNumberProviderTestable() argument
22 mBackupManager = backupManager; in BlockedNumberProviderTestable()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.java70 final BackupManager backupManager = new BackupManager(context); in DefaultWallpaperPreferences() local
71 mSharedPrefsChangedListener = (sharedPreferences, key) -> backupManager.dataChanged(); in DefaultWallpaperPreferences()