Home
last modified time | relevance | path

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

1234567

/frameworks/support/tests/java/android/support/v4/content/
DFileProviderTest.java64 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriSimple() local
84 File file = buildPath(mContext.getFilesDir(), "..", "file.test"); in testStrategyUriJumpOutside() local
97 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyUriShortestRoot() local
114 File file = buildPath(mContext.getFilesDir(), "file.test"); in testStrategyFileSimple() local
138 File file = buildPath(mContext.getFilesDir(), "lol\"wat?foo&bar", "wat.txt"); in testStrategyEscaping() local
151 File file = buildPath(mContext.getFilesDir(), "file.txt"); in testStrategyExtraParams() local
172 final File file = new File(mContext.getFilesDir(), TEST_FILE); in testQueryProjectionNull() local
188 final File file = new File(mContext.getFilesDir(), TEST_FILE); in testQueryProjectionOrder() local
216 final File file = new File(mContext.getFilesDir(), TEST_FILE); in testQueryExtraColumn() local
233 final File file = new File(mContext.getFilesDir(), TEST_FILE); in testReadFile() local
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java73 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testRun() local
104 MemoryFile file = new MemoryFile("MemoryFileTest", 10); in testOutputStreamAdvances() local
125 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in readIndexOutOfBoundsException() local
170 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in testReadEOF() local
192 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseClose() local
202 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseRead() local
217 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseWrite() local
232 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseAllowPurging() local
251 MemoryFile file = new MemoryFile("MemoryFileTest", 5000000); in testCloseLeak() local
/frameworks/base/core/java/com/android/internal/http/multipart/
DFilePartSource.java52 private File file = null; field in FilePartSource
65 public FilePartSource(File file) throws FileNotFoundException { in FilePartSource()
87 public FilePartSource(String fileName, File file) in FilePartSource()
DFilePart.java130 public FilePart(String name, File file) in FilePart()
148 public FilePart(String name, File file, String contentType, String charset) in FilePart()
163 public FilePart(String name, String fileName, File file) in FilePart()
182 public FilePart(String name, String fileName, File file, String contentType, String charset) in FilePart()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXml.java36 public static long parseBeginTime(AtomicFile file) { in parseBeginTime()
40 public static long parseBeginTime(File file) { in parseBeginTime()
53 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { in read()
73 public static void write(AtomicFile file, IntervalStats stats) throws IOException { in write()
/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/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/tools/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/wilhelm/src/
Dassert.c24 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()
Dlocks.c45 void object_lock_exclusive_(IObject *thiz, const char *file, int line) in object_lock_exclusive_()
136 void object_unlock_exclusive_(IObject *thiz, const char *file, int line) in object_unlock_exclusive_()
164 const char *file, int line) in object_unlock_exclusive_attributes_()
289 void object_cond_wait_(IObject *thiz, const char *file, int line) in object_cond_wait_()
/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/support/v4/java/android/support/v4/content/
DFileProvider.java375 public static Uri getUriForFile(Context context, String authority, File file) { in getUriForFile()
412 final File file = mStrategy.getFileForUri(uri); in query() local
451 final File file = mStrategy.getFileForUri(uri); in getType() local
497 final File file = mStrategy.getFileForUri(uri); in delete() local
519 final File file = mStrategy.getFileForUri(uri); in openFile() local
612 public Uri getUriForFile(File file); in getUriForFile()
659 public Uri getUriForFile(File file) { in getUriForFile()
709 File file = new File(root, path); in getFileForUri() local
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java188 private String getDocIdForFile(File file) throws FileNotFoundException { in getDocIdForFile()
242 private void includeFile(MatrixCursor result, String docId, File file) in includeFile()
325 final File file = buildUniqueFile(parent, mimeType, displayName); in createDocument() local
391 File file = buildFile(parent, name, ext); in buildUniqueFile() local
429 final File file = getFileForDocId(docId); in deleteDocument() local
472 final File file = pending.removeFirst(); in querySearchDocuments() local
487 final File file = getFileForDocId(documentId); in getDocumentType() local
495 final File file = getFileForDocId(documentId); in openDocument() local
/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/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/base/core/java/android/os/
DFileUtils.java211 public static boolean isFilenameSafe(File file) { in isFilenameSafe()
226 public static String readTextFile(File file, int max, String ellipsis) throws IOException { in readTextFile()
302 public static long checksumCrc32(File file) throws FileNotFoundException, IOException { in checksumCrc32()
350 final File file = files[i]; in deleteOlderFiles() local
372 public static boolean contains(File dir, File file) { in contains()
510 public static File rewriteAfterRename(File beforeDir, File afterDir, File file) { in rewriteAfterRename()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java140 private void mountObb(StorageManager sm, final int resource, final File file, in mountObb()
162 final File file) { in mountObbWithoutWait()
172 private void waitForObbActionCompletion(final StorageManager sm, final File file, in waitForObbActionCompletion()
186 private String checkMountedPath(final StorageManager sm, final File file) { in checkMountedPath()
194 private void unmountObb(final StorageManager sm, final File file, int expectedState) { in unmountObb()
/frameworks/base/drm/java/android/drm/
DDrmUtils.java39 File file = new File(path); in readBytes() local
44 /* package */ static byte[] readBytes(File file) throws IOException { in readBytes()
78 File file = new File(path); in removeFile() local
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFileSelector.java42 public boolean accept(File file) { in accept()
50 private void populateList(File file) { in populateList()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java42 public boolean accept(File file) { in accept()
50 private void populateList(File file) { in populateList()
/frameworks/compile/mclinker/unittests/
DFactoriesTest.cpp173 MCLDFile* file = m_pFileAlloc->produce(); in TEST_F() local
186 MCLDFile* file = m_pFileAlloc->produce( string(name), in TEST_F() local
203 MCLDFile* file = m_pFileAlloc->produce( string(name), in TEST_F() local
211 MCLDFileFactory::iterator file = m_pFileAlloc->begin(); in TEST_F() local
/frameworks/rs/api/
Dgen_runtime.cpp511 void writeIfdef(ofstream& file, string filename, bool isStart) { in writeIfdef()
530 void writeJavaArrayInitialization(ofstream& file, const ParameterDefinition& p) { in writeJavaArrayInitialization()
830 FILE* file = fopen(name.c_str(), "wt"); in writeRelaxedRsFile() local
1410 void Permutation::writeJavaArgumentClass(ofstream& file, bool scalar) const { in writeJavaArgumentClass()
1437 void Permutation::writeJavaCheckMethod(ofstream& file, bool generateCallToVerifier) const { in writeJavaCheckMethod()
1460 void Permutation::writeJavaInputAllocationDefinition(ofstream& file, const string& indent, in writeJavaInputAllocationDefinition()
1495 void Permutation::writeJavaRandomCompatibleFloatAllocation(ofstream& file, const string& dataType, in writeJavaRandomCompatibleFloatAllocation()
1528 void Permutation::writeJavaRandomCompatibleIntegerAllocation(ofstream& file, const string& dataType, in writeJavaRandomCompatibleIntegerAllocation()
1548 void Permutation::writeJavaOutputAllocationDefinition(ofstream& file, const string& indent, in writeJavaOutputAllocationDefinition()
1578 void Permutation::writeJavaVerifyScalarMethod(ofstream& file, bool verifierValidates) const { in writeJavaVerifyScalarMethod()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java78 public ProcessStatsService(ActivityManagerService am, File file) { in ProcessStatsService()
259 AtomicFile file; in performWriteState() local
289 boolean readLocked(ProcessStats stats, AtomicFile file) { in readLocked()
358 File file = files[i]; in getCommittedFiles() local
381 String file = filesArray.remove(0); in trimHistoricStatesWriteLocked() local
938 AtomicFile file = new AtomicFile(new File(files.get(i))); local
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DTextureCube.java45 public TextureCube(String dir, String file) { in TextureCube()
60 public void setFileName(String file) { in setFileName()
DTexture2D.java44 public Texture2D(String dir, String file) { in Texture2D()
59 public void setFileName(String file) { in setFileName()

1234567