diff options
author | Badhri Jagan Sridharan <badhri@google.com> | 2019-01-16 09:37:26 -0800 |
---|---|---|
committer | Badhri Jagan Sridharan <badhri@google.com> | 2019-01-23 10:43:15 -0800 |
commit | 34d358c388ce1996e4dcc7167f909ace9dc22b1f (patch) | |
tree | 7ce891f9cf89f56cb18c35515beffe68bddc0d38 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | cd9a661c9b1d5acf59e2603b8d299765882144ed (diff) |
Add test commands to spoof presence of contaminants
This CL simulates contaminant presence through simulated port.
1. Add a port: dumpsys usb add-port "matrix" ufp
2. Set contaminant presence to true: dumpsys usb set-contaminant-status "matrix" true
3. Set contaminant presence to false: dumpsys usb set-contaminant-status "matrix" false
Bug: 119642987
Bug: 117330206
Bug: 77606903
Test: Made sure that dumpsys usb reflected the correct contaminant
status.
Change-Id: Iadb0ea92db65afdb25dbd32c02d9fb778bd4ec8c
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions