This document lays out the main responsibilities of the modules within the USB Policy codebase. It is not intended to capture all nuances of the modules' behaviors, but rather provide an orientation to the layout.
Note: module names (e.g. Controller) are capitalized throughout for clarity.
Implemented in: main.rs
Responsibilities:
The situations below illustrate how the modules cooperate to handle common scenarios. Similar to above, these situations aren't intended to capture every nuance of behavior.
TODO: b/496345275 - Add examples of data flow in common situations