Home
last modified time | relevance | path

Searched refs:lastDot (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaFile.java278 int lastDot = path.lastIndexOf("."); in getFileType() local
279 if (lastDot < 0) in getFileType()
281 return sFileTypeMap.get(path.substring(lastDot + 1).toUpperCase()); in getFileType()
301 int lastDot = path.lastIndexOf('.'); in getFileTitle() local
302 if (lastDot > 0) { in getFileTitle()
303 path = path.substring(0, lastDot); in getFileTitle()
325 int lastDot = fileName.lastIndexOf('.'); in getFormatCode() local
326 if (lastDot > 0) { in getFormatCode()
327 String extension = fileName.substring(lastDot + 1); in getFormatCode()
DMediaScanner.java1731 int lastDot = path.lastIndexOf('.');
1732 name = (lastDot < 0 ? path.substring(lastSlash + 1)
1733 : path.substring(lastSlash + 1, lastDot));
/frameworks/base/core/java/android/provider/
DDrmStore.java110 int lastDot = title.lastIndexOf('.'); in addDrmFile() local
111 if (lastDot > 0) { in addDrmFile()
112 title = title.substring(0, lastDot); in addDrmFile()
/frameworks/native/libs/utils/
DString8.cpp538 const char* lastDot; in find_extension() local
550 lastDot = strrchr(lastSlash, '.'); in find_extension()
551 if (lastDot == NULL) in find_extension()
555 return const_cast<char*>(lastDot); in find_extension()