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.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.java311 int index = filename.lastIndexOf('/') + 1; in guessFileName()
328 int index = decodedUrl.lastIndexOf('/') + 1; in guessFileName()
366 int lastDotIndex = filename.lastIndexOf('.'); in guessFileName()
/frameworks/base/media/java/android/media/
DMediaFile.java280 int lastDot = path.lastIndexOf('.'); in getFileType()
295 int lastSlash = path.lastIndexOf('/'); in getFileTitle()
303 int lastDot = path.lastIndexOf('.'); in getFileTitle()
327 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/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/volley/src/com/android/volley/
DVolleyLog.java89 callingClass = callingClass.substring(callingClass.lastIndexOf('.') + 1); in buildMessage()
90 callingClass = callingClass.substring(callingClass.lastIndexOf('$') + 1); in buildMessage()
/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.java115 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.java136 public static int lastIndexOf(CharSequence s, char ch) { in lastIndexOf() method in TextUtils
137 return lastIndexOf(s, ch, s.length() - 1); in lastIndexOf()
140 public static int lastIndexOf(CharSequence s, char ch, int last) { in lastIndexOf() method in TextUtils
144 return ((String) s).lastIndexOf(ch, last); in lastIndexOf()
146 return lastIndexOf(s, ch, 0, last); in lastIndexOf()
149 public static int lastIndexOf(CharSequence s, char ch, in lastIndexOf() method in TextUtils
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java271 int indexOfDot = caller.getClassName().lastIndexOf('.'); in getCaller()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java168 int index = title.lastIndexOf('.');
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java178 final int periodIndex = columnName.lastIndexOf('.'); in getColumnIndex()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java313 int lastSlash = name.lastIndexOf('/'); in endSendObject()
732 int lastSlash = path.lastIndexOf('/'); in renameFile()
856 int lastSlash = path.lastIndexOf('/'); in getObjectInfo()
960 String parentPath = path.substring(0, path.lastIndexOf("/")); in deleteFile()

123