Module scan

Module scan 

Source
Expand description

Manages Scan requests for the Client Policy API.

Structs§

LocationSensorUpdater
The location sensor module uses scan results to help determine the device’s location, for use by the Emergency Location Provider.
ScanRequester

Enums§

ApiScanRequest
ScanReason

Constants§

SCAN_REQUEST_BUFFER_SIZE
Capacity of “first come, first serve” slots available to scan requesters

Traits§

ScanRequestApi
ScanResultUpdate
Allows for consumption of updated scan results.

Functions§

scan_result_to_policy_scan_result
send_scan_error_over_fidl
On the next request for results, send an error to the output iterator and shut it down.
send_scan_results_over_fidl
Send batches of results to the output iterator when getNext() is called on it. Send empty batch and close the channel when no results are remaining.
serve_scanning_loop
Create a future representing the scan manager loop.