/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioHardwareALSA.cpp | 216 for(ALSAHandleList::iterator it = mDeviceList.begin(); in ~AudioHardwareALSA() local 217 it != mDeviceList.end(); ++it) { in ~AudioHardwareALSA() 218 it->useCase[0] = 0; in ~AudioHardwareALSA() 219 mDeviceList.erase(it); in ~AudioHardwareALSA() 640 ALSAHandleList::iterator it = mDeviceList.end(); in doRouting() local 641 it--; in doRouting() 642 mALSADevice->route(&(*it), (uint32_t)device, newMode); in doRouting() 651 ALSAHandleList::iterator it = mDeviceList.end(); in doRouting() local 652 it--; in doRouting() 653 mALSADevice->route(&(*it), AudioSystem::DEVICE_OUT_PROXY, in doRouting() [all …]
|
D | ALSAStreamOps.cpp | 72 for(ALSAHandleList::iterator it = mParent->mDeviceList.begin(); in ~ALSAStreamOps() local 73 it != mParent->mDeviceList.end(); ++it) { in ~ALSAStreamOps() 74 if (mHandle == &(*it)) { in ~ALSAStreamOps() 75 it->useCase[0] = 0; in ~ALSAStreamOps() 76 mParent->mDeviceList.erase(it); in ~ALSAStreamOps()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_LanToLan.cpp | 149 list<IPACM_LanToLan_Iface>::iterator it; in handle_iface_up() local 152 for(it = m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 154 if(it->get_iface_pointer() == data->p_iface) in handle_iface_up() 157 if(it->get_m_is_ip_addr_assigned(data->iptype) == false) in handle_iface_up() 160 it->set_m_is_ip_addr_assigned(data->iptype, true); in handle_iface_up() 163 if(it->get_m_support_inter_iface_offload()) in handle_iface_up() 164 it->add_all_inter_interface_client_flt_rule(data->iptype); in handle_iface_up() 167 if(it->get_m_support_intra_iface_offload()) in handle_iface_up() 168 it->add_all_intra_interface_client_flt_rule(data->iptype); in handle_iface_up() 174 if(it == m_iface.end()) //If the interface has not been created before in handle_iface_up() [all …]
|
/hardware/qcom/gps/sdm845/gnss/ |
D | Agps.cpp | 327 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); in notifyAllSubscribers() local 328 while ( it != mSubscriberList.end() ){ in notifyAllSubscribers() 330 AgpsSubscriber* subscriber = *it; in notifyAllSubscribers() 343 it = mSubscriberList.erase(it); in notifyAllSubscribers() 346 it++; in notifyAllSubscribers() 349 it++; in notifyAllSubscribers() 408 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); in addSubscriber() local 409 for(; it != mSubscriberList.end(); it++){ in addSubscriber() 410 AgpsSubscriber* subscriber = *it; in addSubscriber() 427 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); in deleteSubscriber() local [all …]
|
D | GnssAdapter.cpp | 986 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end();) { in stopClientSessions() local 987 if (client == it->first.client) { in stopClientSessions() 988 LocationError err = stopTrackingMultiplex(it->first.client, it->first.id); in stopClientSessions() 990 it = mTrackingSessions.erase(it); in stopClientSessions() 994 ++it; // increment only when not erasing an iterator in stopClientSessions() 1003 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in updateClientsEventMask() local 1004 if (it->second.trackingCb != nullptr) { in updateClientsEventMask() 1007 if (it->second.gnssNiCb != nullptr) { in updateClientsEventMask() 1010 if (it->second.gnssSvCb != nullptr) { in updateClientsEventMask() 1013 if (it->second.gnssNmeaCb != nullptr) { in updateClientsEventMask() [all …]
|
/hardware/qcom/gps/msm8998/gnss/ |
D | Agps.cpp | 327 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); in notifyAllSubscribers() local 328 while ( it != mSubscriberList.end() ){ in notifyAllSubscribers() 330 AgpsSubscriber* subscriber = *it; in notifyAllSubscribers() 343 it = mSubscriberList.erase(it); in notifyAllSubscribers() 346 it++; in notifyAllSubscribers() 349 it++; in notifyAllSubscribers() 408 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); in addSubscriber() local 409 for(; it != mSubscriberList.end(); it++){ in addSubscriber() 410 AgpsSubscriber* subscriber = *it; in addSubscriber() 427 std::list<AgpsSubscriber*>::const_iterator it = mSubscriberList.begin(); in deleteSubscriber() local [all …]
|
D | GnssAdapter.cpp | 973 for (auto it = mTrackingSessions.begin(); it != mTrackingSessions.end();) { in stopClientSessions() local 974 if (client == it->first.client) { in stopClientSessions() 975 LocationError err = stopTrackingMultiplex(it->first.client, it->first.id); in stopClientSessions() 977 it = mTrackingSessions.erase(it); in stopClientSessions() 981 ++it; // increment only when not erasing an iterator in stopClientSessions() 990 for (auto it=mClientData.begin(); it != mClientData.end(); ++it) { in updateClientsEventMask() local 991 if (it->second.trackingCb != nullptr) { in updateClientsEventMask() 994 if (it->second.gnssNiCb != nullptr) { in updateClientsEventMask() 997 if (it->second.gnssSvCb != nullptr) { in updateClientsEventMask() 1000 if (it->second.gnssNmeaCb != nullptr) { in updateClientsEventMask() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehiclePropertyStore.cpp | 62 auto it = mPropertyValues.find(recId); in removeValue() local 63 if (it != mPropertyValues.end()) { in removeValue() 64 mPropertyValues.erase(it); in removeValue() 78 for (auto&& it : mPropertyValues) { in readAllValues() 79 allValues.push_back(it.second); in readAllValues() 88 for (auto it = range.first; it != range.second; ++it) { in readValuesForProperty() local 89 values.push_back(it->second); in readValuesForProperty() 145 auto it = mConfigs.find(recId.prop); in getRecordIdLocked() local 146 if (it == mConfigs.end()) return {}; in getRecordIdLocked() 148 if (it->second.tokenFunction != nullptr) { in getRecordIdLocked() [all …]
|
D | SubscriptionManager.cpp | 64 auto it = mSubscriptions.find(opts.propId); in addOrUpdateSubscription() local 65 if (it == mSubscriptions.end()) { in addOrUpdateSubscription() 68 const SubscribeOptions& oldOpts = it->second; in addOrUpdateSubscription() 71 mSubscriptions.erase(it); in addOrUpdateSubscription() 80 auto it = mSubscriptions.find(propId); in isSubscribed() local 81 if (it == mSubscriptions.end()) { in isSubscribed() 84 const SubscribeOptions& opts = it->second; in isSubscribed() 187 auto it = mHalEventSubscribeOptions.find(opts.propId); in updateHalEventSubscriptionLocked() local 188 if (it == mHalEventSubscribeOptions.end()) { in updateHalEventSubscriptionLocked() 193 const SubscribeOptions& oldOpts = it->second; in updateHalEventSubscriptionLocked() [all …]
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_logger.cpp | 332 nl_iterator it(vendor_data); in handleResponse() local 333 if (it.get_type() == LOGGER_ATTRIBUTE_RING_NUM) { in handleResponse() 334 unsigned int num_rings = it.get_u32(); in handleResponse() 343 it.get_type(), LOGGER_ATTRIBUTE_RING_NUM); in handleResponse() 347 it.next(); in handleResponse() 348 for (unsigned int i = 0; it.has_next() && i < *mNumRings; it.next()) { in handleResponse() 349 if (it.get_type() == LOGGER_ATTRIBUTE_RING_STATUS) { in handleResponse() 350 memcpy(status, it.get_data(), sizeof(wifi_ring_buffer_status)); in handleResponse() 355 it.get_type(), it.get_len()); in handleResponse() 532 for (nl_iterator it(vendor_data); it.has_next(); it.next()) { in handleEvent() local [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.h | 117 for (hidl_vec<Message>::const_iterator it = messages.begin(); in onMessages() local 118 it != messages.end(); ++it) { in onMessages() 119 msgQueue.push_back(*it); in onMessages() 131 android::List<Message>::iterator it = msgQueue.begin(); 132 while (it != msgQueue.end()) { 133 if (it->type == 135 *msg = *it; 136 if (callBack) callBack(*it, nullptr); 137 it = msgQueue.erase(it); 146 } else if (it->type == android::hardware::media::omx::V1_0:: [all …]
|
/hardware/interfaces/bluetooth/1.0/default/ |
D | async_fd_watcher.cc | 133 for (auto& it : watched_fds_) { in ThreadRoutine() local 134 FD_SET(it.first, &read_fds); in ThreadRoutine() 135 max_read_fd = std::max(max_read_fd, it.first); in ThreadRoutine() 178 for (auto& it : watched_fds_) { in ThreadRoutine() local 179 if (FD_ISSET(it.first, &read_fds)) { in ThreadRoutine() 180 it.second(it.first); in ThreadRoutine()
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
D | factory.h | 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); in Get() local 50 if (it != map_.end()) { in Get() 51 return it->second; in Get()
|
/hardware/qcom/display/sdm845/sdm/include/utils/ |
D | factory.h | 49 typename std::map<std::string, Creator>::iterator it = map_.find(name); in Get() local 50 if (it != map_.end()) { in Get() 51 return it->second; in Get()
|
/hardware/qcom/gps/msm8998/location/ |
D | LocationAPI.cpp | 202 auto it = gData.clientData.find(this); in ~LocationAPI() local 203 if (it != gData.clientData.end()) { in ~LocationAPI() 204 if (isGnssClient(it->second) && NULL != gData.gnssInterface) { in ~LocationAPI() 205 gData.gnssInterface->removeClient(it->first); in ~LocationAPI() 207 if (isFlpClient(it->second) && NULL != gData.flpInterface) { in ~LocationAPI() 208 gData.flpInterface->removeClient(it->first); in ~LocationAPI() 210 if (isGeofenceClient(it->second) && NULL != gData.geofenceInterface) { in ~LocationAPI() 211 gData.geofenceInterface->removeClient(it->first); in ~LocationAPI() 213 gData.clientData.erase(it); in ~LocationAPI() 295 auto it = gData.clientData.find(this); in startTracking() local [all …]
|
D | LocationAPIClientBase.h | 202 auto it = mBackwardMap.find(session); in getId() local 203 if (it != mBackwardMap.end()) { in getId() 204 ret = it->second; in getId() 212 auto it = mForwardMap.find(id); in getSession() local 213 if (it != mForwardMap.end()) { in getSession() 214 ret = it->second; in getSession() 222 auto it = mTypeMap.find(session); in getType() local 223 if (it != mTypeMap.end()) { in getType() 224 ret = it->second; in getType() 232 for (auto it = mBackwardMap.begin(); it != mBackwardMap.end(); it++) { in getAllSessions() local [all …]
|
/hardware/qcom/gps/sdm845/location/ |
D | LocationAPI.cpp | 202 auto it = gData.clientData.find(this); in ~LocationAPI() local 203 if (it != gData.clientData.end()) { in ~LocationAPI() 204 if (isGnssClient(it->second) && NULL != gData.gnssInterface) { in ~LocationAPI() 205 gData.gnssInterface->removeClient(it->first); in ~LocationAPI() 207 if (isFlpClient(it->second) && NULL != gData.flpInterface) { in ~LocationAPI() 208 gData.flpInterface->removeClient(it->first); in ~LocationAPI() 210 if (isGeofenceClient(it->second) && NULL != gData.geofenceInterface) { in ~LocationAPI() 211 gData.geofenceInterface->removeClient(it->first); in ~LocationAPI() 213 gData.clientData.erase(it); in ~LocationAPI() 295 auto it = gData.clientData.find(this); in startTracking() local [all …]
|
D | LocationAPIClientBase.h | 202 auto it = mBackwardMap.find(session); in getId() local 203 if (it != mBackwardMap.end()) { in getId() 204 ret = it->second; in getId() 212 auto it = mForwardMap.find(id); in getSession() local 213 if (it != mForwardMap.end()) { in getSession() 214 ret = it->second; in getSession() 222 auto it = mTypeMap.find(session); in getType() local 223 if (it != mTypeMap.end()) { in getType() 224 ret = it->second; in getType() 232 for (auto it = mBackwardMap.begin(); it != mBackwardMap.end(); it++) { in getAllSessions() local [all …]
|
/hardware/interfaces/camera/device/3.3/default/ |
D | CameraDeviceSession.cpp | 128 for(auto it = mStreamMap.begin(); it != mStreamMap.end();) { in configureStreams_3_3() local 129 int id = it->first; in configureStreams_3_3() 142 it = mStreamMap.erase(it); in configureStreams_3_3() 144 ++it; in configureStreams_3_3()
|
/hardware/libhardware/modules/camera/3_4/ |
D | request_tracker.cpp | 141 const auto it = buffers_in_flight_.find(handle); in StreamFull() local 142 if (it == buffers_in_flight_.end()) { in StreamFull() 147 return it->second >= it->first->max_buffers; in StreamFull()
|
/hardware/intel/bootstub/ |
D | LICENSE | 15 of this license document, but changing it is not allowed. 20 freedom to share and change it. By contrast, the GNU General Public 25 using it. (Some other Free Software Foundation software is covered by 26 the GNU Library General Public License instead.) You can apply it to 32 this service if you wish), that you receive source code or can get it 33 if you want it, that you can change the software or use pieces of it 39 distribute copies of the software, or if you modify it. 61 program proprietary. To prevent this, we have made it clear that any 71 a notice placed by the copyright holder saying it may be distributed 75 that is to say, a work containing the Program or a portion of it, [all …]
|
/hardware/libhardware/modules/sensors/ |
D | multihal.cpp | 502 for (std::vector<hw_device_t*>::iterator it = this->sub_hw_devices.begin(); in close() local 503 it != this->sub_hw_devices.end(); it++) { in close() 504 hw_device_t* dev = *it; in close() 703 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in lazy_init_sensors_list() local 704 it != sub_hw_modules->end(); it++) { in lazy_init_sensors_list() 705 struct sensors_module_t *module = (struct sensors_module_t*) *it; in lazy_init_sensors_list() 718 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in lazy_init_sensors_list() local 719 it != sub_hw_modules->end(); it++) { in lazy_init_sensors_list() 720 hw_module_t *hw_module = *it; in lazy_init_sensors_list() 820 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in open_sensors() local [all …]
|
/hardware/interfaces/cas/1.0/default/ |
D | FactoryLoader.h | 181 for (auto it = descriptors.begin(); it != descriptors.end(); it++) { in queryPluginsFromPath() local 183 .caSystemId = it->CA_system_id, in queryPluginsFromPath() 184 .name = it->name.c_str()}); in queryPluginsFromPath()
|
/hardware/intel/common/libmix/mix_common/ |
D | INSTALL | 8 unlimited permission to copy, distribute and modify it. 22 definitions. Finally, it creates a shell script `config.status' that 38 may remove or edit it. 42 you want to change it or regenerate `configure' using a newer version 50 Running `configure' might take a while. While running, it prints 51 some messages telling which features it is checking for. 66 for the package's developers. If you use it, you may have to get 98 With a non-GNU `make', it is safer to compile the package for one 136 If the package supports it, you can cause programs to be installed 151 find the X include and library files automatically, but if it doesn't, [all …]
|
/hardware/interfaces/automotive/evs/1.0/ |
D | IEvsEnumerator.hal | 39 * done using the camera, the caller may release it by calling closeCamera(). 49 * When the IEvsCamera object is no longer required, it must be released. 59 * requests access to it. If the EVS display is not available or is already in use, 61 * When done using the display, the caller may release it by calling closeDisplay(). 70 * When the IEvsDisplay object is no longer required, it must be released. 78 * If there is no open display, this returns DisplayState::NOT_OPEN. otherwise, it returns
|