Home
last modified time | relevance | path

Searched refs:frequencyList (Results 1 – 20 of 20) sorted by relevance

/system/chre/chpp/test/fuzz/
Dchpp_wifi_scan_param_fuzzer.cpp32 std::vector<uint8_t> frequencyList = fdp.ConsumeBytes<uint8_t>( in LLVMFuzzerTestOneInput() local
34 params.frequencyList = reinterpret_cast<uint32_t *>(frequencyList.data()); in LLVMFuzzerTestOneInput()
35 params.frequencyListLen = frequencyList.size() / sizeof(uint32_t); in LLVMFuzzerTestOneInput()
57 chppFree(const_cast<uint32_t *>(backParams->frequencyList)); in LLVMFuzzerTestOneInput()
/system/chre/util/include/chre/util/system/
Dwifi_util.h32 legacyParams.frequencyList = params->frequencyList; in translateToLegacyWifiScanParams()
/system/chre/apps/wifi_offload/
Dchre_scan_params_safe.cc26 chre_scan_params_.frequencyList = chre_scan_params_frequencies_; in ChreScanParamsSafe()
42 LOGI(" frequency: %" PRIu32, chre_scan_params_.frequencyList[i]); in Log()
/system/chre/chpp/test/
Dwifi_convert_test.cpp190 EXPECT_EQ(chppParams->frequencyList.offset, baseOffset); in validateScanParams()
191 EXPECT_EQ(chppParams->frequencyList.length, in validateScanParams()
193 baseOffset += chppParams->frequencyList.length; in validateScanParams()
196 ((const uint8_t *)chppParams + chppParams->frequencyList.offset); in validateScanParams()
202 EXPECT_EQ(currScannedFreq, chreParams.frequencyList[i]); in validateScanParams()
203 EXPECT_EQ(currScannedFreq, backParams->frequencyList[i]); in validateScanParams()
206 EXPECT_EQ(chppParams->frequencyList.offset, 0); in validateScanParams()
207 EXPECT_EQ(chppParams->frequencyList.length, 0); in validateScanParams()
612 .frequencyList = freqList, in TEST()
632 .frequencyList = nullptr, in TEST()
[all …]
/system/chre/chpp/common/
Dwifi_convert.c182 out->frequencyList.length = in chppWifiConvertScanParamsFromChre()
184 CHPP_ASSERT((size_t)(*vlaOffset + out->frequencyList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
185 if (out->frequencyList.length > 0 && in chppWifiConvertScanParamsFromChre()
186 *vlaOffset + out->frequencyList.length <= payloadSize) { in chppWifiConvertScanParamsFromChre()
187 memcpy(&payload[*vlaOffset], in->frequencyList, in chppWifiConvertScanParamsFromChre()
189 out->frequencyList.offset = *vlaOffset; in chppWifiConvertScanParamsFromChre()
190 *vlaOffset += out->frequencyList.length; in chppWifiConvertScanParamsFromChre()
192 out->frequencyList.offset = 0; in chppWifiConvertScanParamsFromChre()
654 if (in->frequencyList.length == 0) { in chppWifiConvertScanParamsToChre()
655 out->frequencyList = NULL; in chppWifiConvertScanParamsToChre()
[all …]
/system/chre/apps/wifi_offload/test/
Dchrescanparamssafe_test.cc51 chre_scan_params->frequencyList, in ConstructChreScanParamsSafeAndCompareWithOrigScanParams()
/system/chre/chre_api/legacy/v1_1/chre/
Dwifi.h266 const uint32_t *frequencyList; member
/system/chre/pal/util/
Dwifi_scan_cache.c76 static bool isFrequencyListValid(const uint32_t *frequencyList, in isFrequencyListValid() argument
78 return (frequencyListLen == 0) || (frequencyList != NULL); in isFrequencyListValid()
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h389 const uint32_t *frequencyList; member
/system/chre/chre_api/legacy/v1_4/chre/
Dwifi.h389 const uint32_t *frequencyList; member
/system/chre/chre_api/legacy/v1_5/chre/
Dwifi.h439 const uint32_t *frequencyList; member
/system/chre/chre_api/legacy/v1_3/chre/
Dwifi.h389 const uint32_t *frequencyList; member
/system/chre/chpp/include/chpp/common/
Dwifi_types.h182 struct ChppOffset frequencyList; // References frequencyListLen instances of member
/system/chre/chpp/services/
Dwifi.c484 void *frequencyList = CHPP_CONST_CAST_POINTER(chre->frequencyList); in chppWifiServiceRequestScanAsync() local
485 CHPP_FREE_AND_NULLIFY(frequencyList); in chppWifiServiceRequestScanAsync()
/system/chre/chre_api/legacy/v1_8/chre/
Dwifi.h509 const uint32_t *frequencyList; member
/system/chre/chre_api/legacy/v1_6/chre/
Dwifi.h509 const uint32_t *frequencyList; member
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h514 const uint32_t *frequencyList; member
/system/chre/chre_api/legacy/v1_7/chre/
Dwifi.h509 const uint32_t *frequencyList; member
/system/chre/chre_api/legacy/v1_9/chre/
Dwifi.h512 const uint32_t *frequencyList; member
/system/chre/pal/util/tests/
Dwifi_scan_cache_test.cc204 .frequencyList = nullptr, in testCacheDispatch()