summaryrefslogtreecommitdiff
path: root/native/android/performance_hint.cpp
AgeCommit message (Collapse)Author
2021-07-26ADPF: Handle preferred interval on unsupported deviceBo Liu
The original java implementation just passed along whatever the server returns which is -1 on unsupported devices. So do that here as well. Test: PerformanceHintManagerTest passes on unsupported device Bug: 194691581 Change-Id: I8ac07737e6ce52debf55478880d71f038f258056
2021-07-22Implement native PerformanceHint APIBo Liu
Test: atest PerformanceHintNativeTestCases Bug: 194204196 Change-Id: Ie26e25e9ecf87046df92346dff54174934a8c73e