Lines Matching refs:cached_results
1348 mGetCachedResultsRspParams->cached_results, in handleResponse()
1382 wifi_cached_scan_results *cached_results, in gscan_get_cached_results() argument
1413 cached_results[i].scan_id = in gscan_get_cached_results()
1428 cached_results[i].flags = in gscan_get_cached_results()
1437 cached_results[i].buckets_scanned = nla_get_u32( in gscan_get_cached_results()
1455 cached_results[i].scan_id) { in gscan_get_cached_results()
1457 cached_results[i].num_results = 0; in gscan_get_cached_results()
1462 cached_results[i].scan_id, j, numScanResults); in gscan_get_cached_results()
1464 cached_results[i].scan_id; in gscan_get_cached_results()
1474 cached_results[i].scan_id, j, numScanResults); in gscan_get_cached_results()
1478 cached_results[i].scan_id); in gscan_get_cached_results()
1480 cached_results[i].flags); in gscan_get_cached_results()
1504 cached_results[i].results[j].ts = in gscan_get_cached_results()
1522 sizeof(cached_results[i].results[j].ssid) <= len ? in gscan_get_cached_results()
1523 sizeof(cached_results[i].results[j].ssid) : len; in gscan_get_cached_results()
1524 memcpy((void *)&cached_results[i].results[j].ssid, in gscan_get_cached_results()
1543 sizeof(cached_results[i].results[j].bssid) <= len ? in gscan_get_cached_results()
1544 sizeof(cached_results[i].results[j].bssid) : len; in gscan_get_cached_results()
1545 memcpy(&cached_results[i].results[j].bssid, in gscan_get_cached_results()
1560 cached_results[i].results[j].channel = in gscan_get_cached_results()
1573 cached_results[i].results[j].rssi = in gscan_get_cached_results()
1586 cached_results[i].results[j].rtt = in gscan_get_cached_results()
1599 cached_results[i].results[j].rtt_sd = in gscan_get_cached_results()
1605 cached_results[i].results[j].ts); in gscan_get_cached_results()
1607 cached_results[i].results[j].ssid); in gscan_get_cached_results()
1609 __FUNCTION__, cached_results[i].results[j].bssid[0], in gscan_get_cached_results()
1610 cached_results[i].results[j].bssid[1], in gscan_get_cached_results()
1611 cached_results[i].results[j].bssid[2], in gscan_get_cached_results()
1612 cached_results[i].results[j].bssid[3], in gscan_get_cached_results()
1613 cached_results[i].results[j].bssid[4], in gscan_get_cached_results()
1614 cached_results[i].results[j].bssid[5]); in gscan_get_cached_results()
1616 cached_results[i].results[j].channel); in gscan_get_cached_results()
1618 cached_results[i].results[j].rssi); in gscan_get_cached_results()
1620 cached_results[i].results[j].rtt); in gscan_get_cached_results()
1622 cached_results[i].results[j].rtt_sd); in gscan_get_cached_results()
1630 cached_results[i].num_results++; in gscan_get_cached_results()
1644 i, cached_results[i].num_results); in gscan_get_cached_results()
2171 wifi_cached_scan_results *cached_results) in allocCachedResultsTemp() argument
2174 mGetCachedResultsRspParams->cached_results = in allocCachedResultsTemp()
2177 if (!mGetCachedResultsRspParams->cached_results) { in allocCachedResultsTemp()
2183 memset(mGetCachedResultsRspParams->cached_results, 0, in allocCachedResultsTemp()
2210 mGetCachedResultsRspParams->cached_results = NULL; in allocRspParams()
2225 if (mGetCachedResultsRspParams->cached_results) { in freeRspParams()
2226 free(mGetCachedResultsRspParams->cached_results); in freeRspParams()
2227 mGetCachedResultsRspParams->cached_results = NULL; in freeRspParams()
2240 wifi_cached_scan_results *cached_results) in copyCachedScanResults() argument
2246 if (mGetCachedResultsRspParams && cached_results) in copyCachedScanResults()
2252 cachedResultRsp = &mGetCachedResultsRspParams->cached_results[i]; in copyCachedScanResults()
2253 cached_results[i].scan_id = cachedResultRsp->scan_id; in copyCachedScanResults()
2254 cached_results[i].flags = cachedResultRsp->flags; in copyCachedScanResults()
2255 cached_results[i].num_results = cachedResultRsp->num_results; in copyCachedScanResults()
2256 cached_results[i].buckets_scanned = cachedResultRsp->buckets_scanned; in copyCachedScanResults()
2258 if (!cached_results[i].num_results) { in copyCachedScanResults()
2265 i, cached_results[i].num_results); in copyCachedScanResults()
2267 memcpy(cached_results[i].results, in copyCachedScanResults()
2269 cached_results[i].num_results * sizeof(wifi_scan_result)); in copyCachedScanResults()