Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 476) sorted by relevance

12345678910>>...20

/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java92 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testRun() local
124 MemoryFile file = new MemoryFile("MemoryFileTest", 10); in testOutputStreamAdvances() local
145 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in readIndexOutOfBoundsException() local
195 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in testReadEOF() local
218 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseClose() local
229 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseRead() local
245 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseWrite() local
261 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseAllowPurging() local
281 MemoryFile file = new MemoryFile("MemoryFileTest", 5000000); in testCloseLeak() local
/frameworks/rs/script_api/
DGenerateDocumentation.cpp35 static void writeHeader(GeneratedFile* file, const string& title, in writeHeader()
64 static void writeFooter(GeneratedFile* file) { in writeFooter()
203 static bool generateHtmlParagraphs(GeneratedFile* file, const vector<string>& description) { in generateHtmlParagraphs()
229 static void writeSummaryTableStart(GeneratedFile* file, const string& label, bool labelIsHeading) { in writeSummaryTableStart()
239 static void writeSummaryTableEnd(GeneratedFile* file) { in writeSummaryTableEnd()
275 static void writeSummaryTable(GeneratedFile* file, const ostringstream* entries, const char* name, in writeSummaryTable()
289 static void writeSummaryTables(GeneratedFile* file, const map<string, Constant*>& constants, in writeSummaryTables()
312 static void writeHtmlVersionTag(GeneratedFile* file, VersionInfo info, in writeHtmlVersionTag()
351 static void writeDetailedTypeSpecification(GeneratedFile* file, const TypeSpecification* spec) { in writeDetailedTypeSpecification()
408 static void writeDetailedConstantSpecification(GeneratedFile* file, ConstantSpecification* c) { in writeDetailedConstantSpecification()
[all …]
DGenerateHeaderFiles.cpp45 static void writeVersionGuardStart(GeneratedFile* file, VersionInfo info, unsigned int finalVersion… in writeVersionGuardStart()
75 static void writeVersionGuardEnd(GeneratedFile* file, VersionInfo info) { in writeVersionGuardEnd()
84 static void writeComment(GeneratedFile* file, const string& name, const string& briefComment, in writeComment()
113 static void writeConstantComment(GeneratedFile* file, const Constant& constant) { in writeConstantComment()
119 static void writeConstantSpecification(GeneratedFile* file, const ConstantSpecification& spec) { in writeConstantSpecification()
128 static void writeTypeSpecification(GeneratedFile* file, const TypeSpecification& spec) { in writeTypeSpecification()
196 static void writeTypeComment(GeneratedFile* file, const Type& type) { in writeTypeComment()
201 static void writeFunctionPermutation(GeneratedFile* file, const FunctionSpecification& spec, in writeFunctionPermutation()
283 static void writeFunctionComment(GeneratedFile* file, const Function& function) { in writeFunctionComment()
309 static void writeFunctionSpecification(GeneratedFile* file, const FunctionSpecification& spec) { in writeFunctionSpecification()
[all …]
/frameworks/libs/binary_translation/assembler/
Dgen_asm_tests_x86.py286 def _gen_att_assembler(file, insns, fast_mode): argument
308 file, arc_name, insn_name, insn_args, fast_mode): argument
415 def _gen_att_call_variants(file, call_args, fast_mode): argument
426 def _gen_arc_generators(file): argument
444 def _gen_arc_assembler(file, insn_kind, insns, fast_mode): argument
458 def _gen_arc_instruction_variants(file, arc_name, insn_args, fast_mode): argument
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DOtfFontFileParser.java40 public String getPostScriptName(File file) throws IOException { in getPostScriptName()
50 public String buildFontFileName(File file) throws IOException { in buildFontFileName()
75 public long getRevision(File file) throws IOException { in getRevision()
85 public void tryToCreateTypeface(File file) throws Throwable { in tryToCreateTypeface()
118 private static ByteBuffer mmap(File file) throws IOException { in mmap()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionTraceWriterTest.cpp37 std::fstream file(mFilename, std::ios::in); in verifyTraceFile() local
66 std::ofstream file(mFilename, std::ios::out); in TEST_F() local
77 std::ofstream file(mFilename, std::ios::out); in TEST_F() local
82 std::fstream file(mFilename, std::ios::in); in TEST_F() local
94 std::ofstream file(mFilename, std::ios::out); in TEST_F() local
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java106 protected abstract String getDocIdForFile(File file) throws FileNotFoundException; in getDocIdForFile()
153 File file = getFileForDocId(documentId); in getDocumentMetadata() local
257 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument() local
276 updateMediaStore(getContext(), file); in createDocument() local
335 private static void updateMediaStore(@NonNull Context context, File file) { in updateMediaStore()
351 final File file = getFileForDocId(docId); in deleteDocument() local
455 final File file = pending.poll(); in querySearchDocuments() local
487 private String getDocumentType(final String documentId, final File file) in getDocumentType()
508 final File file = getFileForDocId(documentId); in openDocument() local
559 private boolean matchSearchQueryArguments(File file, Bundle queryArgs) { in matchSearchQueryArguments()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRandomAccessFileUtils.java30 private static RandomAccessFile getRandomAccessFile(File file) throws FileNotFoundException { in getRandomAccessFile()
35 public static void writeBoolean(File file, boolean b) { in writeBoolean()
44 public static boolean readBoolean(File file, boolean def) { in readBoolean()
/frameworks/av/drm/common/
DReadWriteUtils.cpp36 FILE* file = NULL; in readBytes() local
58 FILE* file = NULL; in readBytes() local
79 FILE* file = NULL; in writeToFile() local
96 FILE* file = NULL; in appendToFile() local
/frameworks/layoutlib/bridge/src/libcore/io/
DMemoryMappedFile_Delegate.java67 RandomAccessFile file = new RandomAccessFile(f, "r"); in mmapRO() local
94 static BufferIterator bigEndianIterator(MemoryMappedFile file) { in bigEndianIterator()
101 public MemoryMappedFile_Delegate(RandomAccessFile file) throws IOException { in MemoryMappedFile_Delegate()
113 private static MemoryMappedFile_Delegate getDelegate(MemoryMappedFile file) { in getDelegate()
/frameworks/base/tools/aapt2/java/
DProguardRules.h54 inline void AddManifestClass(const UsageLocation& file, const std::string& class_name) { in AddManifestClass()
58 inline void AddConditionalClass(const UsageLocation& file, in AddConditionalClass()
63 inline void AddMethod(const UsageLocation& file, const NameAndSignature& name_and_signature) { in AddMethod()
67 inline void AddReference(const UsageLocation& file, const ResourceName& resource_name) { in AddReference()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java123 final File file = new File( in FileRotator() local
133 final File file = new File( in FileRotator() local
168 final File file = new File(mBasePath, name); in dumpAll() local
243 final File file = new File(mBasePath, name); in rewriteSingle() local
325 final File file = new File(mBasePath, name); in readMatching() local
383 final File file = new File(mBasePath, name); in maybeRotate() local
391 final File file = new File(mBasePath, name); in maybeRotate() local
397 private static void readFile(File file, Reader reader) throws IOException { in readFile()
407 private static void writeFile(File file, Writer writer) throws IOException { in writeFile()
/frameworks/base/services/core/java/com/android/server/pm/
DOriginInfo.java47 static OriginInfo fromExistingFile(File file) { in fromExistingFile()
51 static OriginInfo fromStagedFile(File file) { in fromStagedFile()
55 private OriginInfo(File file, boolean staged, boolean existing) { in OriginInfo()
DApkChecksums.java196 public static boolean isDigestOrDigestSignatureFile(File file) { in isDigestOrDigestSignatureFile()
234 private static Checksum[] readChecksums(File file) throws IOException { in readChecksums()
325 final File file = filesToChecksum.get(i).second; in getChecksums() local
353 final File file = filesToChecksum.get(i).second; in processRequiredChecksums() local
394 private static void getAvailableApkChecksums(String split, File file, in getAvailableApkChecksums()
430 private static void getInstallerChecksums(String split, File file, in getInstallerChecksums()
538 private static boolean needToWait(File file, in needToWait()
579 private static void getRequiredApkChecksums(String split, File file, in getRequiredApkChecksums()
682 static byte[] verityHashForFile(File file, byte[] rootHash) { in verityHashForFile()
765 String split, File file, int required, int type) { in calculateChecksumIfRequested()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dbenchmark.h55 static inline void Btrace(FILE* file, const char* name, in Btrace()
60 static inline void Btrace(FILE* file, const char* name) { in Btrace()
76 static inline void BtraceData(FILE* file, const char* name, in BtraceData()
82 static inline void BtraceData(FILE* file, const char* name, int64_t data) { in BtraceData()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java38 final File file = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountSingleObb() local
90 final File file = createObbFile(OBB_FILE_2_UNSIGNED, R.raw.obb_file2_nosign); in testMountUnsignedObb() local
105 … final File file = createObbFile(OBB_FILE_3_BAD_PACKAGENAME, R.raw.obb_file3_bad_packagename); in testMountBadPackageNameObb() local
115 final File file = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testRemountObb() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt113 val file = UserFileManagerImpl.createFile( in addControlsHelper() constant
149 val file = Environment.buildPath(context.filesDir, data.key) in restoreEntity() constant
179 val file = UserFileManagerImpl.createFile( in getPPControlsFile() constant
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java95 RandomAccessFile file; in populateUI() local
165 void writeDataToFileLocked(RandomAccessFile file, in writeDataToFileLocked()
188 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); in recordNewUIState() local
/frameworks/av/media/module/id3/test/
DID3Test.cpp46 sp<FileSource> file = new FileSource(path.c_str()); in TEST_P() local
66 sp<android::FileSource> file = new FileSource(path.c_str()); in TEST_P() local
80 sp<android::FileSource> file = new FileSource(path.c_str()); in TEST_P() local
125 sp<android::FileSource> file = new FileSource(path.c_str()); in TEST_P() local
152 sp<android::FileSource> file = new FileSource(path.c_str()); in TEST_P() local
/frameworks/wilhelm/src/
Dassert.cpp24 void __assert(const char *file, int line, const char *failedexpr) in __assert()
30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/ide/common/resources/deprecated/
DResourceFolder.java66 public ResourceFile processFile(TestFileWrapper file, ResourceDeltaKind kind, in processFile()
87 private ResourceFile createResourceFile(TestFileWrapper file) { in createResourceFile()
133 private ResourceFile getFile(TestFileWrapper file, ScanningContext context) { in getFile()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java54 final File file = new File(ctx.getCacheDir(), prefix + i); in getTempFile() local
67 File file = getTempFile(); in mmap() local
81 private static ByteBuffer mmap(File file) { in mmap()
90 private static boolean copyToFile(File file, InputStream is) { in copyToFile()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreFileArchiver.kt51 val file = in <lambda>() constant
104 val file = backupFile in toBackupRestoreEntity() constant
/frameworks/rs/
DrsApiFileA3D.cpp26 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { in rsaFileA3DGetEntryByIndex()
40 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { in rsaFileA3DGetNumIndexEntries()
50 …3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, RsFile file) { in rsaFileA3DGetIndexEntries()
/frameworks/libs/modules-utils/tools/
Dcheck_java_paths.py24 def get_java_package(file): argument
32 def verify_package_path(file, srcdir): argument

12345678910>>...20