diff options
author | Andrew Lehmer <alehmer@google.com> | 2019-08-02 14:01:57 -0700 |
---|---|---|
committer | Anthony Stange <stange@google.com> | 2019-10-31 13:18:58 +0000 |
commit | 06480bc24da018ddf8d119cb545872173c5026ef (patch) | |
tree | f28dbeab3a4833d6b5e8d13bd00bcda4cb05708c /identity/support/src/cppbor_parse.cpp | |
parent | 250fd5c8f15152d7590f485bdde1cde2b40f2396 (diff) |
Fix assumptions in SensorsHidlTest.NoStaleEvents
This test was making a couple of false assumptions which were causing it
to fail. The fixes are related to the following assertions:
1. One-shot sensors do not report an initial event.
2. Special sensors may not report an initial event.
2. Some on-change sensors may not report an initial event.
The test now only checks for a stale event if the sensor reports an
initial event consistently.
Bug: 138758242
Test: run VtsHalSensorsV2_0TargetTest
Change-Id: I83f0cb2f6e878244f3d94ae77f64bb8ed2f78e0b
Merged-In: I83f0cb2f6e878244f3d94ae77f64bb8ed2f78e0b
(cherry picked from commit d8b212ec3e70b47e8b352a9d4abb7840403b4f2b)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions