Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 148) sorted by relevance

123456

/device/google/cuttlefish/host/commands/modem_simulator/
Dcall_service.cpp94 if (iter.second.isCallDialing()) { in SimulatePendingCallsAnswered()
95 iter.second.SetCallActive(); in SimulatePendingCallsAnswered()
102 << ", number: " << call_token.second << "timeout, cancel"; in TimerWaitingRemoteCallResponse()
104 if (iter != active_calls_.end() && iter->second.number == call_token.second) { in TimerWaitingRemoteCallResponse()
105 if (iter->second.remote_client != std::nullopt) { in TimerWaitingRemoteCallResponse()
106 CloseRemoteConnection(*(iter->second.remote_client)); in TimerWaitingRemoteCallResponse()
187 port <= kRemotePortRange.second) { // May be a remote call in HandleDial()
269 if (iter.second.isCallIncoming()) { in HandleAcceptCall()
270 iter.second.SetCallActive(); in HandleAcceptCall()
271 SendCallStatusToRemote(iter.second, CallStatus::CALL_STATE_ACTIVE); in HandleAcceptCall()
[all …]
Dsim_service.cpp192 if (pin.size() < kSimPinSizeRange.first || pin.size() > kSimPinSizeRange.second) { in VerifyPIN()
242 if (length < kSimPinSizeRange.first || length > kSimPinSizeRange.second) { in ChangePIN()
521 iter->second.lock_status = FacilityLock::LockStatus::ENABLE; in InitializeFacilityLock()
547 if (iter->second.lock_status == FacilityLock::ENABLE) { in SavePinStateToIccProfile()
659 if (iter->second.lock_status == FacilityLock::LockStatus::ENABLE) { in SaveFacilityLockToIccProfile()
682 iter->second.lock_status == FacilityLock::LockStatus::ENABLE) { in IsFDNEnabled()
882 responses.push_back(iter->second); in HandleSIMStatusReq()
1384 ss << "+CLCK: " << iter->second.lock_status; in HandleFacilityLock()
1393 iter->second.lock_status = (FacilityLock::LockStatus)mode; in HandleFacilityLock()
1400 iter->second.lock_status = (FacilityLock::LockStatus)mode; in HandleFacilityLock()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp148 Resource const* res = it.second; in dump_global_state()
159 Context const* ctx = it.second; in dump_global_state()
167 Context const* ctx = it.second; in dump_global_state()
173 Resource const* res = it.second; in dump_global_state()
479 Resource* res = it->second; in virgl_renderer_get_cursor_data()
579 Context* ctx = it->second; in virgl_renderer_submit_cmd()
589 Resource* res = it->second; in virgl_renderer_submit_cmd()
850 Resource* res = it->second; in virgl_renderer_resource_unref()
853 Context const* ctx = it.second; in virgl_renderer_resource_unref()
871 Resource* res = it->second; in virgl_renderer_resource_attach_iov()
[all …]
DRenderControl.cpp402 EglContext const* share = context_it->second; in rcCreateContext()
428 EglContext* context = it->second; in rcDestroyContext()
459 EglSurface* surface = it->second; in rcDestroyWindowSurface()
492 EglSurface* surface = surface_it->second; in rcSetWindowColorBuffer()
507 Resource* res = resource_it->second; in rcSetWindowColorBuffer()
541 EglContext* context = context_it->second; in rcMakeCurrent()
548 EglSurface* draw_surface = surface_it->second; in rcMakeCurrent()
554 EglSurface* read_surface = surface_it->second; in rcMakeCurrent()
616 Resource* res = it->second; in rcBindTexture()
655 Resource* res = it->second; in rcBindRenderbuffer()
[all …]
/device/google/cuttlefish/host/frontend/webrtc/libcommon/
Dport_range_socket_factory.cpp29 if (own_range.first == own_range.second && own_range.first == 0) { in IntersectPortRanges()
38 uint16_t own_max_port = own_range.second; in IntersectPortRanges()
62 if (port_range.second < port_range.first) { in CreateUdpSocket()
67 local_address, port_range.first, port_range.second); in CreateUdpSocket()
74 if (port_range.second < port_range.first) { in CreateServerTcpSocket()
80 local_address, port_range.first, port_range.second, opts); in CreateServerTcpSocket()
/device/google/trout/hal/audiocontrol/aidl/1.0/
DAudioControlServer.cpp236 auto& session_info = session_search->second; in HandleHeartbeat()
246 if (session_emplace.second == false) { in HandleAcquiring()
252 const auto& session_info = session_emplace_iter->second; in HandleAcquiring()
261 const bool count_zero = !not_found && ref_count_search->second == 0; in HandleAcquiring()
271 ++ref_count_search->second; in HandleAcquiring()
281 const auto& session_info = session_search->second; in HandleReleasing()
294 auto& request_ref_count = ref_count_search->second; in HandleReleasing()
346 const auto& current_session_info = current_session.second; in CheckSessionHeartbeats()
/device/google/trout/hal/sensors/2.1/
DSensorsSubHal.cpp143 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList_2_1()
155 sensor.second->setOperationMode(mode); in setOperationMode()
164 sensor->second->activate(enabled); in activate()
174 sensor->second->batch(samplingPeriodNs); in batch()
183 return sensor->second->flush(); in flush()
226 SensorInfo info = sensor.second->getSensorInfo(); in debug()
227 HWSensorBase* hwSensor = static_cast<HWSensorBase*>(sensor.second.get()); in debug()
/device/generic/goldfish/camera/
DStreamBufferCache.cpp33 LOG_ALWAYS_FATAL_IF(!r.second); in update()
34 return &(r.first->second); in update()
36 CachedStreamBuffer* csb = &bi->second; in update()
48 kv.second.setStreamInfo(nullptr); in clearStreamInfo()
DCameraDevice.cpp109 ranges.add<int32_t>(r.first).add<int32_t>(r.second); in getCameraCharacteristics()
151 .add<float>(zoomRatioRange.second); in getCameraCharacteristics()
165 int32_t(supportedFlashStrength.second); in getCameraCharacteristics()
342 .add<int32_t>(senitivityRange.second); in getCameraCharacteristics()
345 int32_t(senitivityRange.second / 2); in getCameraCharacteristics()
356 .add<int64_t>(exposureTimeRange.second); in getCameraCharacteristics()
491 .add<int32_t>(fpsRange.first).add<int32_t>(fpsRange.second); in constructDefaultRequestSettings()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dmisc_info.cc71 return lookup->second; in GetExpected()
182 file_content << entry.first << "=" << entry.second << "\n"; in WriteMiscInfo()
211 if (value_result.ok() && *value_result == key_val.second) { in GetCombinedDynamicPartitions()
212 result[key_val.first] = key_val.second; in GetCombinedDynamicPartitions()
268 auto system_value = system_info.find(key)->second; in MergeMiscInfos()
287 result[key_val.first] = key_val.second; in MergeMiscInfos()
Dsuper_image_mixer.cc272 const auto& file_info = file_iter.second; in TargetFilesZip()
276 std::string expected_filename = "target_files-" + file_iter.second.build_id; in TargetFilesZip()
370 if (file_iter.second.source == FileSource::DEFAULT_BUILD) { in SuperImageNeedsRebuilding()
372 } else if (file_iter.second.source == FileSource::SYSTEM_BUILD) { in SuperImageNeedsRebuilding()
/device/google/cuttlefish/host/libs/input_connector/
Dsocket_input_connector.cpp149 return slot_it->second; in GetOrAcquireSlot()
161 active_slots_[slot_it->second] = false; in ReleaseSlot()
180 active_slots_[it->second] = false; in OnDisconnectedSource()
252 it.second.OnDisconnectedSource(this); in ~InputSocketsEventSink()
255 it.second.OnDisconnectedSource(this); in ~InputSocketsEventSink()
271 auto& ts = ts_it->second; in SendTouchEvent()
289 auto& ts = ts_it->second; in SendMultiTouchEvent()
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Drecording_manager.cpp69 existing_recorder->second->Stop(); in RemoveSource()
125 local_recorder->AddDisplay(label, existing_source->second->width_, in StartSingleRecorder()
126 existing_source->second->height_, existing_source->second->video_); in StartSingleRecorder()
/device/google/gs-common/powerstats/
DAocStateResidencyDataProvider.cpp53 new GenericStateResidencyDataProvider(id.second + state.second, cfgs)); in AocStateResidencyDataProvider()
69 for (const auto &provider : providerList.second) { in getStateResidencies()
101 for (const auto &provider : providerList.second) { in getInfo()
DCpupmStateResidencyDataProvider.cpp48 if (mConfig.states[i].second == Trim(std::string(line))) { in matchState()
57 if (StartsWith(Trim(std::string(line)), mConfig.entities[i].second)) { in matchEntity()
144 it->second[stateId].totalTimeInStateMs = duration / US_TO_MS + sleepDurationMs; in getStateResidencies()
145 it->second[stateId].totalStateEntryCount = count; in getStateResidencies()
DAdaptiveDvfsStateResidencyDataProvider.cpp48 std::string freqPath = powerEntities[i].second + pathSuffix;
69 std::atoll(states[0].second.c_str()) < std::atoll(states[1].second.c_str())) {
DDvfsStateResidencyDataProvider.cpp53 if (StartsWith(Trim(std::string(line)), powerEntity.states[i].second)) { in matchState()
115 it->second[stateId].totalTimeInStateMs = in getStateResidencies()
117 it->second[stateId].totalStateEntryCount = count; in getStateResidencies()
/device/generic/goldfish-opengl/system/hwc3/
DLruCache.h32 auto elementsIt = tableIt->second; in get()
46 auto elementsIt = tableIt->second; in set()
61 auto elementsIt = tableIt->second; in remove()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp1962 for (auto &j : i->second) { in sendDirectReportEvent()
1963 if ((uint64_t)nev->timestamp > j.second.lastTimestamp in sendDirectReportEvent()
1965 nev->timestamp - j.second.lastTimestamp, in sendDirectReportEvent()
1967 nev->sensor, j.second.rateLevel))) { in sendDirectReportEvent()
1969 j.second.lastTimestamp = nev->timestamp; in sendDirectReportEvent()
1984 for (auto &i : j->second) { in mergeDirectReportRequest()
1985 maxRateLevel = std::max(i.second.rateLevel, maxRateLevel); in mergeDirectReportRequest()
1991 for (auto &i : j->second) { in mergeDirectReportRequest()
1992 maxRateLevel = std::max(i.second.rateLevel, maxRateLevel); in mergeDirectReportRequest()
2014 if (c.second->memoryMatches(mem)) { in addDirectChannel()
[all …]
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp69 auto dupped_fd = entry.second; in validate_redirects()
82 auto fd = entry.second; in do_redirects()
324 close(entry.second); in ~Command()
328 close(entry.second); in ~Command()
434 fds.emplace_back(inherited_fd.second); in Start()
472 if (fcntl(entry.second, F_SETFD, 0)) { in Start()
/device/google/cuttlefish/host/libs/allocd/
Dutils.cpp136 return it->second; in StrToReqTy()
145 return it->second; in StrToStatus()
186 return it->second; in StrToIfaceTy()
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp937 const auto &app = it.second; in dumpAppInfo()
1005 const auto &app = it.second; in saveApps()
1095 if (!it->second->cached_napp) in eraseApps()
1098 it->second->loaded = false; in eraseApps()
1099 it->second->running = false; in eraseApps()
1100 it->second->chre = false; in eraseApps()
1323 const auto &app = it.second; in sendAppInfoToApp()
1359 const auto &app = it.second; in getAppsToStart()
1425 Session *session = pos->second; in handleRx()
1442 Session *session = pos->second; in handleRx()
/device/google/sunfish/usb/usb/
DUsb.cpp581 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS){ in getPortStatusHelper()
589 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
597 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
606 port.second ? canSwitchRoleHelper(port.first) : false; in getPortStatusHelper()
608 port.second ? canSwitchRoleHelper(port.first) : false; in getPortStatusHelper()
621 i, port.first.c_str(), port.second, in getPortStatusHelper()
/device/google/barbet/usb/usb/
DUsb.cpp581 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS){ in getPortStatusHelper()
589 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
597 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
606 port.second ? canSwitchRoleHelper(port.first) : false; in getPortStatusHelper()
608 port.second ? canSwitchRoleHelper(port.first) : false; in getPortStatusHelper()
621 i, port.first.c_str(), port.second, in getPortStatusHelper()
/device/google/redfin/usb/usb/
DUsb.cpp581 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS){ in getPortStatusHelper()
589 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
597 if (getCurrentRoleHelper(port.first, port.second, &currentRole) == Status::SUCCESS) { in getPortStatusHelper()
606 port.second ? canSwitchRoleHelper(port.first) : false; in getPortStatusHelper()
608 port.second ? canSwitchRoleHelper(port.first) : false; in getPortStatusHelper()
621 i, port.first.c_str(), port.second, in getPortStatusHelper()

123456