Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/webkit/
DMimeTypeMap.java46 int fragment = url.lastIndexOf('#'); in getFileExtensionFromUrl()
51 int query = url.lastIndexOf('?'); in getFileExtensionFromUrl()
56 int filenamePos = url.lastIndexOf('/'); in getFileExtensionFromUrl()
64 int dotPos = filename.lastIndexOf('.'); in getFileExtensionFromUrl()
DJniUtil.java102 int mimeIndex = url.lastIndexOf('?'); in contentUrlSize()
142 int mimeIndex = url.lastIndexOf('?'); in contentUrlStream()
DURLUtil.java309 int index = filename.lastIndexOf('/') + 1; in guessFileName()
326 int index = decodedUrl.lastIndexOf('/') + 1; in guessFileName()
364 int lastDotIndex = filename.lastIndexOf('.'); in guessFileName()
DContentLoader.java43 int mimeIndex = rawUrl.lastIndexOf('?'); in ContentLoader()
DCookieManager.java368 int index = hostAndPath[1].lastIndexOf(PATH_DELIM); in setCookie()
892 } else if (index == ret[0].lastIndexOf(PERIOD)) { in getHostAndPath()
930 int lastIndex = host.lastIndexOf(PERIOD); in getBaseDomain()
1139 int lastPeriod = value.lastIndexOf(PERIOD); in parseCookie()
/frameworks/base/media/java/android/media/
DMediaFile.java268 int lastDot = path.lastIndexOf("."); in getFileType()
283 int lastSlash = path.lastIndexOf('/'); in getFileTitle()
291 int lastDot = path.lastIndexOf('.'); in getFileTitle()
315 int lastDot = fileName.lastIndexOf('.'); in getFormatCode()
DMediaScanner.java803 int lastSlash = album.lastIndexOf('/');
956 int pathFilenameStart = path.lastIndexOf(File.separatorChar) + 1;
1286 int lastSlash = path.lastIndexOf('/');
1397 int slash1 = path1.lastIndexOf('/', end1 - 1);
1398 int slash2 = path2.lastIndexOf('/', end2 - 1);
1399 int backSlash1 = path1.lastIndexOf('\\', end1 - 1);
1400 int backSlash2 = path2.lastIndexOf('\\', end2 - 1);
1625 int lastSlash = path.lastIndexOf('/');
1636 int lastDot = path.lastIndexOf('.');
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFsUtils.java188 int slashPostion = url.lastIndexOf('/'); in isTestPageUrl()
199 int endPos = path.lastIndexOf('/'); in getLastSegmentInPath()
201 endPos = path.lastIndexOf('/'); in getLastSegmentInPath()
DLayoutTestsAutoTest.java219 String shortName = test.substring(0, test.lastIndexOf('.')); in getResultFile()
231 int pos = test.lastIndexOf('.'); in getExpectedResultFile()
/frameworks/base/core/java/com/android/internal/util/
DState.java71 int lastDollar = name.lastIndexOf('$'); in getName()
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
DCatLog.java30 Log.d("CAT", className.substring(className.lastIndexOf('.') + 1) + ": " in d()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java219 int lastPackageSeparator = className.lastIndexOf('.'); in findClassesInApk()
271 int lastIndex = entryName.lastIndexOf('/'); in getJarEntries()
275 lastIndex = entryName.lastIndexOf('/', lastIndex - 1); in getJarEntries()
DTestRunner.java484 int index = className.lastIndexOf('$'); in runSingleJunitTest()
669 int index = className.lastIndexOf('$'); in isJunitTest()
717 int indexDot = className.lastIndexOf('.'); in getTitle()
718 int indexDollar = className.lastIndexOf('$'); in getTitle()
DTestCaseUtil.java131 int index = name.lastIndexOf("."); in getTestName()
/frameworks/support/v4/java/android/support/v4/util/
DDebugUtils.java30 int end = simpleName.lastIndexOf('.'); in buildShortClassTag()
/frameworks/base/core/java/android/util/
DDebugUtils.java114 int end = simpleName.lastIndexOf('.'); in buildShortClassTag()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDelegateMethodAdapter2.java194 int slash = mClassName.lastIndexOf('/'); in generateDelegateCode()
195 int dol = mClassName.lastIndexOf('$'); in generateDelegateCode()
/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.java127 public static int lastIndexOf(CharSequence s, char ch) { in lastIndexOf() method in TextUtils
128 return lastIndexOf(s, ch, s.length() - 1); in lastIndexOf()
131 public static int lastIndexOf(CharSequence s, char ch, int last) { in lastIndexOf() method in TextUtils
135 return ((String) s).lastIndexOf(ch, last); in lastIndexOf()
137 return lastIndexOf(s, ch, 0, last); in lastIndexOf()
140 public static int lastIndexOf(CharSequence s, char ch, in lastIndexOf() method in TextUtils
/frameworks/base/core/java/android/provider/
DDrmStore.java110 int lastDot = title.lastIndexOf('.'); in addDrmFile()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java168 int index = title.lastIndexOf('.');
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DFileFilter.java306 int dotPos = relativePath.lastIndexOf('.'); in setPathEnding()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java279 return className.substring(0, className.lastIndexOf('.')); in parsePackageNameFromClassName()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java190 final int periodIndex = columnName.lastIndexOf('.'); in getColumnIndex()

123