Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp344 const char* lastSlash = strrchr(fileName, '/'); in next() local
345 ALOG_ASSERT(lastSlash != NULL, "last slash was null somehow for %s\n", fileName); in next()
348 if (*(lastSlash + 1) == 0) { in next()
353 if (!isFilenameSafe(lastSlash + 1)) { in next()
360 || strncmp(lastSlash, LIB_PREFIX, LIB_PREFIX_LEN)) { in next()
365 mLastSlash = lastSlash; in next()
376 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()
422 install_status_t ret = callFunc(env, callArg, zipFile, entry, lastSlash + 1); in iterateOverNativeFiles()
[all …]
/frameworks/base/media/java/android/media/
DMediaFile.java329 int lastSlash = path.lastIndexOf('/'); in getFileTitle() local
330 if (lastSlash >= 0) { in getFileTitle()
331 lastSlash++; in getFileTitle()
332 if (lastSlash < path.length()) { in getFileTitle()
333 path = path.substring(lastSlash); in getFileTitle()
DMediaScanner.java922 int lastSlash = album.lastIndexOf('/');
923 if (lastSlash >= 0) {
927 if (idx < 0 || idx >= lastSlash) {
933 album = album.substring(previousSlash + 1, lastSlash);
1466 int lastSlash = path.lastIndexOf('/');
1467 if (lastSlash >= 0 && lastSlash + 2 < path.length()) {
1469 if (path.regionMatches(lastSlash + 1, "._", 0, 2)) {
1477 if (path.regionMatches(true, lastSlash + 1, "AlbumArt_{", 0, 10) ||
1478 path.regionMatches(true, lastSlash + 1, "AlbumArt.", 0, 9)) {
1481 int length = path.length() - lastSlash - 1;
[all …]
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java392 int lastSlash = name.lastIndexOf('/'); in endSendObject() local
393 if (lastSlash >= 0) { in endSendObject()
394 name = name.substring(lastSlash + 1); in endSendObject()
785 int lastSlash = path.lastIndexOf('/'); in renameFile() local
786 if (lastSlash <= 1) { in renameFile()
789 String newPath = path.substring(0, lastSlash + 1) + newName; in renameFile()
915 int lastSlash = path.lastIndexOf('/'); in getObjectInfo() local
916 int start = (lastSlash >= 0 ? lastSlash + 1 : 0); in getObjectInfo()
DMtpPropertyGroup.java283 int lastSlash = path.lastIndexOf('/'); in nameFromPath() local
284 if (lastSlash >= 0) { in nameFromPath()
285 start = lastSlash + 1; in nameFromPath()
/frameworks/base/services/core/java/com/android/server/pm/
DCompilerStats.java104 int lastSlash = codePath.lastIndexOf(File.separatorChar); in getStoredPathFromCodePath() local
105 return codePath.substring(lastSlash + 1); in getStoredPathFromCodePath()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...