Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/webkit/
DMimeTypeMap.java45 int fragment = url.lastIndexOf('#'); in getFileExtensionFromUrl()
50 int query = url.lastIndexOf('?'); in getFileExtensionFromUrl()
55 int filenamePos = url.lastIndexOf('/'); in getFileExtensionFromUrl()
63 int dotPos = filename.lastIndexOf('.'); in getFileExtensionFromUrl()
DURLUtil.java312 int index = filename.lastIndexOf('/') + 1; in guessFileName()
329 int index = decodedUrl.lastIndexOf('/') + 1; in guessFileName()
367 int lastDotIndex = filename.lastIndexOf('.'); in guessFileName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatLog.java30 Rlog.d("CAT", className.substring(className.lastIndexOf('.') + 1) + ": " in d()
43 Rlog.e("CAT", className.substring(className.lastIndexOf('.') + 1) + ": " in e()
/frameworks/base/core/java/android/content/pm/
DEphemeralResolveInfo.java163 int prevDot = host.lastIndexOf('.'); in generateDigest()
164 prevDot = host.lastIndexOf('.', prevDot - 1); in generateDigest()
173 prevDot = host.lastIndexOf('.', prevDot - 1); in generateDigest()
/frameworks/base/media/java/android/media/
DMediaFile.java310 int lastDot = path.lastIndexOf('.'); in getFileType()
325 int lastSlash = path.lastIndexOf('/'); in getFileTitle()
333 int lastDot = path.lastIndexOf('.'); in getFileTitle()
357 int lastDot = fileName.lastIndexOf('.'); in getFormatCode()
DMediaScanner.java900 int lastSlash = album.lastIndexOf('/');
1085 int pathFilenameStart = path.lastIndexOf(File.separatorChar) + 1;
1445 int lastSlash = path.lastIndexOf('/');
1496 int firstSlash = path.lastIndexOf('/');
1617 int slash1 = path1.lastIndexOf('/', end1 - 1);
1618 int slash2 = path2.lastIndexOf('/', end2 - 1);
1619 int backSlash1 = path1.lastIndexOf('\\', end1 - 1);
1620 int backSlash2 = path2.lastIndexOf('\\', end2 - 1);
1848 int lastSlash = path.lastIndexOf('/');
1859 int lastDot = path.lastIndexOf('.');
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java220 int lastPackageSeparator = className.lastIndexOf('.'); in findClassesInApk()
272 int lastIndex = entryName.lastIndexOf('/'); in getJarEntries()
276 lastIndex = entryName.lastIndexOf('/', lastIndex - 1); in getJarEntries()
DTestRunner.java485 int index = className.lastIndexOf('$'); in runSingleJunitTest()
670 int index = className.lastIndexOf('$'); in isJunitTest()
718 int indexDot = className.lastIndexOf('.'); in getTitle()
719 int indexDollar = className.lastIndexOf('$'); in getTitle()
DTestCaseUtil.java132 int index = name.lastIndexOf("."); in getTestName()
/frameworks/volley/src/main/java/com/android/volley/
DVolleyLog.java94 callingClass = callingClass.substring(callingClass.lastIndexOf('.') + 1); in buildMessage()
95 callingClass = callingClass.substring(callingClass.lastIndexOf('$') + 1); in buildMessage()
/frameworks/base/core/java/com/android/internal/util/
DState.java71 int lastDollar = name.lastIndexOf('$'); in getName()
DCallbackRegistry.java216 int index = mCallbacks.lastIndexOf(callback); in add()
278 int index = mCallbacks.lastIndexOf(callback); in remove()
DFileRotator.java420 final int dotIndex = name.lastIndexOf('.'); in parse()
421 final int dashIndex = name.lastIndexOf('-'); in parse()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DParserHelper.java29 final int dot = name.lastIndexOf('.'); in stripExtension()
/frameworks/support/compat/java/android/support/v4/util/
DDebugUtils.java34 int end = simpleName.lastIndexOf('.'); in buildShortClassTag()
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DCallbackRegistry.java213 int index = mCallbacks.lastIndexOf(callback); in add()
277 int index = mCallbacks.lastIndexOf(callback); in remove()
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DDownloadDrmHelper.java77 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationAnalyzer.java108 int templateCloseIndex = className.lastIndexOf('>'); in findClass()
168 int lastDot = className.lastIndexOf('.'); in getTypeElement()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDelegateMethodAdapter.java199 int slash = mClassName.lastIndexOf('/'); in generateDelegateCode()
200 int dol = mClassName.lastIndexOf('$'); in generateDelegateCode()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/
Dext.kt55 val numArray = name.lastIndexOf('[') + 1; in lazyProp()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DUnitTestSuiteBuilderTest.java55 return className.substring(0, className.lastIndexOf('.')); in packageFor()
DInstrumentationTestSuiteBuilderTest.java62 return className.substring(0, className.lastIndexOf('.')); in packageFor()
/frameworks/base/core/java/android/text/
DTextUtils.java146 public static int lastIndexOf(CharSequence s, char ch) { in lastIndexOf() method in TextUtils
147 return lastIndexOf(s, ch, s.length() - 1); in lastIndexOf()
150 public static int lastIndexOf(CharSequence s, char ch, int last) { in lastIndexOf() method in TextUtils
154 return ((String) s).lastIndexOf(ch, last); in lastIndexOf()
156 return lastIndexOf(s, ch, 0, last); in lastIndexOf()
159 public static int lastIndexOf(CharSequence s, char ch, in lastIndexOf() method in TextUtils
/frameworks/support/core-utils/java/android/support/v4/provider/
DRawDocumentFile.java146 final int lastDot = name.lastIndexOf('.'); in getTypeForName()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java168 int index = title.lastIndexOf('.');

1234