summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorAndrew Lehmer <alehmer@google.com>2019-08-02 14:01:57 -0700
committerAndrew Lehmer <alehmer@google.com>2019-08-23 14:45:09 +0000
commitbf23abb7455376f2a0f6c65b7de2b3ff35ac39bc (patch)
tree596c6c5cac4e8423fb980a99e1b837602786de28 /identity/support/src/cppbor_parse.cpp
parenta54bf6ed5a011a7261124fbe19a011f9c75cc133 (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: ran on C2 DVT; only fails due to an improperly configured sensor 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