Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaFile.java250 int lastDot = path.lastIndexOf('.'); in getFileTitle() local
251 if (lastDot > 0) { in getFileTitle()
252 path = path.substring(0, lastDot); in getFileTitle()
261 int lastDot = path.lastIndexOf('.'); in getFileExtension() local
262 if (lastDot >= 0) { in getFileExtension()
263 return path.substring(lastDot + 1); in getFileExtension()
DMediaScanner.java1907 int lastDot = path.lastIndexOf('.');
1908 name = (lastDot < 0 ? path.substring(lastSlash + 1)
1909 : path.substring(lastSlash + 1, lastDot));
/frameworks/native/cmds/servicemanager/
DServiceManager.cpp42 size_t lastDot = name.rfind('.', firstSlash); in isVintfDeclared() local
43 if (firstSlash == std::string::npos || lastDot == std::string::npos) { in isVintfDeclared()
48 const std::string package = name.substr(0, lastDot); in isVintfDeclared()
49 const std::string iface = name.substr(lastDot+1, firstSlash-lastDot-1); in isVintfDeclared()
/frameworks/base/core/java/android/os/
DFileUtils.java1131 final int lastDot = displayName.lastIndexOf('.'); in buildUniqueFile() local
1132 if (lastDot >= 0) { in buildUniqueFile()
1133 name = displayName.substring(0, lastDot); in buildUniqueFile()
1134 ext = displayName.substring(lastDot + 1); in buildUniqueFile()
1162 final int lastDot = displayName.lastIndexOf('.'); in splitFileName() local
1163 if (lastDot >= 0) { in splitFileName()
1164 name = displayName.substring(0, lastDot); in splitFileName()
1165 ext = displayName.substring(lastDot + 1); in splitFileName()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java454 final int lastDot = documentId.lastIndexOf('.'); in getDocumentType() local
455 if (lastDot >= 0) { in getDocumentType()
456 final String extension = documentId.substring(lastDot + 1).toLowerCase(); in getDocumentType()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageAbiHelperImpl.java114 final int lastDot = name.lastIndexOf('.'); in deriveCodePathName() local
115 return name.substring(0, lastDot); in deriveCodePathName()