Searched defs:files (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/tools/aapt/tests/
H A DMockFileFinder.h18 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 DAbsoluteFileBackupHelper.java26 * 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 DFileBackupHelper.java28 * 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 DWallpaperBackupHelper.java67 "/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;
118 * Based on oldState, determine which of the files from the application's data directory
H A DFileBackupHelperBase.java54 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 Dandroid_backup_FileBackupHelperBase.cpp42 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 DMultiDex.java49 * 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/base/services/core/java/com/android/server/am/
H A DTaskPersister.java47 /** When not flushing don't write out files faster than this */
317 Slog.e(TAG, "Unable to list files from " + sTasksDir);
411 private static void removeObsoleteFiles(ArraySet<Integer> persistentTaskIds, File[] files) { argument
413 " files=" + files);
414 if (files == null) {
415 Slog.e(TAG, "File error accessing recents directory (too many files open?).");
418 for (int fileNdx = 0; fileNdx < files.length; ++fileNdx) {
419 File file = files[fileNdx];
469 if (DEBUG) Slog.d(TAG, "Looking for obsolete files
[all...]
/frameworks/native/cmds/installd/
H A Dinstalld.h126 cache_file_t** files; member in struct:__anon1158
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp333 char const* const* files, char const* const* keys, int fileCount)
350 char const* file = files[i];
397 // both files exist, check them
576 // very large files need a pax extended size header
679 // Now write the file data itself, for real files. We honor tar's convention that
702 // depends on the OS guarantee that for ordinary files, read() will never return
1503 char const* files[] = {
1526 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1);
1552 char const* files[] = {
1579 err = back_up_files(-1, &dataStream, newSnapshotFD, files, key
332 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, char const* const* files, char const* const* keys, int fileCount) argument
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp4 // Build resource files from raw assets.
215 fprintf(stderr, "warning: Multiple AndroidManifest.xml files found, using %s\n",
382 const DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> >& files local
385 if (files.size() == 0) {
389 String8 resType = files.valueAt(0)->getResourceType();
410 for (size_t j=0; j<files.size(); j++) {
412 files.valueAt(j)->getSourceFile().string(),
413 files.keyAt(j).toDirName(String8()).string(),
415 status_t err = existingGroup->addFile(files.valueAt(j));
571 // Replace any base level files i
2956 const DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> >& files = group->getFiles(); local
3020 writePathsToFile(const sp<FilePathStore>& files, FILE* fp) argument
[all...]
/frameworks/testing/espresso/libs/
H A Djarjar-1.4.jar ... .FileFilter JAR_FILTER private final java.util.Iterator files private java.util.Iterator entries private com. ...

Completed in 8964 milliseconds