Lines Matching full:onbackup
131 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
132 onBackup()} and {@link
142 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
143 onBackup()} and {@link
276 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
277 onBackup()}</dt>
299 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
300 onBackup()} method. This is where you must provide your application data to the Backup Manager so
304 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
305 onBackup()} method. Each time that your application data changes and you want to perform a backup,
310 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
311 onBackup()} method. Instead, the Backup Manager waits for an appropriate time, then performs
319 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
320 onBackup()} method, it passes three parameters:</p>
327 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
328 onBackup()} was called (as defined by {@code newState}, below, or from {@link
331 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
332 onBackup()} does not allow you to read existing backup data in
343 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
344 onBackup()} method. If you do not write your backup data to {@code newState}, then {@code oldState}
346 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
347 onBackup()}.</dd>
351 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
352 onBackup()} method to do the following:</p>
421 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
422 onBackup()} so you can determine whether another backup is necessary (as handled in step 1). If you
482 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
483 onBackup()} is called. Recall that you must also write the same {@code newState} object in the
485 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
486 onBackup()} callback—also doing it here ensures that the {@code oldState} object given to
488 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
489 onBackup()} is valid even the first time {@link
490 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
491 onBackup()} is called after the device is restored.</dd>
517 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
518 onBackup()}.
590 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
591 onBackup()} and {@link
657 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
658 onBackup()} and {@link
731 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
732 onBackup()} and {@link
740 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data,
744 super.onBackup(oldState, data, newState);
760 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
761 onBackup()} and {@link
852 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
853 onBackup()} method at an opportune time in the future. Typically, you should
858 android.app.backup.BackupAgent#onBackup(ParcelFileDescriptor,BackupDataOutput,ParcelFileDescriptor)
859 onBackup()}.</p>