Searched refs:file (Results 1 - 25 of 297) 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/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 LOGE("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/base/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 DEntropyServiceTest.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 EntropyService("/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/base/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/base/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/base/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/localize/
H A DSourcePos.cpp16 string file; member in struct:ErrorPos
22 ErrorPos(const string& file, int line, const string& error);
38 :file(that.file),
45 :file(f),
58 if (this->file < rhs.file) return true;
59 if (this->file == rhs.file) {
71 return this->file
[all...]
H A Dmerge_res_and_xliff.cpp24 if (it->file == filename && it->id == id && it->index == index && it->version == version
39 printf("id=%s index=%d config=%s file=%s value='%s'\n", it->id.c_str(), it->index,
40 it->config.ToString().c_str(), it->file.c_str(),
46 convert_resource(const StringResource& s, const string& file, const Configuration& config, argument
49 return StringResource(s.pos, file, config, s.id, s.index, s.value ? s.value->Clone() : NULL,
87 set<StringResource>::const_iterator xlf = find_in_xliff(xliff, en_c->file, en_c->id,
219 fprintf(stderr, "localize import: unable to read file %s\n", xliffFilename->c_str());
235 fprintf(stderr, "%s: duplicate string resources for file %s\n",
251 MergedFile* file = const_cast<MergedFile*>(&(*mf)); local
252 // file
285 MergedFile* file = const_cast<MergedFile*>(&(*mf)); local
301 MergedFile* file = const_cast<MergedFile*>(&(*mf)); local
322 MergedFile* file = const_cast<MergedFile*>(&(*mf)); local
358 MergedFile* file = const_cast<MergedFile*>(&(*mf)); local
[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/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/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/base/opengl/libs/GLES2_dbg/test/
H A Dtest_server.cpp5 ** you may not use this file except in compliance with the License.
23 extern FILE * file;
27 // tmpfile fails, so need to manually make a writable file first
39 ASSERT_EQ((FILE *)NULL, file);
40 file = fopen("/data/local/tmp/dump.gles2dbg", "wb+");
41 ASSERT_NE((FILE *)NULL, file) << "make sure file is writable: "
46 ASSERT_NE((FILE *)NULL, file);
47 fclose(file);
48 file
[all...]
/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);
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DSha1Helper.cpp5 * 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 LOGE("Unable to read binary sha1 file %s\n", filename);
92 file.read((char *)result, result_size);

Completed in 626 milliseconds

1234567891011>>