/device/google/cuttlefish/common/libs/utils/ |
D | network.cpp | 264 CompleteReleaseFrame frame = {}; in ReleaseDhcp4() local 265 *reinterpret_cast<std::uint16_t*>(&frame.vnet[2]) = // hdr_len, little-endian in ReleaseDhcp4() 268 memcpy(frame.eth.ether_shost, mac_address, 6); in ReleaseDhcp4() 269 memset(frame.eth.ether_dhost, 255, 6); // Broadcast in ReleaseDhcp4() 270 frame.eth.ether_type = htobe16(ETH_P_IP); in ReleaseDhcp4() 272 frame.ip.ihl = 5; in ReleaseDhcp4() 273 frame.ip.version = 4; in ReleaseDhcp4() 274 frame.ip.id = 0; in ReleaseDhcp4() 275 frame.ip.ttl = 64; // hops in ReleaseDhcp4() 276 frame.ip.protocol = 17; // UDP in ReleaseDhcp4() [all …]
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | wifi_forwarder.cpp | 33 , mLocalConnection([this](std::unique_ptr<Frame> frame) { in WifiForwarder() argument 34 forwardFrame(std::move(frame), RadioType::Local); in WifiForwarder() 38 , mRemoteConnection([this](std::unique_ptr<Frame> frame) { in __anone7eb97f60402() argument 39 forwardFrame(std::move(frame), RadioType::Remote); in __anone7eb97f60402() 157 void WifiForwarder::forwardFrame(std::unique_ptr<Frame> frame, in forwardFrame() argument 160 if (!frame->isBeacon() || kDebugBeaconTraffic) { in forwardFrame() 164 MACARG(frame->source()), in forwardFrame() 165 MACARG(frame->destination()), in forwardFrame() 166 frame->str().c_str()); in forwardFrame() 170 const MacAddress& source = frame->source(); in forwardFrame() [all …]
|
D | local_connection.cpp | 103 uint32_t LocalConnection::transferFrame(std::unique_ptr<Frame> frame, in transferFrame() argument 112 frame->incrementAttempts(); in transferFrame() 115 !msg.addAttribute(HWSIM_ATTR_FRAME, frame->data(), frame->size()) || in transferFrame() 118 !msg.addAttribute(HWSIM_ATTR_FREQ, frame->channel())) { in transferFrame() 129 frame->setRadioDestination(dest); in transferFrame() 132 uint64_t cookie = frame->cookie(); in transferFrame() 133 FrameId id(cookie, frame->transmitter()); in transferFrame() 135 mPendingFrames[id] = std::move(frame); in transferFrame() 140 uint32_t LocalConnection::cloneFrame(const Frame& frame, in cloneFrame() argument 142 auto copy = std::make_unique<Frame>(frame.data(), in cloneFrame() [all …]
|
D | remote_connection.cpp | 232 auto frame = std::make_unique<Frame>(frameData, in receive() local 240 mOnFrameCallback(std::move(frame)); in receive() 250 bool RemoteConnection::sendFrame(std::unique_ptr<Frame> frame) { in sendFrame() argument 257 frame->transmitter(), in sendFrame() 258 frame->size() + sizeof(WifiForwardHeader), in sendFrame() 259 frame->cookie(), in sendFrame() 260 frame->flags(), in sendFrame() 261 frame->channel(), in sendFrame() 262 frame->rates().size(), in sendFrame() 263 frame->rates().data()); in sendFrame() [all …]
|
D | local_connection.h | 46 uint32_t cloneFrame(const Frame& frame, const MacAddress& destination); 47 uint32_t transferFrame(std::unique_ptr<Frame> frame, 69 bool sendFrameOnNetlink(const Frame& frame, const MacAddress& dest);
|
D | remote_connection.h | 46 bool sendFrame(std::unique_ptr<Frame> frame);
|
D | wifi_forwarder.h | 52 void forwardFrame(std::unique_ptr<Frame> frame, RadioType sourceType);
|
D | Android.bp | 26 "frame.cpp",
|
/device/google/cuttlefish/host/frontend/webrtc/lib/ |
D | video_track_source_impl.h | 31 void OnFrame(std::shared_ptr<VideoFrameBuffer> frame, int64_t timestamp_us); 68 void OnFrame(std::shared_ptr<VideoFrameBuffer> frame, in OnFrame() argument 70 track_source_impl_->OnFrame(frame, timestamp_us); in OnFrame()
|
D | video_track_source_impl.cpp | 57 void VideoTrackSourceImpl::OnFrame(std::shared_ptr<VideoFrameBuffer> frame, in OnFrame() argument 62 new rtc::RefCountedObject<VideoFrameWrapper>(frame)) in OnFrame()
|
D | video_sink.h | 28 virtual void OnFrame(std::shared_ptr<VideoFrameBuffer> frame,
|
/device/generic/goldfish/camera/ |
D | EmulatedQemuCameraDevice.cpp | 234 uint8_t* frame = frameBufferPair->first; in getCurrentFrame() local 236 if (frame == nullptr) { in getCurrentFrame() 245 return getCurrentFrameImpl(reinterpret_cast<const uint8_t*>(frame), in getCurrentFrame() 284 uint8_t* frame = frameBufferPair->first; in getCurrentFrame() local 286 return frame; in getCurrentFrame()
|
D | QemuClient.cpp | 534 const uint8_t* frame = reinterpret_cast<const uint8_t*>(query.mReplyData); in queryFrame() local 539 memcpy(vframe, frame, vframe_size); in queryFrame() 550 memcpy(pframe, frame + cur_offset, pframe_size); in queryFrame() 560 *frame_time = *reinterpret_cast<const int64_t*>(frame + cur_offset); in queryFrame() 599 const uint8_t* frame = reinterpret_cast<const uint8_t*>(query.mReplyData); in queryFrame() local 602 *frame_time = *reinterpret_cast<const int64_t*>(frame); in queryFrame()
|
D | CallbackNotifier.cpp | 292 const void* frame = camera_dev->getCurrentFrame(); in onNextFrameAvailable() local 304 if (!createThumbnail(static_cast<const unsigned char*>(frame), in onNextFrameAvailable() 316 status_t res = compressor.compressRawImage(frame, width, height, in onNextFrameAvailable()
|
D | EmulatedFakeCamera2.cpp | 1321 camera_metadata_t *frame = NULL; in threadLoop() local 1331 frame_entries, frame_data, &frame); in threadLoop() 1333 if (res != NO_ERROR || frame == NULL) { in threadLoop() 1339 res = append_camera_metadata(frame, mRequest); in threadLoop() 1345 add_camera_metadata_entry(frame, in threadLoop() 1350 collectStatisticsMetadata(frame); in threadLoop() 1356 frame); in threadLoop() 1445 camera_metadata_t *frame) { in collectStatisticsMetadata() argument 1451 res = find_camera_metadata_entry(frame, in collectStatisticsMetadata() 1491 res = add_camera_metadata_entry(frame, ANDROID_STATISTICS_FACE_RECTANGLES, in collectStatisticsMetadata() [all …]
|
/device/google/cuttlefish/guest/hals/camera/ |
D | CallbackNotifier.cpp | 193 void CallbackNotifier::onNextFrameAvailable(const void* frame, in onNextFrameAvailable() argument 201 memcpy(cam_buff->data, frame, camera_dev->getFrameBufferSize()); in onNextFrameAvailable() 215 memcpy(cam_buff->data, frame, camera_dev->getFrameBufferSize()); in onNextFrameAvailable() 259 if (!createThumbnail(static_cast<const unsigned char*>(frame), in onNextFrameAvailable() 268 status_t res = compressor.compressRawImage(frame, exifData, mJpegQuality, width, height); in onNextFrameAvailable()
|
D | PreviewWindow.h | 103 void onNextFrameAvailable(const void* frame, nsecs_t timestamp,
|
D | CallbackNotifier.h | 158 void onNextFrameAvailable(const void* frame, nsecs_t timestamp,
|
D | QemuClient.cpp | 487 const uint8_t* frame = reinterpret_cast<const uint8_t*>(query.mReplyData); in queryFrame() local 492 memcpy(vframe, frame, vframe_size); in queryFrame() 503 memcpy(pframe, frame + cur_offset, pframe_size); in queryFrame()
|
D | EmulatedFakeCamera2.cpp | 1320 camera_metadata_t *frame = NULL; in threadLoop() local 1330 mParent->mFrameQueueDst, frame_entries, frame_data, &frame); in threadLoop() 1332 if (res != NO_ERROR || frame == NULL) { in threadLoop() 1338 res = append_camera_metadata(frame, mRequest); in threadLoop() 1344 add_camera_metadata_entry(frame, ANDROID_SENSOR_TIMESTAMP, &captureTime, in threadLoop() 1347 collectStatisticsMetadata(frame); in threadLoop() 1353 mParent->mFrameQueueDst->enqueue_frame(mParent->mFrameQueueDst, frame); in threadLoop() 1444 camera_metadata_t *frame) { in collectStatisticsMetadata() argument 1450 res = find_camera_metadata_entry(frame, ANDROID_STATISTICS_FACE_DETECT_MODE, in collectStatisticsMetadata() 1488 res = add_camera_metadata_entry(frame, ANDROID_STATISTICS_FACE_RECTANGLES, in collectStatisticsMetadata() [all …]
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | display_handler.cpp | 33 frame_num, [&frame_num, this](std::uint32_t fn, std::uint8_t* frame) { in Loop() argument 38 libyuv::ABGRToI420(frame, screen_connector_->ScreenStride(), in Loop()
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | jpeg_compressor.cpp | 43 cuttlefish::Message JpegCompressor::Compress(const Message& frame, in Compress() argument 59 &frame[(y * stride) + in Compress()
|
D | jpeg_compressor.h | 36 Message Compress(const Message& frame, int jpeg_quality, std::uint16_t x,
|
/device/amlogic/yukawa/hal/audio/ |
D | audio_aec.c | 109 size_t frame, ch; in get_reference_audio_in_place() local 110 for (frame = 0; frame < frames; frame++) { in get_reference_audio_in_place() 428 size_t frame, ch; in get_reference_samples() local 429 for (frame = 0; frame < frames; frame++) { in get_reference_samples()
|
/device/google/muskie/ |
D | WCNSS_qcom_cfg.ini | 538 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 se… 544 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try… 549 #where we send NULL frame. 554 #gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send …
|