Searched refs:file (Results 76 - 100 of 407) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Script/
H A DInputSectDesc.cpp5 // This file is distributed under the University of Illinois Open Source
41 if (m_Spec.file().sortPolicy() == WildcardPattern::SORT_BY_NAME)
44 mcld::outs() << m_Spec.file().name();
90 if (m_Spec.file().sortPolicy() == WildcardPattern::SORT_BY_NAME)
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java5 * you may not use this file except in compliance with the License.
43 private void writeFile(File file, byte[] data) { argument
44 file.mkdirs();
46 AtomicFile aFile = new AtomicFile(file);
51 Log.e(TAG, "Cannot write file " + file.getPath());
/frameworks/rs/
H A Dupdate_rs_prebuilts.sh130 file=`basename $a`
131 cp `find $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 4
135 file=`basename $a`
136 cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 5
/frameworks/base/drm/java/android/drm/
H A DDrmRights.java5 * you may not use this file except in compliance with the License.
31 * {@link DrmRights#DrmRights(String, String)} constructor, which takes a path to a file
49 * @param rightsFilePath Path to the file containing rights information.
53 File file = new File(rightsFilePath);
54 instantiate(file, mimeType);
60 * @param rightsFilePath Path to the file containing rights information.
73 * @param rightsFilePath Path to the file containing rights information.
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
H A DEffectsVideoCapture.java5 * you may not use this file except in compliance with the License.
71 File file = new File(Environment.getExternalStorageDirectory(),
73 Uri uri = Uri.fromFile(file);
80 // Verify the video file
/frameworks/support/v4/java/android/support/v4/provider/
H A DDocumentFile.java5 * you may not use this file except in compliance with the License.
29 * {@link android.provider.DocumentsProvider} or a raw file on disk. This is a
38 * instead of relying on file extensions. Some documents providers may still
53 * the user to pick a single file, use {@link Intent#ACTION_OPEN_DOCUMENT} or
56 * save a single file, use {@link Intent#ACTION_CREATE_DOCUMENT}. If you use
92 * {@link #getUri()} will return {@code file://} Uris for files explored
95 public static DocumentFile fromFile(File file) { argument
96 return new RawDocumentFile(null, file);
155 * @param displayName name of new document, without any file extension
158 * @return file representin
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp71 // about the file being ignored.
73 // or <file> to match only files. Default is to match both.
115 if (strncasecmp(token, "<file>", 6) == 0) {
140 type == kFileTypeDirectory ? "dir" : "file",
547 status_t AaptGroup::addFile(const sp<AaptFile>& file, const bool overwriteDuplicate) argument
549 ssize_t index = mFiles.indexOfKey(file->getGroupEntry());
553 file->getSourceFile().string());
559 file->mPath = mPath;
560 mFiles.add(file->getGroupEntry(), file);
589 sp<AaptFile> file = mFiles.valueAt(i); local
619 addFile(const String8& name, const sp<AaptGroup>& file) argument
666 addLeafFile(const String8& leafName, const sp<AaptFile>& file, const bool overwrite) argument
750 sp<AaptFile> file = new AaptFile(pathName, kind, resType); local
920 addFile(const String8& name, const sp<AaptGroup>& file) argument
933 sp<AaptFile> file; local
979 addResource(const String8& leafName, const String8& path, const sp<AaptFile>& file, const String8& resType) argument
1288 sp<AaptFile> file = new AaptFile(entryName, kind, resType); local
1392 sp<AaptFile> file = grp->getFiles().valueAt(k); local
1429 sp<AaptFile> file = grp->getFiles().valueAt(k); local
1586 addIncludedResources(const sp<AaptFile>& file) argument
[all...]
H A DBundle.h140 void setProguardFile(const char* file) { mProguardFile = file; } argument
144 void setAndroidManifestFile(const char* file) { mAndroidManifestFile = file; } argument
146 void setPublicOutputFile(const char* file) { mPublicOutputFile = file; } argument
158 void addPackageInclude(const char* file) { mPackageIncludes.add(android::String8(file)); } argument
160 void addJarFile(const char* file) { mJarFiles.add(file); } argument
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
H A DNetworkStatsFactoryTest.java5 * you may not use this file except in compliance with the License.
132 private void stageFile(int rawId, File file) throws Exception { argument
133 new File(file.getParent()).mkdirs();
138 out = new FileOutputStream(file);
146 private void stageLong(long value, File file) throws Exception { argument
147 new File(file.getParent()).mkdirs();
150 out = new FileWriter(file);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java5 * you may not use this file except in compliance with the License.
90 // Just a few popular file types used to return from a download
332 * Helper to verify the size of a file.
334 * @param pfd The input file to compare the size of
335 * @param size The expected size of the file
342 * Helper to verify the contents of a downloaded file versus a byte[].
344 * @param actual The file of whose contents to verify
345 * @param expected The data we expect to find in the aforementioned file
346 * @throws IOException if there was a problem reading from the file
379 * Verifies the contents of a downloaded file versu
385 verifyFileContents(ParcelFileDescriptor pfd, File file) argument
860 waitForFileToGrow(File file) argument
[all...]
/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c5 * you may not use this file except in compliance with the License.
66 // handle of the file to play
67 FILE *file; variable
69 // has the app reached the end of the file
120 rewind(file);
193 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file);
301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file);
349 // open the file to play
350 file = fopen(utf8, "rb");
351 if (file
[all...]
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp5 * you may not use this file except in compliance with the License.
44 FILE *file; variable
45 /* Has the app reached the end of the file */
87 // to play a .ts file, but rather shows more ways to exercise the API
108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file);
150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file);
208 file = fopen(path, "rb");
297 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) {
311 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0) {
375 fclose(file);
[all...]
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java5 * you may not use this file except in compliance with the License.
74 SharedPreferencesImpl(File file, int mode) { argument
75 mFile = file;
76 mBackupFile = makeBackupFile(file);
107 Log.w(TAG, "Attempt to read preferences file " + mFile + " without permission");
157 // Has the file changed out from under us? i.e. writes that
541 private static FileOutputStream createFileOutputStream(File file) { argument
544 str = new FileOutputStream(file);
546 File parent = file.getParentFile();
548 Log.e(TAG, "Couldn't create directory for SharedPreferences file "
[all...]
/frameworks/native/cmds/installd/
H A Dutils.c5 ** you may not use this file except in compliance with the License.
367 ALOGE("Failed to change file permissions\n");
370 ALOGE("Failed to change file owner\n");
592 cache_file_t* file = (cache_file_t*)_cache_malloc(cache, sizeof(cache_file_t)+nameLen+1); local
593 if (file != NULL) {
594 file->dir = dir;
595 file->modTime = modTime;
596 strcpy(file->name, name);
602 ALOGE("Failure growing cache file array for %s\n", name);
608 CACHE_NOISY(ALOGI("Setting file
869 cache_file_t* file = cache->files[i]; local
[all...]
/frameworks/native/opengl/tools/glgen2/
H A Dglgen.py6 # you may not use this file except in compliance with the License.
122 file=self.outFile)
186 file=outfile)
206 file=outfile)
211 print('GL_ENUM(%s,%s)' % (enum[0], enum[1]), file=outfile)
225 file=self.outFile)
304 # so terrible that the .spec file needs a lot of manual massaging before
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPacManager.java5 * you may not use this file except in compliance with the License.
101 String file;
105 file = get(mPacUrl);
107 file = null;
108 Log.w(TAG, "Failed to load PAC file: " + ioe);
111 if (file != null) {
113 if (!file.equals(mCurrentPac)) {
114 setCurrentProxyScript(file);
256 Log.e(TAG, "Unable to set PAC file", e);
269 // Already bound no need to bind again, just download the new file
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DSELinuxMMAC.java5 * you may not use this file except in compliance with the License.
60 // Data policy override version file.
64 // Base policy version file.
70 // Data override mac_permissions.xml policy file.
74 // Base mac_permissions.xml policy file.
78 // Determine which mac_permissions.xml file to use.
82 // Data override seapp_contexts policy file.
86 // Base seapp_contexts policy file.
89 // Determine which seapp_contexts file to use.
93 // Stores the hash of the last used seapp_contexts file
427 dumpHash(File file, byte[] content) argument
454 returnHash(String file) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dasm_common.S5 @ you may not use this file except in compliance with the License.
/frameworks/base/core/tests/coretests/apks/install_jni_lib/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/base/core/tests/hosttests/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/base/core/tests/hosttests/test-apps/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/base/core/tests/hosttests/test-apps/AutoLocTestApp/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/base/core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v1/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/base/core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v2/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocAllPermsTestApp/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.

Completed in 2059 milliseconds

1234567891011>>