/frameworks/base/tools/aapt/ |
H A D | SourcePos.h | 12 String8 file; member in class:SourcePos
|
H A D | OutputSet.h | 5 * you may not use this file except in compliance with the License. 30 OutputEntry(const android::String8& path, const android::sp<const AaptFile>& file) argument 31 : mPath(path), mFile(file) {}
|
H A D | ApkBuilder.cpp | 5 * you may not use this file except in compliance with the License. 59 status_t ApkBuilder::addEntry(const String8& path, const sp<AaptFile>& file) { argument 62 if (mSplits[i]->matches(file)) { 63 return mSplits.editItemAt(i)->addEntry(path, file); 109 status_t ApkSplit::addEntry(const String8& path, const sp<AaptFile>& file) { argument 110 if (!mFiles.insert(OutputEntry(path, file)).second) { 111 // Duplicate file.
|
/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/support/v17/leanback/ |
H A D | generatev4.py | 6 # you may not use this file except in compliance with the License. 28 file = open('src/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r') variable 31 outfile.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format(w)) 33 for line in file: 39 file.close()
|
/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/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
H A D | FileUtil.java | 5 * you may not use this file except in compliance with the License. 42 public void writeDateToFile(File file) { argument 44 FileOutputStream fos = new FileOutputStream(file); 50 Log.e("FileUtil", "exception writing date to file", ioe);
|
/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/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. 64 /** Default content encoding of file attachments. */ 67 /** Default charset of file attachments. */ 70 /** Default transfer encoding of file attachments. */ 76 /** Attachment's file name */ 79 /** Attachment's file name as a byte array */ 83 /** Source of the file par 130 FilePart(String name, File file) argument 148 FilePart(String name, File file, String contentType, String charset) argument 163 FilePart(String name, String fileName, File file) argument 182 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/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | MutexFileProvider.java | 5 * you may not use this file except in compliance with the License. 25 * This class provides a shared file to several threads. Only one thread 26 * at a time can use the file. To acquire the file a thread has to 29 * when another one wants to acquire the file. In case a release is requested 30 * the thread owning the file must release it as soon as possible. If no 31 * callback is provided a thread that acquires the file must release it 33 * have the file for less time. 49 public void onReleaseRequested(File file); argument 52 public MutexFileProvider(File file) throw argument [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXml.java | 5 * use this file except in compliance with the License. You may obtain a copy 36 public static long parseBeginTime(AtomicFile file) { argument 37 return parseBeginTime(file.getBaseFile()); 40 public static long parseBeginTime(File file) { argument 41 String name = file.getName(); 44 // would be appended more than once to a checked-in file, causing a crash 53 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { argument 55 FileInputStream in = file.openRead(); 57 statsOut.beginTime = parseBeginTime(file); 59 statsOut.lastTimeSaved = file 73 write(AtomicFile file, IntervalStats stats) argument [all...] |
/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/base/tools/layoutlib/bridge/src/libcore/io/ |
H A D | MemoryMappedFile_Delegate.java | 5 * you may not use this file except in compliance with the License. 48 /** Path on the target device where the data file is available. */ 67 RandomAccessFile file = new RandomAccessFile(f, "r"); 69 long size = file.length(); 70 MemoryMappedFile_Delegate newDelegate = new MemoryMappedFile_Delegate(file); 71 long filePointer = file.getFilePointer(); 77 file.close(); 94 static BufferIterator bigEndianIterator(MemoryMappedFile file) { argument 95 MemoryMappedFile_Delegate delegate = getDelegate(file); 101 public MemoryMappedFile_Delegate(RandomAccessFile file) throw argument 113 getDelegate(MemoryMappedFile file) argument [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 5 // This file is distributed under the University of Illinois Open Source 83 std::string file; local 86 file.assign(pNamespec); 90 SpecToFilename(pNamespec, file); 106 if (file == entry.path()->filename()) 114 if (file == entry.path()->stem().native() ) { 128 if (file == entry.path()->stem().native() && 150 std::string file; local 153 file.assign(pNamespec); 157 SpecToFilename(pNamespec, file); [all...] |
/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/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 | FileBridgeTest.java | 5 * you may not use this file except in compliance with the License. 35 private File file; field in class:FileBridgeTest 44 file = getContext().getFileStreamPath("meow.dat"); 45 file.delete(); 47 fileOs = new FileOutputStream(file); 58 file.delete(); 74 MoreAsserts.assertEquals(expected, Streams.readFully(new FileInputStream(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. 37 /* Should be used when we need to read from local file */ 39 File file = new File(path); 40 return readBytes(file); 43 /* Should be used when we need to read from local file */ 44 /* package */ static byte[] readBytes(File file) throws IOException { argument 45 FileInputStream inputStream = new FileInputStream(file); 78 File file = new File(path); 79 file.delete();
|