Searched refs:lastSlash (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 325 const char* lastSlash = strrchr(fileName, '/'); in next() local 326 ALOG_ASSERT(lastSlash != NULL, "last slash was null somehow for %s\n", fileName); in next() 329 if (!strncmp(lastSlash + 1, GDBSERVER, GDBSERVER_LEN)) { in next() 330 mLastSlash = lastSlash; in next() 336 || strncmp(lastSlash, LIB_PREFIX, LIB_PREFIX_LEN)) { in next() 341 if (!isFilenameSafe(lastSlash + 1)) { in next() 345 mLastSlash = lastSlash; in next() 356 inline const char* lastSlash() const { in lastSlash() function in android::NativeLibrariesIterator 393 const char* lastSlash = it->lastSlash(); in iterateOverNativeFiles() local 397 const size_t cpuAbiRegionSize = lastSlash - cpuAbiOffset; in iterateOverNativeFiles() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaFile.java | 290 int lastSlash = path.lastIndexOf('/'); in getFileTitle() local 291 if (lastSlash >= 0) { in getFileTitle() 292 lastSlash++; in getFileTitle() 293 if (lastSlash < path.length()) { in getFileTitle() 294 path = path.substring(lastSlash); in getFileTitle()
|
D | MediaScanner.java | 832 int lastSlash = album.lastIndexOf('/'); 833 if (lastSlash >= 0) { 837 if (idx < 0 || idx >= lastSlash) { 843 album = album.substring(previousSlash + 1, lastSlash); 1390 int lastSlash = path.lastIndexOf('/'); 1391 if (lastSlash >= 0 && lastSlash + 2 < path.length()) { 1393 if (path.regionMatches(lastSlash + 1, "._", 0, 2)) { 1401 if (path.regionMatches(true, lastSlash + 1, "AlbumArt_{", 0, 10) || 1402 path.regionMatches(true, lastSlash + 1, "AlbumArt.", 0, 9)) { 1405 int length = path.length() - lastSlash - 1; [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 378 int lastSlash = name.lastIndexOf('/'); in endSendObject() local 379 if (lastSlash >= 0) { in endSendObject() 380 name = name.substring(lastSlash + 1); in endSendObject() 803 int lastSlash = path.lastIndexOf('/'); in renameFile() local 804 if (lastSlash <= 1) { in renameFile() 807 String newPath = path.substring(0, lastSlash + 1) + newName; in renameFile() 929 int lastSlash = path.lastIndexOf('/'); in getObjectInfo() local 930 int start = (lastSlash >= 0 ? lastSlash + 1 : 0); in getObjectInfo()
|
D | MtpPropertyGroup.java | 274 int lastSlash = path.lastIndexOf('/'); in nameFromPath() local 275 if (lastSlash >= 0) { in nameFromPath() 276 start = lastSlash + 1; in nameFromPath()
|
/frameworks/base/docs/html/distribute/tools/promote/ |
D | badges.jd | 180 var lastSlash = $(this).attr('src').lastIndexOf('/'); 181 var imgPath = $(this).attr('src').substring(0, lastSlash+1);
|