Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java75 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testRun() local
106 MemoryFile file = new MemoryFile("MemoryFileTest", 10); in testOutputStreamAdvances() local
127 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in readIndexOutOfBoundsException() local
172 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in testReadEOF() local
194 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseClose() local
204 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseRead() local
219 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseWrite() local
234 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseAllowPurging() local
253 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/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_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObb() local
102 final File file = createObbFile("bad password@$%#@^*(!&)", R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObbInvalidPassword() local
142 final File file = createObbFile(OBB_FILE_2_UNSIGNED, R.raw.obb_file2_nosign); in testMountUnsignedObb() local
157 … final File file = createObbFile(OBB_FILE_3_BAD_PACKAGENAME, R.raw.obb_file3_bad_packagename); in testMountBadPackageNameObb() local
168 final File file = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testRemountObb() local
/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/base/services/core/java/com/android/server/power/batterysaver/
DFileUpdater.java140 final String file = fileValues.keyAt(i); in writeFiles() local
212 final String file = writes.keyAt(i); in handleWriteOnHandler() local
235 private void removePendingWrite(String file) { in removePendingWrite()
263 private boolean ensureDefaultLoaded(String file) { in ensureDefaultLoaded()
288 String injectReadFromFileTrimmed(String file) throws IOException { in injectReadFromFileTrimmed()
293 void injectWriteToFile(String file, String value) throws IOException { in injectWriteToFile()
311 final AtomicFile file = new AtomicFile(injectDefaultValuesFilename()); in saveDefaultValuesLocked() local
341 final AtomicFile file = new AtomicFile(injectDefaultValuesFilename()); in loadDefaultValuesLocked() local
/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/base/tools/aapt2/java/
DProguardRules.h55 inline void AddManifestClass(const UsageLocation& file, const std::string& class_name) { in AddManifestClass()
59 inline void AddConditionalClass(const UsageLocation& file, in AddConditionalClass()
64 inline void AddMethod(const UsageLocation& file, const NameAndSignature& name_and_signature) { in AddMethod()
68 inline void AddReference(const UsageLocation& file, const ResourceName& resource_name) { in AddReference()
/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/core/java/com/android/internal/util/
DFileRotator.java115 final File file = new File( in FileRotator() local
125 final File file = new File( in FileRotator() local
160 final File file = new File(mBasePath, name); in dumpAll() local
235 final File file = new File(mBasePath, name); in rewriteSingle() local
295 final File file = new File(mBasePath, name); in readMatching() local
354 final File file = new File(mBasePath, name); in maybeRotate() local
362 final File file = new File(mBasePath, name); in maybeRotate() local
368 private static void readFile(File file, Reader reader) throws IOException { in readFile()
378 private static void writeFile(File file, Writer writer) throws IOException { in writeFile()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java99 protected abstract String getDocIdForFile(File file) throws FileNotFoundException; in getDocIdForFile()
138 File file = getFileForDocId(documentId); in getDocumentMetadata() local
242 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument() local
261 MediaStore.scanFile(getContext(), file); in createDocument() local
327 final File file = getFileForDocId(docId); in deleteDocument() local
423 final File file = pending.removeFirst(); in querySearchDocuments() local
449 private String getDocumentType(final String documentId, final File file) in getDocumentType()
470 final File file = getFileForDocId(documentId); in openDocument() local
496 private boolean matchSearchQueryArguments(File file, Bundle queryArgs) { in matchSearchQueryArguments()
528 final File file = getFileForDocId(documentId); in openDocumentThumbnail() local
[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/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/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/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java50 final File file = new File(ctx.getCacheDir(), prefix + i); in getTempFile() local
63 File file = getTempFile(); in mmap() local
77 private static ByteBuffer mmap(File file) { in mmap()
86 private static boolean copyToFile(File file, InputStream is) { in copyToFile()
/frameworks/av/media/libstagefright/id3/test/
DID3Test.cpp44 sp<FileSource> file = new FileSource(path.c_str()); in TEST_P() local
63 sp<android::FileSource> file = new FileSource(path.c_str()); in TEST_P() local
76 sp<android::FileSource> file = new FileSource(path.c_str()); in TEST_P() local
120 sp<android::FileSource> file = new FileSource(path.c_str()); in TEST_P() local
146 sp<android::FileSource> file = new FileSource(path.c_str()); in TEST_P() local
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHistoryTest.java142 private void verifyActiveFile(BatteryStatsHistory history, String file) { in verifyActiveFile()
158 private void verifyFileDeleted(String file) { in verifyFileDeleted()
163 final File file = history.getActiveFile().getBaseFile(); in createActiveFile() local
/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/base/packages/PrintSpooler/src/com/android/printspooler/model/
DMutexFileProvider.java49 public void onReleaseRequested(File file); in onReleaseRequested()
52 public MutexFileProvider(File file) throws IOException { in MutexFileProvider()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DFileUpdaterTest.java64 String injectReadFromFileTrimmed(String file) throws IOException { in injectReadFromFileTrimmed()
69 void injectWriteToFile(String file, String value) throws IOException { in injectWriteToFile()
91 String injectReadFromFileTrimmed(String file) throws IOException; in injectReadFromFileTrimmed()
92 void injectWriteToFile(String file, String value) throws IOException; in injectWriteToFile()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java52 public static int parseIntValueFromFile(File file) { in parseIntValueFromFile()
94 public static boolean DownloadFromUrl(String targetUrl, File file) { in DownloadFromUrl()
127 File file) { in postFileToServer()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMediaStoreSaver.java50 File file = new File(dir, imageName + ".png"); in savePNG() local
69 private static void MediaStorageScan(Context context, final File file) { in MediaStorageScan()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java128 private void mountObb(StorageManager sm, final int resource, final File file, in mountObb()
150 final File file) { in mountObbWithoutWait()
160 private void waitForObbActionCompletion(final StorageManager sm, final File file, in waitForObbActionCompletion()
174 private String checkMountedPath(final StorageManager sm, final File file) { in checkMountedPath()
182 private void unmountObb(final StorageManager sm, final File file, int expectedState) { in unmountObb()
/frameworks/base/tools/aapt2/io/
DFileStream_test.cpp34 TemporaryFile file; in TEST() local
89 TemporaryFile file; in TEST() local
/frameworks/base/drm/java/android/drm/
DDrmUtils.java40 File file = new File(path); in readBytes() local
45 /* package */ static byte[] readBytes(File file) throws IOException { in readBytes()
79 File file = new File(path); in removeFile() local

12345678910>>...12