/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | rtt.cpp | 611 for (nl_iterator it2(it.get()); it2.has_next(); it2.next()) { in handleEvent() local 612 if (it2.get_type() == RTT_ATTRIBUTE_TARGET_MAC) { in handleEvent() 613 memcpy(bssid, it2.get_data(), sizeof(mac_addr)); in handleEvent() 617 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT_FREQ) { in handleEvent() 618 channel = it2.get_u32(); in handleEvent() 633 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT_BW) { in handleEvent() 634 bw = (wifi_rtt_bw)it2.get_u32(); in handleEvent() 644 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT_CNT) { in handleEvent() 645 result_cnt = it2.get_u32(); in handleEvent() 647 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT_I2R_TX_LTF_RPT_CNT) { in handleEvent() [all …]
|
D | gscan.cpp | 925 for (nl_iterator it2(it.get()); it2.has_next(); it2.next()) { in handleResponse() local 926 if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_ID) { in handleResponse() 927 scan_id = it2.get_u32(); in handleResponse() 929 } else if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_FLAGS) { in handleResponse() 930 flags = it2.get_u8(); in handleResponse() 932 } else if (it2.get_type() == GSCAN_ATTRIBUTE_NUM_OF_RESULTS) { in handleResponse() 933 num = it2.get_u32(); in handleResponse() 935 } else if (it2.get_type() == GSCAN_ATTRIBUTE_CH_BUCKET_BITMASK) { in handleResponse() 936 scan_ch_bucket_mask = it2.get_u32(); in handleResponse() 938 } else if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_RESULTS && num) { in handleResponse() [all …]
|
/hardware/google/aemu/host-common/testing/ |
D | HostAddressSpace.cpp | 110 for (auto &it2 : it.second.blocks) { in setHostAddrByPhysAddr() local 111 if (it2.first == off) { in setHostAddrByPhysAddr() 112 it2.second.hva = hva; in setHostAddrByPhysAddr() 130 for (auto &it2 : it.second.blocks) { in unsetHostAddrByPhysAddr() local 131 if (it2.first == off) { in unsetHostAddrByPhysAddr() 132 it2.second.hva = nullptr; in unsetHostAddrByPhysAddr() 160 for (const auto &it2 : it.second.blocks) { in getHostAddr() local 161 if (blockContainsOffset(it2.first, it2.second, off)) { in getHostAddr() 163 (unsigned long long)it2.first, in getHostAddr() 164 (unsigned long long)it2.first + it2.second.size, in getHostAddr() [all …]
|
/hardware/synaptics/wlan/synadhd/wifi_hal/ |
D | rtt.cpp | 562 for (nl_iterator it2(it.get()); it2.has_next(); it2.next()) { in handleEvent() local 563 if (it2.get_type() == RTT_ATTRIBUTE_TARGET_MAC) { in handleEvent() 564 memcpy(bssid, it2.get_data(), sizeof(mac_addr)); in handleEvent() 572 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT_CNT) { in handleEvent() 573 result_cnt = it2.get_u32(); in handleEvent() 575 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT_EXTRA) { in handleEvent() 582 (rtt_result_extra_t *)malloc(it2.get_len()); in handleEvent() 589 memcpy(rtt_result_extra, it2.get_data(), it2.get_len()); in handleEvent() 597 } else if (it2.get_type() == RTT_ATTRIBUTE_RESULT) { in handleEvent() 600 it2.get_len() - sizeof(wifi_rtt_result); in handleEvent() [all …]
|
D | gscan.cpp | 920 for (nl_iterator it2(it.get()); it2.has_next(); it2.next()) { in handleResponse() local 921 if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_ID) { in handleResponse() 922 scan_id = it2.get_u32(); in handleResponse() 924 } else if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_FLAGS) { in handleResponse() 925 flags = it2.get_u8(); in handleResponse() 927 } else if (it2.get_type() == GSCAN_ATTRIBUTE_NUM_OF_RESULTS) { in handleResponse() 928 num = it2.get_u32(); in handleResponse() 930 } else if (it2.get_type() == GSCAN_ATTRIBUTE_CH_BUCKET_BITMASK) { in handleResponse() 931 scan_ch_bucket_mask = it2.get_u32(); in handleResponse() 933 } else if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_RESULTS && num) { in handleResponse() [all …]
|
/hardware/interfaces/broadcastradio/common/utilsaidl/test/ |
D | BroadcastRadioUtilsTest.cpp | 124 utils::IdentifierIterator it2 = it1; in TEST() local 125 it2++; in TEST() 126 it2++; in TEST() 128 ASSERT_EQ(it1 + 2, it2); in TEST() 145 utils::IdentifierIterator it2 = begin(sel2); in TEST() local 149 ASSERT_NE(it1, it2); in TEST() 157 utils::IdentifierIterator it2 = begin(sel); in TEST() local 161 ASSERT_EQ(it1, it2); in TEST()
|
/hardware/interfaces/broadcastradio/common/tests/ |
D | IdentifierIterator_test.cpp | 61 auto it2 = V2_0::begin(sel2); in TEST() local 63 EXPECT_NE(it1, it2); in TEST()
|
/hardware/qcom/sm8150/gps/geofence/ |
D | GeofenceAdapter.cpp | 65 auto it2 = mGeofences.find(hwId); in stopClientSessions() local 66 if (it2 != mGeofences.end()) { in stopClientSessions() 67 mGeofences.erase(it2); in stopClientSessions() 675 auto it2 = mGeofences.find(hwId); in removeGeofenceItem() local 676 if (it2 != mGeofences.end()) { in removeGeofenceItem() 677 mGeofences.erase(it2); in removeGeofenceItem()
|
/hardware/qcom/sm8150p/gps/geofence/ |
D | GeofenceAdapter.cpp | 65 auto it2 = mGeofences.find(hwId); in stopClientSessions() local 66 if (it2 != mGeofences.end()) { in stopClientSessions() 67 mGeofences.erase(it2); in stopClientSessions() 675 auto it2 = mGeofences.find(hwId); in removeGeofenceItem() local 676 if (it2 != mGeofences.end()) { in removeGeofenceItem() 677 mGeofences.erase(it2); in removeGeofenceItem()
|
/hardware/qcom/sm7250/gps/geofence/ |
D | GeofenceAdapter.cpp | 65 auto it2 = mGeofences.find(hwId); in stopClientSessions() local 66 if (it2 != mGeofences.end()) { in stopClientSessions() 67 mGeofences.erase(it2); in stopClientSessions() 675 auto it2 = mGeofences.find(hwId); in removeGeofenceItem() local 676 if (it2 != mGeofences.end()) { in removeGeofenceItem() 677 mGeofences.erase(it2); in removeGeofenceItem()
|
/hardware/qcom/sm7150/gps/geofence/ |
D | GeofenceAdapter.cpp | 65 auto it2 = mGeofences.find(hwId); in stopClientSessions() local 66 if (it2 != mGeofences.end()) { in stopClientSessions() 67 mGeofences.erase(it2); in stopClientSessions() 675 auto it2 = mGeofences.find(hwId); in removeGeofenceItem() local 676 if (it2 != mGeofences.end()) { in removeGeofenceItem() 677 mGeofences.erase(it2); in removeGeofenceItem()
|
/hardware/qcom/gps/msm8998/gnss/ |
D | GnssAdapter.cpp | 1436 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/gps/msm8909w_3100/gnss/ |
D | GnssAdapter.cpp | 1517 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/sm7150/gps/gnss/ |
D | GnssAdapter.cpp | 2831 for (auto it2 = mTimeBasedTrackingSessions.begin(); in updateTrackingMultiplex() local 2832 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in updateTrackingMultiplex() 2835 if (it2->first != key && (0 == multiplexedOptions.size || in updateTrackingMultiplex() 2836 it2->second.minInterval < multiplexedOptions.minInterval)) { in updateTrackingMultiplex() 2837 multiplexedOptions = it2->second; in updateTrackingMultiplex() 2841 if (it2->first != key && (GNSS_POWER_MODE_INVALID == multiplexedPowerMode || in updateTrackingMultiplex() 2842 it2->second.powerMode < multiplexedPowerMode)) { in updateTrackingMultiplex() 2843 multiplexedPowerMode = it2->second.powerMode; in updateTrackingMultiplex() 2946 for (auto it2 = mTimeBasedTrackingSessions.begin(); in stopTimeBasedTrackingMultiplex() local 2947 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in stopTimeBasedTrackingMultiplex() [all …]
|
/hardware/qcom/sm8150p/gps/gnss/ |
D | GnssAdapter.cpp | 2695 for (auto it2 = mTimeBasedTrackingSessions.begin(); in updateTrackingMultiplex() local 2696 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in updateTrackingMultiplex() 2699 if (it2->first != key && (0 == multiplexedOptions.size || in updateTrackingMultiplex() 2700 it2->second.minInterval < multiplexedOptions.minInterval)) { in updateTrackingMultiplex() 2701 multiplexedOptions = it2->second; in updateTrackingMultiplex() 2705 if (it2->first != key && (GNSS_POWER_MODE_INVALID == multiplexedPowerMode || in updateTrackingMultiplex() 2706 it2->second.powerMode < multiplexedPowerMode)) { in updateTrackingMultiplex() 2707 multiplexedPowerMode = it2->second.powerMode; in updateTrackingMultiplex() 2810 for (auto it2 = mTimeBasedTrackingSessions.begin(); in stopTimeBasedTrackingMultiplex() local 2811 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in stopTimeBasedTrackingMultiplex() [all …]
|
/hardware/qcom/sm8150/gps/gnss/ |
D | GnssAdapter.cpp | 3275 for (auto it2 = mTimeBasedTrackingSessions.begin(); in updateTrackingMultiplex() local 3276 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in updateTrackingMultiplex() 3279 if (it2->first != key && (0 == multiplexedOptions.size || in updateTrackingMultiplex() 3280 it2->second.minInterval < multiplexedOptions.minInterval)) { in updateTrackingMultiplex() 3281 multiplexedOptions = it2->second; in updateTrackingMultiplex() 3285 if (it2->first != key && (GNSS_POWER_MODE_INVALID == multiplexedPowerMode || in updateTrackingMultiplex() 3286 it2->second.powerMode < multiplexedPowerMode)) { in updateTrackingMultiplex() 3287 multiplexedPowerMode = it2->second.powerMode; in updateTrackingMultiplex() 3390 for (auto it2 = mTimeBasedTrackingSessions.begin(); in stopTimeBasedTrackingMultiplex() local 3391 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in stopTimeBasedTrackingMultiplex() [all …]
|
/hardware/qcom/sm7250/gps/gnss/ |
D | GnssAdapter.cpp | 3276 for (auto it2 = mTimeBasedTrackingSessions.begin(); in updateTrackingMultiplex() local 3277 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in updateTrackingMultiplex() 3280 if (it2->first != key && (0 == multiplexedOptions.size || in updateTrackingMultiplex() 3281 it2->second.minInterval < multiplexedOptions.minInterval)) { in updateTrackingMultiplex() 3282 multiplexedOptions = it2->second; in updateTrackingMultiplex() 3286 if (it2->first != key && (GNSS_POWER_MODE_INVALID == multiplexedPowerMode || in updateTrackingMultiplex() 3287 it2->second.powerMode < multiplexedPowerMode)) { in updateTrackingMultiplex() 3288 multiplexedPowerMode = it2->second.powerMode; in updateTrackingMultiplex() 3391 for (auto it2 = mTimeBasedTrackingSessions.begin(); in stopTimeBasedTrackingMultiplex() local 3392 it2 != mTimeBasedTrackingSessions.end(); ++it2) { in stopTimeBasedTrackingMultiplex() [all …]
|
/hardware/google/gfxstream/host/ |
D | FrameBuffer.cpp | 2427 for (auto it2 : it->second) { in onLoad() local 2428 cleanupCallbacks.push_back(it2.second); in onLoad()
|