/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 271 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()
|
D | DownloadDrmHelper.java | 52 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | JarUtils.java | 69 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/ |
D | TrackRecordTest.kt | 86 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/ |
D | FileUtils.java | 660 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/ |
D | TrackRecord.kt | 85 override fun lastIndexOf(element: E): Int = lock.withLock { elements.lastIndexOf(element) } in <lambda>() method
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfo.java | 123 int dotIndex = filename.lastIndexOf("."); in generateFileInfo() 206 int index = hint.lastIndexOf('/') + 1; in choosefilename()
|
D | BluetoothOppUtility.java | 388 int atIndex = mUri.lastIndexOf("@"); in originalUri() 399 int atIndex = fileInfo.lastIndexOf("@"); in generateUri()
|
/packages/apps/Settings/src/com/android/settings/bugreporthandler/ |
D | BugReportHandlerPicker.java | 59 int index = key.lastIndexOf('#'); in getHandlerApp() 65 int index = key.lastIndexOf('#'); in getHandlerUser()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | GlobalSearchSupport.java | 289 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/ |
D | SaveImage.java | 501 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/ |
D | State.java | 61 int lastDollar = name.lastIndexOf('$'); in getName()
|
/packages/apps/StorageManager/src/com/android/storagemanager/utils/ |
D | IconProvider.java | 48 final int lastDot = name.lastIndexOf('.'); in getMimeType()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | MimeTypeUtil.java | 40 int index = filePath.lastIndexOf("."); in getMimeTypeForUri()
|
/packages/apps/Dialer/java/com/android/dialer/spannable/ |
D | ContentWithLearnMoreSpanner.java | 77 int learnMoreSpanStartIndex = contents.toString().lastIndexOf(learnMore); in create()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | LegacyMediaScannerTest.java | 71 final int lastSlash = path.lastIndexOf('/'); in isNonMediaFile()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | DownloadDrmHelper.java | 77 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | DataModel.java | 268 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/ |
D | ShiftModeTests.java | 67 SENTENCE_TO_TYPE.length() - SENTENCE_TO_TYPE.lastIndexOf(' ') - 1; in testRepeatingBackspace()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | ClusterContentProvider.java | 66 filename.substring(0, filename.lastIndexOf(".")), in openFile()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | EmailAddress.java | 94 final int atIndex = emailString.lastIndexOf('@'); in parseEmail()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsDetail.java | 297 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/ |
D | ProcessStatsDetail.java | 297 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/ |
D | TsStreamWriter.java | 225 int lastSeparator = fileName.lastIndexOf(SEPARATOR); in getFileId()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LegacyPartnerWallpaperInfo.java | 93 int dotPos = name.lastIndexOf('.'); in getAll()
|