Home
last modified time | relevance | path

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

1234

/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/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/generic/goldfish/hals/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/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()
Dstreamer.cpp424 display[kXResField] = entry.second.width; in OnOpen()
425 display[kYResField] = entry.second.height; in OnOpen()
426 display[kDpiField] = entry.second.dpi; in OnOpen()
659 auto& video_source = entry.second.source; in CreateClientHandler()
668 auto& audio_stream = entry.second; in CreateClientHandler()
700 config_.udp_port_range.second, servers), in Build()
/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/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/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()
DClientFrameComposer.cpp92 DisplayInfo& displayInfo = it->second; in onDisplayClientTargetSet()
141 DisplayInfo& displayInfo = displayInfoIt->second; in presentDisplay()
/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.cc279 const auto& file_info = file_iter.second; in TargetFilesZip()
283 std::string expected_filename = "target_files-" + file_iter.second.build_id; in TargetFilesZip()
390 if (file_iter.second.source == FileSource::DEFAULT_BUILD) { in SuperImageNeedsRebuilding()
392 } else if (file_iter.second.source == FileSource::SYSTEM_BUILD) { in SuperImageNeedsRebuilding()
Dboot_config.cc140 const auto& v = kv.second; in ReplaceKernelBootArgs()
172 bootconfig_args["androidboot.hardware"] = bootconfig_hardware_it->second; in PrepareBootEnvImage()
/device/google/trout/hal/dumpstate/1.1/
DDumpstateServer.cpp41 if (svc.second.IsAvailable()) ret.push_back(svc.first); in GetAvailableServices()
54 return iter->second.GetOutput(out); in GetServiceLogs()
/device/google/cuttlefish/host/libs/config/
Ddisplay.cpp74 CF_EXPECT(android::base::ParseInt(display_dpi_it->second, &display_dpi), in ParseDisplayConfig()
81 CF_EXPECT(android::base::ParseInt(display_refresh_rate_hz_it->second, in ParseDisplayConfig()
90 display_overlays = overlays_it->second; in ParseDisplayConfig()
/device/google/cuttlefish/host/libs/input_connector/
Dinput_connector.cpp73 it.second.OnDisconnectedSource(this); in ~EventSinkImpl()
76 it.second.OnDisconnectedSource(this); in ~EventSinkImpl()
104 auto& ts = ts_it->second; in SendTouchEvent()
119 auto& ts = ts_it->second; in SendMultiTouchEvent()
Dinput_devices.cpp91 return slot_it->second; in GetOrAcquireSlot()
102 active_slots_[slot_it->second] = false; in ReleaseSlot()
111 active_slots_[it->second] = false; in OnDisconnectedSource()
/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/cuttlefish/host/libs/vm_manager/
Dhost_configuration.cpp64 (version.first == major && version.second >= minor)) { in LinuxVersionAtLeast()
69 << ", have " << version.first << "." << version.second; in LinuxVersionAtLeast()
/device/google/cuttlefish/host/frontend/webrtc/
Dscreenshot_handler.cpp75 frame_future = it->second.get_future().share(); in Screenshot()
126 SharedFramePromise& frame_promise = pending_screenshot_it->second; in OnFrame()
/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()
312 close(entry.second); in ~Command()
316 close(entry.second); in ~Command()
445 if (fcntl(entry.second, F_SETFD, 0)) { in Start()
/device/google/cuttlefish/host/commands/display/
Dmain.cpp101 std::cout << subcommand_usage->second << std::endl; in DoHelp()
232 auto result = command_func_it->second(args); in DisplayMain()
/device/google/cuttlefish/host/libs/websocket/
Dwebsocket_server.cpp59 const auto& value = header.second; in AddCORSHeaders()
429 return it->second->Build(wsi); in InstantiateHandler()
441 return it->second(wsi); in InstantiateDynHandler()

1234