Home
last modified time | relevance | path

Searched refs:scan_filter (Results 1 – 10 of 10) sorted by relevance

/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
Dnearby_extension.c49 const struct chreBleScanFilter *scan_filter, in chrexNearbySetExtendedFilterConfig() argument
52 if (scan_filter == NULL || in chrexNearbySetExtendedFilterConfig()
53 scan_filter->scanFilterCount > MAX_GENERIC_FILTER_COUNT) { in chrexNearbySetExtendedFilterConfig()
63 HW_SCAN_FILTER.rssi_threshold = scan_filter->rssiThreshold; in chrexNearbySetExtendedFilterConfig()
64 HW_SCAN_FILTER.scan_filter_count = scan_filter->scanFilterCount; in chrexNearbySetExtendedFilterConfig()
66 if (scan_filter->scanFilters[i].len > CHRE_BLE_DATA_LEN_MAX) { in chrexNearbySetExtendedFilterConfig()
68 scan_filter->scanFilters[i].len); in chrexNearbySetExtendedFilterConfig()
71 HW_SCAN_FILTER.scan_filters[i].type = scan_filter->scanFilters[i].type; in chrexNearbySetExtendedFilterConfig()
72 HW_SCAN_FILTER.scan_filters[i].len = scan_filter->scanFilters[i].len; in chrexNearbySetExtendedFilterConfig()
74 scan_filter->scanFilters[i].data, in chrexNearbySetExtendedFilterConfig()
[all …]
Dble_scanner.cc228 chreBleScanFilter scan_filter;
229 memset(&scan_filter, 0, sizeof(scan_filter));
230 scan_filter.rssiThreshold = CHRE_BLE_RSSI_THRESHOLD_NONE;
231 scan_filter.scanFilters = generic_filters.data();
232 scan_filter.scanFilterCount = static_cast<uint8_t>(generic_filters.size());
233 if (chreBleStartScanAsync(scan_mode_, report_delay_ms_, &scan_filter)) {
Dnearby_extension_support_lib.cc46 const struct chreBleScanFilter *scan_filter, in chrexNearbySetExtendedFilterConfig() argument
51 ? fptr(host_info, scan_filter, config, vendorStatusCode) in chrexNearbySetExtendedFilterConfig()
Dfilter_extension.cc52 chreBleScanFilter scan_filter; in Update() local
53 scan_filter.rssiThreshold = CHRE_BLE_RSSI_THRESHOLD_NONE; in Update()
54 scan_filter.scanFilterCount = static_cast<uint8_t>(generic_filters->size()); in Update()
55 scan_filter.scanFilters = generic_filters->data(); in Update()
63 chrexNearbySetExtendedFilterConfig(&host.host_info, &scan_filter, &config, in Update()
Dnearby_extension.h78 const struct chreBleScanFilter *scan_filter,
/system/chre/apps/wifi_offload/
Dscan_config.cc38 fbs_config.scan_filter() == nullptr) { in Deserialize()
44 scan_filter_.Deserialize(*fbs_config.scan_filter()); in Deserialize()
Dwifi_offload.mk23 COMMON_SRCS += $(WIFI_OFFLOAD_TYPES_PREFIX)/scan_filter.cc
DAndroid.bp38 "scan_filter.cc",
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/
Dflatbuffers_types_generated.h478 const wifi_offload::fbs::ScanFilter *scan_filter() const { in scan_filter() function
486 verifier.VerifyTable(scan_filter()) && in Verify()
498 void add_scan_filter(flatbuffers::Offset<wifi_offload::fbs::ScanFilter> scan_filter) { in add_scan_filter()
499 fbb_.AddOffset(ScanConfig::VT_SCAN_FILTER, scan_filter); in add_scan_filter()
516 flatbuffers::Offset<wifi_offload::fbs::ScanFilter> scan_filter = 0) {
518 builder_.add_scan_filter(scan_filter);
Dflatbuffers_types.fbs78 scan_filter:ScanFilter;