Home
last modified time | relevance | path

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

1234

/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/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/
DTestSupport.java64 dirName = relativeResourcePath.substring(0, relativeResourcePath.lastIndexOf('/')); in copyResourceAndLicense()
75 fileName = relativeResourcePath.substring(relativeResourcePath.lastIndexOf('/') + 1); in copyResource()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
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/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java289 final int dotIndex = name.lastIndexOf('.'); in generateSaveFile()
332 int index = hint.lastIndexOf('/') + 1;
347 int index = filename.lastIndexOf('/') + 1;
363 int index = decodedContentLocation.lastIndexOf('/') + 1;
377 int index = decodedUrl.lastIndexOf('/') + 1;
750 final int lastSlash = data.lastIndexOf('/'); in extractRelativePath()
775 return data.substring(data.lastIndexOf('/') + 1); in extractDisplayName()
DDownloadDrmHelper.java52 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/net/module/util/
DTrackRecord.kt86 override fun lastIndexOf(element: E): Int = lock.withLock { elements.lastIndexOf(element) } in <lambda>() method
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java135 int dotIndex = filename.lastIndexOf("."); in generateFileInfo()
223 int index = hint.lastIndexOf('/') + 1; in choosefilename()
/packages/apps/Settings/src/com/android/settings/bugreporthandler/
DBugReportHandlerPicker.java62 int index = key.lastIndexOf('#'); in getHandlerApp()
68 int index = key.lastIndexOf('#'); in getHandlerUser()
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DIconProvider.java48 final int lastDot = name.lastIndexOf('.'); in getMimeType()
/packages/apps/Dialer/java/com/android/dialer/spannable/
DContentWithLearnMoreSpanner.java77 int learnMoreSpanStartIndex = contents.toString().lastIndexOf(learnMore); in create()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
DStatsGenerator.java123 int dot = name.lastIndexOf('.'); in convertToSymbolGroupPrefix()
358 String pkg = name.substring(0, name.lastIndexOf(".") + 1); in findGroup()
359 String key = name.substring(name.lastIndexOf(".") + 1); in findGroup()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DLegacyMediaScannerTest.java66 final int lastSlash = path.lastIndexOf('/'); in isNonMediaFile()
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java169 int equalsIndex = line.lastIndexOf(packageSuffix); in getFilenameFromPackageName()
211 line.lastIndexOf(successLineEnd))); in createInstallSession()
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DDownloadDrmHelper.java77 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java689 final int lastDot = displayName.lastIndexOf('.');
717 final int lastDot = displayName.lastIndexOf('.');
774 return data.substring(data.lastIndexOf('/') + 1);
781 final int lastDot = data.lastIndexOf('.');
793 final int lastDot = data.lastIndexOf('.');
1128 final int lastSlash = path.lastIndexOf('/');
1803 final int lastSlash = expiredFilePath.lastIndexOf('/');
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DShiftModeTests.java68 SENTENCE_TO_TYPE.length() - SENTENCE_TO_TYPE.lastIndexOf(' ') - 1; in testRepeatingBackspace()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/errorlogging/
DAbstractAdServicesErrorLogger.java103 return str.isEmpty() ? str : str.substring(str.lastIndexOf(delimiter) + 1); in getLastElement()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java66 filename.substring(0, filename.lastIndexOf(".")), in openFile() argument
/packages/apps/Messaging/src/com/android/messaging/util/
DEmailAddress.java94 final int atIndex = emailString.lastIndexOf('@'); in parseEmail()
/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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/
DSettingsCloudMediaViewModelTest.java208 final int lastDotIndex = providerOptions.get(i).getKey().lastIndexOf('.'); in testLoadDataWithAllowListedProviders()
364 final int lastDotIndex = authority.lastIndexOf('.'); in createProviderInfo()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DDumpOnFailureRule.java92 qualifiedClassName.lastIndexOf(".") + 1); in getShortenedTestName()
/packages/apps/Traceur/src_common/com/android/traceur/
DWinscopeUtils.java197 perfettoFilename.substring(0, perfettoFilename.lastIndexOf('.')); in getOutputFile()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTsStreamWriter.java225 int lastSeparator = fileName.lastIndexOf(SEPARATOR); in getFileId()

1234