summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Dmitri Plotnikov <dplotnikov@google.com> 2022-01-19 15:52:19 -0800
committer Dmitri Plotnikov <dplotnikov@google.com> 2022-01-19 18:20:29 -0800
commitbb925fb03422332b3f8fdcc5519a0b85ced0be7a (patch)
tree75c731245926d351931abbbfed861c9f2fd2a6c2 /libs/androidfw/StringPool.cpp
parent2f473a976725ff8b5111d6f0cf8a3aabadae460e (diff)
Add SparseLongArray.incrementValue()
This method is used for accumulation of long values: if the key does not exist, one is created. If one already exists, the passed value is added to the previous value. This method is similar to the existing SparseDoubleArray.incrementValue() method Bug: 215427055 Test: atest FrameworksCoreTests:SparseLongArrayTest Change-Id: I771d9bc2bdd12ca4260b20186ced70f5862b6f56
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions