MCPcopy Create free account
hub / github.com/google/gapid / decodeString

Method decodeString

core/os/android/binaryxml/xml_tree.go:116–123  ·  view source on GitHub ↗
(r binary.Reader)

Source from the content-addressed store, hash-verified

114}
115
116func (c *xmlTree) decodeString(r binary.Reader) stringPoolRef {
117 idx := r.Uint32()
118 if idx != missingString {
119 return stringPoolRef{c.strings, idx}
120 }
121 return stringPoolRef{nil, idx}
122
123}
124
125// ensureAttributeMapsToResource finds a name mapping to the given resource id.
126// If such a name does not exist, it is added to the string pool after the last

Callers 7

decodeMethod · 0.80
decodeValueFunction · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80
decodeMethod · 0.80

Calls 1

Uint32Method · 0.65

Tested by

no test coverage detected