/frameworks/base/tools/aapt/tests/ |
H A D | MockFileFinder.h | 18 MockFileFinder (KeyedVector<String8, KeyedVector<String8,time_t> >& files) argument 19 : mFiles(files) 49 // Virtual mapping between "directories" and the "files" contained
|
/frameworks/base/core/java/android/app/backup/ |
H A D | AbsoluteFileBackupHelper.java | 26 * Like FileBackupHelper, but takes absolute paths for the files instead of 39 * Construct a helper for backing up / restoring the files at the given absolute locations 43 * @param files 45 public AbsoluteFileBackupHelper(Context context, String... files) { argument 49 mFiles = files; 53 * Based on oldState, determine which of the files from the application's data directory
|
H A D | FileBackupHelper.java | 28 * files. Whenever backup is performed, all files changed since the last backup 36 * used only with small configuration files, not large binary files. 47 * Construct a helper to manage backup/restore of entire files within the 51 * @param files A list of the files to be backed up or restored. 53 public FileBackupHelper(Context context, String... files) { argument 58 mFiles = files; 62 * Based on <code>oldState</code>, determine which of the files fro [all...] |
H A D | WallpaperBackupHelper.java | 67 "/data/data/com.android.settings/files/wallpaper"; 85 * Construct a helper for backing up / restoring the files at the given absolute locations 89 * @param files 91 public WallpaperBackupHelper(Context context, String[] files, String[] keys) { argument 95 mFiles = files; 117 * Based on oldState, determine which of the files from the application's data directory
|
H A D | FileBackupHelperBase.java | 54 ParcelFileDescriptor newState, String[] files, String[] keys) { 55 if (files.length == 0) { 58 // files must be all absolute paths 59 for (String f: files) { 61 throw new RuntimeException("files must have all absolute paths: " + f); 64 // the length of files and keys must be the same 65 if (files.length != keys.length) { 66 throw new RuntimeException("files.length=" + files.length 76 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, key 53 performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState, String[] files, String[] keys) argument 121 performBackup_native(FileDescriptor oldState, long data, FileDescriptor newState, String[] files, String[] keys) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_backup_FileBackupHelperBase.cpp | 42 jobject newState, jobjectArray files, jobjectArray keys) 51 const int fileCount = env->GetArrayLength(files); 54 filesUTF[i] = env->GetStringUTFChars((jstring)env->GetObjectArrayElement(files, i), NULL); 66 env->ReleaseStringUTFChars((jstring)env->GetObjectArrayElement(files, i), filesUTF[i]); 41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, jlong data, jobject newState, jobjectArray files, jobjectArray keys) argument
|
/frameworks/multidex/library/src/android/support/multidex/ |
H A D | MultiDex.java | 49 * class methods. Secondary dex files named classes2.dex, classes3.dex... found 55 * nothing on newer versions of the platform which provide built-in support for secondary dex files. 82 * Patches the application context class loader by appending extra dex files 159 List<File> files = MultiDexExtractor.load(context, applicationInfo, dexDir, false); 160 if (checkValidZipFiles(files)) { 161 installSecondaryDexes(loader, dexDir, files); 163 Log.w(TAG, "Files were not valid zip files. Forcing a reload."); 165 files = MultiDexExtractor.load(context, applicationInfo, dexDir, true); 167 if (checkValidZipFiles(files)) { 168 installSecondaryDexes(loader, dexDir, files); 237 installSecondaryDexes(ClassLoader loader, File dexDir, List<File> files) argument 255 checkValidZipFiles(List<File> files) argument 417 makeDexElements( Object dexPathList, ArrayList<File> files, File optimizedDirectory, ArrayList<IOException> suppressedExceptions) argument 455 makeDexElements( Object dexPathList, ArrayList<File> files, File optimizedDirectory) argument [all...] |
/frameworks/native/cmds/installd/ |
H A D | installd.h | 126 cache_file_t** files; member in struct:__anon1171
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskPersister.java | 65 /** When not flushing don't write out files faster than this */ 84 // Directory where restored historical task XML/PNG files are placed. This directory 360 Slog.e(TAG, "Unable to list files from " + sTasksDir); 451 private static void removeObsoleteFiles(ArraySet<Integer> persistentTaskIds, File[] files) { argument 453 + persistentTaskIds + " files=" + files); 454 if (files == null) { 455 Slog.e(TAG, "File error accessing recents directory (too many files open?)."); 458 for (int fileNdx = 0; fileNdx < files.length; ++fileNdx) { 459 File file = files[fileNd [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 338 char const* const* files, char const* const* keys, int fileCount) 355 char const* file = files[i]; 579 // very large files need a pax extended size header 682 // Now write the file data itself, for real files. We honor tar's convention that 705 // depends on the OS guarantee that for ordinary files, read() will never return 1506 char const* files[] = { 1529 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); 1555 char const* files[] = { 1582 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); 337 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, char const* const* files, char const* const* keys, int fileCount) argument
|
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 4 // Build resource files from raw assets. 219 fprintf(stderr, "warning: Multiple AndroidManifest.xml files found, using %s\n", 391 const DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> >& files local 394 if (files.size() == 0) { 398 String8 resType = files.valueAt(0)->getResourceType(); 419 for (size_t j=0; j<files.size(); j++) { 421 files.valueAt(j)->getSourceFile().string(), 422 files.keyAt(j).toDirName(String8()).string(), 424 status_t err = existingGroup->addFile(files.valueAt(j)); 580 // Replace any base level files i 3050 const DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> >& files = group->getFiles(); local 3114 writePathsToFile(const sp<FilePathStore>& files, FILE* fp) argument [all...] |