Searched refs:dotIndex (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfo.java | 155 int dotIndex = filename.lastIndexOf("."); in generateFileInfo() local 156 if (dotIndex < 0) { in generateFileInfo() 164 extension = filename.substring(dotIndex); in generateFileInfo() 165 filename = filename.substring(0, dotIndex); in generateFileInfo()
|
D | BluetoothOppObexServerSession.java | 236 int dotIndex = name.lastIndexOf("."); in onPut() local 237 if (dotIndex < 0 && mimeType == null) { in onPut() 243 extension = name.substring(dotIndex + 1).toLowerCase(); in onPut()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 265 final int dotIndex = name.lastIndexOf('.'); in generateSaveFile() local 266 final boolean missingExtension = dotIndex < 0; in generateSaveFile() 273 prefix = name.substring(0, dotIndex); in generateSaveFile() 274 suffix = name.substring(dotIndex); in generateSaveFile() 283 prefix = name.substring(0, dotIndex); in generateSaveFile() 284 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex); in generateSaveFile()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamTransferManager.java | 519 int dotIndex = fileName.lastIndexOf("."); in generateUniqueDestination() local 522 if (dotIndex < 0) { in generateUniqueDestination() 526 extension = fileName.substring(dotIndex); in generateUniqueDestination() 527 fileNameWithoutExtension = fileName.substring(0, dotIndex); in generateUniqueDestination()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivity.java | 562 final int dotIndex = title.lastIndexOf("."); in doInBackground() local 563 if (dotIndex > 0) { in doInBackground() 564 title = title.substring(0, dotIndex); in doInBackground()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 1229 int dotIndex = name.indexOf("."); in pullPhonebook() local 1231 if (dotIndex >= 0 && dotIndex <= name.length()) { in pullPhonebook() 1232 if (!name.regionMatches(dotIndex + 1, vcf, 0, vcf.length())) { in pullPhonebook()
|