Searched refs:file (Results 51 - 75 of 339) sorted by relevance

1234567891011>>

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DTexture2D.java5 * you may not use this file except in compliance with the License.
44 public Texture2D(String dir, String file) { argument
47 setFileName(file);
59 public void setFileName(String file) { argument
60 mFileName = file;
H A DTextureCube.java5 * you may not use this file except in compliance with the License.
45 public TextureCube(String dir, String file) { argument
48 setFileName(file);
60 public void setFileName(String file) { argument
61 mFileName = file;
/frameworks/base/tools/aapt/
H A DSourcePos.h12 String8 file; member in class:SourcePos
H A DBundle.h129 void setProguardFile(const char* file) { mProguardFile = file; } argument
133 void setAndroidManifestFile(const char* file) { mAndroidManifestFile = file; } argument
135 void setPublicOutputFile(const char* file) { mPublicOutputFile = file; } argument
145 void addPackageInclude(const char* file) { mPackageIncludes.add(file); } argument
147 void addJarFile(const char* file) { mJarFiles.add(file); } argument
[all...]
H A DPackage.cpp40 const sp<AaptGroup>& group, const sp<AaptFile>& file);
68 * If the file already exists, fail unless "update" or "force" is set.
90 fprintf(stderr, "ERROR: '%s' exists and is not a regular file\n", outputFile.string());
103 fprintf(stderr, "ERROR: unable to open '%s' as Zip file for writing\n",
121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s");
133 printf("Included %d file%s from jar/zip files.\n", count, (count==1) ? "" : "s");
159 printf("Removed %d file%s\n", removed, (removed==1) ? "" : "s");
174 delete zip; // close the file so we can remove it in Win32
181 // If we've been asked to generate a dependency file for the .ap_ package,
184 // The dependency file get
293 processFile(Bundle* bundle, ZipFile* zip, const sp<AaptGroup>& group, const sp<AaptFile>& file) argument
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DSearchDirs.cpp5 // This file is distributed under the University of Illinois Open Source
49 std::string file; local
50 SpecToFilename(pNamespec, file);
61 if (file == entry.path()->stem().native() ) {
74 if (file == entry.path()->stem().native() &&
/frameworks/wilhelm/src/
H A Dlocks.h5 * you may not use this file except in compliance with the License.
17 /** \file locks.h Mutual exclusion and condition variables */
20 extern void object_lock_exclusive_(IObject *thiz, const char *file, int line);
21 extern void object_unlock_exclusive_(IObject *thiz, const char *file, int line);
23 const char *file, int line);
24 extern void object_cond_wait_(IObject *thiz, const char *file, int line);
/frameworks/wilhelm/tests/
H A DAndroid.mk26 $(foreach file,$(test_src_files), \
31 $(eval LOCAL_SRC_FILES := $(file)) \
/frameworks/base/core/java/android/os/
H A DSELinux.java5 * you may not use this file except in compliance with the License.
54 * Sets the security context for newly created file objects.
61 * Change the security context of an existing file object.
62 * @param path representing the path of file object to relabel.
69 * Get the security context of a file object.
70 * @param path the pathname of the file object.
129 * Restores a file to its default SELinux security context.
135 * @param pathname The pathname of the file to be relabeled.
145 * Restores a file to its default SELinux security context.
151 * @param pathname The pathname of the file t
167 restorecon(File file) argument
[all...]
/frameworks/compile/libbcc/tests/
H A Dbccarm32 def setupArm(file):
39 remoteFileName = os.path.join("/system/bin/bccdata", file)
40 adb(["push", file, remoteFileName])
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java5 * you may not use this file except in compliance with the License.
91 for (File file : files) {
92 file.delete();
111 File file = getFileForKey(key);
114 cis = new CountingInputStream(new FileInputStream(file));
116 byte[] data = streamToBytes(cis, (int) (file.length() - cis.bytesRead));
119 VolleyLog.d("%s: %s", file.getAbsolutePath(), e.toString());
143 for (File file : files) {
146 fis = new FileInputStream(file);
148 entry.size = file
[all...]
/frameworks/base/services/java/com/android/server/
H A DSamplingProfilerService.java5 * you may not use this file except in compliance with the License.
79 private void handleSnapshotFile(File file, DropBoxManager dropbox) { argument
81 dropbox.addFile(TAG, file, 0);
82 if (LOCAL_LOGV) Slog.v(TAG, file.getPath() + " added to dropbox");
84 Slog.e(TAG, "Can't add " + file.getPath() + " to dropbox", e);
86 file.delete();
H A DDropBoxManagerService.java5 * you may not use this file except in compliance with the License.
74 // TODO: This implementation currently uses one file per entry, which is
75 // inefficient for smallish entries -- consider using a single queue file
295 entry.tag, entry.timestampMillis, entry.file, entry.flags);
297 Slog.e(TAG, "Can't read: " + entry.file, e);
298 // Continue to next file
328 } else if (args[i].equals("-f") || args[i].equals("--file")) {
361 if (entry.file == null) {
362 out.append(" (no file)\n");
371 out.append(", ").append(entry.file
460 public final File file; field in class:DropBoxManagerService.EntryFile
524 EntryFile(File file, int blockSize) argument
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DFileFilter.java5 * you may not use this file except in compliance with the License.
64 File file = new File(path);
65 return file.getPath();
222 File file = new File(path);
226 prefixes.add(file.getPath());
227 file = file.getParentFile();
228 } while (file != null);
246 * Checks if the file is a test.
250 * assuming that a file i
[all...]
/frameworks/compile/mclinker/unittests/
H A DFactoriesTest.cpp5 // This file is distributed under the University of Illinois Open Source
173 MCLDFile* file = m_pFileAlloc->produce(); local
183 sprintf(name, "file %d", counter);
186 MCLDFile* file = m_pFileAlloc->produce( string(name), local
191 ASSERT_TRUE(file->isRecognized());
192 ASSERT_STREQ(name, file->name().data());
200 sprintf(name, "file %d", counter);
203 MCLDFile* file = m_pFileAlloc->produce( string(name), local
211 MCLDFileFactory::iterator file = m_pFileAlloc->begin(); local
214 while (file!
[all...]
H A DReadStageTest.cpp5 // This file is distributed under the University of Illinois Open Source
134 FileHandle file; local
135 file.open(top_level + "unittests/read_stage.xml",
140 dumpInput(**input, file, 1);
143 dumpOutput(m_pLinker->config()->output(), file, 1);
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp5 * you may not use this file except in compliance with the License.
74 EAS_FILE file; local
75 file.path = filename;
76 file.fd = 0;
77 file.offset = 0;
78 file.length = 0;
79 result = EAS_OpenFile(easData, &file, &easHandle);
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnosticEngine.h5 // This file is distributed under the University of Illinois Open Source
104 State() : numArgs(0), ID(-1), severity(None), file(NULL) { }
111 file = NULL;
121 Input* file; member in struct:mcld::DiagnosticEngine::State
/frameworks/base/libs/hwui/
H A DDisplayListLogBuffer.cpp5 * you may not use this file except in compliance with the License.
74 void DisplayListLogBuffer::outputCommands(FILE *file, const char* opNames[]) argument
95 fprintf(file, "%s%s\n", indent, opNames[op]);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFileFilter.java5 * you may not use this file except in compliance with the License.
29 public static boolean ignoreTest(String file) { argument
31 if (file.endsWith(ignoreTestList[i])) {
32 Log.v(LOGTAG, "File path in list of ignored tests: " + file);
41 public static boolean isNonTestDir(String file) { argument
43 if (file.endsWith(nonTestDirs[i])) {
51 public static boolean ignoreResult(String file) { argument
53 if (file.endsWith(ignoreResultList.get(i))) {
54 Log.v(LOGTAG, "File path in list of ignored results: " + file);
102 ignoreResultList.add("http/tests/appcache/manifest-with-empty-file
[all...]
H A DLayoutTestsAutoTest.java5 * you may not use this file except in compliance with the License.
224 // Gets the file which contains WebKit's expected results for this test.
248 // Gets the file which contains the actual results of running the test on
255 private void failedCase(String file) { argument
256 Log.w("Layout test: ", file + " failed");
257 mResultRecorder.failed(file);
260 private void passedCase(String file) { argument
261 Log.v("Layout test:", file + " passed");
262 mResultRecorder.passed(file);
265 private void ignoreResultCase(String file) { argument
270 noResultCase(String file) argument
[all...]
/frameworks/compile/slang/
H A DSlangData.mk4 # you may not use this file except in compliance with the License.
18 # Prior to including this file, the following variables should be
22 # input_data_file -- the path of the prebuilt data file to use
24 # in the data file
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java5 * you may not use this file except in compliance with the License.
33 * This class handles the mini-thumb file. A mini-thumb file consists
43 * @hide This file is shared between MediaStore and MediaProvider and should remained internal use
63 for (MiniThumbFile file : sThumbFiles.values()) {
64 file.deactivate();
71 MiniThumbFile file = sThumbFiles.get(type);
73 if (file == null) {
74 file = new MiniThumbFile(
76 sThumbFiles.put(type, file);
[all...]
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp5 * you may not use this file except in compliance with the License.
72 sp<FileSource> file = new FileSource(path); local
73 CHECK_EQ(file->initCheck(), (status_t)OK);
75 ID3 tag(file);
/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.
50 private void writeFile(File file, byte[] data) { argument
51 file.mkdirs();
53 AtomicFile aFile = new AtomicFile(file);
58 Log.e(TAG, "Cannot write file " + file.getPath());

Completed in 3201 milliseconds

1234567891011>>