/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/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/ |
D | TestSupport.java | 64 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/ |
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/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 289 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()
|
D | DownloadDrmHelper.java | 52 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
|
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/net/module/util/ |
D | TrackRecord.kt | 86 override fun lastIndexOf(element: E): Int = lock.withLock { elements.lastIndexOf(element) } in <lambda>() method
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfo.java | 135 int dotIndex = filename.lastIndexOf("."); in generateFileInfo() 223 int index = hint.lastIndexOf('/') + 1; in choosefilename()
|
/packages/apps/Settings/src/com/android/settings/bugreporthandler/ |
D | BugReportHandlerPicker.java | 62 int index = key.lastIndexOf('#'); in getHandlerApp() 68 int index = key.lastIndexOf('#'); in getHandlerUser()
|
/packages/apps/StorageManager/src/com/android/storagemanager/utils/ |
D | IconProvider.java | 48 final int lastDot = name.lastIndexOf('.'); in getMimeType()
|
/packages/apps/Dialer/java/com/android/dialer/spannable/ |
D | ContentWithLearnMoreSpanner.java | 77 int learnMoreSpanStartIndex = contents.toString().lastIndexOf(learnMore); in create()
|
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/ |
D | StatsGenerator.java | 123 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/ |
D | LegacyMediaScannerTest.java | 66 final int lastSlash = path.lastIndexOf('/'); in isNonMediaFile()
|
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | DeployAgent.java | 169 int equalsIndex = line.lastIndexOf(packageSuffix); in getFilenameFromPackageName() 211 line.lastIndexOf(successLineEnd))); in createInstallSession()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | DownloadDrmHelper.java | 77 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | FileUtils.java | 689 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/ |
D | GlobalSearchSupport.java | 289 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/ |
D | ShiftModeTests.java | 68 SENTENCE_TO_TYPE.length() - SENTENCE_TO_TYPE.lastIndexOf(' ') - 1; in testRepeatingBackspace()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/errorlogging/ |
D | AbstractAdServicesErrorLogger.java | 103 return str.isEmpty() ? str : str.substring(str.lastIndexOf(delimiter) + 1); in getLastElement()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | ClusterContentProvider.java | 66 filename.substring(0, filename.lastIndexOf(".")), in openFile() argument
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | EmailAddress.java | 94 final int atIndex = emailString.lastIndexOf('@'); in parseEmail()
|
/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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/ |
D | SettingsCloudMediaViewModelTest.java | 208 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/ |
D | DumpOnFailureRule.java | 92 qualifiedClassName.lastIndexOf(".") + 1); in getShortenedTestName()
|
/packages/apps/Traceur/src_common/com/android/traceur/ |
D | WinscopeUtils.java | 197 perfettoFilename.substring(0, perfettoFilename.lastIndexOf('.')); in getOutputFile()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | TsStreamWriter.java | 225 int lastSeparator = fileName.lastIndexOf(SEPARATOR); in getFileId()
|