/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 | 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 120 performBackup_native(FileDescriptor oldState, int data, FileDescriptor newState, String[] files, String[] keys) argument [all...] |
/frameworks/base/tools/localize/ |
H A D | res_check.cpp | 13 do_rescheck(const vector<string>& files) argument 20 for (size_t i=0; i<files.size(); i++) { 21 const string filename = files[i];
|
H A D | Perforce.cpp | 107 cmd << "p4 files"; 177 do_files(const string& op, const vector<string>& files, bool printOnFailure) argument 184 const size_t I = files.size(); 186 cmd << " \"" << files[i] << "\""; local 193 Perforce::EditFiles(const vector<string>& files, bool printOnFailure) argument 195 return do_files("edit", files, printOnFailure); 199 Perforce::AddFiles(const vector<string>& files, bool printOnFailure) argument 201 return do_files("add", files, printOnFailure); 205 Perforce::DeleteFiles(const vector<string>& files, bool printOnFailure) argument 207 return do_files("delete", files, printOnFailur [all...] |
H A D | XLIFFFile.h | 19 size_t files; member in struct:Stats
|
H A D | merge_res_and_xliff.cpp | 209 MergedFileSet files; local 234 if (files.find(mf) != files.end()) { 238 files.find(mf)->xliffFilename.c_str()); 242 files.insert(mf); 247 size_t J = files.size() * 3; 249 // Read all of the files from perforce. 250 for (MergedFileSet::iterator mf = files.begin(); mf != files.end(); mf++) { 284 for (MergedFileSet::iterator mf = files [all...] |
H A D | XLIFFFile.cpp | 65 vector<XMLNode*> files = root->GetElementsByName(XLIFF_XMLNS, "file"); local 66 for (size_t i=0; i<files.size(); i++) { 67 XMLNode* file = files[i]; 470 vector<File> files = m_files; local 471 sort(files.begin(), files.end()); 472 const size_t I = files.size(); 474 const File& file = files[i]; 592 stat.files = m_files.size();
|
H A D | localize.cpp | 171 * the xliff files reducing in size, so we pick the latter. Obviously, if the string has 237 printf("Selecting files..."); 322 // parse the files into a ValuesFile 397 // write the XLIFF files 409 " config files translate comments strings\n" 413 totals.files = 0; 422 printf(" %-20s %-9zd %-9zd %-9zd %-19zd\n", cfg.c_str(), it->files, 424 totals.files += it->files; 431 " %-20s %-9zd %-9zd %-9zd %-19zd\n", totals.config.c_str(), totals.files, 735 vector<string> files; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_backup_FileBackupHelperBase.cpp | 45 jobject newState, jobjectArray files, jobjectArray keys) 54 const int fileCount = env->GetArrayLength(files); 57 filesUTF[i] = env->GetStringUTFChars((jstring)env->GetObjectArrayElement(files, i), NULL); 69 env->ReleaseStringUTFChars((jstring)env->GetObjectArrayElement(files, i), filesUTF[i]); 44 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, int data, jobject newState, jobjectArray files, jobjectArray keys) argument
|
/frameworks/base/libs/utils/ |
H A D | BackupHelpers.cpp | 333 char const* const* files, char const* const* keys, int fileCount) 350 char const* file = files[i]; 397 // both files exist, check them 1223 char const* files[] = { 1246 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); 1272 char const* files[] = { 1299 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); 332 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. 178 fprintf(stderr, "warning: Multiple AndroidManifest.xml files found, using %s\n", 330 const DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> >& files local 333 if (files.size() == 0) { 337 String8 resType = files.valueAt(0)->getResourceType(); 352 int M = files.size(); 354 existingGroup->addFile(files.valueAt(j)); 507 // Replace any base level files in this category with any found from the overlay 808 // now go through any resource overlays and collect their files 817 // apply the overlay files t 2074 const DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> >& files = group->getFiles(); local [all...] |