Home
last modified time | relevance | path

Searched defs:filePath (Results 1 – 25 of 98) sorted by relevance

1234

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dfile_utils.cpp31 /* static */ int FileUtils::getFileSize(const char *const filePath) { in getFileSize()
75 char filePath[filePathBufSize]; in removeDirAndFiles() local
97 /* static */ int FileUtils::getFilePathWithSuffixBufSize(const char *const filePath, in getFilePathWithSuffixBufSize()
102 /* static */ void FileUtils::getFilePathWithSuffix(const char *const filePath, in getFilePathWithSuffix()
117 /* static */ bool FileUtils::getFilePathWithoutSuffix(const char *const filePath, in getFilePathWithoutSuffix()
140 /* static */ void FileUtils::getDirPath(const char *const filePath, const int outDirPathBufSize, in getDirPath()
156 /* static */ void FileUtils::getBasename(const char *const filePath, in getBasename()
Ddict_file_writing_utils.cpp41 /* static */ bool DictFileWritingUtils::createEmptyDictFile(const char *const filePath, in createEmptyDictFile()
85 char filePath[filePathBufSize]; in flushBufferToFileWithSuffix() local
102 /* static */ bool DictFileWritingUtils::flushBufferToFile(const char *const filePath, in flushBufferToFile()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DScenarioDispatcherFactory.java31 private ScenarioDispatcherFactory(String filePath, String prefix) { in ScenarioDispatcherFactory()
42 public static ScenarioDispatcherFactory createFromScenarioFile(String filePath) { in createFromScenarioFile()
53 String filePath) { in createFromScenarioFileWithRandomPrefix()
/packages/providers/MediaProvider/src/com/android/providers/media/
DFdAccessResult.java31 public final String filePath; field in FdAccessResult
34 public FdAccessResult(String filePath, boolean shouldRedact) { in FdAccessResult()
/packages/modules/Connectivity/service/src/com/android/server/net/
DDelayedDiskWrite.java86 public void write(final String filePath, final Writer w) { in write()
93 public void write(final String filePath, final Writer w, final boolean open) { in write()
115 private void doWrite(String filePath, Writer w, boolean open) { in doWrite()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/
DStorageLifetimeFragment.java120 Path filePath = new File(mActivity.getFilesDir(), FILE_NAME).toPath(); in getFilePath() local
129 final Path filePath = getFilePath(); in writeBytesToFile() local
142 final Path filePath = getFilePath(); in fsyncFile() local
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DFileUtilUnitTest.java60 String filePath = mTestDir + "/data/0/misc_de/foo"; in testGetStorageInformationForPaths_withFiles() local
72 final Path filePath = Paths.get(path, filename); in createFile() local
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DContactPhotoUtilsTest.java29 String filePath = in testFileUriDataPathFails() local
37 String filePath = in testFileUriCanonicalDataPathFails() local
/packages/apps/Camera2/src/com/android/camera/
DThumbnail.java30 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) { in createVideoThumbnailBitmap()
34 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd, in createVideoThumbnailBitmap()
/packages/apps/Messaging/src/com/android/messaging/util/
DGifTranscoder.java43 public static boolean transcode(Context context, String filePath, String outFilePath) { in transcode()
66 private static native boolean transcodeInternal(String filePath, String outFilePath); in transcodeInternal()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DQuery.java108 String filePath = uri.getPath(); in parse() local
120 private static Query parseEpisode(String filePath) { in parseEpisode()
146 private static Query parseMovie(String filePath) { in parseMovie()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java430 private void checkDestinationFilePathRestrictions_noPermission(String filePath, in checkDestinationFilePathRestrictions_noPermission()
455 private void checkDestinationFilePathRestrictions_installer(String filePath, in checkDestinationFilePathRestrictions_installer()
481 private void checkDestinationFilePathRestrictions_WES(String filePath, boolean isLegacyMode) in checkDestinationFilePathRestrictions_WES()
529 private static boolean isFileInPrivateExternalAndroidDirs(String filePath) { in isFileInPrivateExternalAndroidDirs()
681 final String filePath = file.getPath().replace( in prepareData() local
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DIpConfigStore.java191 public void writeIpAndProxyConfigurationsToFile(String filePath, in writeIpAndProxyConfigurationsToFile()
204 public void writeIpConfigurations(String filePath, in writeIpConfigurations()
217 public static ArrayMap<String, IpConfiguration> readIpConfigurations(String filePath) { in readIpConfigurations()
232 public static SparseArray<IpConfiguration> readIpAndProxyConfigurations(String filePath) { in readIpAndProxyConfigurations()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/
DIoUtils.java68 String filePath = file.getAbsolutePath(); in writeToFile() local
83 String filePath = tempFile.getAbsolutePath(); in writeToTempFile() local
/packages/apps/Camera2/src/com/android/camera/data/
DPhotoDataFactory.java41 String filePath = c.getString(PhotoDataQuery.COL_DATA); in fromCursor() local
89 private Size decodeBitmapDimensions(String filePath) { in decodeBitmapDimensions()
/packages/modules/Uwb/service/java/com/android/server/uwb/multchip/
DUwbMultichipData.java69 String filePath = in initialize() local
133 private void readConfigurationFile(String filePath) { in readConfigurationFile()
/packages/modules/Virtualization/authfs/tests/benchmarks/src/java/com/android/fs/benchmarks/
DAuthFsBenchmarks.java126 String filePath = mAuthFsTestRule.MOUNT_DIR + "/3"; in readRemoteFile() local
143 String filePath = mAuthFsTestRule.MOUNT_DIR + "/5"; in writeRemoteFile() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.h118 bool flush(const char *const filePath) { in flush()
124 bool flushWithGC(const char *const filePath) { in flushWithGC()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DBinaryDictionaryUtils.java44 private static native boolean createEmptyDictFileNative(String filePath, long dictVersion, in createEmptyDictFileNative()
95 public static boolean createEmptyDictFile(final String filePath, final long dictVersion, in createEmptyDictFile()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DDeviceBloomfilterGenerator.java382 public static void generateDefaultBloomfilter(String filePath) throws IOException { in generateDefaultBloomfilter()
/packages/services/Car/cpp/watchdog/server/src/
DUidCpuStatsCollector.h84 const std::string filePath() const override { return mPath; } in filePath() function
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/
DDownloadProviderPermissionsTest.java67 String filePath = "/cache/this-should-not-exist.txt"; in testAccessCacheFilesystem() local
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/common/
DFileHelper.java41 Path filePath = Paths.get(dir.getAbsolutePath(), filename); in writeFile() local
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DAdSelectionReportingTest.java335 String filePath = "scenarios/remarketing-cuj-data-version-header-buyer-exceeds-8-bits.json"; in testAdSelection_withDataVersionHeader_skipsBuyerExceeds8Bits() local
356 String filePath = in testAdSelection_withDataVersionHeader_skipsSellerExceeds8Bits() local
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DBinaryTempFileBody.java47 public void setFile(String filePath) { in setFile()

1234