Searched refs:aidl_scan_params (Results 1 – 2 of 2) sorted by relevance
83 bool convertAidlGscanParamsToLegacy(const StaBackgroundScanParameters& aidl_scan_params,
560 bool convertAidlGscanParamsToLegacy(const StaBackgroundScanParameters& aidl_scan_params, in convertAidlGscanParamsToLegacy() argument566 legacy_scan_params->base_period = aidl_scan_params.basePeriodInMs; in convertAidlGscanParamsToLegacy()567 legacy_scan_params->max_ap_per_scan = aidl_scan_params.maxApPerScan; in convertAidlGscanParamsToLegacy()568 legacy_scan_params->report_threshold_percent = aidl_scan_params.reportThresholdPercent; in convertAidlGscanParamsToLegacy()569 legacy_scan_params->report_threshold_num_scans = aidl_scan_params.reportThresholdNumScans; in convertAidlGscanParamsToLegacy()570 if (aidl_scan_params.buckets.size() > MAX_BUCKETS) { in convertAidlGscanParamsToLegacy()573 legacy_scan_params->num_buckets = aidl_scan_params.buckets.size(); in convertAidlGscanParamsToLegacy()574 for (uint32_t bucket_idx = 0; bucket_idx < aidl_scan_params.buckets.size(); bucket_idx++) { in convertAidlGscanParamsToLegacy()576 aidl_scan_params.buckets[bucket_idx]; in convertAidlGscanParamsToLegacy()