Loading core/java/android/app/backup/BackupAgent.java +8 −2 Original line number Diff line number Diff line Loading @@ -46,9 +46,15 @@ import libcore.io.StructStat; * {@link #onBackup(ParcelFileDescriptor, BackupDataOutput, ParcelFileDescriptor) onBackup()} * and {@link #onRestore(BackupDataInput, int, ParcelFileDescriptor) onRestore()} methods, * and provide the name of its backup agent class in its {@code AndroidManifest.xml} file via * the <code><a * href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * the <code> * <a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * tag's {@code android:backupAgent} attribute. * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using BackupAgent, read the * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> * * <h3>Basic Operation</h3> * <p> * When the application makes changes to data that it wishes to keep backed up, Loading core/java/android/app/backup/BackupAgentHelper.java +6 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,12 @@ import java.io.IOException; * {@link BackupAgentHelper} framework. See the {@link BackupHelper} interface * documentation for details. * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using BackupAgentHelper, read the * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p> * </div> * * @see BackupHelper * @see FileBackupHelper * @see SharedPreferencesBackupHelper Loading core/java/android/app/backup/BackupManager.java +7 −2 Original line number Diff line number Diff line Loading @@ -41,10 +41,15 @@ import android.util.Log; * of how the operation then proceeds. * <p> * Several attributes affecting the operation of the backup and restore mechanism * can be set on the <code><a * href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * can be set on the <code> * <a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * tag in your application's AndroidManifest.xml file. * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using BackupManager, read the * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> * * @attr ref android.R.styleable#AndroidManifestApplication_allowBackup * @attr ref android.R.styleable#AndroidManifestApplication_backupAgent * @attr ref android.R.styleable#AndroidManifestApplication_killAfterRestore Loading core/java/android/content/SharedPreferences.java +6 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,12 @@ import java.util.Set; * <p><em>Note: currently this class does not support use across multiple * processes. This will be added later.</em> * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using SharedPreferences, read the * <a href="{@docRoot}guide/topics/data/data-storage.html#pref">Data Storage</a> * developer guide.</p></div> * * @see Context#getSharedPreferences */ public interface SharedPreferences { Loading core/java/android/widget/AdapterView.java +6 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,12 @@ import android.view.accessibility.AccessibilityNodeInfo; * <p> * See {@link ListView}, {@link GridView}, {@link Spinner} and * {@link Gallery} for commonly used subclasses of AdapterView. * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using AdapterView, read the * <a href="{@docRoot}guide/topics/ui/binding.html">Binding to Data with AdapterView</a> * developer guide.</p></div> */ public abstract class AdapterView<T extends Adapter> extends ViewGroup { Loading Loading
core/java/android/app/backup/BackupAgent.java +8 −2 Original line number Diff line number Diff line Loading @@ -46,9 +46,15 @@ import libcore.io.StructStat; * {@link #onBackup(ParcelFileDescriptor, BackupDataOutput, ParcelFileDescriptor) onBackup()} * and {@link #onRestore(BackupDataInput, int, ParcelFileDescriptor) onRestore()} methods, * and provide the name of its backup agent class in its {@code AndroidManifest.xml} file via * the <code><a * href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * the <code> * <a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * tag's {@code android:backupAgent} attribute. * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using BackupAgent, read the * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> * * <h3>Basic Operation</h3> * <p> * When the application makes changes to data that it wishes to keep backed up, Loading
core/java/android/app/backup/BackupAgentHelper.java +6 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,12 @@ import java.io.IOException; * {@link BackupAgentHelper} framework. See the {@link BackupHelper} interface * documentation for details. * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using BackupAgentHelper, read the * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p> * </div> * * @see BackupHelper * @see FileBackupHelper * @see SharedPreferencesBackupHelper Loading
core/java/android/app/backup/BackupManager.java +7 −2 Original line number Diff line number Diff line Loading @@ -41,10 +41,15 @@ import android.util.Log; * of how the operation then proceeds. * <p> * Several attributes affecting the operation of the backup and restore mechanism * can be set on the <code><a * href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * can be set on the <code> * <a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * tag in your application's AndroidManifest.xml file. * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using BackupManager, read the * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> * * @attr ref android.R.styleable#AndroidManifestApplication_allowBackup * @attr ref android.R.styleable#AndroidManifestApplication_backupAgent * @attr ref android.R.styleable#AndroidManifestApplication_killAfterRestore Loading
core/java/android/content/SharedPreferences.java +6 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,12 @@ import java.util.Set; * <p><em>Note: currently this class does not support use across multiple * processes. This will be added later.</em> * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using SharedPreferences, read the * <a href="{@docRoot}guide/topics/data/data-storage.html#pref">Data Storage</a> * developer guide.</p></div> * * @see Context#getSharedPreferences */ public interface SharedPreferences { Loading
core/java/android/widget/AdapterView.java +6 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,12 @@ import android.view.accessibility.AccessibilityNodeInfo; * <p> * See {@link ListView}, {@link GridView}, {@link Spinner} and * {@link Gallery} for commonly used subclasses of AdapterView. * * <div class="special reference"> * <h3>Developer Guides</h3> * <p>For more information about using AdapterView, read the * <a href="{@docRoot}guide/topics/ui/binding.html">Binding to Data with AdapterView</a> * developer guide.</p></div> */ public abstract class AdapterView<T extends Adapter> extends ViewGroup { Loading