Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/slice/
DSliceClientPermissions.java271 final int prefixSize = prefix.length; in isPathPrefixMatch() local
272 if (path.length < prefixSize) return false; in isPathPrefixMatch()
274 for (int i = 0; i < prefixSize; i++) { in isPathPrefixMatch()
/frameworks/base/tools/aapt/
DXMLNode.cpp71 size_t prefixSize; in getNamespaceResourcePackage() local
81 prefixSize = RESOURCES_PREFIX.size(); in getNamespaceResourcePackage()
84 prefixSize = RESOURCES_PRV_PREFIX.size(); in getNamespaceResourcePackage()
93 return String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize); in getNamespaceResourcePackage()
/frameworks/base/core/java/android/net/
DUri.java2431 final int prefixSize = prefixSeg.size(); in isPathPrefixMatch() local
2432 if (seg.size() < prefixSize) return false; in isPathPrefixMatch()
2434 for (int i = 0; i < prefixSize; i++) { in isPathPrefixMatch()
/frameworks/base/services/incremental/
DIncrementalService.cpp178 const auto prefixSize = mountKey.size(); in makeMountDir() local
180 mountKey.resize(prefixSize), base::StringAppendF(&mountKey, "%d", counter++)) { in makeMountDir()
226 const auto prefixSize = prefix.size(); in makeUniqueName() local
227 name.reserve(prefixSize + uuidStringSize); in makeUniqueName()
230 name.resize(prefixSize + uuidStringSize); in makeUniqueName()
231 uuid_unparse(guid, name.data() + prefixSize); in makeUniqueName()