Searched refs:file (Results 1 - 25 of 339) sorted by relevance

1234567891011>>

/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...]
/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/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
H A DMakefile.mk5 # This file is distributed under the University of Illinois Open Source
12 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
/frameworks/compile/libbcc/runtime/make/
H A Dfilter-inputs7 # This file is distributed under the University of Illinois Open Source
13 # first file for any particular filename.
18 for file in sys.argv[1:]:
19 base = os.path.basename(file)
22 print file
/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);
H A Drsl_assert.h5 * 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 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/base/services/tests/servicestests/src/com/android/server/
H A DEntropyMixerTest.java5 * 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("/dev/null", file.getCanonicalPath());
39 assertTrue(FileUtils.readTextFile(file, 0, null).length() > 0);
/frameworks/compile/libbcc/runtime/lib/arm/
H A DMakefile.mk5 # This file is distributed under the University of Illinois Open Source
13 AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
14 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
/frameworks/compile/libbcc/runtime/lib/i386/
H A DMakefile.mk5 # This file is distributed under the University of Illinois Open Source
13 AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
14 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
/frameworks/compile/libbcc/runtime/lib/ppc/
H A DMakefile.mk5 # This file is distributed under the University of Illinois Open Source
13 AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
14 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
/frameworks/compile/libbcc/runtime/lib/x86_64/
H A DMakefile.mk5 # This file is distributed under the University of Illinois Open Source
13 AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
14 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
/frameworks/base/core/tests/coretests/src/android/os/
H A DMemoryFileTest.java5 * 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 Dbuild_vc.pl13 # 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 Dbuild_vc.pl13 # 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 Dbuild_vc.pl13 # 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 DSourcePos.cpp13 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 DImages.h19 const sp<AaptFile>& file, String8* outNewLeafName);
24 ResourceTable* table, const sp<AaptFile>& file);
/frameworks/compile/slang/lit-tests/
H A Drs-filecheck-wrapper.sh12 $FILECHECK -input-file $OUTDIR/$FILECHECK_INPUTFILE $SOURCEFILE
/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/base/data/keyboards/
H A Dkeyboards.mk4 # you may not use this file except in compliance with the License.
19 PRODUCT_COPY_FILES := $(foreach file,$(keylayouts),\
20 frameworks/base/data/keyboards/$(file):system/usr/keylayout/$(file))
22 PRODUCT_COPY_FILES += $(foreach file,$(keycharmaps),\
23 frameworks/base/data/keyboards/$(file):system/usr/keychars/$(file))
25 PRODUCT_COPY_FILES += $(foreach file,$(keyconfigs),\
26 frameworks/base/data/keyboards/$(file):system/usr/idc/$(file))
[all...]
/frameworks/compile/libbcc/lib/Support/
H A DSha1Util.cpp5 * 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 DCarouselViewUtilities.java16 * 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);

Completed in 298 milliseconds

1234567891011>>