HomeSort by relevance Sort by last modified time
    Searched refs:backup (Results 201 - 225 of 625) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/python/cpython2/Lib/lib2to3/
main.py 43 nobackups: If true no backup '.bak' files will be created for those
88 # Make backup
89 backup = filename + ".bak"
90 if os.path.lexists(backup):
92 os.remove(backup)
94 self.log_message("Can't remove backup %s", backup)
96 os.rename(filename, backup)
98 self.log_message("Can't rename %s to %s", filename, backup)
103 shutil.copymode(backup, filename
    [all...]
  /external/python/cpython3/Lib/lib2to3/
main.py 43 nobackups: If true no backup '.bak' files will be created for those
88 # Make backup
89 backup = filename + ".bak"
90 if os.path.lexists(backup):
92 os.remove(backup)
94 self.log_message("Can't remove backup %s", backup)
96 os.rename(filename, backup)
98 self.log_message("Can't rename %s to %s", filename, backup)
103 shutil.copymode(backup, filename
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/
main.py 43 nobackups: If true no backup '.bak' files will be created for those
88 # Make backup
89 backup = filename + ".bak"
90 if os.path.lexists(backup):
92 os.remove(backup)
94 self.log_message("Can't remove backup %s", backup)
96 os.rename(filename, backup)
98 self.log_message("Can't rename %s to %s", filename, backup)
103 shutil.copymode(backup, filename
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/
main.py 43 nobackups: If true no backup '.bak' files will be created for those
88 # Make backup
89 backup = filename + ".bak"
90 if os.path.lexists(backup):
92 os.remove(backup)
94 self.log_message("Can't remove backup %s", backup)
96 os.rename(filename, backup)
98 self.log_message("Can't rename %s to %s", filename, backup)
103 shutil.copymode(backup, filename
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
main.py 43 nobackups: If true no backup '.bak' files will be created for those
88 # Make backup
89 backup = filename + ".bak"
90 if os.path.lexists(backup):
92 os.remove(backup)
94 self.log_message("Can't remove backup %s", backup)
96 os.rename(filename, backup)
98 self.log_message("Can't rename %s to %s", filename, backup)
103 shutil.copymode(backup, filename
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
main.py 43 nobackups: If true no backup '.bak' files will be created for those
88 # Make backup
89 backup = filename + ".bak"
90 if os.path.lexists(backup):
92 os.remove(backup)
94 self.log_message("Can't remove backup %s", backup)
96 os.rename(filename, backup)
98 self.log_message("Can't rename %s to %s", filename, backup)
103 shutil.copymode(backup, filename
    [all...]
  /external/libbackup/src/com/google/android/libraries/backup/
PersistentBackupAgentHelper.java 1 package com.google.android.libraries.backup;
3 import android.app.backup.BackupAgentHelper;
4 import android.app.backup.BackupDataInput;
5 import android.app.backup.BackupDataOutput;
6 import android.app.backup.SharedPreferencesBackupHelper;
81 * <p>This method will only be called at backup time. At restore time, everything that was backed
  /external/python/cpython3/Lib/test/test_tools/
test_pindent.py 47 backup = data_path + '~'
48 self.assertTrue(os.path.exists(backup))
49 with open(backup) as f:
60 with open(backup) as f:
71 with open(backup) as f:
  /frameworks/base/core/java/android/app/backup/
RestoreSession.java 17 package android.app.backup;
20 import android.app.backup.RestoreObserver;
21 import android.app.backup.RestoreSet;
22 import android.app.backup.IRestoreObserver;
23 import android.app.backup.IRestoreSession;
48 * the restore set lookup by the backup transport. This parameter must not be
73 * the restore set lookup by the backup transport. This parameter must not be
86 * <p>Callers must hold the android.permission.BACKUP permission to use this method.
119 * <p>Callers must hold the android.permission.BACKUP permission to use this method.
137 * <p>Callers must hold the android.permission.BACKUP permission to use this method
    [all...]
  /frameworks/base/services/backup/java/com/android/server/backup/
KeyValueAdbBackupEngine.java 1 package com.android.server.backup;
8 import static com.android.server.backup.BackupManagerService.OP_TYPE_BACKUP_WAIT;
12 import android.app.backup.FullBackup;
13 import android.app.backup.FullBackupDataOutput;
23 import com.android.server.backup.utils.FullBackupUtils;
34 * Used by BackupManagerService to perform adb backup for key-value packages. At the moment this
38 * TODO: We should create unified backup/restore engines that can be used for both transport and
39 * adb backup/restore, and for fullbackup and key-value backup.
106 // We are bound to agent, initiate backup
    [all...]
KeyValueAdbRestoreEngine.java 1 package com.android.server.backup;
9 import android.app.backup.BackupDataInput;
10 import android.app.backup.BackupDataOutput;
11 import android.app.backup.FullBackup;
16 import com.android.server.backup.restore.PerformAdbRestoreTask;
35 * TODO: We should create unified backup/restore engines that can be used for both transport and
36 * adb backup/restore, and for fullbackup and key-value backup.
  /frameworks/base/tests/backup/src/com/android/backuptest/
BackupTestActivity.java 20 import android.app.backup.BackupHelperDispatcher;
21 import android.app.backup.BackupDataInput;
22 import android.app.backup.BackupDataOutput;
23 import android.app.backup.BackupManager;
24 import android.app.backup.FileBackupHelper;
131 new Test("Backup Helpers") {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
SinglePhotoDataAdapter.java 136 Bitmap backup = future.get(); local
137 if (backup == null) {
143 setScreenNail(backup, backup.getWidth(), backup.getHeight());
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_tools.py 71 backup = data_path + '~'
72 self.assertTrue(os.path.exists(backup))
73 with open(backup) as f:
84 with open(backup) as f:
95 with open(backup) as f:
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_tools.py 71 backup = data_path + '~'
72 self.assertTrue(os.path.exists(backup))
73 with open(backup) as f:
84 with open(backup) as f:
95 with open(backup) as f:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_tools.py 71 backup = data_path + '~'
72 self.assertTrue(os.path.exists(backup))
73 with open(backup) as f:
84 with open(backup) as f:
95 with open(backup) as f:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_tools.py 71 backup = data_path + '~'
72 self.assertTrue(os.path.exists(backup))
73 with open(backup) as f:
84 with open(backup) as f:
95 with open(backup) as f:
  /development/samples/BackupRestore/src/com/example/android/backuprestore/
ExampleAgent.java 19 import android.app.backup.BackupAgent;
20 import android.app.backup.BackupDataInput;
21 import android.app.backup.BackupDataOutput;
35 * This is the backup/restore agent class for the BackupRestore sample
36 * application. This particular agent illustrates using the backup and
80 * application is upgraded, the next time it attempts to do a backup,
81 * it can detect that the last backup operation was performed by an
92 // Backup Manager will handle it and simply skip the current
93 // backup operation.
102 // a backup is being performed, so we know we have to write th
    [all...]
MultiRecordExampleAgent.java 29 import android.app.backup.BackupAgent;
30 import android.app.backup.BackupDataInput;
31 import android.app.backup.BackupDataOutput;
37 * the backup data set. These records are updated independently: if the user
39 * datum's backup record is updated, not the entire data file.
42 // Key strings for each record in the backup set
68 // Backup Manager will handle it and simply skip the current
69 // backup operation.
77 // If this is the first backup ever, we have to back up everything
80 // Now read the state as of the previous backup pass, if an
    [all...]
  /external/avb/test/
avb_vbmeta_image_unittest.cc 198 AvbVBMetaImageHeader backup = *h; local
209 *h = backup;
215 *h = backup;
225 *h = backup;
231 *h = backup;
246 AvbVBMetaImageHeader backup = *h; local
253 *h = backup;
260 *h = backup;
371 AvbVBMetaImageHeader backup = *h; local
378 *h = backup;
392 AvbVBMetaImageHeader backup = *h; local
    [all...]
  /external/libbackup/src/com/google/android/libraries/backup/shadow/
FileBackupHelperSimulator.java 1 package com.google.android.libraries.backup.shadow;
3 import android.app.backup.FileBackupHelper;
123 public Object backup(Context context) { method in class:FileBackupHelperSimulator
  /frameworks/base/services/robotests/src/com/android/server/backup/
BackupManagerServiceTest.java 17 package com.android.server.backup;
19 import static com.android.server.backup.testing.BackupManagerServiceTestUtils.startBackupThread;
20 import static com.android.server.backup.testing.TransportData.backupTransport;
21 import static com.android.server.backup.testing.TransportData.d2dTransport;
22 import static com.android.server.backup.testing.TransportData.localTransport;
23 import static com.android.server.backup.testing.TransportTestUtils.setUpCurrentTransport;
24 import static com.android.server.backup.testing.TransportTestUtils.setUpTransports;
36 import android.app.backup.BackupManager;
37 import android.app.backup.ISelectBackupTransportCallback;
48 import com.android.server.backup.testing.TransportData
    [all...]
  /frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
HugeAgent.java 19 import android.app.backup.BackupAgent;
20 import android.app.backup.BackupDataInput;
21 import android.app.backup.BackupDataOutput;
35 * This is the backup/restore agent class for the BackupRestore sample
36 * application. This particular agent illustrates using the backup and
81 * application is upgraded, the next time it attempts to do a backup,
82 * it can detect that the last backup operation was performed by an
93 // Backup Manager will handle it and simply skip the current
94 // backup operation.
103 // a backup is being performed, so we know we have to write th
    [all...]
  /packages/apps/Settings/src/com/android/settings/backup/
BackupSettingsHelper.java 17 package com.android.settings.backup;
20 import android.app.backup.BackupManager;
21 import android.app.backup.IBackupManager;
51 * Returns an intent to launch backup settings from backup transport if the intent was provided
52 * by the transport. Otherwise returns the intent to launch the default backup settings screen.
54 * @return Intent for launching backup settings
61 Log.e(TAG, "Backup transport has not provided an intent"
69 * Returns a label for the settings item that will point to the backup settings provided by
72 * @return Label for the backup settings item
    [all...]
  /external/curl/
androidconfigure 98 patch -p1 --no-backup-if-mismatch < local-configure.patch

Completed in 612 milliseconds

1 2 3 4 5 6 7 891011>>