Home
last modified time | relevance | path

Searched refs:backup (Results 1 – 25 of 125) sorted by relevance

12345

/packages/apps/Dialer/java/com/android/dialer/backup/
DDialerPersistentBackupAgent.java16 package com.android.dialer.backup;
18 import android.app.backup.BackupDataInput;
19 import android.app.backup.BackupDataOutput;
28 import com.google.android.libraries.backup.BackupKeyPredicate;
29 import com.google.android.libraries.backup.BackupKeyPredicates;
30 import com.google.android.libraries.backup.PersistentBackupAgentHelper;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/
DBackupAndRestoreFragment.java17 package com.google.android.car.kitchensink.backup;
21 import android.app.backup.BackupManager;
22 import android.app.backup.RestoreObserver;
23 import android.app.backup.RestoreSession;
24 import android.app.backup.RestoreSet;
74 mBackupButton = view.findViewById(R.id.backup); in onViewCreated()
78 mBackupButton.setOnClickListener((v) -> backup()); in onViewCreated()
100 private void backup() { in backup() method in BackupAndRestoreFragment
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
DBackupAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.BackupDataInput;
21 import android.app.backup.BackupDataOutput;
22 import android.app.backup.SharedPreferencesBackupHelper;
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherRestoreEventLoggerImpl.kt3 import android.app.backup.BackupManager
4 import android.app.backup.BackupRestoreEventLogger
5 import android.app.backup.BackupRestoreEventLogger.BackupRestoreDataType
6 import android.app.backup.BackupRestoreEventLogger.BackupRestoreError
/packages/apps/Calendar/src/com/android/calendar/
DCalendarBackupAgent.kt18 import android.app.backup.BackupAgentHelper
19 import android.app.backup.BackupDataInput
20 import android.app.backup.SharedPreferencesBackupHelper
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBackupAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.BackupDataInput;
21 import android.app.backup.SharedPreferencesBackupHelper;
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherBackupAgent.java3 import android.app.backup.BackupAgent;
4 import android.app.backup.BackupDataInput;
5 import android.app.backup.BackupDataOutput;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApBackupRestoreTest.java98 WifiConfiguration backup, SoftApConfiguration restore) { in assertWifiConfigurationEqualSoftApConfiguration() argument
99 assertEquals(backup.SSID, restore.getWifiSsid().getUtf8Text()); in assertWifiConfigurationEqualSoftApConfiguration()
100 assertEquals(backup.BSSID, restore.getBssid()); in assertWifiConfigurationEqualSoftApConfiguration()
101 assertEquals(ApConfigUtil.convertWifiConfigBandToSoftApConfigBand(backup.apBand), in assertWifiConfigurationEqualSoftApConfiguration()
103 assertEquals(backup.apChannel, restore.getChannel()); in assertWifiConfigurationEqualSoftApConfiguration()
104 assertEquals(backup.preSharedKey, restore.getPassphrase()); in assertWifiConfigurationEqualSoftApConfiguration()
105 int authType = backup.getAuthType(); in assertWifiConfigurationEqualSoftApConfiguration()
106 if (backup.getAuthType() == WifiConfiguration.KeyMgmt.WPA2_PSK) { in assertWifiConfigurationEqualSoftApConfiguration()
111 assertEquals(backup.hiddenSSID, restore.isHiddenSsid()); in assertWifiConfigurationEqualSoftApConfiguration()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/obex/
DFakeObexServer.java56 HeaderSet request, HeaderSet reply, boolean backup, boolean create); in onSetPathValidator() argument
87 final boolean backup, in onSetPath() argument
89 return onSetPathValidator(request, reply, backup, create); in onSetPath()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java136 Bitmap backup = future.get(); in onDecodeThumbComplete() local
137 if (backup == null) { in onDecodeThumbComplete()
143 setScreenNail(backup, backup.getWidth(), backup.getHeight()); in onDecodeThumbComplete()
/packages/modules/HealthFitness/backuprestore/src/com/android/health/connect/backuprestore/
DHealthConnectBackupAgent.java22 import android.app.backup.BackupAgent;
23 import android.app.backup.BackupDataInput;
24 import android.app.backup.BackupDataOutput;
25 import android.app.backup.FullBackupDataOutput;
/packages/apps/Settings/src/com/android/settings/onboarding/
DOnboardingFeatureProvider.kt18 import android.app.backup.BackupHelper
19 import android.app.backup.BackupRestoreEventLogger
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.kt21 import android.app.backup.BackupAgent
22 import android.app.backup.BackupDataInput
23 import android.app.backup.BackupDataOutput
/packages/apps/Traceur/src/com/android/traceur/
DTraceurBackupAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.SharedPreferencesBackupHelper;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastBackupAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.SharedPreferencesBackupHelper;
/packages/apps/Settings/src/com/android/settings/backup/
DSettingsBackupHelper.java17 package com.android.settings.backup;
20 import android.app.backup.BackupAgentHelper;
DBackupSettingsHelper.java17 package com.android.settings.backup;
20 import android.app.backup.BackupManager;
21 import android.app.backup.IBackupManager;
DAutoRestorePreferenceController.java17 package com.android.settings.backup;
19 import android.app.backup.IBackupManager;
/packages/modules/HealthFitness/backuprestore/tests/src/com/android/health/connect/backuprestore/
DHealthConnectBackupAgentTest.java28 import android.app.backup.BackupAgent;
29 import android.app.backup.BackupDataInput;
30 import android.app.backup.BackupDataOutput;
31 import android.app.backup.FullBackupDataOutput;
/packages/apps/Nfc/src/com/android/nfc/
DNfcBackupAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.SharedPreferencesBackupHelper;
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DBackupInactivePreferenceControllerTest.java17 package com.android.settings.backup;
34 import static com.android.settings.backup.UserBackupSettingsActivityTest.ShadowBackupSettingsHelper;
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DTEST_MAPPING44 "include-filter": "android.backup.cts.PermissionTest"
110 "include-filter": "android.backup.cts.PermissionTest"
DPermissionControllerServiceImpl.java377 @NonNull OutputStream backup, @NonNull Runnable callback) { in onGetRuntimePermissionsBackup() argument
379 onGetRuntimePermissionsBackup(user, backup); in onGetRuntimePermissionsBackup()
385 @NonNull OutputStream backup) { in onGetRuntimePermissionsBackup() argument
390 serializer.setOutput(backup, UTF_8.name()); in onGetRuntimePermissionsBackup()
401 @NonNull InputStream backup, @NonNull Runnable callback) { in onStageAndApplyRuntimePermissionsBackup() argument
403 onRestoreRuntimePermissionsBackup(user, backup); in onStageAndApplyRuntimePermissionsBackup()
409 @NonNull InputStream backup) { in onRestoreRuntimePermissionsBackup() argument
412 parser.setInput(backup, StandardCharsets.UTF_8.name()); in onRestoreRuntimePermissionsBackup()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServerTest.java307 boolean backup = true; in testOnSetPath_whenIoExceptionIsThrownFromGettingNameHeader()
312 assertThat(mServer.onSetPath(request, reply, backup, create)) in testOnSetPath_whenIoExceptionIsThrownFromGettingNameHeader()
321 boolean backup = false; in testOnSetPath_whenPathCreateIsForbidden()
324 assertThat(mServer.onSetPath(request, reply, backup, create)) in testOnSetPath_whenPathCreateIsForbidden()
333 boolean backup = false; in testOnSetPath_whenPathIsIllegal()
336 assertThat(mServer.onSetPath(request, reply, backup, create)) in testOnSetPath_whenPathIsIllegal()
345 boolean backup = false; in testOnSetPath_success()
348 assertThat(mServer.onSetPath(request, reply, backup, create)) in testOnSetPath_success()
351 backup = true; in testOnSetPath_success()
352 assertThat(mServer.onSetPath(request, reply, backup, create)) in testOnSetPath_success()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastBackupAgentTest.java25 import android.app.backup.BackupAgentHelper;
26 import android.app.backup.BackupHelperDispatcher;

12345