Home
last modified time | relevance | path

Searched refs:it2 (Results 1 – 9 of 9) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Drtt.cpp539 for (nl_iterator it2(it.get()); it2.has_next(); it2.next()) { in handleEvent() local
540 if (it2.get_type() == RTT_ATTRIBUTE_TARGET_MAC) { in handleEvent()
541 memcpy(bssid, it2.get_data(), sizeof(mac_addr)); in handleEvent()
549 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT_CNT) { in handleEvent()
550 result_cnt = it2.get_u32(); in handleEvent()
552 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT) { in handleEvent()
553 int result_len = it2.get_len(); in handleEvent()
554 rttResults[currentIdx] = (wifi_rtt_result *)malloc(it2.get_len()); in handleEvent()
561 memcpy(rtt_result, it2.get_data(), it2.get_len()); in handleEvent()
Dgscan.cpp343 for (nl_iterator it2(sc_data); it2.has_next(); it2.next()) { in parseScanResults() local
344 int type = it2.get_type(); in parseScanResults()
346 strncpy(result->ssid, (char *) it2.get_data(), it2.get_len()); in parseScanResults()
347 result->ssid[it2.get_len()] = 0; in parseScanResults()
349 memcpy(result->bssid, (byte *) it2.get_data(), sizeof(mac_addr)); in parseScanResults()
351 result->ts = it2.get_u64(); in parseScanResults()
353 result->ts = it2.get_u16(); in parseScanResults()
355 result->rssi = it2.get_u8(); in parseScanResults()
357 result->rtt = it2.get_u64(); in parseScanResults()
359 result->rtt_sd = it2.get_u64(); in parseScanResults()
[all …]
/hardware/interfaces/broadcastradio/common/tests/
DIdentifierIterator_test.cpp61 auto it2 = V2_0::begin(sel2); in TEST() local
63 EXPECT_NE(it1, it2); in TEST()
/hardware/qcom/sm8150/gps/geofence/
DGeofenceAdapter.cpp65 auto it2 = mGeofences.find(hwId); in stopClientSessions() local
66 if (it2 != mGeofences.end()) { in stopClientSessions()
67 mGeofences.erase(it2); in stopClientSessions()
672 auto it2 = mGeofences.find(hwId); in removeGeofenceItem() local
673 if (it2 != mGeofences.end()) { in removeGeofenceItem()
674 mGeofences.erase(it2); in removeGeofenceItem()
/hardware/qcom/sdm845/gps/sdm845/gnss/
DGnssAdapter.cpp2331 for (auto it2 = mTrackingSessions.begin(); it2 != mTrackingSessions.end(); ++it2) { in updateTrackingMultiplex() local
2334 if (it2->first != key && (0 == multiplexedOptions.size || in updateTrackingMultiplex()
2335 it2->second.minInterval < multiplexedOptions.minInterval)) { in updateTrackingMultiplex()
2336 multiplexedOptions = it2->second; in updateTrackingMultiplex()
2340 if (it2->first != key && (GNSS_POWER_MODE_INVALID == multiplexedPowerMode || in updateTrackingMultiplex()
2341 it2->second.powerMode < multiplexedPowerMode)) { in updateTrackingMultiplex()
2342 multiplexedPowerMode = it2->second.powerMode; in updateTrackingMultiplex()
2425 for (auto it2 = mTrackingSessions.begin(); it2 != mTrackingSessions.end(); ++it2) { in stopTrackingMultiplex() local
2428 if (it2->first != key && (0 == multiplexedOptions.size || in stopTrackingMultiplex()
2429 it2->second.minInterval < multiplexedOptions.minInterval)) { in stopTrackingMultiplex()
[all …]
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.cpp1436 for (auto it2 = mTrackingSessions.begin(); it2 != mTrackingSessions.end(); ++it2) { in updateTrackingMultiplex() local
1439 if (it2->first != key && (0 == smallestIntervalOptions.size || in updateTrackingMultiplex()
1440 it2->second.minInterval < smallestIntervalOptions.minInterval)) { in updateTrackingMultiplex()
1441 smallestIntervalOptions = it2->second; in updateTrackingMultiplex()
1513 for (auto it2 = mTrackingSessions.begin(); it2 != mTrackingSessions.end(); ++it2) { in stopTrackingMultiplex() local
1516 if (it2->first != key && (0 == smallestIntervalOptions.size || in stopTrackingMultiplex()
1517 it2->second.minInterval < smallestIntervalOptions.minInterval)) { in stopTrackingMultiplex()
1518 smallestIntervalOptions = it2->second; in stopTrackingMultiplex()
/hardware/qcom/sdm845/gps/msm8998/gnss/
DGnssAdapter.cpp1429 for (auto it2 = mTrackingSessions.begin(); it2 != mTrackingSessions.end(); ++it2) { in updateTrackingMultiplex() local
1432 if (it2->first != key && (0 == smallestIntervalOptions.size || in updateTrackingMultiplex()
1433 it2->second.minInterval < smallestIntervalOptions.minInterval)) { in updateTrackingMultiplex()
1434 smallestIntervalOptions = it2->second; in updateTrackingMultiplex()
1506 for (auto it2 = mTrackingSessions.begin(); it2 != mTrackingSessions.end(); ++it2) { in stopTrackingMultiplex() local
1509 if (it2->first != key && (0 == smallestIntervalOptions.size || in stopTrackingMultiplex()
1510 it2->second.minInterval < smallestIntervalOptions.minInterval)) { in stopTrackingMultiplex()
1511 smallestIntervalOptions = it2->second; in stopTrackingMultiplex()
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.cpp1517 for (auto it2 = mTrackingSessions.begin(); it2 != mTrackingSessions.end(); ++it2) { in updateTrackingMultiplex() local
1520 if (it2->first != key && (0 == smallestIntervalOptions.size || in updateTrackingMultiplex()
1521 it2->second.minInterval < smallestIntervalOptions.minInterval)) { in updateTrackingMultiplex()
1522 smallestIntervalOptions = it2->second; in updateTrackingMultiplex()
1594 for (auto it2 = mTrackingSessions.begin(); it2 != mTrackingSessions.end(); ++it2) { in stopTrackingMultiplex() local
1597 if (it2->first != key && (0 == smallestIntervalOptions.size || in stopTrackingMultiplex()
1598 it2->second.minInterval < smallestIntervalOptions.minInterval)) { in stopTrackingMultiplex()
1599 smallestIntervalOptions = it2->second; in stopTrackingMultiplex()
/hardware/qcom/sm8150/gps/gnss/
DGnssAdapter.cpp2644 for (auto it2 = mTimeBasedTrackingSessions.begin(); in updateTrackingMultiplex() local
2645 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in updateTrackingMultiplex()
2648 if (it2->first != key && (0 == multiplexedOptions.size || in updateTrackingMultiplex()
2649 it2->second.minInterval < multiplexedOptions.minInterval)) { in updateTrackingMultiplex()
2650 multiplexedOptions = it2->second; in updateTrackingMultiplex()
2654 if (it2->first != key && (GNSS_POWER_MODE_INVALID == multiplexedPowerMode || in updateTrackingMultiplex()
2655 it2->second.powerMode < multiplexedPowerMode)) { in updateTrackingMultiplex()
2656 multiplexedPowerMode = it2->second.powerMode; in updateTrackingMultiplex()
2759 for (auto it2 = mTimeBasedTrackingSessions.begin(); in stopTimeBasedTrackingMultiplex() local
2760 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in stopTimeBasedTrackingMultiplex()
[all …]