bluetooth: fuzzer: Add a connect and getPrimaryServices tokens
* Adds the catch token. This increases the likelihood of generating valid test
cases since the test cases will no longer immediately fail.
* Adds connect and getPrimaryServices tokens.
* Introduce the concept of "base" tokens. After adding the connect and
getPrimaryServices tokens the chances of generating valid test cases decreased
dramatically (0.29% of producing a test case which tried to retrieve services).
Base tokens increase the likelihood of generating valid test cases by starting
a test with a known valid sequence of operations.
* Also changes fakes to default to connection error. Otherwise they would just drop
connect calls causing crashes.
BUG=570049
Review-Url: https://codereview.chromium.org/2178853006
Cr-Commit-Position: refs/heads/master@{#408034}
7 files changed