Searched refs:backup (Results 1 - 25 of 29) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBackupAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.SharedPreferencesBackupHelper;
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarBackupAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.SharedPreferencesBackupHelper;
H A DGeneralPreferences.java20 import android.app.backup.BackupManager;
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcBackupAgent.java19 import android.app.backup.BackupAgentHelper;
20 import android.app.backup.SharedPreferencesBackupHelper;
/packages/apps/Email/src/com/android/email/provider/
H A DAccountBackupRestore.java23 * Helper class to facilitate EmailProvider's account backup/restore facility.
25 * Account backup/restore was implemented entirely for the purpose of recovering from database
29 * decided to backup accounts when created/modified and then restore them if 1) there are no
30 * accounts in the database and 2) there are backup accounts. This, at least, would cause user's
33 * To accomplish backup/restore, we use the facility now built in to EmailProvider to store a
34 * backup version of the Account and HostAuth tables in a second database (EmailProviderBackup.db)
43 * Backup user Account and HostAuth data into our backup database
47 public static void backup(Context context) { method in class:AccountBackupRestore
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSinglePhotoDataAdapter.java136 Bitmap backup = future.get();
137 if (backup == null) {
143 setScreenNail(backup, backup.getWidth(), backup.getHeight());
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBackupAgent.java19 import android.app.backup.BackupAgent;
20 import android.app.backup.BackupDataInput;
21 import android.app.backup.BackupDataOutput;
40 * Settings backup agent for the Android browser. Currently the only thing
42 * out of the agent; the calling code handles it and the backup operation
57 * to handle bookmark backup.
86 * Restore from backup -- reads in the flattened bookmark file as supplied from
87 * the backup service, parses that out, and rebuilds the bookmarks table in the
146 Log.w(TAG, "Bad backup data; not restoring");
156 // changes whenever we get invoked for backup i
[all...]
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DDictionaryBackupAgent.java33 import android.app.backup.BackupDataInput;
34 import android.app.backup.BackupDataOutput;
35 import android.app.backup.BackupAgentHelper;
45 * Performs backup and restore of the User Dictionary.
H A DUserDictionaryProvider.java22 import android.app.backup.BackupManager;
/packages/apps/Settings/src/com/android/settings/
H A DSetFullBackupPassword.java20 import android.app.backup.IBackupManager;
83 mBackupManager = IBackupManager.Stub.asInterface(ServiceManager.getService("backup"));
102 Log.e(TAG, "Unable to communicate with backup manager");
H A DPrivacySettings.java21 import android.app.backup.IBackupManager;
143 // leave it 'false' and disable the UI; there's no backup manager
188 * Informs the BackupManager of a change in backup state - if backup is disabled,
190 * @param enable whether to enable backup
/packages/apps/Email/tests/src/com/android/email/provider/
H A DAccountBackupRestoreTests.java30 * This is a series of unit tests for backup/restore of the Account class.
74 // Nulled out by backup
81 * Test backup with accounts
84 // Create real accounts in need of backup
106 AccountBackupRestore.backup(mMockContext);
139 ProviderTestUtils.assertHostAuthEqual("backup", saved1.mHostAuthRecv, recv, false);
140 ProviderTestUtils.assertHostAuthEqual("backup", saved1.mHostAuthSend, send, false);
153 ProviderTestUtils.assertHostAuthEqual("backup", saved2.mHostAuthRecv, recv, false);
154 ProviderTestUtils.assertHostAuthEqual("backup", saved2.mHostAuthSend, send, false);
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
H A DAddressListParserTokenManager.java862 input_stream.backup(curPos - jjmatchedPos - 1);
904 try { input_stream.readChar(); input_stream.backup(1); }
916 input_stream.backup(1);
H A DSimpleCharStream.java139 backup(0);
250 public void backup(int amount) { method in class:SimpleCharStream
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
H A DContentTypeParserTokenManager.java743 input_stream.backup(curPos - jjmatchedPos - 1);
785 try { input_stream.readChar(); input_stream.backup(1); }
797 input_stream.backup(1);
H A DSimpleCharStream.java139 backup(0);
250 public void backup(int amount) { method in class:SimpleCharStream
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParserTokenManager.java777 input_stream.backup(curPos - jjmatchedPos - 1);
818 try { input_stream.readChar(); input_stream.backup(1); }
830 input_stream.backup(1);
H A DSimpleCharStream.java139 backup(0);
250 public void backup(int amount) { method in class:SimpleCharStream
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupNames.java232 * Trigger account backup
262 // Update the backup (side copy) of the accounts
263 AccountBackupRestore.backup(AccountSetupNames.this);
H A DAccountSettingsUtils.java58 // Update the backup (side copy) of the accounts
59 AccountBackupRestore.backup(context);
H A DAccountSetupExchangeFragment.java393 // Update the backup (side copy) of the accounts
394 AccountBackupRestore.backup(mContext);
H A DAccountSetupOutgoingFragment.java333 // Update the backup (side copy) of the accounts
334 AccountBackupRestore.backup(mContext);
H A DAccountSetupIncomingFragment.java421 // Update the backup (side copy) of the accounts
422 AccountBackupRestore.backup(mContext);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapObexServer.java256 public int onSetPath(final HeaderSet request, final HeaderSet reply, final boolean backup, argument
269 if (D) Log.d(TAG, "backup=" + backup + " create=" + create + " name=" + tmp_path);
271 if (backup) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DTestActivity.java543 public int onSetPath(HeaderSet request, HeaderSet reply, boolean backup, boolean create) { argument

Completed in 332 milliseconds

12