Home
last modified time | relevance | path

Searched refs:getAbsolutePath (Results 1 – 25 of 106) sorted by relevance

12345

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java47 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFile()
59 assertEquals(expected1.getAbsolutePath(), actual1); in testGenerateSaveFileDupes()
60 assertEquals(expected2.getAbsolutePath(), actual2); in testGenerateSaveFileDupes()
68 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileNoExtension()
78 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileHint()
86 assertEquals(expected.getAbsolutePath(), actual); in testGenerateSaveFileDisposition()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DJsonVhalEventGenerator.java43 throw new Exception("JSON test data file does not exist: " + file.getAbsolutePath()); in setJsonFile()
54 .setStringValue(mFile.getAbsolutePath()) in start()
64 .setStringValue(mFile.getAbsolutePath()) in stop()
DE2eCarTestBase.java103 + filesDir.getParentFile().getAbsolutePath()); in makeShareable()
111 Log.d(TAG, "Copying golden test data to " + internalFile.getAbsolutePath()); in makeShareable()
117 Log.w(TAG, "Failed to set read permission for " + internalFile.getAbsolutePath()); in makeShareable()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DMigrateSystemAppsSnapshotTask.java84 "Moving " + file.getAbsolutePath() + " to " + destination.getAbsolutePath()); in migrateIfNecessary()
87 ProvisionLogger.loge("Failed to migrate " + file.getAbsolutePath()); in migrateIfNecessary()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictEncoder.java59 if (!BinaryDictionaryUtils.createEmptyDictFile(mDictPlacedDir.getAbsolutePath(), in writeDictionary()
64 + mDictPlacedDir.getAbsolutePath()); in writeDictionary()
66 final BinaryDictionary binaryDict = new BinaryDictionary(mDictPlacedDir.getAbsolutePath(), in writeDictionary()
DVer4DictDecoder.java45 mDictDirectory.getAbsolutePath(), 0 /* offset */, 0 /* length */, in readHeader()
61 mDictDirectory.getAbsolutePath(), 0 /* offset */, 0 /* length */, in readDictionaryBinary()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java319 Log.e(TAG, "File path already exists: " + newFilePath.getAbsolutePath()); in renameFile()
323 Log.e(TAG, "Input path is directory: " + inputPath.getAbsolutePath()); in renameFile()
326 if (!createDirectoryIfNeeded(newFilePath.getAbsolutePath())) { in renameFile()
328 newFilePath.getAbsolutePath()); in renameFile()
391 return (new File(directory, title + extension)).getAbsolutePath(); in generateFilepath()
/packages/apps/DocumentsUI/src/com/android/documentsui/theme/
DThemeOverlayManager.java94 if (sourceDir.startsWith(Environment.getProductDirectory().getAbsolutePath()) in getValidOverlay()
95 || sourceDir.startsWith(Environment.getVendorDirectory().getAbsolutePath()) in getValidOverlay()
96 || sourceDir.startsWith(Environment.getRootDirectory().getAbsolutePath())) { in getValidOverlay()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DXmpPresets.java82 Log.v(LOGTAG, "Write XMP meta to file failed:" + dstFile.getAbsolutePath()); in writeFilterXMP()
86 if (!XmpUtilHelper.writeXMPMeta(dstFile.getAbsolutePath(), xmpMeta)) { in writeFilterXMP()
87 Log.v(LOGTAG, "Write XMP meta to file failed:" + dstFile.getAbsolutePath()); in writeFilterXMP()
DSaveImage.java239 return XmpUtilHelper.writeXMPMeta(file.getAbsolutePath(), xmp); in putPanoramaXMPData()
271 s = exif.getExifWriterStream(file.getAbsolutePath()); in putExifData()
279 Log.w(LOGTAG, "File not found: " + file.getAbsolutePath(), e); in putExifData()
707 values.put(Images.Media.DATA, file.getAbsolutePath()); in getContentValues()
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtoneOverlayService.java79 Slog.e(TAG, "can't create " + destDir.getAbsolutePath()); in copyResourceAndSetAsSound()
107 if (DEBUG) Slog.d(TAG, "Scanning " + file.getAbsolutePath()); in scanFile()
108 MediaScannerConnection.scanFile(this, new String[] { file.getAbsolutePath() }, null, in scanFile()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DLegacyMediaScanner.java41 final String path = file.getAbsolutePath(); in scanDirectory()
55 final String path = file.getAbsolutePath(); in scanFile()
DModernMediaScanner.java290 escapeForLike(mRoot.getAbsolutePath()) + '%' in reconcileAndClean() argument
374 FileColumns.DATA + "=?", new String[] { realFile.getAbsolutePath() }, null)) { in visitFile() argument
517 op.withValue(MediaColumns.DATA, file.getAbsolutePath()); in withGenericValues()
598 final String lowPath = file.getAbsolutePath().toLowerCase(Locale.ROOT); in scanItemAudio()
936 if (PATTERN_VISIBLE.matcher(dir.getAbsolutePath()).matches()) { in isDirectoryHidden()
940 if (PATTERN_INVISIBLE.matcher(dir.getAbsolutePath()).matches()) { in isDirectoryHidden()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java141 || CombinedInputOutput.isCombinedDictionary(dst.getAbsolutePath())) { in process()
267 System.out.println("Dictionary : " + file.getAbsolutePath()); in getDictionary()
275 if (CombinedInputOutput.isCombinedDictionary(decodedSpec.mResult.getAbsolutePath())) { in getDictionary()
/packages/apps/Camera2/src/com/android/camera/one/
DAbstractOneCamera.java76 + root.getAbsolutePath()); in makeDebugDir()
100 String destFolderPath = destFolder.getAbsolutePath(); in makeDebugDir()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DCacheManager.java49 String path = cacheDir.getAbsolutePath() + "/" + filename; in getCache()
76 String prefix = cacheDir.getAbsolutePath() + "/"; in removeOldFilesIfNecessary()
/packages/apps/Camera2/src/com/android/camera/session/
DSessionStorageManagerImpl.java132 Log.v(TAG, "Check for potential clean-up: " + sessionDir.getAbsolutePath()); in cleanUpExpiredSessions()
135 Log.w(TAG, "Could not clean up " + sessionDir.getAbsolutePath()); in cleanUpExpiredSessions()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java416 File dstFile = generateUniqueDestination(beamPath.getAbsolutePath(), in processFiles()
424 mPaths.add(dstFile.getAbsolutePath()); in processFiles()
425 mMimeTypes.put(dstFile.getAbsolutePath(), mimeType); in processFiles()
508 Log.e(TAG, "Not dir or not mkdir " + path.getAbsolutePath()); in checkMediaStorage()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java99 if (BinaryDictionaryUtils.createEmptyDictFile(file.getAbsolutePath(), formatVersion, in createEmptyVer4DictionaryAndGetFile()
103 throw new IOException("Empty dictionary " + file.getAbsolutePath() in createEmptyVer4DictionaryAndGetFile()
108 return new BinaryDictionary(dictFile.getAbsolutePath(), in getBinaryDictionary()
115 return new BinaryDictionary(dictFile.getAbsolutePath(), in getEmptyBinaryDictionary()
141 final BinaryDictionary binaryDictionary = new BinaryDictionary(dictFile.getAbsolutePath(), in testConstructingDictionaryOnMemory()
416 binaryDictionary = new BinaryDictionary(dictFile.getAbsolutePath(), in testFlushDictionary()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java194 values.put(Columns.DATA, file.getAbsolutePath()); in insertEntry()
207 throw new RuntimeException("cannot create " + mRoot.getAbsolutePath()); in initialize()
237 Log.w(TAG, "fail to remove: " + file.getAbsolutePath()); in onCreate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java170 Log.i(TAG, "Adding " + current.getAbsolutePath() + " ..."); in addFile()
185 Log.i(TAG, "Added " + current.getAbsolutePath() + " as " + storedPath + in addFile()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java120 Log.i(TAG, "Outfile=" + outFile.getAbsolutePath()); in doInBackground()
190 Log.i(TAG, "Drafting email to send " + file.getAbsolutePath()); in emailFile()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorage.java165 Os.symlink(primary.getAbsolutePath(), link.getAbsolutePath()); in getFile()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java234 Log.d("Could not clean up file %s", file.getAbsolutePath()); in cleanupFile()
295 path = file.getAbsolutePath(); in Entry()
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java52 Environment.getExternalStorageDirectory().getAbsolutePath();
137 String path = file.getAbsolutePath(); in updatePath()

12345