/hardware/interfaces/broadcastradio/common/tests/ |
H A D | IdentifierIterator_test.cpp | 36 auto it = V2_0::begin(sel); local 39 ASSERT_NE(end, it); 40 EXPECT_EQ(sel.primaryId, *it); 41 ASSERT_NE(end, ++it); 42 EXPECT_EQ(sel.secondaryIds[0], *it); 43 ASSERT_EQ(end, ++it); 49 auto it = V2_0::begin(sel); local 52 ASSERT_NE(end, it++); // primary id is always present 53 ASSERT_EQ(end, it); 69 auto it local 106 auto it = std::find_if(V2_0::begin(sel), end, isRdsPi); local [all...] |
/hardware/qcom/gps/msm8909w_3100/core/data-items/common/ |
H A D | ClientIndex.cpp | 50 typename map < CT, list <DIT> > :: iterator it = local 52 if (it != mDataItemsPerClientMap.end ()) { 62 typename map < CT, list <DIT> > :: iterator it = local 64 if (it != mDataItemsPerClientMap.end ()) { 65 out = it->second; 85 typename list <DIT> :: const_iterator it = r.begin (); local 86 for (; it != r.end (); ++it) { 88 find (dicIter->second.begin (), dicIter->second.end (), *it); 121 typename list <DIT> :: iterator it local [all...] |
H A D | DataItemIndex.cpp | 77 typename list <CT> :: const_iterator it = r.begin (); local 78 for (; it != r.end (); ++it) { 84 *it 120 typename list <CT> :: iterator it = out.begin (); local 121 for (; it != out.end (); ++it) { 124 *it)); 174 typename list <DIT> :: const_iterator it = l.begin (); local 175 for (; it ! [all...] |
/hardware/interfaces/tests/trie/1.0/default/ |
H A D | Trie.cpp | 73 auto it = std::find_if(vec.begin(), vec.end(), local 76 if (it == vec.end()) { 78 it = vec.end() - 1; 79 it->character = ch; 80 it->node.isTerminal = false; 83 currNode = &(it->node); 95 auto it = std::find_if(vec.begin(), vec.end(), local 98 if (it == vec.end()) return false; 99 currNode = &(it->node);
|
/hardware/qcom/gps/msm8909w_3100/gnss/ |
H A D | Agps.cpp | 102 * And add it to the subscriber list for further notifications. */ 136 /* Notify only current subscriber and then delete it from 165 /* Notify only current subscriber and then delete it from 330 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 331 while ( it != mSubscriberList.end() ){ 333 AgpsSubscriber* subscriber = *it; 346 it = mSubscriberList.erase(it); 349 it++; 352 it 411 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 430 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 446 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 479 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 494 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 511 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local [all...] |
H A D | GnssAdapter.cpp | 1026 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end();) { 1027 if (client == it->first.client) { 1028 LocationError err = stopTrackingMultiplex(it->first.client, it->first.id); 1030 it = mTrackingSessions.erase(it); 1034 ++it; // increment only when not erasing an iterator 1043 for (auto it=mClientData.begin(); it ! 1193 auto it = mClientData.find(client); local 1210 auto it = mClientData.find(client); local 1220 auto it = mClientData.find(client); local 1227 auto it = mClientData.find(client); local 1250 auto it = mTrackingSessions.find(key); local 1262 auto it = mClientData.find(client); local 1513 auto it = mTrackingSessions.find(key); local 1590 auto it = mTrackingSessions.find(key); local 1693 auto it = mClientData.find(client); local [all...] |
/hardware/qcom/gps/msm8998/gnss/ |
H A D | Agps.cpp | 102 * And add it to the subscriber list for further notifications. */ 134 /* Notify only current subscriber and then delete it from 161 /* Notify only current subscriber and then delete it from 322 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 323 while ( it != mSubscriberList.end() ) { 325 AgpsSubscriber* subscriber = *it; 338 it = mSubscriberList.erase(it); 341 it++; 344 it 403 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 422 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 438 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 471 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 486 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local 503 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); local [all...] |
/hardware/qcom/display/msm8909/sdm/include/utils/ |
H A D | factory.h | 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); local 50 if (it != map_.end()) { 51 return it->second;
|
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/ |
H A D | factory.h | 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); local 50 if (it != map_.end()) { 51 return it->second;
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
H A D | factory.h | 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); local 50 if (it != map_.end()) { 51 return it->second;
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioHardwareALSA.cpp | 216 for(ALSAHandleList::iterator it = mDeviceList.begin(); 217 it != mDeviceList.end(); ++it) { 218 it->useCase[0] = 0; 219 mDeviceList.erase(it); 640 ALSAHandleList::iterator it = mDeviceList.end(); local 641 it--; 642 mALSADevice->route(&(*it), (uint32_t)device, newMode); 651 ALSAHandleList::iterator it = mDeviceList.end(); local 652 it 681 ALSAHandleList::iterator it = mDeviceList.end(); local 736 ALSAHandleList::iterator it; local 888 ALSAHandleList::iterator it = mDeviceList.end(); local 952 ALSAHandleList::iterator it = mDeviceList.end(); local 1045 ALSAHandleList::iterator it = mDeviceList.end(); local 1106 ALSAHandleList::iterator it; local 1307 ALSAHandleList::iterator it = mDeviceList.end(); local 1462 ALSAHandleList::iterator it = mDeviceList.end(); local 1557 ALSAHandleList::iterator it = mDeviceList.end(); local [all...] |
/hardware/google/av/codec2/vndk/bufferpool/ |
H A D | Accessor.cpp | 41 auto it = mConnectionToCookie.find(connectionId); local 42 if (it != mConnectionToCookie.end()) { 43 uint64_t cookie = it->second; 44 mConnectionToCookie.erase(it); 63 auto it = mCookieToConnections.find(cookie); local 64 if (it != mCookieToConnections.end()) { 65 it->second.insert(connectionId); 80 auto it = mCookieToConnections.find(cookie); local 81 if (it != mCookieToConnections.end()) { 82 for (auto conIt = it [all...] |
H A D | ClientManager.cpp | 73 for (auto it = mManagers.begin(); it != mManagers.end();) { 74 const sp<IClientManager> key = it->first.promote(); 78 return it->second; 80 ++it; 82 it = mManagers.erase(it); 167 for (auto it = mCache.mClients.begin(); it != mCache.mClients.end(); ++it) { 227 auto it = mActive.mClients.find(senderId); local 296 auto it = mActive.mClients.find(connectionId); local 321 auto it = mActive.mClients.find(connectionId); local 337 auto it = mActive.mClients.find(connectionId); local 353 auto it = mActive.mClients.find(connectionId); local 367 auto it = mActive.mClients.find(connectionId); local [all...] |
H A D | BufferStatus.cpp | 74 for (auto it = mBufferStatusQueues.begin(); it != mBufferStatusQueues.end(); ++it) { 76 size_t avail = it->second->availableToRead(); 78 if (!it->second->read(&message, 1)) { 82 ALOGW("FMQ message cannot be read from %lld", (long long)it->first); 85 message.connectionId = it->first;
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
H A D | SubscriptionManager.cpp | 53 auto it = mSubscriptions.find(opts.propId); local 54 if (it == mSubscriptions.end()) { 57 const SubscribeOptions& oldOpts = it->second; 60 mSubscriptions.erase(it); 68 auto it = mSubscriptions.find(propId); local 69 if (it == mSubscriptions.end()) { 72 const SubscribeOptions& opts = it->second; 173 auto it = mHalEventSubscribeOptions.find(opts.propId); local 174 if (it == mHalEventSubscribeOptions.end()) { 179 const SubscribeOptions& oldOpts = it 193 auto it = mPropToClients.find(propId); local 206 auto it = mPropToClients.find(propId); local 212 auto it = mClients.find(clientId); local 281 const auto& it = mClients.find(clientId); local [all...] |
H A D | VehiclePropertyStore.cpp | 66 auto it = mPropertyValues.find(recId); local 67 if (it != mPropertyValues.end()) { 68 mPropertyValues.erase(it); 82 for (auto&& it : mPropertyValues) { 83 allValues.push_back(it.second); 92 for (auto it = range.first; it != range.second; ++it) { 93 values.push_back(it->second); 149 auto it local 160 auto it = mPropertyValues.find(recId); local [all...] |
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
H A D | IPACM_LanToLan.cpp | 149 list<IPACM_LanToLan_Iface>::iterator it; local 152 for(it = m_iface.begin(); it != m_iface.end(); it++) 154 if(it->get_iface_pointer() == data->p_iface) 157 if(it->get_m_is_ip_addr_assigned(data->iptype) == false) 159 IPACMDBG_H("IP type %d was not active before, activating it now.\n", data->iptype); 160 it->set_m_is_ip_addr_assigned(data->iptype, true); 163 if(it->get_m_support_inter_iface_offload()) 164 it 378 list<ipacm_event_eth_bridge>::iterator it; local 400 list<ipacm_event_eth_bridge>::iterator it; local 421 list<IPACM_LanToLan_Iface>::iterator it; local 447 list<client_info>::iterator it; local 558 list<peer_iface_info>::iterator it; local 626 list<peer_iface_info>::iterator it; local 783 list<flt_rule_info>::iterator it; local 804 list<client_info>::iterator it; local [all...] |
/hardware/nxp/nfc/halimpl/utils/ |
H A D | phNxpConfig.cpp | 549 for (const_iterator it = begin(), itEnd = end(); it != itEnd; ++it) { 550 if (**it < p_name) { 552 } else if (**it == p_name) { 553 if ((*it)->str_len() > 0) { 555 (*it)->str_value()); 558 (*it)->numValue()); 560 return *it; 579 for (iterator it [all...] |
/hardware/google/av/media/sfplugin/ |
H A D | ReflectedParamUpdater.cpp | 42 for (const auto &it : *this) { 53 if (it.second.find(&c2Value)) { 57 s << "c2::i32 " << it.first << " = " << int32Value; 61 s << "c2::u32 " << it.first << " = " << uint32Value; 66 s << "c2::c32 " << it.first << " = " << uint32Value; 70 s << "c2::i64 " << it.first << " = " << int64Value; 74 s << "c2::u64 " << it.first << " = " << uint64Value; 79 s << "c2::c64 " << it.first << " = " << uint64Value; 83 s << "c2::float " << it.first << " = " << floatValue; 87 s << "c2::unsupported " << it 218 auto it = mParamNames.find(index); local [all...] |
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
H A D | wifi_logger.cpp | 350 nl_iterator it(vendor_data); 351 if (it.get_type() == LOGGER_ATTRIBUTE_RING_NUM) { 352 unsigned int num_rings = it.get_u32(); 361 it.get_type(), LOGGER_ATTRIBUTE_RING_NUM); 365 it.next(); 366 for (unsigned int i = 0; it.has_next() && i < *mNumRings; it.next()) { 367 if (it.get_type() == LOGGER_ATTRIBUTE_RING_STATUS) { 368 memcpy(status, it.get_data(), sizeof(wifi_ring_buffer_status)); 373 it [all...] |
/hardware/interfaces/bluetooth/1.0/default/ |
H A D | async_fd_watcher.cc | 136 for (auto& it : watched_fds_) { 137 FD_SET(it.first, &read_fds); 138 max_read_fd = std::max(max_read_fd, it.first); 181 for (auto& it : watched_fds_) { 182 if (FD_ISSET(it.first, &read_fds)) { 183 it.second(it.first);
|
/hardware/interfaces/health/2.0/default/ |
H A D | Health.cpp | 69 for (auto it = callbacks_.begin(); it != callbacks_.end();) { 70 if (interfacesEqual(*it, callback)) { 71 it = callbacks_.erase(it); 74 ++it; 179 for (auto it = callbacks_.begin(); it != callbacks_.end();) { 180 auto ret = (*it)->healthInfoChanged(*healthInfo); 182 it [all...] |
/hardware/libhardware/modules/camera/3_4/ |
H A D | request_tracker.cpp | 120 // Check that it's not a duplicate. 129 // (which implicitly checks if it is configured). 141 const auto it = buffers_in_flight_.find(handle); local 142 if (it == buffers_in_flight_.end()) { 147 return it->second >= it->first->max_buffers;
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
H A D | media_hidl_test_common.h | 71 * This is not the ideal way to do it. Loose these definitions once you 120 for (hidl_vec<Message>::const_iterator it = messages.begin(); 121 it != messages.end(); ++it) { 122 msgQueue.push_back(*it); 134 android::List<Message>::iterator it = msgQueue.begin(); local 135 while (it != msgQueue.end()) { 136 if (it->type == 138 *msg = *it; 139 if (callBack) callBack(*it, nullpt [all...] |
/hardware/qcom/display/msm8960/ |
H A D | Android.mk | 8 #This is for mako since it doesn't have the QCOM make functions
|