Home
last modified time | relevance | path

Searched refs:mFile (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Camera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java42 private File mFile, mFile2; field in VideoCaptureIntentTest
73 if (mFile != null) mFile.delete(); in tearDown()
94 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraOutput()
96 Uri uri = Uri.fromFile(mFile); in testExtraOutput()
132 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraSizeLimit()
135 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit()
146 long length = mFile.length(); in testExtraSizeLimit()
154 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraDurationLimit()
157 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit()
176 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp");
[all …]
/packages/apps/Gallery2/tests_camera/src/com/android/camera/functional/
DVideoCaptureIntentTest.java42 private File mFile, mFile2; field in VideoCaptureIntentTest
73 if (mFile != null) mFile.delete(); in tearDown()
94 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraOutput()
96 Uri uri = Uri.fromFile(mFile); in testExtraOutput()
132 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraSizeLimit()
135 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit()
146 long length = mFile.length(); in testExtraSizeLimit()
154 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraDurationLimit()
157 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit()
176 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp");
[all …]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/functional/
DVideoCaptureIntentTest.java42 private File mFile, mFile2; field in VideoCaptureIntentTest
73 if (mFile != null) mFile.delete(); in tearDown()
94 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraOutput()
96 Uri uri = Uri.fromFile(mFile); in testExtraOutput()
132 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraSizeLimit()
135 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit()
146 long length = mFile.length(); in testExtraSizeLimit()
154 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraDurationLimit()
157 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit()
176 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp");
[all …]
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java49 private File mFile, mFile2; field in VideoCaptureIntentTest
80 if (mFile != null) mFile.delete(); in tearDown()
101 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraOutput()
103 Uri uri = Uri.fromFile(mFile); in testExtraOutput()
155 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraSizeLimit()
158 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit()
169 long length = mFile.length(); in testExtraSizeLimit()
177 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp"); in testExtraDurationLimit()
180 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit()
199 mFile = new File(Environment.getExternalStorageDirectory(), "video.tmp");
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DUtils.java199 private File mFile; field in Utils.UsabilityStudyLogUtils
231 if ((mFile == null || !mFile.exists()) in createLogFileIfNotExist()
313 if (mFile == null) { in emailResearcherLogsAll()
328 final FileInputStream srcStream = new FileInputStream(mFile); in emailResearcherLogsAll()
375 if (mFile != null && mFile.exists()) { in clearAll()
379 mFile.delete(); in clearAll()
389 return new BufferedReader(new FileReader(mFile)); in getBufferedReader()
397 mFile = new File(dir, filename); in getPrintWriter()
398 if (mFile.exists()) { in getPrintWriter()
400 mFile.delete(); in getPrintWriter()
[all …]
DBinaryDictionaryGetter.java139 final File mFile; field in BinaryDictionaryGetter.FileAndMatchLevel
142 mFile = file; in FileAndMatchLevel()
188 result[index++] = entry.mFile; in getCachedWordLists()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
DResearchLog.java62 /* package */ final File mFile; field in ResearchLog
79 mFile = outputFile; in ResearchLog()
108 Log.d(TAG, "closed " + mFile); in close()
115 if (mFile != null && mFile.exists()) { in close()
116 mFile.setWritable(false, false); in close()
164 if (mFile != null) { in abort()
165 mFile.delete(); in abort()
258 if (mFile == null) throw new FileNotFoundException(); in getInitializedJsonWriterLocked()
260 final JsonWriter jsonWriter = createJsonWriter(mContext, mFile); in getInitializedJsonWriterLocked()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DBinaryTempFileBody.java43 private File mFile; field in BinaryTempFileBody
51 mFile = new File(filePath); in setFile()
55 mFile = File.createTempFile("body", null, TempDirectory.getTempDirectory()); in getOutputStream()
56 mFile.deleteOnExit(); in getOutputStream()
57 return new FileOutputStream(mFile); in getOutputStream()
62 return new BinaryTempFileBodyInputStream(new FileInputStream(mFile)); in getInputStream()
75 mFile.delete(); in writeTo()
86 mFile.delete(); in close()
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapTempFileLiteral.java41 /* package for test */ final File mFile; field in ImapTempFileLiteral
48 mFile = File.createTempFile("imap", ".tmp", TempDirectory.getTempDirectory()); in ImapTempFileLiteral()
54 OutputStream out = new FileOutputStream(mFile); in ImapTempFileLiteral()
77 return new FileInputStream(mFile); in getAsStream()
101 if (!isDestroyed() && mFile.exists()) { in destroy()
102 mFile.delete(); in destroy()
117 return mFile.exists(); in tempFileExistsForTest()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerTester.java42 final public File mFile; field in VoiceDialerTester.WavFile
48 mFile = file; in WavFile()
92 return mWavFiles[mWavFile].mFile; in getWavFile()
123 String utter = wf.mFile.getName().toLowerCase().replace('_', ' '); in onRecognitionSuccess()
163 Log.d(TAG, wf.mRank + "/" + wf.mTotal + " " + wf.mFile + in report()
182 set.add(wf.mFile.getName()); in reportSummaryForEachFileName()
202 set.add(wf.mFile.getParent()); in reportSummaryForEachDir()
234 if (filter == null || filter.accept(wf.mFile)) { in reportSummary()
/packages/apps/Browser/tests/src/com/android/browser/
DPopularUrlsTest.java319 private File mFile; field in PopularUrlsTest.RunStatus
327 mFile = file; in RunStatus()
335 input = new FileReader(mFile); in RunStatus()
374 if (mFile.exists()) { in write()
375 mFile.delete(); in write()
378 output = new FileWriter(mFile); in write()
392 if (mFile.exists() && allClear) { in cleanUp()
393 mFile.delete(); in cleanUp()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java57 File mFile; field in BinaryDictOffdeviceUtils.DecoderChainSpec
102 spec.mFile = src; in getRawBinaryDictionaryOrNullInternal()
188 final FileInputStream inStream = new FileInputStream(decodedSpec.mFile); in getDictionary()
190 FileChannel.MapMode.READ_ONLY, 0, decodedSpec.mFile.length()); in getDictionary()
194 System.out.println("Uncompressed size : " + decodedSpec.mFile.length()); in getDictionary()
DPackage.java86 System.out.println("Uncompressed size : " + decodedSpec.mFile.length()); in run()
89 new FileInputStream(decodedSpec.mFile)), new BufferedOutputStream(dstStream)); in run()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DSaveVideoFileUtils.java56 dstFileInfo.mFile = new File(dstFileInfo.mDirectory, dstFileInfo.mFileName + ".mp4"); in getDstMp4FileInfo()
100 values.put(Video.Media.DISPLAY_NAME, mDstFileInfo.mFile.getName()); in insertContent()
105 values.put(Video.Media.DATA, mDstFileInfo.mFile.getAbsolutePath()); in insertContent()
106 values.put(Video.Media.SIZE, mDstFileInfo.mFile.length()); in insertContent()
DSaveVideoFileInfo.java22 public File mFile = null; field in SaveVideoFileInfo
/packages/apps/Gallery2/src/com/android/photos/data/
DMediaCache.java116 private File mFile; field in MediaCache.NotifyOriginalReady
125 mCallback.originalReady(mFile); in notifyReady()
131 mFile = file; in setFile()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java72 final FileInputStream inStream = new FileInputStream(decodeSpec.mFile); in testGetRawDictWorks()
74 FileChannel.MapMode.READ_ONLY, 0, decodeSpec.mFile.length()); in testGetRawDictWorks()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimVideo.java239 VideoUtils.startTrim(mSrcFile, mDstFileInfo.mFile, in trimVideo()
262 intent.setDataAndType(Uri.fromFile(mDstFileInfo.mFile), "video/*"); in trimVideo()
DVideoUtils.java61 genVideoUsingMuxer(filePath, dstFileInfo.mFile.getPath(), -1, -1, in startMute()
83 File dst = dstFileInfo.mFile; in startMuteUsingMp4Parser()
DMuteVideo.java86 intent.setDataAndType(Uri.fromFile(mDstFileInfo.mFile), "video/*"); in muteInBackground()