Searched defs:file (Results 1 - 25 of 101) sorted by relevance

12345

/frameworks/base/tools/aapt/
H A DSourcePos.h12 String8 file; member in class:SourcePos
/frameworks/compile/libbcc/runtime/lib/
H A Deprintf.c5 * This file is distributed under the University of Illinois Open Source
27 const char* line, const char* file)
29 fprintf(stderr, format, assertion_expression, line, file);
26 __eprintf(const char* format, const char* assertion_expression, const char* line, const char* file) argument
/frameworks/compile/linkloader/utils/
H A Drsl_assert.cpp5 * you may not use this file except in compliance with the License.
28 extern "C" void ASSERT_FAILED(char const *file, argument
33 llvm::errs() << "rslAssert [" << file << ":" << line << "] " << expr << "\n";
37 ALOGE("rslAssert [%s:%d] %s\n", file, line, expr);
/frameworks/wilhelm/src/
H A Dassert.c5 * you may not use this file except in compliance with the License.
22 void __assert(const char *file, int line, const char *failedexpr) argument
24 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line);
28 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument
30 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"",
31 failedexpr, file, line, func);
/frameworks/base/cmds/am/
H A DAndroid.mk18 # Generate rules for a single file. The argument is the file path relative to
20 define make-notice-file
23 @echo Notice file: $$< -- $$@
31 $(foreach file,$(files_noticed),$(eval $(call make-notice-file,$(file))))
/frameworks/base/cmds/content/
H A DAndroid.mk20 # Generate rules for a single file. The argument is the file path relative to
22 define make-notice-file
25 @echo Notice file: $$< -- $$@
33 $(foreach file,$(files_noticed),$(eval $(call make-notice-file,$(file))))
/frameworks/av/drm/common/
H A DReadWriteUtils.cpp5 * you may not use this file except in compliance with the License.
36 FILE* file = NULL; local
37 file = fopen(filePath.string(), "r");
40 if (NULL != file) {
41 int fd = fileno(file);
52 fclose(file);
58 FILE* file = NULL; local
59 file = fopen(filePath.string(), "r");
62 if (NULL != file) {
63 int fd = fileno(file);
79 FILE* file = NULL; local
96 FILE* file = NULL; local
[all...]
/frameworks/av/libvideoeditor/osal/src/
H A DM4PSW_DebugTrace.c5 * you may not use this file except in compliance with the License.
18 * @file M4PSW_DebugTrace.c
20 * @note This file gives the default implementation of the trace function
33 /*#define NO_FILE */ /* suppresses the file name print out */
38 * void M4OSA_DebugTrace(M4OSA_Int32 line, char* file, M4OSA_Int32 level,
43 * @param line (IN): the line number in the source file
44 * @param file (IN): the source file name
53 M4OSA_Char* file,
70 printf("Error: %li, on %s: %s Line %lu in: %s\n",err,cond,msg,line,file);
52 M4OSA_DebugTrace(M4OSA_Int32 line, M4OSA_Char* file, M4OSA_Int32 level, M4OSA_Char* cond, M4OSA_Char* msg, M4OSA_ERR err) argument
[all...]
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DFilePartSource.java9 * contributor license agreements. See the NOTICE file distributed with
11 * The ASF licenses this file to You under the Apache License, Version 2.0
12 * (the "License"); you may not use this file except in compliance with
51 /** File part file. */
52 private File file = null; field in class:FilePartSource
54 /** File part file name. */
60 * @param file the FilePart source File.
62 * @throws FileNotFoundException if the file does not exist or
65 public FilePartSource(File file) throws FileNotFoundException { argument
66 this.file
87 FilePartSource(String fileName, File file) argument
[all...]
H A DFilePart.java9 * contributor license agreements. See the NOTICE file distributed with
11 * The ASF licenses this file to You under the Apache License, Version 2.0
12 * (the "License"); you may not use this file except in compliance with
44 * consists of a file.
59 /** Default content encoding of file attachments. */
62 /** Default charset of file attachments. */
65 /** Default transfer encoding of file attachments. */
71 /** Attachment's file name */
74 /** Attachment's file name as a byte array */
78 /** Source of the file par
125 FilePart(String name, File file) argument
143 FilePart(String name, File file, String contentType, String charset) argument
158 FilePart(String name, String fileName, File file) argument
177 FilePart(String name, String fileName, File file, String contentType, String charset) argument
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java5 * you may not use this file except in compliance with the License.
47 * Parses the first line in a file if exists.
49 * @param file {@link File} the input
50 * @return the integer value of the first line of the file.
52 public static int parseIntValueFromFile(File file) { argument
54 if (file.exists()) {
56 FileInputStream fstream = new FileInputStream(file);
76 * @param size in bytes of the file to download
89 * Download a given file from a target url to a given destination file
94 DownloadFromUrl(String targetUrl, File file) argument
126 postFileToServer(String server, String deviceId, String timestamp, File file) argument
[all...]
/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...]
/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...]
/frameworks/base/core/jni/
H A Dandroid_os_FileUtils.cpp6 ** you may not use this file except in compliance with the License.
37 jstring file, jint mode,
40 const jchar* str = env->GetStringCritical(file, 0);
43 file8 = String8(str, env->GetStringLength(file));
44 env->ReleaseStringCritical(file, str);
36 android_os_FileUtils_setPermissions(JNIEnv* env, jobject clazz, jstring file, jint mode, jint uid, jint gid) argument
H A Dandroid_content_res_ObbScanner.cpp5 * you may not use this file except in compliance with the License.
39 static void android_content_res_ObbScanner_getObbInfo(JNIEnv* env, jobject clazz, jstring file, argument
42 const char* filePath = env->GetStringUTFChars(file, NULL);
46 env->ReleaseStringUTFChars(file, filePath);
47 jniThrowException(env, "java/io/IOException", "Could not read OBB file");
51 env->ReleaseStringUTFChars(file, filePath);
57 jniThrowException(env, "java/io/IOException", "Could not read OBB file");
/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/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DA3DSelector.java5 * you may not use this file except in compliance with the License.
42 public boolean accept(File file) { argument
43 if (file.isDirectory()) {
46 return file.getName().endsWith(".a3d");
50 private void populateList(File file) { argument
52 mCurrentFile = file;
/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/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DFileSelector.java5 * you may not use this file except in compliance with the License.
42 public boolean accept(File file) { argument
43 if (file.isDirectory()) {
46 return file.getName().endsWith(".dae");
50 private void populateList(File file) { argument
52 mCurrentFile = file;
/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/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/core/java/android/provider/
H A DDrmStore.java5 * you may not use this file except in compliance with the License.
59 * The data stream for the file
65 * The size of the file in bytes
71 * The title of the file content
77 * The MIME type of the file
95 * Utility function for inserting a file into the DRM content provider.
98 * @param file The file to insert
102 public static final Intent addDrmFile(ContentResolver cr, File file, String title) { argument
107 fis = new FileInputStream(file);
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java5 * you may not use this file except in compliance with the License.
34 private static native long nativeSumNativeBinaries(String file, String cpuAbi, String cpuAbi2); argument
39 * @param apkFile APK file to scan for native libraries
54 * @param apkFile APK file to scan for native libraries
81 * Just remove any file in the directory. Since the directory is owned
/frameworks/base/drm/java/android/drm/
H A DDrmUtils.java5 * you may not use this file except in compliance with the License.
38 /* Should be used when we need to read from local file */
40 File file = new File(path);
41 return readBytes(file);
44 /* Should be used when we need to read from local file */
45 /* package */ static byte[] readBytes(File file) throws IOException { argument
46 FileInputStream inputStream = new FileInputStream(file);
79 File file = new File(path);
80 file.delete();

Completed in 586 milliseconds

12345