/device/google/cuttlefish/host/commands/modem_simulator/ |
D | call_service.cpp | 88 for (auto& iter : active_calls_) { in SimulatePendingCallsAnswered() local 89 if (iter.second.isCallDialing()) { in SimulatePendingCallsAnswered() 90 iter.second.SetCallActive(); in SimulatePendingCallsAnswered() 98 auto iter = active_calls_.find(call_token.first); in TimerWaitingRemoteCallResponse() local 99 if (iter != active_calls_.end() && iter->second.number == call_token.second) { in TimerWaitingRemoteCallResponse() 100 if (iter->second.remote_client != std::nullopt) { in TimerWaitingRemoteCallResponse() 101 CloseRemoteConnection(*(iter->second.remote_client)); in TimerWaitingRemoteCallResponse() 103 active_calls_.erase(iter); // match in TimerWaitingRemoteCallResponse() 261 for (auto& iter : active_calls_) { in HandleAcceptCall() local 262 if (iter.second.isCallIncoming()) { in HandleAcceptCall() [all …]
|
D | data_service.cpp | 110 for (auto iter = pdp_context_.begin(); iter != pdp_context_.end(); ++iter) { in HandleQueryDataCallList() local 111 if (iter->state == PDPContext::ACTIVE) { in HandleQueryDataCallList() 113 ss << "+CGACT: " << iter->cid << "," << iter->state; in HandleQueryDataCallList() 171 auto iter = pdp_context_.begin(); in HandlePDPContext() local 172 for (; iter != pdp_context_.end(); ++iter) { in HandlePDPContext() 173 if (pdp_context.cid == iter->cid) { in HandlePDPContext() 174 *iter = pdp_context; in HandlePDPContext() 179 if (iter == pdp_context_.end()) { in HandlePDPContext() 231 auto iter = pdp_context_.begin(); in HandleEnterDataState() local 232 for (; iter != pdp_context_.end(); ++iter) { in HandleEnterDataState() [all …]
|
D | network_service.cpp | 154 auto iter = operator_list_.begin(); in InitializeNetworkOperator() local 155 for (; iter != operator_list_.end(); ++iter) { in InitializeNetworkOperator() 156 if (iter->numeric == current_operator_numeric_) { in InitializeNetworkOperator() 160 if (iter == operator_list_.end()) { in InitializeNetworkOperator() 164 iter->operator_state = NetworkOperator::OPER_STATE_CURRENT; in InitializeNetworkOperator() 179 for (auto iter = operator_list_.begin(); iter != operator_list_.end(); in InitializeSimOperator() local 180 ++iter) { in InitializeSimOperator() 181 if (iter->numeric == sim_operator_numeric) { in InitializeSimOperator() 182 std::swap(*iter, *(operator_list_.begin())); in InitializeSimOperator() 464 auto iter = operator_list_.begin(); in HandleQueryNetworkSelectionMode() local [all …]
|
D | channel_monitor.cpp | 121 auto iter = std::find_if( in ReadCommand() local 124 if (iter != clients.end()) { in ReadCommand() 125 clients.erase(iter); in ReadCommand() 165 auto iter = clients_.begin(); in SendUnsolicitedCommand() local 166 if (iter != clients_.end()) { in SendUnsolicitedCommand() 167 iter->get()->SendCommandResponse(response); in SendUnsolicitedCommand() 174 auto iter = remote_clients_.begin(); in SendRemoteCommand() local 175 for (; iter != remote_clients_.end(); ++iter) { in SendRemoteCommand() 176 if (iter->get()->client_fd == client) { in SendRemoteCommand() 177 iter->get()->SendCommandResponse(response); in SendRemoteCommand() [all …]
|
D | thread_looper.cpp | 59 for (auto iter = queue_.begin(); iter != queue_.end(); ++iter) { in CancelSerial() local 60 if (iter->serial == serial) { in CancelSerial() 61 queue_.erase(iter); in CancelSerial() 75 auto iter = queue_.begin(); in Insert() local 76 while (iter != queue_.end() && *iter <= event) { in Insert() 77 ++iter; in Insert() 80 queue_.insert(iter, event); in Insert()
|
D | modem_simulator.cpp | 92 auto iter = modem_services_.find(kSmsService); in DispatchCommand() local 93 if (iter != modem_services_.end()) { in DispatchCommand() 120 auto iter = modem_services_.find(kMiscService); in OnFirstClientConnected() local 121 if (iter != modem_services_.end()) { in OnFirstClientConnected() 127 iter = modem_services_.find(kNetworkService); in OnFirstClientConnected() 128 if (iter != modem_services_.end()) { in OnFirstClientConnected() 137 auto iter = modem_services_.find(kSimService); in SaveModemState() local 138 if (iter != modem_services_.end()) { in SaveModemState() 147 auto iter = modem_services_.find(kSmsService); in IsWaitingSmsPdu() local 148 if (iter != modem_services_.end()) { in IsWaitingSmsPdu()
|
D | sim_service.cpp | 482 for (auto iter = facility_lock_.begin(); iter != facility_lock_.end(); ++iter) { in InitializeFacilityLock() local 483 auto lock_status = facility_lock->FirstChildElement(iter->first.c_str()); in InitializeFacilityLock() 487 iter->second.lock_status = FacilityLock::LockStatus::ENABLE; in InitializeFacilityLock() 511 auto iter = facility_lock_.find("SC"); in SavePinStateToIccProfile() local 512 if (iter != facility_lock_.end()) { in SavePinStateToIccProfile() 513 if (iter->second.lock_status == FacilityLock::ENABLE) { in SavePinStateToIccProfile() 624 for (auto iter = facility_lock_.begin(); iter != facility_lock_.end(); ++iter) { in SaveFacilityLockToIccProfile() local 625 if (iter->second.lock_status == FacilityLock::LockStatus::ENABLE) { in SaveFacilityLockToIccProfile() 630 auto element = facility_lock->FirstChildElement(iter->first.c_str()); in SaveFacilityLockToIccProfile() 633 iter->first.c_str(), text); in SaveFacilityLockToIccProfile() [all …]
|
D | sup_service.cpp | 211 auto iter = call_forward_infos_.begin(); in HandleCallForward() local 212 for (; iter != call_forward_infos_.end(); ++iter) { in HandleCallForward() 214 ss << "+CCFCU: " << iter->status << "," << classx << "," << number_type in HandleCallForward() 215 << "," << ton << ",\"" << iter->number << "\""; in HandleCallForward() 216 if (iter->reason == CallForwardInfo::Reason::CFNR) { in HandleCallForward() 217 ss << ",,," << iter->timeSeconds; in HandleCallForward()
|
D | stk_service.cpp | 191 auto iter = current_select_item_menu_ids_.begin(); in GetCurrentSelectItem() local 192 for (; iter != current_select_item_menu_ids_.end(); ++iter) { in GetCurrentSelectItem() 196 if (menu_id_attr && menu_id_attr->Value() == *iter) { in GetCurrentSelectItem() 198 if (menu_id_str == *iter) break; in GetCurrentSelectItem()
|
/device/google/bonito/json-c/ |
D | json_object_iterator.c | 69 struct json_object_iterator iter; in json_object_iter_begin() local 79 iter.opaque_ = pTable->head; in json_object_iter_begin() 80 return iter; in json_object_iter_begin() 89 struct json_object_iterator iter; in json_object_iter_end() local 94 iter.opaque_ = kObjectEndIterValue; in json_object_iter_end() 96 return iter; in json_object_iter_end() 103 json_object_iter_next(struct json_object_iterator* iter) in json_object_iter_next() argument 105 JASSERT(NULL != iter); in json_object_iter_next() 106 JASSERT(kObjectEndIterValue != iter->opaque_); in json_object_iter_next() 108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next() [all …]
|
D | json_object.h | 378 #define json_object_object_foreachC(obj,iter) \ argument 379 …iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k, it…
|
D | json_object_iterator.h | 158 json_object_iter_next(struct json_object_iterator* iter); 177 json_object_iter_peek_name(const struct json_object_iterator* iter); 200 json_object_iter_peek_value(const struct json_object_iterator* iter);
|
/device/google/crosshatch/json-c/ |
D | json_object_iterator.c | 69 struct json_object_iterator iter; in json_object_iter_begin() local 79 iter.opaque_ = pTable->head; in json_object_iter_begin() 80 return iter; in json_object_iter_begin() 89 struct json_object_iterator iter; in json_object_iter_end() local 94 iter.opaque_ = kObjectEndIterValue; in json_object_iter_end() 96 return iter; in json_object_iter_end() 103 json_object_iter_next(struct json_object_iterator* iter) in json_object_iter_next() argument 105 JASSERT(NULL != iter); in json_object_iter_next() 106 JASSERT(kObjectEndIterValue != iter->opaque_); in json_object_iter_next() 108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next() [all …]
|
D | json_object.h | 378 #define json_object_object_foreachC(obj,iter) \ argument 379 …iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k, it…
|
D | json_object_iterator.h | 158 json_object_iter_next(struct json_object_iterator* iter); 177 json_object_iter_peek_name(const struct json_object_iterator* iter); 200 json_object_iter_peek_value(const struct json_object_iterator* iter);
|
/device/google/coral/json-c/ |
D | json_object_iterator.c | 69 struct json_object_iterator iter; in json_object_iter_begin() local 79 iter.opaque_ = pTable->head; in json_object_iter_begin() 80 return iter; in json_object_iter_begin() 89 struct json_object_iterator iter; in json_object_iter_end() local 94 iter.opaque_ = kObjectEndIterValue; in json_object_iter_end() 96 return iter; in json_object_iter_end() 103 json_object_iter_next(struct json_object_iterator* iter) in json_object_iter_next() argument 105 JASSERT(NULL != iter); in json_object_iter_next() 106 JASSERT(kObjectEndIterValue != iter->opaque_); in json_object_iter_next() 108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next; in json_object_iter_next() [all …]
|
D | json_object.h | 378 #define json_object_object_foreachC(obj,iter) \ argument 379 …iter.entry = json_object_get_object(obj)->head; (iter.entry ? (iter.key = (char*)iter.entry->k, it…
|
D | json_object_iterator.h | 158 json_object_iter_next(struct json_object_iterator* iter); 177 json_object_iter_peek_name(const struct json_object_iterator* iter); 200 json_object_iter_peek_value(const struct json_object_iterator* iter);
|
/device/linaro/dragonboard/qcom/qrtr/src/ |
D | map.h | 29 struct map_entry *map_iter_next(const struct map *map, struct map_entry *iter); 30 struct map_item *map_iter_item(struct map_entry *iter); 32 #define map_for_each(map, iter) \ argument 33 for (iter = map_iter_first(map); iter; iter = map_iter_next(map, iter)) 35 #define map_iter_data(iter, type, member) \ argument 36 container_of(map_iter_item(iter), type, member)
|
D | map.c | 216 struct map_entry *map_iter_next(const struct map *map, struct map_entry *iter) in map_iter_next() argument 218 if (iter == NULL) in map_iter_next() 221 return map_iter_from(map, (iter - map->data) + 1); in map_iter_next() 230 struct map_item *map_iter_item(struct map_entry *iter) in map_iter_item() argument 232 return iter->item; in map_iter_item()
|
/device/google/cuttlefish/guest/hals/ril/ |
D | cuttlefish_ril.cpp | 158 for (std::map<int, DataCall>::iterator iter = gDataCalls.begin(); in request_or_send_data_calllist() local 159 iter != gDataCalls.end(); ++iter, ++index) { in request_or_send_data_calllist() 160 responses[index].status = iter->second.fail_cause_; in request_or_send_data_calllist() 162 responses[index].cid = iter->first; in request_or_send_data_calllist() 163 responses[index].active = iter->second.link_state_; in request_or_send_data_calllist() 165 switch (iter->second.connection_type_) { in request_or_send_data_calllist() 463 for (std::map<int, CallState>::iterator iter = gActiveCalls.begin(); in request_get_current_calls() local 464 iter != gActiveCalls.end(); ++iter, ++p_calls) { in request_get_current_calls() 465 p_calls->state = iter->second.state; in request_get_current_calls() 466 p_calls->index = iter->first; in request_get_current_calls() [all …]
|
/device/linaro/dragonboard/qcom/pd-mapper/ |
D | assoc.h | 46 const char *assoc_next(struct assoc *assoc, void **value, unsigned long *iter); 49 #define assoc_foreach(key, value, assoc, iter) \ argument 50 for ((iter) = 0, (key) = assoc_next((assoc), (value), &(iter)); \ 52 (key) = assoc_next((assoc), (value), &(iter)))
|
D | assoc.c | 127 const char *assoc_next(struct assoc *assoc, void **value, unsigned long *iter) in assoc_next() argument 129 unsigned long it = *iter; in assoc_next() 137 *iter = it + 1; in assoc_next()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | CameraConfiguration.cpp | 197 for (Json::ValueConstIterator iter = value[kCameraDefinitionsKey].begin(); in ConfigureCameras() local 198 iter != value[kCameraDefinitionsKey].end(); ++iter) { in ConfigureCameras() 202 if (!iter->isObject()) { in ConfigureCameras() 208 if (!iter->isMember(kCameraDefinitionOrientationKey)) { in ConfigureCameras() 215 (*iter)[kCameraDefinitionOrientationKey].asString(), in ConfigureCameras() 220 if (!(*iter).isMember(kCameraDefinitionHalVersionKey)) { in ConfigureCameras() 227 (*iter)[kCameraDefinitionHalVersionKey].asString(), in ConfigureCameras() 232 if (!iter->isMember(kCameraDefinitionResolutionsKey)) { in ConfigureCameras() 239 (*iter)[kCameraDefinitionResolutionsKey]; in ConfigureCameras()
|
/device/google/cuttlefish/host/commands/modem_simulator/unittest/ |
D | service_test.cpp | 157 auto iter = kFinalResponseSuccess.begin(); in IsFinalResponseSuccess() local 158 for (; iter != kFinalResponseSuccess.end(); ++iter) { in IsFinalResponseSuccess() 159 if (*iter == response) { in IsFinalResponseSuccess() 168 auto iter = kFinalResponseError.begin(); in IsFinalResponseError() local 169 for (; iter != kFinalResponseError.end(); ++iter) { in IsFinalResponseError() 170 if (response.compare(0, iter->size(), *iter) == 0) { in IsFinalResponseError() 250 for (auto iter = commands.begin(); iter != commands.end(); ++iter, ++expects_iter) { in TEST_F() local 251 SendCommand(*iter); in TEST_F() 268 for (auto iter = commands.begin(); iter != commands.end(); ++iter, ++expects_iter) { in TEST_F() local 269 SendCommand(*iter); in TEST_F() [all …]
|