/frameworks/base/core/java/android/app/backup/ |
H A D | BackupHelper.java | 28 * is responsible only for handling its own data, and will not see entities 41 * application's data directory need to be backed up, write them to 42 * <code>data</code>, and fill in <code>newState</code> with the state as it 48 * {@code oldState} descriptor points to the beginning of the state data 60 * @param data An open, read/write {@link BackupDataOutput} 61 * pointing to the backup data destination. 66 * state here after writing the requested data to the <code>data</code> 69 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 74 * to restore a single entity from the restore data se 83 restoreEntity(BackupDataInputStream data) argument [all...] |
H A D | BackupHelperDispatcher.java | 45 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 62 doOneBackup(oldState, data, newState, header, helper); 76 doOneBackup(oldState, data, newState, header, helper); 80 private void doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 92 data.setKeyPrefix(header.keyPrefix); 95 helper.performBackup(oldState, data, newState); 134 input.skipEntityData(); // In case they didn't consume the data.
|
H A D | FileBackupHelper.java | 32 * During restore, if the helper encounters data for a file that was not 33 * specified when the FileBackupHelper object was constructed, that data 48 * application's data directory hierarchy. 63 * application's data directory need to be backed up, write them to the data 73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 85 performBackup_checked(oldState, data, newState, fullPaths, files); 94 public void restoreEntity(BackupDataInputStream data) { argument 95 if (DEBUG) Log.d(TAG, "got entity '" + data.getKey() + "' size=" + data [all...] |
H A D | FileBackupHelperBase.java | 53 static void performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, argument 76 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, keys); 122 int data, FileDescriptor newState, String[] files, String[] keys); 121 performBackup_native(FileDescriptor oldState, int data, FileDescriptor newState, String[] files, String[] keys) argument
|
H A D | FullBackup.java | 66 * Copy data from a socket to the given File location on permanent storage. The 71 * the socket parameter may be {@code null}; even if it is valid, no data will be 77 * @param data Socket supplying the data to be copied to the output file. If the 79 * @param size Number of bytes of data to copy from the socket to the file. At least 80 * this much data must be available through the {@code data} parameter. 81 * @param type Must be either {@link BackupAgent#TYPE_FILE} for ordinary file data 90 * @param outFile Location within the filesystem to place the data. This must point 94 static public void restoreFile(ParcelFileDescriptor data, argument [all...] |
H A D | FullBackupAgent.java | 31 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 37 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
|
H A D | SharedPreferencesBackupHelper.java | 40 * data might look something like this: 52 * // identify the SharedPreferenceBackupHelper's data. 95 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 112 performBackup_checked(oldState, data, newState, files, prefGroups); 116 * Restores one entity from the restore data stream to its proper shared 119 public void restoreEntity(BackupDataInputStream data) { argument 122 String key = data.getKey(); 123 if (DEBUG) Log.d(TAG, "got entity '" + key + "' size=" + data.size()); 127 writeFile(f, data);
|
H A D | WallpaperBackupHelper.java | 50 // Use old keys to keep legacy data compatibility and avoid writing two wallpapers 52 "/data/data/com.android.settings/files/wallpaper"; 53 public static final String WALLPAPER_INFO_KEY = "/data/system/wallpaper_info.xml"; 103 * Based on oldState, determine which of the files from the application's data directory 104 * need to be backed up, write them to the data stream, and fill in newState with the 107 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 109 performBackup_checked(oldState, data, newState, mFiles, mKeys); 117 public void restoreEntity(BackupDataInputStream data) { argument 118 final String key = data [all...] |
/frameworks/base/core/java/android/content/ |
H A D | AsyncTaskLoader.java | 50 * @param <D> the data type to be loaded. 68 D data = AsyncTaskLoader.this.onLoadInBackground(); 70 return data; 88 protected void onPostExecute(D data) { argument 91 AsyncTaskLoader.this.dispatchOnLoadComplete(this, data); 99 protected void onCancelled(D data) { argument 102 AsyncTaskLoader.this.dispatchOnCancelled(this, data); 201 * @param data The value that was returned by {@link #loadInBackground}, or null 204 public void onCanceled(D data) { argument 230 void dispatchOnCancelled(LoadTask task, D data) { argument 242 dispatchOnLoadComplete(LoadTask task, D data) argument [all...] |
H A D | BroadcastReceiver.java | 285 public final void setResultData(String data) { argument 287 mResultData = data; 326 public final void setResult(int code, String data, Bundle extras) { argument 329 mResultData = data; 500 * all data and other interaction must go through {@link PendingResult} 563 * Change the current result data of this broadcast; only works with 573 * @param data The new result data; may be null. 577 public final void setResultData(String data) { argument 579 mPendingResult.mResultData = data; 657 setResult(int code, String data, Bundle extras) argument [all...] |
H A D | ContentProviderNative.java | 76 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 82 data.enforceInterface(IContentProvider.descriptor); 84 Uri url = Uri.CREATOR.createFromParcel(data); 87 int num = data.readInt(); 92 projection[i] = data.readString(); 97 String selection = data.readString(); 98 num = data.readInt(); 103 selectionArgs[i] = data.readString(); 107 String sortOrder = data.readString(); 109 data [all...] |
H A D | ContentService.java | 120 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 123 return super.onTransact(code, data, reply, flags);
|
H A D | Context.java | 98 * already exists then write data to the end of the existing file 281 * is associated with static data, not a particular component. However 735 * can place its own custom data files. You can use the returned File 742 * that is created as part of your application data. 887 public abstract void setWallpaper(InputStream data) throws IOException; argument 1162 * receive data back from the broadcast. This is accomplished by 1188 * @param initialData An initial value for the result data. Often 1259 * @param initialData An initial value for the result data. Often 1273 * so that others can quickly retrieve that data through the return 1293 * receive data bac [all...] |
H A D | ContextWrapper.java | 273 public void setWallpaper(InputStream data) throws IOException { argument 274 mBase.setWallpaper(data);
|
H A D | DefaultDataHandler.java | 31 * Inserts default data from InputStream, should be in XML format. 32 * If the provider syncs data to the server, the imported data will be synced to the server. 235 public void processingInstruction(String target, String data) argument
|
H A D | IIntentReceiver.aidl | 30 void performReceive(in Intent intent, int resultCode, String data,
|
H A D | Intent.java | 61 * can be thought of as the glue between activities. It is basically a passive data structure 80 * <li> <p><b>data</b> -- The data to operate on, such as a person record 86 * <p>Some examples of action/data pairs are:</p> 123 * of alternative actions the user can perform on a piece of data.</p> 125 * intent data. Normally the type is inferred from the data itself. 130 * at the other information in the intent (the action, data/type, and 138 * also include extra pieces of data here to supply a subject, body, 157 * -- Display all pickers for data tha 4821 setData(Uri data) argument 4849 setDataAndNormalize(Uri data) argument 4938 setDataAndType(Uri data, String type) argument 4969 setDataAndTypeAndNormalize(Uri data, String type) argument [all...] |
H A D | IntentFilter.java | 40 * match against actions, categories, and data (either via its type, scheme, 50 * <em>action</em>, <em>data</em>, and <em>categories</em>. For each of these 57 * if no data characteristics are specified, however, then the filter will 58 * only match intents that contain no data. 60 * <p>The data characteristic is 69 * then only an Intent with no data or type will match. To specify an authority, 85 * the data (both the <strong>data type</strong> and 86 * <strong>data scheme+authority+path</strong> if specified) must match. 101 * Intent data' 674 match(Uri data) argument 752 hasDataAuthority(Uri data) argument 819 hasDataPath(String data) argument 850 matchDataAuthority(Uri data) argument 899 matchData(String type, String scheme, Uri data) argument 1103 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument [all...] |
H A D | IntentSender.java | 49 * the system describing the original data used to retrieve it. This means 53 * same kind of IntentSender (same operation, same Intent action, data, 96 * @param resultData The final data collected by a broadcast. 117 public void performReceive(Intent intent, int resultCode, String data, argument 121 mResultData = data; 143 * @param intent Additional Intent data. See {@link Intent#fillIn 169 * @param intent Additional Intent data. See {@link Intent#fillIn
|
H A D | Loader.java | 27 * An abstract class that performs asynchronous loading of data. While Loaders are active 28 * they should monitor the source of their data and deliver new results when the contents 64 * it to the Loader to have the loader re-load its data when the observer 67 * an update when the cursor's backing data changes. 87 * loading its data. You do not normally need to implement this yourself; 98 * @param data the result of the load 100 public void onLoadComplete(Loader<D> loader, D data); argument 105 * before it finished loading its data. You do not normally need to implement 139 * @param data the result of the load 141 public void deliverResult(D data) { argument 487 dataToString(D data) argument [all...] |
H A D | SyncStorageEngine.java | 58 * Singleton that tracks the sync data and overall sync 319 * this information as binary data. 958 // Clean out all data structures. 1981 byte[] data = mStatusFile.readFully(); 1983 in.unmarshall(data, 0, data.length); 2047 byte[] data = mPendingFile.readFully(); 2049 in.unmarshall(data, 0, data.length); 2221 byte[] data [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 1116 targetVers = minVers = val.data; 1127 targetVers = val.data; 1934 } else if (parser.getName().equals("meta-data")) { 1935 // note: application meta-data is stored off to the side, so it can 2253 } else if (parser.getName().equals("meta-data")) { 2426 } else if (parser.getName().equals("meta-data")) { 2588 if (parser.getName().equals("meta-data")) { 2845 } else if (parser.getName().equals("meta-data")) { 2884 if (parser.getName().equals("meta-data")) { 2907 Bundle data, Strin 2905 parseMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, Bundle data, String[] outError) argument [all...] |
H A D | ResolveInfo.java | 88 * perform on this data. 153 CharSequence data = ci.loadLabel(pm); 154 // Make the data safe 155 if (data != null) data = data.toString().trim(); 156 return data;
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 30 * for the way most applications will want to retrieve their resource data. 40 * data will be accessed. 154 return mStringBlocks[block].get(tmpValue.data); 172 return mStringBlocks[block].get(tmpValue.data); 201 outValue.string = mStringBlocks[block].get(outValue.data); 239 outValue.string = blocks[block].get(outValue.data); 300 * @param accessMode Desired access mode for retrieving the data. 399 * @param accessMode Desired access mode for retrieving the data. 630 * instantiate a new AssetManager class to see the new data. 643 * Get the locales that this asset manager contains data fo [all...] |
H A D | Resources.java | 48 * provides a high-level API for getting typed data from the assets. 222 * @return CharSequence The string data associated with the resource, plus 249 * @return CharSequence The string data associated with the resource, plus 310 * @return String The string data associated with the resource, 338 * @return String The string data associated with the resource, 365 * @return String The string data associated with the resource, 389 * @return String The string data associated with the resource, 407 * @return CharSequence The string data associated with the resource, plus 524 return TypedValue.complexToDimension(value.data, mMetrics); 557 value.data, mMetric [all...] |