MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / add

Method add

tools/aapt/StringPool.cpp:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109ssize_t StringPool::add(const String16& value, const Vector<entry_style_span>& spans,
110 const String8* configTypeName, const ResTable_config* config)
111{
112 ssize_t res = add(value, false, configTypeName, config);
113 if (res >= 0) {
114 addStyleSpans(res, spans);
115 }
116 return res;
117}
118
119ssize_t StringPool::add(const String16& value,
120 bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config)

Callers

nothing calls this directly

Calls 9

entryClass · 0.85
stringMethod · 0.80
compareLogicalMethod · 0.80
addMethod · 0.65
sizeMethod · 0.65
indexOfKeyMethod · 0.45
valueAtMethod · 0.45
toStringMethod · 0.45
insertAtMethod · 0.45

Tested by

no test coverage detected