summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorAnthony Stange <stange@google.com>2019-08-02 13:11:39 -0400
committerAnthony Stange <stange@google.com>2019-08-26 10:01:41 -0400
commit5a1ad93a38cbd1e5c887489ed70596ba53837469 (patch)
treeda0b38a52f8e1fc229be4786b522e6abf7f63713 /identity/support/src/cppbor_parse.cpp
parentc63bb80929291e1ab208f2fa358c8f2c47747045 (diff)
Change expected return type in direct report VTS
If a sensor doesn't support a particular memory type for direct reporting, then registerChannel will return an invalid channel handle. When this handle is used in configureDirectReport, it will return BAD_VALUE and when used in unregisterDirectReport, it will return OK. Currently, the VTS tests assert it will return INVALID_OPERATION, but that will only happen if the entire HAL doesn't support direct reporting instead of a single sensor not supporting a certain memory type. Bug: 138758242 Test: Run VTS and verify DirectChannel* tests now pass Change-Id: Ifba4262b68ec0c4ca6921dad40a03e0a52088d28 Merged-In: Ifba4262b68ec0c4ca6921dad40a03e0a52088d28 (cherry picked from commit 4bdd8fc7749db53f477533d01c1234e60afa70a8)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions