Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/frameworks/base/tests/backup/
Dtest_restore.sh52 echo --- Previous files
58 echo --- Erased files and shared_prefs
82 check_file files/file.txt "first file" || need_bug=1
83 check_file files/another_file.txt "asdf" || need_bug=1
85 check_file files/empty.txt "" || need_bug=1
89 check_exists files/file_doesnt_exist.txt && need_bug=1
90 check_exists files/no_files_here.txt && need_bug=1
100 echo --- Restored files
108 a shell cat /data/data/com.android.backuptest/files/3.txt | tail -n 3
/frameworks/base/core/java/android/app/backup/
DFileBackupHelper.java53 public FileBackupHelper(Context context, String... files) { in FileBackupHelper() argument
58 mFiles = files; in FileBackupHelper()
76 String[] files = mFiles; in performBackup() local
78 final int N = files.length; in performBackup()
81 fullPaths[i] = (new File(base, files[i])).getAbsolutePath(); in performBackup()
85 performBackup_checked(oldState, data, newState, fullPaths, files); in performBackup()
DFileBackupHelperBase.java54 ParcelFileDescriptor newState, String[] files, String[] keys) { in performBackup_checked() argument
55 if (files.length == 0) { in performBackup_checked()
59 for (String f: files) { in performBackup_checked()
65 if (files.length != keys.length) { in performBackup_checked()
66 throw new RuntimeException("files.length=" + files.length in performBackup_checked()
76 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, keys); in performBackup_checked()
122 int data, FileDescriptor newState, String[] files, String[] keys); in performBackup_native() argument
DSharedPreferencesBackupHelper.java106 String[] files = new String[N]; in performBackup() local
108 files[i] = context.getSharedPrefsFile(prefGroups[i]).getAbsolutePath(); in performBackup()
112 performBackup_checked(oldState, data, newState, files, prefGroups); in performBackup()
/frameworks/support/v4/
DAndroid.mk24 LOCAL_SRC_FILES := $(call all-java-files-under, eclair)
33 LOCAL_SRC_FILES := $(call all-java-files-under, froyo)
42 LOCAL_SRC_FILES := $(call all-java-files-under, gingerbread)
51 LOCAL_SRC_FILES := $(call all-java-files-under, honeycomb)
60 LOCAL_SRC_FILES := $(call all-java-files-under, honeycomb_mr2)
69 LOCAL_SRC_FILES := $(call all-java-files-under, ics)
78 LOCAL_SRC_FILES := $(call all-java-files-under, java)
/frameworks/base/tools/localize/
DPerforce.cpp177 do_files(const string& op, const vector<string>& files, bool printOnFailure) in do_files() argument
184 const size_t I = files.size(); in do_files()
186 cmd << " \"" << files[i] << "\""; in do_files()
193 Perforce::EditFiles(const vector<string>& files, bool printOnFailure) in EditFiles() argument
195 return do_files("edit", files, printOnFailure); in EditFiles()
199 Perforce::AddFiles(const vector<string>& files, bool printOnFailure) in AddFiles() argument
201 return do_files("add", files, printOnFailure); in AddFiles()
205 Perforce::DeleteFiles(const vector<string>& files, bool printOnFailure) in DeleteFiles() argument
207 return do_files("delete", files, printOnFailure); in DeleteFiles()
Dmerge_res_and_xliff.cpp209 MergedFileSet files; in do_merge() local
234 if (files.find(mf) != files.end()) { in do_merge()
238 files.find(mf)->xliffFilename.c_str()); in do_merge()
242 files.insert(mf); in do_merge()
247 size_t J = files.size() * 3; in do_merge()
250 for (MergedFileSet::iterator mf = files.begin(); mf != files.end(); mf++) { in do_merge()
284 for (MergedFileSet::iterator mf = files.begin(); mf != files.end(); mf++) { in do_merge()
300 for (MergedFileSet::iterator mf = files.begin(); mf != files.end(); mf++) { in do_merge()
321 for (MergedFileSet::iterator mf = files.begin(); mf != files.end(); mf++) { in do_merge()
357 for (MergedFileSet::iterator mf = files.begin(); mf != files.end(); mf++) { in do_merge()
/frameworks/base/core/tests/coretests/
DAndroid.mk9 $(call all-java-files-under, src) \
10 $(call all-Iaidl-files-under, src) \
11 $(call all-java-files-under, DisabledTestApp/src) \
12 $(call all-java-files-under, EnabledTestApp/src)
/frameworks/base/tests/CoreTests/android/core/
DMiscRegressionTest.java202 File[] files = new File("/system/app").listFiles(); in testJarCertificates() local
203 for (int i = 0; i < files.length; i++) { in testJarCertificates()
204 checkJarCertificates(files[i]); in testJarCertificates()
268 File[] files = new File("/system/app").listFiles(); in testZipStressManifest() local
272 if (files != null) { in testZipStressManifest()
273 for (int i = 0; i < files.length; i++) { in testZipStressManifest()
275 "ZIP stress test processing " + files[i] + "..."); in testZipStressManifest()
277 ZipFile zip = new ZipFile(files[i]); in testZipStressManifest()
307 File[] files = new File("/system/app").listFiles(); in testZipStressAllFiles() local
311 if (files != null) { in testZipStressAllFiles()
[all …]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFileList.java90 String[] files = f.list(); in getData() local
91 Arrays.sort(files); in getData()
93 for (int i = 0; i < files.length; i++) { in getData()
96 sb.append(files[i]); in getData()
101 addItem(myData, "<"+files[i]+">", path); in getData()
102 if (mFocusFile != null && mFocusFile.equals(files[i])) in getData()
106 addItem(myData, files[i], path); in getData()
/frameworks/ex/carousel/
DAndroid.mk23 $(call all-java-files-under, java) \
24 $(call all-logtags-files-under, java) \
25 $(call all-renderscript-files-under, java)
/frameworks/base/data/keyboards/
DAndroid.mk25 files := \
34 validate_framework_keymaps: $(files)
35 $(hide) $(validatekeymaps) $(files)
/frameworks/base/services/java/com/android/server/am/
DDeviceMonitor.java97 File[] files = BASE.listFiles(); in purge() local
98 int count = files.length - MAX_FILES; in purge()
100 Arrays.sort(files); in purge()
102 if (!files[i].delete()) { in purge()
103 Slog.w(LOG_TAG, "Couldn't delete " + files[i] + "."); in purge()
/frameworks/base/docs/html/guide/developing/building/
Dindex.jd15 …cation on a device or emulator, such as compiled <code>.dex</code> files (<code>.class</code> files
17 resources (<code>resources.arsc</code>) and uncompiled resource files for your application.</p>
44 <p>The build process involves many tools and processes that generate intermediate files on the
58 <li>The Android Asset Packaging Tool (aapt) takes your application resource files, such as the
59 …<code>AndroidManifest.xml</code> file and the XML files for your Activities, and compiles them. An…
64 …<li>All of your Java code, including the <code>R.java</code> and <code>.aidl</code> files, are com…
65 compiler and .class files are output.</li>
67 <li>The dex tool converts the .class files to Dalvik byte code. Any 3rd party libraries and
68 ….class files that you have included in your project are also converted into <code>.dex</code> file…
71 <li>All non-compiled resources (such as images), compiled resources, and the .dex files are
/frameworks/compile/slang/tests/
Dtest.py166 files = []
180 files.append(arg)
185 if not files:
191 files.append(f)
193 for f in files:
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd21 <li><a href="#InternalCache">Saving cache files</a></li>
27 <li><a href="#AccessingExtFiles">Accessing files on external storage</a></li>
28 <li><a href="#SavingSharedFiles">Saving files that should be shared</a></li>
29 <li><a href="#ExternalCache">Saving cache files</a></li>
100 getSharedPreferences()} - Use this if you need multiple preferences files identified by name,
160 <a name="files"></a>
163 <p>You can save files directly on the device's internal storage. By default, files saved
165 them (nor can the user). When the user uninstalls your application, these files are removed.</p>
211 <h3 id="InternalCache">Saving cache files</h3>
216 temporary cache files.</p>
[all …]
/frameworks/base/docs/html/guide/developing/projects/
Dindex.jd24 <p>Projects act as containers for storing things such as code and resource files. The SDK tools
33 <dd>An Android project is the container for your application's source code, resource files, and
34 files such as the Ant build and Android Manifest file. An application project is the main type
51 <p>When you use the Android development tools to create a new project, the essential files and
52 folders will be created for you. There are only a handful of files and folders generated for you,
55 resources, directories, and files.</p>
60 onto a device. They contain things such as application source code and resource files.
62 required. The following directories and files comprise an Android project:</p>
69 files (such as <code>.java</code> or <code>.aidl</code> files) go here as well.</dd>
83 <dd>Contains the Java files generated by ADT, such as your <code>R.java</code> file and
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DAssetTest.java70 String[] files = mAssets.list(""); in xxtestListDir() local
71 assertEquals(1, files.length); in xxtestListDir()
72 assertEquals("test.txt", files[0]); in xxtestListDir()
/frameworks/base/core/jni/
Dandroid_backup_FileBackupHelperBase.cpp42 jobject newState, jobjectArray files, jobjectArray keys) in performBackup_native() argument
51 const int fileCount = env->GetArrayLength(files); in performBackup_native()
54 filesUTF[i] = env->GetStringUTFChars((jstring)env->GetObjectArrayElement(files, i), NULL); in performBackup_native()
66 env->ReleaseStringUTFChars((jstring)env->GetObjectArrayElement(files, i), filesUTF[i]); in performBackup_native()
/frameworks/base/include/private/
DREADME1 This folder contains private include files.
3 These include files are part of the private implementation details of
/frameworks/base/tests/RenderScriptTests/tests/
DAndroid.mk22 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/frameworks/base/tests/RenderScriptTests/ModelViewer/
DAndroid.mk22 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/frameworks/base/tests/RenderScriptTests/FBOTest/
DAndroid.mk22 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/frameworks/base/tests/RenderScriptTests/ShadersTest/
DAndroid.mk22 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/frameworks/ex/chips/
DAndroid.mk21 $(call all-java-files-under, src) \
22 $(call all-logtags-files-under, src)

12345678910>>...15