diff options
author | Yao Chen <yaochen@google.com> | 2018-02-26 14:21:54 -0800 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2018-02-28 16:57:03 -0800 |
commit | 580ea321b16c71ddec515553761d6f37359bd3a0 (patch) | |
tree | bbc7c757480eac4e3db44e6be7bd389cfc8369a0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | aec6950118319e93084f4c3d2ba6087e8f7e15df (diff) |
Add StateTracker.
StateTracker is a special condition tracker that's based on a state atom.
State atoms are annotated in atoms.proto.
The rules for StateTracker:
1. must not have "stop". must have "dimension"
2. must be based on a state atom.
3. it must have the all primary fields and the exclusive state field in its dimension.
For example UidProcessStateTracker, will have output dimension {uid, state}.
Test: unit tests added.
Change-Id: I6b77e58e9fabe61f7326daf929577d8b2cfbf27b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions