Home
last modified time | relevance | path

Searched refs:lastIndexOf (Results 1 – 25 of 61) sorted by relevance

123

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java271 final int dotIndex = name.lastIndexOf('.'); in generateSaveFile()
314 int index = hint.lastIndexOf('/') + 1;
329 int index = filename.lastIndexOf('/') + 1;
345 int index = decodedContentLocation.lastIndexOf('/') + 1;
359 int index = decodedUrl.lastIndexOf('/') + 1;
667 final int lastSlash = data.lastIndexOf('/'); in extractRelativePath()
692 return data.substring(data.lastIndexOf('/') + 1); in extractDisplayName()
DDownloadDrmHelper.java52 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DJarUtils.java69 final int pos = path.lastIndexOf('/'); in getEntryNameListing()
93 final String dirName = jarEntryName.substring(0, jarEntryName.lastIndexOf('/'));
94 final int pos = dirName.lastIndexOf('/');
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DTrackRecordTest.kt86 assertEquals(9, lastIndexOf(0)) in <lambda>()
88 assertEquals(7, lastIndexOf(13)) in <lambda>()
90 assertEquals(11, lastIndexOf(94)) in <lambda>()
92 assertEquals(-1, lastIndexOf(ABSENT_VALUE)) in <lambda>()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java660 final int lastDot = displayName.lastIndexOf('.');
688 final int lastDot = displayName.lastIndexOf('.');
745 return data.substring(data.lastIndexOf('/') + 1);
752 final int lastDot = data.lastIndexOf('.');
764 final int lastDot = data.lastIndexOf('.');
941 final int lastSlash = data.lastIndexOf('/');
/packages/modules/NetworkStack/tests/lib/multivariant/com/android/testutils/
DTrackRecord.kt85 override fun lastIndexOf(element: E): Int = lock.withLock { elements.lastIndexOf(element) } in <lambda>() method
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java123 int dotIndex = filename.lastIndexOf("."); in generateFileInfo()
206 int index = hint.lastIndexOf('/') + 1; in choosefilename()
DBluetoothOppUtility.java388 int atIndex = mUri.lastIndexOf("@"); in originalUri()
399 int atIndex = fileInfo.lastIndexOf("@"); in generateUri()
/packages/apps/Settings/src/com/android/settings/bugreporthandler/
DBugReportHandlerPicker.java59 int index = key.lastIndexOf('#'); in getHandlerApp()
65 int index = key.lastIndexOf('#'); in getHandlerUser()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DGlobalSearchSupport.java289 int firstNl = snippet.lastIndexOf('\n', start); in shortenSnippet()
293 int end = snippet.lastIndexOf(SNIPPET_END_MATCH); in shortenSnippet()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java501 to = to.substring(to.lastIndexOf(".")); in moveSrcToAuxIfNeeded()
502 from = from.substring(from.lastIndexOf(".")); in moveSrcToAuxIfNeeded()
506 name = name.substring(0, name.lastIndexOf(".")) + from; in moveSrcToAuxIfNeeded()
/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
DState.java61 int lastDollar = name.lastIndexOf('$'); in getName()
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DIconProvider.java48 final int lastDot = name.lastIndexOf('.'); in getMimeType()
/packages/apps/Nfc/src/com/android/nfc/beam/
DMimeTypeUtil.java40 int index = filePath.lastIndexOf("."); in getMimeTypeForUri()
/packages/apps/Dialer/java/com/android/dialer/spannable/
DContentWithLearnMoreSpanner.java77 int learnMoreSpanStartIndex = contents.toString().lastIndexOf(learnMore); in create()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DLegacyMediaScannerTest.java71 final int lastSlash = path.lastIndexOf('/'); in isNonMediaFile()
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DDownloadDrmHelper.java77 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java268 int fileNameStart = fullPath.lastIndexOf(File.separator); in doInBackground()
290 int dirNameStart = path.lastIndexOf(File.separator) + 1; in doInBackground()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DShiftModeTests.java67 SENTENCE_TO_TYPE.length() - SENTENCE_TO_TYPE.lastIndexOf(' ') - 1; in testRepeatingBackspace()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java66 filename.substring(0, filename.lastIndexOf(".")), in openFile()
/packages/apps/Messaging/src/com/android/messaging/util/
DEmailAddress.java94 final int atIndex = emailString.lastIndexOf('@'); in parseEmail()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java297 return capitalize(processName.substring(processName.lastIndexOf(':') + 1)); in getProcessName()
394 int tail = label.lastIndexOf('.'); in getLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsDetail.java297 return capitalize(processName.substring(processName.lastIndexOf(':') + 1)); in getProcessName()
394 int tail = label.lastIndexOf('.'); in getLabel()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTsStreamWriter.java225 int lastSeparator = fileName.lastIndexOf(SEPARATOR); in getFileId()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLegacyPartnerWallpaperInfo.java93 int dotPos = name.lastIndexOf('.'); in getAll()

123