Home
last modified time | relevance | path

Searched refs:lastDotIndex (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/
DSettingsCloudMediaViewModelTest.java208 final int lastDotIndex = providerOptions.get(i).getKey().lastIndexOf('.'); in testLoadDataWithAllowListedProviders() local
210 lastDotIndex); in testLoadDataWithAllowListedProviders()
364 final int lastDotIndex = authority.lastIndexOf('.'); in createProviderInfo() local
367 providerInfo.packageName = authority.substring(0, lastDotIndex); in createProviderInfo()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java441 String filename, int lastDotIndex) { in chooseExtensionFromFilename() argument
447 filename.substring(lastDotIndex + 1)); in chooseExtensionFromFilename()
465 extension = filename.substring(lastDotIndex); in chooseExtensionFromFilename()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2488 final int lastDotIndex = fileName.lastIndexOf('.'); in handlePickerFileOpen() local
2490 if (lastDotIndex == -1) { in handlePickerFileOpen()
2495 final String mediaId = fileName.substring(0, lastDotIndex); in handlePickerFileOpen()