summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2017-12-07 15:45:33 +0000
committerNarayan Kamath <narayan@google.com>2017-12-20 15:13:09 +0000
commitf0202a953f61d8984bca088eb6cefa103fe828b5 (patch)
tree9456e8b1e2036227abd6fe1b7d7b0338978864a5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent26b71b8c8d0eacf057ea3842f21d14bbfa877954 (diff)
WorkSource: Add support for chaining attribution.
WorkSource objects now hold references to zero or more WorkChain objects, each of which represent a "chain" of attribution. This change also changes most WorkSource APIs to be able to deal with WorkChains. Several APIs do not necessarily make sense with WorkChains and have been left unmodified : - boolean diff(WorkSource): Does not account for WorkChains for now. This is a public API so we shouln't change it unless we decide to make WorkChains public. - setReturningDiffs(WorkSource): Used internally only, will be removed in a future change. - addReturningNewbs(WorkSource): Used for testing only, fill be removed in a future change. In addition, two new (hidden) APIs have been added to add and query WorkChains. These APIs have only been added to facilitate testing. They will most likely change when we add non-test users. Co-Authored-By: Yang Lu <yanglu@google.com> Test: WorkSourceTest Bug: 62390666 Change-Id: Iff361eb98e079c7b2146c092dc27a3618a813c94
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions