Home
last modified time | relevance | path

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

123

/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()
DJniUtil.java116 int mimeIndex = url.lastIndexOf('?'); in contentUrlSize()
157 int mimeIndex = url.lastIndexOf('?'); in contentUrlStream()
DURLUtil.java310 int index = filename.lastIndexOf('/') + 1; in guessFileName()
327 int index = decodedUrl.lastIndexOf('/') + 1; in guessFileName()
365 int lastDotIndex = filename.lastIndexOf('.'); in guessFileName()
/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()
/frameworks/base/media/java/android/media/
DMediaFile.java279 int lastDot = path.lastIndexOf("."); in getFileType()
294 int lastSlash = path.lastIndexOf('/'); in getFileTitle()
302 int lastDot = path.lastIndexOf('.'); in getFileTitle()
326 int lastDot = fileName.lastIndexOf('.'); in getFormatCode()
DMediaScanner.java832 int lastSlash = album.lastIndexOf('/');
1018 int pathFilenameStart = path.lastIndexOf(File.separatorChar) + 1;
1376 int lastSlash = path.lastIndexOf('/');
1515 int slash1 = path1.lastIndexOf('/', end1 - 1);
1516 int slash2 = path2.lastIndexOf('/', end2 - 1);
1517 int backSlash1 = path1.lastIndexOf('\\', end1 - 1);
1518 int backSlash2 = path2.lastIndexOf('\\', end2 - 1);
1746 int lastSlash = path.lastIndexOf('/');
1757 int lastDot = path.lastIndexOf('.');
/frameworks/base/core/java/com/android/internal/util/
DState.java71 int lastDollar = name.lastIndexOf('$'); in getName()
DFileRotator.java415 final int dotIndex = name.lastIndexOf('.'); in parse()
416 final int dashIndex = name.lastIndexOf('-'); in parse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatLog.java30 Rlog.d("CAT", className.substring(className.lastIndexOf('.') + 1) + ": " in d()
/frameworks/volley/src/com/android/volley/
DVolleyLog.java73 callingClass = callingClass.substring(callingClass.lastIndexOf('.') + 1); in buildMessage()
74 callingClass = callingClass.substring(callingClass.lastIndexOf('$') + 1); in buildMessage()
/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.java34 int end = simpleName.lastIndexOf('.'); in buildShortClassTag()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DColladaScene.java74 String rootDir = names[0].substring(0, names[0].lastIndexOf('/') + 1); in doInBackground()
106 String shortName = modelName.substring(0, modelName.lastIndexOf('.')); in onPostExecute()
DTexture2D.java78 String shortName = mFileName.substring(mFileName.lastIndexOf('/') + 1); in load()
DTextureCube.java79 String shortName = mFileName.substring(mFileName.lastIndexOf('/') + 1); in load()
/frameworks/opt/mms/src/java/com/google/android/mms/util/
DDownloadDrmHelper.java77 extensionIndex = filename.lastIndexOf("."); in modifyDrmFwLockFileExtension()
/frameworks/base/core/java/android/util/
DDebugUtils.java114 int end = simpleName.lastIndexOf('.'); in buildShortClassTag()
/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/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDelegateMethodAdapter2.java195 int slash = mClassName.lastIndexOf('/'); in generateDelegateCode()
196 int dol = mClassName.lastIndexOf('$'); in generateDelegateCode()
/frameworks/base/core/java/android/text/
DTextUtils.java134 public static int lastIndexOf(CharSequence s, char ch) { in lastIndexOf() method in TextUtils
135 return lastIndexOf(s, ch, s.length() - 1); in lastIndexOf()
138 public static int lastIndexOf(CharSequence s, char ch, int last) { in lastIndexOf() method in TextUtils
142 return ((String) s).lastIndexOf(ch, last); in lastIndexOf()
144 return lastIndexOf(s, ch, 0, last); in lastIndexOf()
147 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/core/java/android/database/sqlite/
DSQLiteCursor.java178 final int periodIndex = columnName.lastIndexOf('.'); in getColumnIndex()

123