/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/ |
IFileWrapper.java | 40 private final IFile mFile; 43 mFile = file; 48 return mFile.getContents(); 56 mFile.setContents(source, IResource.FORCE, null); 83 return mFile.getLocation().toOSString(); 87 return mFile.getName(); 91 return mFile.exists(); 96 mFile.delete(true /*force*/, new NullProgressMonitor()); 107 return mFile; 111 return mFile.getModificationStamp() [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
PrintWriterPrinterTest.java | 37 private File mFile; 42 mFile = new File(dbDir,"print.log"); 43 if (!mFile.exists()) 44 mFile.createNewFile(); 58 PrintWriter pw = new PrintWriter(mFile); 76 pw = new PrintWriter(mFile); 86 InputStream is = new FileInputStream(mFile); 97 if (mFile.exists()) 98 mFile.delete();
|
PrintStreamPrinterTest.java | 35 private File mFile; 39 mFile = new File(getContext().getFilesDir(), "PrintStreamPrinter.log"); 40 if (!mFile.exists()) { 41 mFile.createNewFile(); 51 new PrintStreamPrinter(new PrintStream(mFile)); 64 PrintStream ps = new PrintStream(mFile); 72 is = new FileInputStream(mFile); 84 if (mFile.exists()) { 85 mFile.delete();
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
BinaryTempFileBody.java | 43 private File mFile; 51 mFile = new File(filePath); 55 mFile = File.createTempFile("body", null, TempDirectory.getTempDirectory()); 56 mFile.deleteOnExit(); 57 return new FileOutputStream(mFile); 62 return new BinaryTempFileBodyInputStream(new FileInputStream(mFile)); 75 mFile.delete(); 86 mFile.delete();
|
/frameworks/base/cmds/stagefright/ |
WaveWriter.h | 27 : mFile(fopen(filename, "wb")), 29 fwrite("RIFFxxxxWAVEfmt \x10\x00\x00\x00\x01\x00", 1, 22, mFile); 35 fwrite("dataxxxx", 1, 8, mFile); 39 fseek(mFile, 40, SEEK_SET); 42 fseek(mFile, 4, SEEK_SET); 45 fclose(mFile); 46 mFile = NULL; 50 fwrite(data, 1, size, mFile); 56 fputc(x & 0xff, mFile); 57 fputc(x >> 8, mFile); [all...] |
/frameworks/base/media/libstagefright/rtsp/ |
UDPPusher.h | 42 FILE *mFile;
|
/frameworks/base/include/media/stagefright/ |
MPEG2TSWriter.h | 57 FILE *mFile;
|
/sdk/anttasks/src/com/android/ant/ |
InputPath.java | 24 private final File mFile; 40 mFile = file; 45 return mFile;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/changes/ |
AndroidLayoutFileChanges.java | 29 private IFile mFile; 40 this.mFile = file; 49 return mFile;
|
AndroidLayoutChange.java | 64 private IFile mFile; 81 mFile = file; 96 return mFile.getName(); 111 super.setTextType(mFile.getFileExtension()); 121 mManager.disconnect(mFile.getFullPath(), LocationKind.NORMALIZE,
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapTempFileLiteral.java | 41 /* package for test */ final File mFile; 48 mFile = File.createTempFile("imap", ".tmp", TempDirectory.getTempDirectory()); 53 // mFile.deleteOnExit(); 54 OutputStream out = new FileOutputStream(mFile); 77 return new FileInputStream(mFile); 101 if (!isDestroyed() && mFile.exists()) { 102 mFile.delete(); 117 return mFile.exists();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
FileStorage.java | 44 private File mFile = null; 52 mFile = file; 61 stream = new FileInputStream(mFile); 64 .getSymbolicName(), IStatus.ERROR, mFile.getAbsolutePath(), e)); 73 return new Path(mFile.getAbsolutePath()); 80 return mFile.getName(); 103 return mFile.equals(((FileStorage) obj).mFile); 113 return mFile.hashCode();
|
/sdk/ide_common/src/com/android/ide/common/resources/ |
ResourceFile.java | 32 private final IAbstractFile mFile; 36 mFile = file; 52 return mFile; 94 return mFile.toString();
|
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/ |
Location.java | 28 private final File mFile; 45 this.mFile = file; 61 return mFile;
|
/frameworks/base/core/java/android/speech/tts/ |
FileSynthesisCallback.java | 46 private RandomAccessFile mFile; 67 if (mFile != null) { 77 if (mFile != null) { 78 mFile.close(); 79 mFile = null; 119 if (mFile != null) { 127 mFile = new RandomAccessFile(mFileName, "rw"); 129 mFile.write(new byte[WAV_HEADER_LENGTH]); 150 if (mFile == null) { 155 mFile.write(buffer, offset, length) [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerTester.java | 42 final public File mFile; 48 mFile = file; 92 return mWavFiles[mWavFile].mFile; 123 String utter = wf.mFile.getName().toLowerCase().replace('_', ' '); 163 Log.d(TAG, wf.mRank + "/" + wf.mTotal + " " + wf.mFile + 182 set.add(wf.mFile.getName()); 202 set.add(wf.mFile.getParent()); 234 if (filter == null || filter.accept(wf.mFile)) {
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptor_AutoCloseInputStreamTest.java | 42 private File mFile; 49 mFile = new File(getContext().getFilesDir(), FILE_NAME); 50 FileOutputStream outputStream = new FileOutputStream(mFile); 62 mFile.delete(); 297 ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_WRITE);
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerIntegrationTest.java | 37 protected File mFile = null; 46 mFile = null; 54 if (mFile != null) { 55 mFile.delete(); 56 mFile = null; 66 mFile = createObbFile(OBB_FILE_1, R.raw.obb_file1); 67 String filePath = mFile.getAbsolutePath(); 118 mFile = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); 119 String filePath = mFile.getAbsolutePath(); 130 mFile = createObbFile("bad password@$%#@^*(!&)", R.raw.obb_enc_file100_orig3) [all...] |
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 49 private File mFile, mFile2; 80 if (mFile != null) mFile.delete(); 101 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); 103 Uri uri = Uri.fromFile(mFile); 155 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); 158 Uri uri = Uri.fromFile(mFile); 169 long length = mFile.length(); 177 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); 180 Uri uri = Uri.fromFile(mFile); [all...] |
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.h | 72 FILE *mFile; // output file 112 FILE *mFile; // output file
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
ContextPullParser.java | 54 private File mFile; 61 mFile = file; 129 String file = AdtPlugin.readFile(mFile);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
VisualRefactoringAction.java | 43 protected IFile mFile; 72 mFile = null; 79 mFile = getSelectedFile(editor); 85 mFile = getSelectedFile(editor); 95 && mFile != null && mEditor != null);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
XmlErrorHandler.java | 38 private final IFile mFile; 63 mFile = file; 98 if (mFile != null) { 99 BaseProjectHelper.markResource(mFile, 108 return mFile; 126 if (mFile != null) { 127 BaseProjectHelper.markResource(mFile,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringAction.java | 78 private IFile mFile; 106 mFile = null; 112 mFile = getSelectedFile(mEditor); 116 action.setEnabled(mSelection != null && mFile != null); 123 if (mSelection != null && mFile != null) { 124 ExtractStringRefactoring ref = new ExtractStringRefactoring(mFile, mEditor, mSelection); 125 RefactoringWizard wizard = new ExtractStringWizard(ref, mFile.getProject());
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/ |
ArchiveInstallerTest.java | 41 private MockFileOp mFile; 65 ArchiveInstallerTest.this.mFile.recordExistingFile(file); 93 mFile = new MockFileOp(); 94 mArchInst = new MockArchiveInstaller(mFile); 126 Arrays.toString(mFile.getExistingFiles())); 130 Arrays.toString(mFile.getExistingFolders())); 140 stripDate(Arrays.toString(mFile.getOutputStreams()))); 156 mFile.recordExistingFile("/sdk/extras/vendor1/oldPath/source.properties"); 157 mFile.recordExistingFolder("/sdk/extras/vendor1/oldPath"); 172 Arrays.toString(mFile.getExistingFiles())) [all...] |