/frameworks/base/tools/aapt/ |
H A D | SourcePos.h | 12 String8 file; member in class:SourcePos
|
/frameworks/compile/libbcc/runtime/lib/ |
H A D | eprintf.c | 5 * 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 D | rsl_assert.cpp | 5 * 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 D | assert.c | 5 * 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 D | Android.mk | 18 # 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 D | Android.mk | 20 # 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 D | ReadWriteUtils.cpp | 5 * 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 D | M4PSW_DebugTrace.c | 5 * 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 D | FilePartSource.java | 9 * 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 D | FilePart.java | 9 * 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 D | BandwidthTestUtil.java | 5 * 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 D | FileFilter.java | 5 * 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 D | FactoriesTest.cpp | 5 // 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/libs/hwui/ |
H A D | DisplayListLogBuffer.cpp | 5 * 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 D | A3DSelector.java | 5 * 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 D | Texture2D.java | 5 * 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 D | TextureCube.java | 5 * 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 D | FileSelector.java | 5 * 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/libbcc/lib/ExecutionEngine/ |
H A D | Sha1Helper.cpp | 5 * you may not use this file except in compliance with the license. 53 FileHandle file; local 55 if (file.open(filename, OpenMode::Read) < 0) { 66 ssize_t nread = file.read(buf, sizeof(buf)); 86 FileHandle file; local 87 if (file.open(filename, OpenMode::Read) < 0) { 88 ALOGE("Unable to read binary sha1 file %s\n", filename); 92 file.read((char *)result, result_size);
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 5 // This file is distributed under the University of Illinois Open Source 50 std::string file; local 51 SpecToFilename(pNamespec, file); 62 if (file == entry.path()->stem().native() ) { 76 if (file == entry.path()->stem().native() &&
|
/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 5 * 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 D | DrmStore.java | 5 * 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 D | NativeLibraryHelper.java | 5 * 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/core/jni/ |
H A D | android_content_res_ObbScanner.cpp | 5 * 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/drm/java/android/drm/ |
H A D | DrmUtils.java | 5 * 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();
|