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/services/incremental/
DIncrementalService.cpp119 const auto prefixSize = mountKey.size(); in makeMountDir() local
121 mountKey.resize(prefixSize), base::StringAppendF(&mountKey, "%d", counter++)) { in makeMountDir()
167 const auto prefixSize = constants().mountpointMdPrefix.size(); in makeBindMdName() local
168 name.reserve(prefixSize + uuidStringSize); in makeBindMdName()
171 name.resize(prefixSize + uuidStringSize); in makeBindMdName()
172 uuid_unparse(guid, name.data() + prefixSize); in makeBindMdName()
/frameworks/base/core/java/android/net/
DUri.java2420 final int prefixSize = prefixSeg.size(); in isPathPrefixMatch() local
2421 if (seg.size() < prefixSize) return false; in isPathPrefixMatch()
2423 for (int i = 0; i < prefixSize; i++) { in isPathPrefixMatch()