Home
last modified time | relevance | path

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

1234

/device/google/cuttlefish/host/commands/modem_simulator/
Dcall_service.cpp89 if (iter.second.isCallDialing()) { in SimulatePendingCallsAnswered()
90 iter.second.SetCallActive(); in SimulatePendingCallsAnswered()
97 << ", number: " << call_token.second << "timeout, cancel"; in TimerWaitingRemoteCallResponse()
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()
182 port <= kRemotePortRange.second) { // May be a remote call in HandleDial()
262 if (iter.second.isCallIncoming()) { in HandleAcceptCall()
263 iter.second.SetCallActive(); in HandleAcceptCall()
264 SendCallStatusToRemote(iter.second, CallStatus::CALL_STATE_ACTIVE); in HandleAcceptCall()
[all …]
/device/generic/goldfish/network/wifi_forwarder/
Dcache.h44 : first(key), second(value) { in IterPair()
49 const Value& second; variable
57 return IterPair(mCurrent->first, mCurrent->second.second);
61 return IterPair(mCurrent->first, mCurrent->second.second);
81 IterPair(const Key& key, Value& value) : first(key), second(value) { } in IterPair()
85 Value& second; variable
92 return IterPair(mCurrent->first, mCurrent->second.second);
96 return IterPair(mCurrent->first, mCurrent->second.second);
126 return insert_return_type(inserted.first, inserted.second); in insert_or_assign()
132 return v.second;
[all …]
Dlocal_connection.cpp213 FrameId id = mRetryQueue.top().second; in onTimeout()
217 std::unique_ptr<Frame> frame = std::move(frameIt->second); in onTimeout()
338 auto pendingFrame = mPendingFrames.find(cookie->second); in onAck()
348 Frame* frame = pendingFrame->second.get(); in onAck()
354 mPendingFrames.erase(cookie->second); in onAck()
367 FrameId id = idIt->second; in onError()
376 Frame* frame = frameIt->second.get(); in onError()
Dpoller.cpp128 if (!pollable->second->onReadAvailable(fd.fd, &status)) { in run()
136 if (!pollable->second->onClose(fd.fd, &status)) { in run()
/device/google/cuttlefish/host/frontend/webrtc/lib/
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/network/netmgr/commands/
Dwifi_command.cpp137 fprintf(out.get(), "bss=%s\n", ap.second.ifName.c_str()); in writeConfig()
138 fprintf(out.get(), "ssid=%s\n", ap.second.ssid.c_str()); in writeConfig()
139 if (!ap.second.password.empty()) { in writeConfig()
143 fprintf(out.get(), "wpa_passphrase=%s\n", ap.second.password.c_str()); in writeConfig()
192 interface->second.blocked = true; in onBlock()
193 return mBridge.removeInterface(interface->second.ifName.c_str()); in onBlock()
201 interface->second.blocked = false; in onUnblock()
202 return mBridge.addInterface(interface->second.ifName.c_str()); in onUnblock()
/device/generic/goldfish/camera/
DEmulatedQemuCamera.cpp106 int area = res.first * res.second; in Initialize()
110 maxAreaHeight = res.second; in Initialize()
116 if (res->first > maxAreaWidth || res->second > maxAreaHeight) { in Initialize()
135 sizesStream << resolutions[i].first << 'x' << resolutions[i].second; in Initialize()
152 + "x" + std::to_string(resolutions[0].second); in Initialize()
161 int y = resolutions[0].second; in Initialize()
DEmulatedQemuCameraDevice.cpp161 mFrameBufferPairs[0].second = mPreviewFrames[0].data(); in startDevice()
164 mFrameBufferPairs[1].second = mPreviewFrames[1].data(); in startDevice()
264 uint32_t* previewFrame = frameBufferPair->second; in getCurrentPreviewFrame()
297 uint32_t* previewFrame = frameBufferPair->second; in produceFrame()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DRunLoop.cpp242 CHECK(it->second.mSendFn != nullptr); in run()
244 CHECK(it->second.mRecvFn == nullptr); in run()
245 it->second.mRecvFn = fn; in run()
247 pollFds[it->second.mPollFdIndex].events |= POLLIN; in run()
259 if (it->second.mRecvFn == nullptr) { in run()
266 CHECK(it->second.mRecvFn != nullptr); in run()
268 if (it->second.mSendFn != nullptr) { in run()
274 CHECK(it->second.mSendFn == nullptr); in run()
275 it->second.mSendFn = fn; in run()
277 pollFds[it->second.mPollFdIndex].events |= POLLOUT; in run()
[all …]
DHTTPServer.cpp120 it->second, in handleSingleRequest()
138 it->second, in handleSingleRequest()
168 + kStatusMessage.find(httpResultCode)->second; in handleSingleRequest()
197 response += pair.first + ": " + pair.second + "\r\n"; in handleSingleRequest()
379 return it->second; in GuessMimeType()
/device/google/cuttlefish/guest/hals/ril/
Dcuttlefish_ril.cpp160 responses[index].status = iter->second.fail_cause_; 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()
228 fail = gDataCalls.rbegin()->second.fail_cause_; in request_datacall_fail_cause()
465 p_calls->state = iter->second.state; in request_get_current_calls()
467 p_calls->toa = iter->second.isInternational ? 145 : 129; in request_get_current_calls()
468 p_calls->isMpty = iter->second.isMultiParty; in request_get_current_calls()
469 p_calls->isMT = iter->second.isMobileTerminated; in request_get_current_calls()
471 p_calls->isVoice = iter->second.isVoice; in request_get_current_calls()
473 p_calls->number = strdup(iter->second.number.c_str()); in request_get_current_calls()
[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/libs/vm_manager/
Dvm_manager.cpp90 return it->second.configure_gpu_mode(gpu_mode); in ConfigureGpuMode()
99 return it->second.configure_boot_devices(); in ConfigureBootDevices()
140 (version.first == major && version.second >= minor)) { in LinuxVersionAtLeast()
145 << ", have " << version.first << "." << version.second; in LinuxVersionAtLeast()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DKeyedVectorUtils.h24 delete it->second; in clearObjectMap()
37 return it->second;
DIndexRangeCache.cpp45 if (start_out) *start_out = it->second.start; in findRange()
46 if (end_out) *end_out = it->second.end; in findRange()
/device/generic/goldfish-opengl/system/vulkan_enc/
DResourceTracker.cpp379 auto info = it->second; in GOLDFISH_VK_LIST_TRIVIAL_HANDLE_TYPES()
389 auto info = it->second; in unregister_VkDevice()
399 auto& info = it->second; in unregister_VkCommandBuffer()
417 auto& info = it->second; in unregister_VkQueue()
436 auto& memInfo = it->second; in unregister_VkDeviceMemory()
467 auto& imageInfo = it->second; in unregister_VkImage()
487 auto& semInfo = it->second; in unregister_VkSemaphore()
505 auto& fenceInfo = it->second; in unregister_VkFence()
521 const auto& setInfo = it->second; in unregister_VkDescriptorSet_locked()
529 auto& poolInfo = poolIt->second; in unregister_VkDescriptorSet_locked()
[all …]
/device/generic/goldfish-opengl/fuchsia/include/cutils/
Dlog.h26 #define __android_second(dummy, second, ...) second argument
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dregion_registry.cpp162 if (it->second.size()) { in recycle_mmap()
163 addr = it->second.front(); in recycle_mmap()
165 it->second.pop_front(); in recycle_mmap()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dmisc_info.cc52 out << entry.first << "=" << entry.second << "\n"; in WriteMiscInfo()
64 auto components = android::base::Split(value_it->second, " "); in SuperPartitionComponents()
Dsuper_image_mixer.cc46 const auto& file_info = file_iter.second; in TargetFilesZip()
50 std::string expected_filename = "target_files-" + file_iter.second.build_id; in TargetFilesZip()
297 if (file_iter.second.source == cuttlefish::FileSource::DEFAULT_BUILD) { in SuperImageNeedsRebuilding()
299 } else if (file_iter.second.source == cuttlefish::FileSource::SYSTEM_BUILD) { in SuperImageNeedsRebuilding()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp51 auto dupped_fd = entry.second; in validate_redirects()
64 auto fd = entry.second; in do_redirects()
176 close(entry.second); in ~Command()
180 close(entry.second); in ~Command()
260 if (fcntl(entry.second, F_SETFD, 0)) { in Start()
/device/generic/goldfish/network/netmgr/
Dpoller.cpp129 if (!pollable->second->onReadAvailable(fd.fd, &status)) { in run()
137 if (!pollable->second->onClose(fd.fd, &status)) { in run()
/device/linaro/hikey/bluetooth/
Dasync_fd_watcher.cc171 if (it.second) { in ThreadRoutine()
172 it.second(it.first); in ThreadRoutine()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dkernel_log_server.cc111 auto& prefix = info_kv.second; in HandleIncomingMessage()
119 auto event = stage_kv.second; in HandleIncomingMessage()

1234