/frameworks/base/tools/aapt/ |
H A D | SourcePos.h | 12 String8 file; member in class:SourcePos
|
/frameworks/rs/cpu_ref/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. 24 void __assert(const char *file, int line, const char *failedexpr) argument 26 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line); 30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument 32 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"", 33 failedexpr, file, line, func);
|
/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/libs/hwui/ |
H A D | DisplayListLogBuffer.cpp | 5 * you may not use this file except in compliance with the License. 73 void DisplayListLogBuffer::outputCommands(FILE *file) argument 81 fprintf(file, "%*s%s\n", 2 * tmpBufferPtr->level, "", tmpBufferPtr->label);
|
/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/drm/java/android/drm/ |
H A D | DrmOutputStream.java | 5 * you may not use this file except in compliance with the License. 48 * @param file Opened with "rw" mode. 50 public DrmOutputStream(DrmManagerClient client, RandomAccessFile file, String mimeType) argument 53 mFile = file;
|
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();
|
/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/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 5 // This file is distributed under the University of Illinois Open Source 80 std::string file; local 81 SpecToFilename(pNamespec, file); 92 if (file == entry.path()->stem().native() ) { 105 if (file == entry.path()->stem().native() && 124 std::string file; local 125 SpecToFilename(pNamespec, file); 136 if (file == entry.path()->stem().native() ) { 149 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/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/core/tests/coretests/src/android/os/ |
H A D | FileUtilsTest.java | 5 * you may not use this file except in compliance with the License. 51 mTestFile = new File(mDir, "test.file"); 52 mCopyFile = new File(mDir, "copy.file"); 107 new FileOutputStream(mTestFile).close(); // Zero out the file 165 final File file = new File(mDir, name); 166 file.createNewFile(); 167 file.setLastModified(System.currentTimeMillis() - age); 170 private void stageFile(File file, String data) throws Exception { argument 171 FileWriter writer = new FileWriter(file); 188 assertTrue("Unexpected actual file " [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | RemotePrintDocumentAdapter.java | 5 * you may not use this file except in compliance with the License. 51 public RemotePrintDocumentAdapter(IPrintDocumentAdapter printAdatper, File file) { argument 53 mFile = file;
|
/frameworks/base/services/java/com/android/server/ |
H A D | SamplingProfilerService.java | 5 * 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();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | DropBoxTest.java | 5 * you may not use this file except in compliance with the License. 523 new FileOutputStream(dir).close(); // Create an empty file 531 dir.delete(); // Remove the file so a directory can be created 572 File f = new File(dir, "file.dat"); 577 new DropBoxManager.Entry("file", 6000000, f, DropBoxManager.IS_TEXT).writeToParcel( 586 fail("IOException expected for nonexistent file"); 594 fail("IllegalArgumentException expected for non-null file and IS_EMPTY flags"); 606 File gz = new File(dir, "file.gz"); 667 assertEquals("file", e.getTag()); 712 File f = new File(dir, "file 758 recursiveDelete(File file) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
H A D | NetworkStatsCollectionTest.java | 5 * you may not use this file except in compliance with the License. 158 private void stageFile(int rawId, File file) throws Exception { argument 159 new File(file.getParent()).mkdirs(); 164 out = new FileOutputStream(file);
|