/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...] |
/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/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);
|
H A D | rsl_assert.h | 5 * you may not use this file except in compliance with the License. 24 extern void ASSERT_FAILED(char const *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/base/services/tests/servicestests/src/com/android/server/ |
H A D | EntropyMixerTest.java | 5 * you may not use this file except in compliance with the License. 32 File file = File.createTempFile("testInitialWrite", "dat", dir); 33 file.deleteOnExit(); 34 assertEquals(0, FileUtils.readTextFile(file, 0, null).length()); 36 // The constructor has the side effect of writing to file 37 new EntropyMixer(getContext(), "/dev/null", file.getCanonicalPath()); 39 assertTrue(FileUtils.readTextFile(file, 0, null).length() > 0);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MemoryFileTest.java | 5 * you may not use this file except in compliance with the License. 49 // This will fail if the process runs out of file descriptors before 55 for (MemoryFile file : files) { 57 file.readBytes(testString, 0, 0, testString.length); 73 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); 78 file.writeBytes(testString, 0, 2000, testString.length); 79 file.readBytes(buffer, 2000, 0, testString.length); 85 OutputStream os = file.getOutputStream(); 88 InputStream is = file.getInputStream(); 99 file [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/ |
H A D | build_vc.pl | 13 # This file builds the OpenMAX DL vc domain library omxVC.o. 34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 40 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 44 # Fix the file separators in the header paths 59 # Compile each file 60 foreach $file (@filelist) 67 chomp($file); 68 $file = File::Spec->canonpath($file); 70 (undef, undef, $f) = File::Spec->splitpath($file); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/ |
H A D | build_vc.pl | 13 # This file builds the OpenMAX DL vc domain library omxVC.o. 34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 40 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 44 # Fix the file separators in the header paths 59 # Compile each file 60 foreach $file (@filelist) 67 chomp($file); 68 $file = File::Spec->canonpath($file); 70 (undef, undef, $f) = File::Spec->splitpath($file); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/ |
H A D | build_vc.pl | 13 # This file builds the OpenMAX DL vc domain library omxVC.o. 34 my (@headerlist, @filelist, $hd, $file, $ofile, $command, $objlist, $libfile, $h); 40 open(FILES, '<filelist_vc.txt') or die("Can't open source file list\n"); 44 # Fix the file separators in the header paths 59 # Compile each file 60 foreach $file (@filelist) 67 chomp($file); 68 $file = File::Spec->canonpath($file); 70 (undef, undef, $f) = File::Spec->splitpath($file); [all...] |
/frameworks/base/tools/aapt/ |
H A D | SourcePos.cpp | 13 String8 file; member in struct:ErrorPos 20 ErrorPos(const String8& file, int line, const String8& error, bool fatal); 37 :file(that.file), 45 :file(f), 59 if (this->file < rhs.file) return true; 60 if (this->file == rhs.file) { 72 return this->file [all...] |
H A D | Images.h | 19 const sp<AaptFile>& file, String8* outNewLeafName); 24 ResourceTable* table, const sp<AaptFile>& file);
|
/frameworks/compile/slang/lit-tests/ |
H A D | rs-filecheck-wrapper.sh | 12 $FILECHECK -input-file $OUTDIR/$FILECHECK_INPUTFILE $SOURCEFILE
|
/frameworks/base/data/keyboards/ |
H A D | keyboards.mk | 4 # you may not use this file except in compliance with the License. 19 PRODUCT_COPY_FILES := $(foreach file,$(framework_keylayouts),\ 20 $(file):system/usr/keylayout/$(notdir $(file))) 22 PRODUCT_COPY_FILES += $(foreach file,$(framework_keycharmaps),\ 23 $(file):system/usr/keychars/$(notdir $(file))) 25 PRODUCT_COPY_FILES += $(foreach file,$(framework_keyconfigs),\ 26 $(file):system/usr/idc/$(notdir $(file))) [all...] |
/frameworks/base/packages/Keyguard/scripts/ |
H A D | new_merge.py | 17 path, file = os.path.split(program) 55 #Anything file which contains any string in this list as a substring will be ommitted 62 for file in sourceFiles: 63 print file 64 destFile = destDir + file 65 sourceFile = sourceDir + file 66 if (file in destFiles): 74 print "File %s is the same in proto and framework" %(file) 76 print "Running diff for: %s" %(file) 79 print "File %s does not exist in framework" %(file) [all...] |
/frameworks/compile/libbcc/lib/Support/ |
H A D | Sha1Util.cpp | 5 * you may not use this file except in compliance with the license. 30 InputFile file(pFilename); 32 if (file.hasError()) { 33 ALOGE("Unable to open the file %s before SHA-1 checksum " 34 "calculation! (%s)", pFilename, file.getErrorMessage().c_str()); 43 ssize_t nread = file.read(buf, sizeof(buf)); 46 // Some errors occurred during file reading.
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselViewUtilities.java | 16 * Debug utility to write the given bitmap to a file. 20 * @param filename the name of the file to write 25 File file = new File(path, filename); 29 OutputStream os = new FileOutputStream(file); 30 MediaScannerConnection.scanFile(context, new String[] { file.toString() }, null, null); 34 Log.w("ExternalStorage", "Error writing " + file, e);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | Android.mk | 21 $(foreach file,$(test_src_files), \ 25 $(eval LOCAL_SRC_FILES := $(file)) \ 26 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
|
/frameworks/native/cmds/installd/tests/ |
H A D | Android.mk | 23 $(foreach file,$(test_src_files), \ 27 $(eval LOCAL_SRC_FILES := $(file)) \ 29 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
|
/frameworks/support/tests/java/android/support/v4/content/ |
H A D | FileProviderTest.java | 5 * you may not use this file except in compliance with the License. 45 private static final String TEST_FILE = "file.test"; 62 File file = buildPath(mContext.getFilesDir(), "file.test"); 63 assertEquals("content://authority/tag/file.test", 64 strat.getUriForFile(file).toString()); 66 file = buildPath(mContext.getFilesDir(), "subdir", "file.test"); 67 assertEquals("content://authority/tag/subdir/file.test", 68 strat.getUriForFile(file) 326 stageFileAndGetUri(File file, byte[] data) argument [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 5 * you may not use this file except in compliance with the License. 59 // docId format: root:path/to/file 174 private String getDocIdForFile(File file) throws FileNotFoundException { argument 175 String path = file.getAbsolutePath(); 223 throw new FileNotFoundException("Missing file for " + docId + " at " + target); 228 private void includeFile(MatrixCursor result, String docId, File file) argument 231 docId = getDocIdForFile(file); 233 file = getFileForDocId(docId); 238 if (file.canWrite()) { 239 if (file 395 getTypeForFile(File file) argument 444 startObserving(File file, Uri notifyUri) argument 459 stopObserving(File file) argument 484 DirectoryObserver(File file, ContentResolver resolver, Uri notifyUri) argument 508 DirectoryCursor(String[] columnNames, String docId, File file) argument [all...] |
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
H A D | HugeBackupActivity.java | 5 * you may not use this file except in compliance with the License. 43 * agent running to perform a backup while our UI is updating the file, the 51 /** Also supply a global standard file name for everyone to use */ 59 /** Cache a reference to our persistent data file */ 78 /** Set up our file bookkeeping */ 92 * data file and establishing defaults if necessary. 95 RandomAccessFile file; 97 // Default values in case there's no data file yet 102 /** Hold the data-access lock around access to the file */ 106 file 165 writeDataToFileLocked(RandomAccessFile file, boolean addMayo, boolean addTomato, int whichFilling) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FileRotator.java | 5 * you may not use this file except in compliance with the License. 38 * a single "active" file, which is periodically rotated into historical files, 44 * enables atomic rewriting of file contents in 62 // TODO: provide method to append to active file 89 * Create a file rotator. 93 * @param rotateAgeMillis Age in milliseconds beyond which an active file 94 * may be rotated into a historical file. 95 * @param deleteAgeMillis Age in milliseconds beyond which a rotated file 115 final File file = new File( 118 // write failed with backup; recover last file 363 readFile(File file, Reader reader) argument 373 writeFile(File file, Writer writer) argument [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4PSW_Trace.c | 5 * you may not use this file except in compliance with the License. 18 * @file M4PSW_Trace.c 20 * @note This file gives the implementation of the trace function used 33 #define NO_FILE /* suppresses the file name print out */ 39 * void M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file ,M4OSA_Int32 level, 52 M4OSAL_TRACE_EXPORT_TYPE void M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file , 69 (char *)message, line, file); 94 (char *)message, line, (char*)file);
|
/frameworks/native/libs/input/tests/ |
H A D | Android.mk | 23 $(foreach file,$(test_src_files), \ 27 $(eval LOCAL_SRC_FILES := $(file)) \ 28 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
|