Home
last modified time | relevance | path

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

/system/chre/util/include/chre/util/system/
Dwifi_util.h32 legacyParams.frequencyList = params->frequencyList; in translateToLegacyWifiScanParams()
/system/chre/chpp/common/
Dwifi_convert.c156 out->frequencyList.length = in->frequencyListLen * sizeof(uint32_t); in chppWifiConvertScanParamsFromChre()
157 CHPP_ASSERT((size_t)(*vlaOffset + out->frequencyList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
158 if (out->frequencyList.length > 0 && in chppWifiConvertScanParamsFromChre()
159 *vlaOffset + out->frequencyList.length <= payloadSize) { in chppWifiConvertScanParamsFromChre()
160 memcpy(&payload[*vlaOffset], in->frequencyList, in chppWifiConvertScanParamsFromChre()
162 out->frequencyList.offset = *vlaOffset; in chppWifiConvertScanParamsFromChre()
163 *vlaOffset += out->frequencyList.length; in chppWifiConvertScanParamsFromChre()
165 out->frequencyList.offset = 0; in chppWifiConvertScanParamsFromChre()
449 if (in->frequencyList.length == 0) { in chppWifiConvertScanParamsToChre()
450 out->frequencyList = NULL; in chppWifiConvertScanParamsToChre()
[all …]
/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()
476 .frequencyList = freqList, in TEST()
496 .frequencyList = nullptr, in TEST()
[all …]
/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/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/chpp/services/
Dwifi.c432 void *frequencyList = CHPP_CONST_CAST_POINTER(chre->frequencyList); in chppWifiServiceRequestScanAsync() local
433 CHPP_FREE_AND_NULLIFY(frequencyList); in chppWifiServiceRequestScanAsync()
/system/chre/chpp/include/chpp/common/
Dwifi_types.h142 struct ChppOffset frequencyList; // References frequencyListLen instances of member
/system/chre/chre_api/legacy/v1_3/chre/
Dwifi.h389 const uint32_t *frequencyList; member
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h389 const uint32_t *frequencyList; member
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h439 const uint32_t *frequencyList; member
/system/chre/chre_api/legacy/v1_4/chre/
Dwifi.h389 const uint32_t *frequencyList; member
/system/chre/pal/util/tests/
Dwifi_scan_cache_test.cc204 .frequencyList = nullptr, in testCacheDispatch()