Searched refs:lastSlash (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 340 const char* lastSlash = strrchr(fileName, '/'); in next() local 341 ALOG_ASSERT(lastSlash != NULL, "last slash was null somehow for %s\n", fileName); in next() 344 if (*(lastSlash + 1) == 0) { in next() 349 if (!isFilenameSafe(lastSlash + 1)) { in next() 356 || strncmp(lastSlash, LIB_PREFIX, LIB_PREFIX_LEN)) { in next() 361 mLastSlash = lastSlash; in next() 372 inline const char* lastSlash() const { in lastSlash() function in android::NativeLibrariesIterator 411 const char* lastSlash = it->lastSlash(); in iterateOverNativeFiles() local 415 const size_t cpuAbiRegionSize = lastSlash - cpuAbiOffset; in iterateOverNativeFiles() 418 install_status_t ret = callFunc(env, callArg, zipFile, entry, lastSlash + 1); in iterateOverNativeFiles() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaFile.java | 242 int lastSlash = path.lastIndexOf('/'); in getFileTitle() local 243 if (lastSlash >= 0) { in getFileTitle() 244 lastSlash++; in getFileTitle() 245 if (lastSlash < path.length()) { in getFileTitle() 246 path = path.substring(lastSlash); in getFileTitle()
|
D | MediaScanner.java | 990 int lastSlash = album.lastIndexOf('/'); 991 if (lastSlash >= 0) { 995 if (idx < 0 || idx >= lastSlash) { 1001 album = album.substring(previousSlash + 1, lastSlash); 1491 int lastSlash = path.lastIndexOf('/'); 1492 if (lastSlash >= 0 && lastSlash + 2 < path.length()) { 1494 if (path.regionMatches(lastSlash + 1, "._", 0, 2)) { 1502 if (path.regionMatches(true, lastSlash + 1, "AlbumArt_{", 0, 10) || 1503 path.regionMatches(true, lastSlash + 1, "AlbumArt.", 0, 9)) { 1506 int length = path.length() - lastSlash - 1; [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CompilerStats.java | 104 int lastSlash = codePath.lastIndexOf(File.separatorChar); in getStoredPathFromCodePath() local 105 return codePath.substring(lastSlash + 1); in getStoredPathFromCodePath()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsDownloadReceiver.java | 478 int lastSlash = sourceUriPath.lastIndexOf('/'); in getFileRelativePath() local 479 sourceUriPath = sourceUriPath.substring(0, lastSlash); in getFileRelativePath()
|