summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRuchir Rastogi <ruchirr@google.com>2019-10-02 12:04:33 -0700
committerRuchir Rastogi <ruchirr@google.com>2019-10-09 11:45:32 -0700
commit21a287bae8ce540b7af711a32599a4ac1f62c6ef (patch)
tree162e6217b362092a24ca39c5f49ec01caca0d183 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente335578418667f1dda6f468203670540ce7074fd (diff)
Refactor MetricActivation initialization
Specifically, MetricActivation state (mEventActivationMap and mEventDeactivationMap) is now passed into the MetricProducer constructor. This contrasts with the previous implementation in which activations were accounted for after the MetricProducer was constructed. Additionally, the code to prepare the first bucket has been moved into the constructor for gauge and value metrics. This last part resulted in the modification of some tests. Test: bit statsd_test:* Test: atest CtsStatsdHostTestCases (no additional tests fail) Bug: 131240626 Change-Id: I474ee8b1c51b187fbff4520deaf34b27e403bd14
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions