Home
last modified time | relevance | path

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

12

/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/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()
DConfiguration.java202 private static String parsePackageName(File file) throws IOException { in parsePackageName()
251 public static void parseFile(File file, Collection<Pattern> patterns) in parseFile()
DIntelliJ.java92 private static boolean isTests(File file) { in isTests()
DEclipse.java168 private static String trimmed(File file) { in trimmed()
/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.py95 def write_bytes(data, file): # PY2 argument
100 def write_bytes(data, file): # PY3 argument
106 def _confirm(question, default, file=sys.stderr): argument
350 def _print_pull_failures(failures, file=sys.stderr): argument
Drepo_review.py53 def _print_change_lists(change_lists, file=sys.stdout): argument
/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/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/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
/development/tools/axl/
Dlog.py24 def __init__(self, file): argument
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DBrokenKeyDerivationActivity.java251 File file = new File(getFilesDir(), fileName); in fileExists() local
256 File file = new File(getFilesDir(), fileName); in removeFile() local
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsFileProvider.java76 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile() local
/development/tools/bugreport/src/com/android/bugreport/util/
DLines.java44 public static Lines<Line> readLines(File file) throws IOException { in readLines()
/development/testrunner/test_defs/
Dgtest.py129 def _EvaluateFile(self, test_list, file): argument
/development/apps/Development/src/com/android/development/
DCacheAbuser.java71 File file = new File(dir, Long.toString(dir2num)); in doInBackground() local

12