Home
last modified time | relevance | path

Searched refs:createTempFile (Results 1 – 25 of 34) sorted by relevance

12

/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java99 final File dst = File.createTempFile("testGetRawDict", ".tmp"); in testGetRawDictWorks()
128 final File dst = File.createTempFile("testGetRawDict", ".tmp"); in testGetRawDictFails()
140 final File gzDst = File.createTempFile("testGetRawDict", ".tmp"); in testGetRawDictFails()
178 File file = File.createTempFile(dictName, ".tmp"); in runTestHeaderReaderProcessorWithOneSpec()
184 file = File.createTempFile(dictName + ".compress", ".tmp"); in runTestHeaderReaderProcessorWithOneSpec()
191 file = File.createTempFile(dictName + ".crypt", ".tmp"); in runTestHeaderReaderProcessorWithOneSpec()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java108 final File file = File.createTempFile("test", ".jpg"); in testParseDateTaken_Complete()
127 final File file = File.createTempFile("test", ".jpg"); in testParseDateTaken_Gps()
166 final File file = File.createTempFile("test", ".jpg"); in testParseDateTaken_File()
195 final File file = File.createTempFile("test", ".jpg"); in testParseDateTaken_Hopeless()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DTestUtils.java52 return File.createTempFile("com.android.documentsui.archives.tests{", in createTemporaryFile()
64 file = File.createTempFile("com.android.documentsui.archives.tests{", in getSeekableDescriptor()
DArchiveFileTestRule.java105 Path filePath = Files.createTempFile(mTemporaryPath, mMethodName, suffix, attr); in generateFile()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DSavedWallpaperImages.java125 File imageFile = File.createTempFile("wallpaper", "", mContext.getFilesDir()); in writeImage()
131 File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.getFilesDir()); in writeImage()
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/
DTemporaryFile.java46 mFile = File.createTempFile(prefix, String.valueOf(SystemClock.elapsedRealtimeNanos())); in TemporaryFile()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUriBitmap.java53 File tempFile = File.createTempFile("tmpImage", ".png"); in createSimpleInstance()
DLogoUtilsTest.java149 File tempFile = File.createTempFile("temp_bitmap", "", getContext().getCacheDir()); in writeBitmapToTempFile()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DBinaryTempFileBody.java52 file = File.createTempFile("body", null, TempDirectory.getTempDirectory()); in getOutputStream()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DPackage.java51 final File intermediateFile = File.createTempFile(PREFIX, SUFFIX); in run()
DBinaryDictOffdeviceUtils.java134 final File dst = File.createTempFile(PREFIX, SUFFIX); in process()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DIOUtils.java69 public static String createTempFile(Context context, byte[] data) { in createTempFile() method in IOUtils
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapTempFileLiteral.java43 file = File.createTempFile("imap", ".tmp", TempDirectory.getTempDirectory()); in ImapTempFileLiteral()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DIsoInterfaceTest.java79 final File file = File.createTempFile("test", ".mp4"); in stageFile()
DXmpInterfaceTest.java186 final File file = File.createTempFile("test", ".mp4"); in stageFile()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/
DExifOrientation.java73 tempFile = File.createTempFile(TAG, ".jpg", context.getCacheDir()); in readRotation()
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java65 File testFile = File.createTempFile("test", null, tempDir); in testNestedDirectories()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java199 file = File.createTempFile("img", null, mStorePath); in insert()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryGetter.java86 return File.createTempFile("xxx" + safeId, null, directory).getAbsolutePath(); in getTempFileName()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java161 File.createTempFile("bugreport", ".zip", mContext.getCacheDir()); in zipBugReportFiles()
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/
DTimeZoneUpdateHostTest.java126 mTempDir = File.createTempFile("timeZoneUpdateTest", null); in createTempDir()
/packages/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/
DRulesCheckReceiver.java272 localFile = File.createTempFile("temp", ".zip", context.getFilesDir()); in copyDataToLocalFile()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DReadableArchive.java222 snapshotFile = File.createTempFile("com.android.documentsui.snapshot{", in createForParcelFileDescriptor()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DTestUtils.java216 File file = File.createTempFile(prefix, suffix, context.getCacheDir()); in dumpToCacheDir()
/packages/apps/TimeZoneData/src/main/com/android/timezone/data/
DTimeZoneRulesDataProvider.java276 distroFile = File.createTempFile("distro", null, getContext().getFilesDir());

12