Searched refs:outputSize (Results 1 – 3 of 3) sorted by relevance
/system/chre/chpp/test/ |
D | wifi_convert_test.cpp | 57 size_t outputSize = 999; in validateScanEvent() local 61 chppWifiScanEventFromChre(&chreEvent, &chppWithHeader, &outputSize); in validateScanEvent() 68 EXPECT_EQ(outputSize, expectedSize); in validateScanEvent() 73 outputSize -= sizeof(struct ChppAppHeader); in validateScanEvent() 74 chreWifiScanEvent *backEvent = chppWifiScanEventToChre(chppEvent, outputSize); in validateScanEvent() 144 chreMalformed = chppWifiScanEventToChre(chppEvent, outputSize - 1); in validateScanEvent() 153 size_t outputSize = 999; in validateScanParams() local 157 chppWifiScanParamsFromChre(&chreParams, &chppWithHeader, &outputSize); in validateScanParams() 164 EXPECT_EQ(outputSize, expectedSize); in validateScanParams() 169 outputSize -= sizeof(struct ChppAppHeader); in validateScanParams() [all …]
|
D | wwan_convert_test.cpp | 201 size_t outputSize = 999; in TEST() local 203 chppWwanCellInfoResultFromChre(&chreResult, &chppWithHeader, &outputSize); in TEST() 206 EXPECT_EQ(outputSize, sizeof(ChppWwanCellInfoResultWithHeader)); in TEST() 231 size_t outputSize = sizeof(struct ChppWwanCellInfoResult); in TEST() local 233 chppWwanCellInfoResultToChre(&chpp, outputSize); in TEST() 244 chppWwanCellInfoResultToChre(&chpp, outputSize - 1); in TEST() 252 size_t outputSize = 999; in TEST() local 254 &chppWithHeader, &outputSize); in TEST() 257 EXPECT_EQ(outputSize, sizeof(ChppWwanCellInfoResultWithHeader) + in TEST() 276 size_t outputSize; in TEST() local [all …]
|
/system/chre/chpp/test/fuzz/ |
D | chpp_wifi_scan_param_fuzzer.cpp | 48 size_t outputSize = 999; in LLVMFuzzerTestOneInput() local 49 chppWifiScanParamsFromChre(¶ms, &chppWithHeader, &outputSize); in LLVMFuzzerTestOneInput() 51 outputSize -= sizeof(struct ChppAppHeader); in LLVMFuzzerTestOneInput() 53 chppWifiScanParamsToChre(chppParams, outputSize); in LLVMFuzzerTestOneInput()
|