Home
last modified time | relevance | path

Searched refs:lastSlash (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp347 const char* lastSlash = strrchr(fileName, '/'); in next() local
348 ALOG_ASSERT(lastSlash != NULL, "last slash was null somehow for %s\n", fileName); in next()
351 if (!strncmp(lastSlash + 1, GDBSERVER, GDBSERVER_LEN)) { in next()
352 mLastSlash = lastSlash; in next()
358 || strncmp(lastSlash, LIB_PREFIX, LIB_PREFIX_LEN)) { in next()
363 if (!isFilenameSafe(lastSlash + 1)) { in next()
367 mLastSlash = lastSlash; in next()
378 inline const char* lastSlash() const { in lastSlash() function in android::NativeLibrariesIterator
415 const char* lastSlash = it->lastSlash(); in iterateOverNativeFiles() local
419 const size_t cpuAbiRegionSize = lastSlash - cpuAbiOffset; in iterateOverNativeFiles()
[all …]
/frameworks/base/media/java/android/media/
DMediaFile.java290 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()
DMediaScanner.java825 int lastSlash = album.lastIndexOf('/');
826 if (lastSlash >= 0) {
830 if (idx < 0 || idx >= lastSlash) {
836 album = album.substring(previousSlash + 1, lastSlash);
1383 int lastSlash = path.lastIndexOf('/');
1384 if (lastSlash >= 0 && lastSlash + 2 < path.length()) {
1386 if (path.regionMatches(lastSlash + 1, "._", 0, 2)) {
1394 if (path.regionMatches(true, lastSlash + 1, "AlbumArt_{", 0, 10) ||
1395 path.regionMatches(true, lastSlash + 1, "AlbumArt.", 0, 9)) {
1398 int length = path.length() - lastSlash - 1;
[all …]
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java381 int lastSlash = name.lastIndexOf('/'); in endSendObject() local
382 if (lastSlash >= 0) { in endSendObject()
383 name = name.substring(lastSlash + 1); in endSendObject()
772 int lastSlash = path.lastIndexOf('/'); in renameFile() local
773 if (lastSlash <= 1) { in renameFile()
776 String newPath = path.substring(0, lastSlash + 1) + newName; in renameFile()
898 int lastSlash = path.lastIndexOf('/'); in getObjectInfo() local
899 int start = (lastSlash >= 0 ? lastSlash + 1 : 0); in getObjectInfo()
DMtpPropertyGroup.java285 int lastSlash = path.lastIndexOf('/'); in nameFromPath() local
286 if (lastSlash >= 0) { in nameFromPath()
287 start = lastSlash + 1; in nameFromPath()
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Dbadges.jd161 var lastSlash = $(this).attr('src').lastIndexOf('/');
162 var imgPath = $(this).attr('src').substring(0, lastSlash+1);
/frameworks/base/docs/html/distribute/tools/promote/
Dbadges.jd180 var lastSlash = $(this).attr('src').lastIndexOf('/');
181 var imgPath = $(this).attr('src').substring(0, lastSlash+1);
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...