Home
last modified time | relevance | path

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

123

/development/samples/ApiDemos/src/com/example/android/apis/content/
DExternalStorage.java187 File file = new File(path, "DemoPicture.jpg"); in createExternalStoragePublicPicture() local
229 File file = new File(path, "DemoPicture.jpg"); in deleteExternalStoragePublicPicture() local
240 File file = new File(path, "DemoPicture.jpg"); in hasExternalStoragePublicPicture() local
254 File file = new File(path, "DemoPicture.jpg"); in createExternalStoragePrivatePicture() local
293 File file = new File(path, "DemoPicture.jpg"); in deleteExternalStoragePrivatePicture() local
305 File file = new File(path, "DemoPicture.jpg"); in hasExternalStoragePrivatePicture() local
316 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); in createExternalStoragePrivateFile() local
341 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); in deleteExternalStoragePrivateFile() local
348 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); in hasExternalStoragePrivateFile() local
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java185 final File file = pending.removeFirst(); in queryRecentDocuments() local
197 final File file = lastModifiedFiles.remove(); in queryRecentDocuments() local
229 final File file = pending.removeFirst(); in querySearchDocuments() local
251 final File file = getFileForDocId(documentId); in openDocumentThumbnail() local
301 final File file = getFileForDocId(documentId); in openDocument() local
/development/tools/winscope/src/app/
Dtrace_file_filter_test.ts237 const file = new File([new ArrayBuffer(size)], filename); constant
242 const file = await UnitTestUtils.getFixtureFile( constant
250 const file = await UnitTestUtils.getFixtureFile( constant
258 const file = await UnitTestUtils.getFixtureFile( constant
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DBackupRestoreActivity.java151 RandomAccessFile file; in populateUI() local
222 void writeDataToFileLocked(RandomAccessFile file, in writeDataToFileLocked()
245 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); in recordNewUIState() local
DExampleAgent.java95 RandomAccessFile file = new RandomAccessFile(mDataFile, "r"); in onBackup() local
232 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); in onRestore() local
DMultiRecordExampleAgent.java71 RandomAccessFile file = new RandomAccessFile(mDataFile, "r"); in onBackup() local
191 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); in onRestore() local
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java89 File file = new File(arg); in run() local
122 private void checkFile(File file) { in checkFile()
145 private void checkClass(File file) { in checkClass()
175 private void addTypeDef(String name, File file) { in addTypeDef()
278 public TypeDefVisitor(File file) { in TypeDefVisitor()
/development/tools/idegen/src/
DFiles.java28 static String toString(File file) throws IOException { in toString()
43 static void toFile(String contents, File file) throws IOException { in toFile()
DIntelliJ.java92 private static boolean isTests(File file) { in isTests()
DConfiguration.java231 private static String parsePackageName(File file) throws IOException { in parsePackageName()
277 public static void parseFile(File file, Collection<Pattern> patterns) in parseFile()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScriptTest.kt64 val file = File.createTempFile("pinch_zoom", null) in pinchZoom() constant
93 val file = File.createTempFile("press_and_hold_twice", null) in pressAndHoldTwice() constant
/development/tools/idegen/src/com/android/idegen/
DDirectorySearch.java73 public static void findAndInitRepoRoot(File file) { in findAndInitRepoRoot()
135 public static ImmutableList<File> findSourceDirs(File file) { in findSourceDirs()
179 public static ImmutableList<File> findExcludeDirs(File file) { in findExcludeDirs()
/development/samples/Vault/src/com/example/android/vault/
DUtils.java49 public static void writeFully(File file, byte[] data) throws IOException { in writeFully()
58 public static byte[] readFully(File file) throws IOException { in readFully()
/development/tools/repo_pull/
Drepo_pull.py59 def write_bytes(data, file): # PY2 argument
64 def write_bytes(data, file): # PY3 argument
70 def _confirm(question, default, file=sys.stderr): argument
334 def _print_pull_failures(failures, file=sys.stderr): argument
/development/tools/winscope/src/test/unit/
Dutils.ts43 const file = new File([blob], dstFilename); constant
89 const file = new TraceFile( constant
152 const file = await UnitTestUtils.getFixtureFile(fixturePath); constant
/development/tools/winscope/src/test/remote_tool_mock/
Dapp_component.ts103 const file = await this.readInputFile(event); constant
108 const file = await this.readInputFile(event); constant
/development/tools/winscope/src/trace/
Dtrace_file.ts20 constructor(public file: File, public parentArchive?: File) {} property in TraceFile
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java183 private void assertDoesNotContainBytes(File file, String sub) throws IOException { in assertDoesNotContainBytes()
212 private void list(StringBuilder sb, File file, String prefix, int depth, String rootName) { in list()
/development/tools/winscope/src/common/
Dfile_utils.ts56 const file = files[i]; constant
73 const file = content.files[filename]; constant
/development/tools/winscope/src/parsers/screen_recording/
Dparser_screenshot_test.ts29 let file: File; variable
/development/samples/apkcachetest/src/com/android/apkcachetest/
DMain.java62 String readTextFile(File file) throws IOException { in readTextFile()
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DProvisioningValuesLoader.java100 File file = new File(directory, FILENAME); in loadFromDisk() local
113 private void loadFromFile(HashMap<String, String> values, File file) throws IOException { in loadFromFile()
/development/tools/ota_analysis/src/__tests__/
Dmap_parser.test.js32 const file = path.join(__dirname, "./", "system_test.map") constant
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DAddFileActivity.java225 File file = null; in createFileWithRandomDataAndFinishActivity() local
289 File file = getInternalFile(fileName); in isFileExists() local
/development/samples/Vault/tests/src/com/example/android/vault/
DVaultProviderTest.java59 final String file = mProvider.createDocument( in testDeleteDirectory() local

123