/test/ostest/wukong/common/src/ |
D | wukong_logger.cpp | 146 bufferQueue_.push(logInfo); in Print() 187 if (self->bufferQueue_.empty() && !self->printerRunning_) { in Run() 191 while (!self->bufferQueue_.empty()) { in Run() 192 tmpBuffer.push(self->bufferQueue_.front()); in Run() 193 self->bufferQueue_.pop(); in Run()
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/ |
D | hdf_camera_benchmark_test.cpp | 176 if (streamInfoPre->bufferQueue_ == nullptr) { in BENCHMARK_F() 177 … streamInfoPre->bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in BENCHMARK_F() 181 streamInfoPre->bufferQueue_->producer_->SetQueueSize(OHOS::Camera::UT_DATA_SIZE); in BENCHMARK_F() 216 … streamInfoPre->bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in BENCHMARK_F() 219 streamInfoPre->bufferQueue_->producer_->SetQueueSize(OHOS::Camera::UT_DATA_SIZE); in BENCHMARK_F() 457 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in BENCHMARK_F() 461 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); in BENCHMARK_F() 503 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t siz… in BENCHMARK_F() 507 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in BENCHMARK_F() 521 …cameraTest->streamInfoSnapshot->bufferQueue_ = snapshotConsumer->CreateProducerSeq([this](void* ad… in BENCHMARK_F() [all …]
|
D | benchmark_common.cpp | 151 … streamInfoPre->bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in StartStream() 154 streamInfoPre->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 167 …streamInfoVideo->bufferQueue_ = consumer_video->CreateProducerSeq([this](void* addr, uint32_t size… in StartStream() 170 streamInfoVideo->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 183 …streamInfoAnalyze->bufferQueue_ = consumer_analyze->CreateProducerSeq([this](void* addr, uint32_t … in StartStream() 203 streamInfoAnalyze->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 215 …streamInfoCapture->bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t … in StartStream() 218 streamInfoCapture->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
|
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/ |
D | hdi_stream_uttest.cpp | 64 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in __anon39891d000102() 68 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); 108 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in __anon39891d000202() 148 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in __anon39891d000302() 183 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in __anon39891d000402() 221 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in __anon39891d000502() 256 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in __anon39891d000602() 260 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); 295 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in __anon39891d000702() 299 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); [all …]
|
D | common.cpp | 151 … streamInfoPre->bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in StartStream() 154 streamInfoPre->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 167 …streamInfoVideo->bufferQueue_ = consumer_video->CreateProducerSeq([this](void* addr, uint32_t size… in StartStream() 170 streamInfoVideo->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 183 …streamInfoAnalyze->bufferQueue_ = consumer_analyze->CreateProducerSeq([this](void* addr, uint32_t … in StartStream() 203 streamInfoAnalyze->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 215 …streamInfoCapture->bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t … in StartStream() 218 streamInfoCapture->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/ |
D | camera_preview_test.cpp | 92 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); 93 ASSERT_NE(streamInfo.bufferQueue_, nullptr); 211 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); 212 ASSERT_NE(streamInfo.bufferQueue_, nullptr); 265 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); 266 ASSERT_NE(streamInfo.bufferQueue_, nullptr); 308 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); 309 ASSERT_NE(streamInfo.bufferQueue_, nullptr); 362 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); 363 ASSERT_NE(streamInfo.bufferQueue_, nullptr); [all …]
|
D | test_display.cpp | 112 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in StartStreamUpdate() 113 ASSERT_NE(streamInfo.bufferQueue_, nullptr); in StartStreamUpdate() 559 …streamInfoPre.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProducer… in StartStream() 560 ASSERT_NE(streamInfoPre.bufferQueue_, nullptr); in StartStream() 561 streamInfoPre.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in StartStream() 577 …streamInfoVideo.bufferQueue_ = new BufferProducerSequenceable(streamCustomerVideo_->CreateProducer… in StartStream() 578 ASSERT_NE(streamInfoVideo.bufferQueue_, nullptr); in StartStream() 579 streamInfoVideo.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in StartStream() 595 …streamInfoCapture.bufferQueue_ = new BufferProducerSequenceable(streamCustomerCapture_->CreateProd… in StartStream() 596 ASSERT_NE(streamInfoCapture.bufferQueue_, nullptr); in StartStream() [all …]
|
D | usb_camera_test.cpp | 899 …streamInfo.bufferQueue_ = new BufferProducerSequenceable(display_->streamCustomerPreview_->CreateP… 900 ASSERT_NE(streamInfo.bufferQueue_, nullptr); 901 streamInfo.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size 915 streamInfoCapture.bufferQueue_ = new BufferProducerSequenceable( 917 ASSERT_NE(streamInfoCapture.bufferQueue_, nullptr); 918 streamInfoCapture.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size 1055 …streamInfo.bufferQueue_ = new BufferProducerSequenceable(display_->streamCustomerPreview_->CreateP… 1056 ASSERT_NE(streamInfo.bufferQueue_, nullptr); 1057 streamInfo.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size 1071 …streamInfoVideo.bufferQueue_ = new BufferProducerSequenceable(display_->streamCustomerVideo_->Crea… [all …]
|
D | usb_camera_test_mult.cpp | 71 …streamInfoPre_.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProduce… in DefaultInfosPreview() 72 ASSERT_NE(streamInfoPre_.bufferQueue_, nullptr); in DefaultInfosPreview() 73 streamInfoPre_.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in DefaultInfosPreview() 92 …streamInfoVideo_.bufferQueue_ = new BufferProducerSequenceable(streamCustomerVideo_->CreateProduce… in DefaultInfosVideo() 93 ASSERT_NE(streamInfoVideo_.bufferQueue_, nullptr); in DefaultInfosVideo() 94 streamInfoVideo_.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in DefaultInfosVideo() 113 …streamInfoCapture_.bufferQueue_ = new BufferProducerSequenceable(streamCustomerCapture_->CreatePro… in DefaultInfosCapture() 114 ASSERT_NE(streamInfoCapture_.bufferQueue_, nullptr); in DefaultInfosCapture() 115 streamInfoCapture_.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in DefaultInfosCapture()
|
D | double_preview_test.cpp | 54 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in SetStreamInfo() 55 ASSERT_NE(streamInfo.bufferQueue_, nullptr); in SetStreamInfo() 56 streamInfo.bufferQueue_->producer_->SetQueueSize(BUFFER_QUEUE_SIZE); in SetStreamInfo()
|
D | camera_video_test.cpp | 61 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in SetStreamInfo() 62 ASSERT_NE(streamInfo.bufferQueue_, nullptr); in SetStreamInfo() 63 streamInfo.bufferQueue_->producer_->SetQueueSize(BUFFER_QUEUE_SIZE); in SetStreamInfo() 542 display_->streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); 543 ASSERT_NE(display_->streamInfo.bufferQueue_, nullptr);
|
D | camera_capture_test.cpp | 302 display_->streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); 303 ASSERT_NE(display_->streamInfo.bufferQueue_, nullptr); 356 display_->streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); 357 ASSERT_NE(display_->streamInfo.bufferQueue_, nullptr);
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/ |
D | hdi_stream_uttest.cpp | 164 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void *addr, uint32_t siz… in __anon35e33d580102() 168 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); 210 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void *addr, uint32_t siz… in __anon35e33d580202() 214 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); 256 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void *addr, uint32_t siz… in __anon35e33d580302() 260 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); 302 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void *addr, uint32_t siz… in __anon35e33d580402() 306 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); 348 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void *addr, uint32_t siz… in __anon35e33d580502() 352 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); [all …]
|
D | common.cpp | 152 … streamInfoPre->bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in StartStream() 155 streamInfoPre->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 168 …streamInfoVideo->bufferQueue_ = consumer_video->CreateProducerSeq([this](void* addr, uint32_t size… in StartStream() 171 streamInfoVideo->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 184 …streamInfoAnalyze->bufferQueue_ = consumer_analyze->CreateProducerSeq([this](void* addr, uint32_t … in StartStream() 204 streamInfoAnalyze->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 216 …streamInfoCapture->bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t … in StartStream() 219 streamInfoCapture->bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/ |
D | benchmark_common.cpp | 176 …streamInfoPre->v1_0.bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t siz… in StartStream() 179 streamInfoPre->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 192 …streamInfoVideo->v1_0.bufferQueue_ = consumer_video->CreateProducerSeq([this](void* addr, uint32_t… in StartStream() 195 streamInfoVideo->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 208 streamInfoAnalyze->v1_0.bufferQueue_ = in StartStream() 229 streamInfoAnalyze->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream() 241 streamInfoCapture->v1_0.bufferQueue_ = in StartStream() 245 streamInfoCapture->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in StartStream()
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/ |
D | hdi_common_v1_2.cpp | 223 infos->v1_0.bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosSketch() 226 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosSketch() 235 infos->v1_0.bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosPreviewV1_2() 238 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosPreviewV1_2() 246 infos->v1_0.bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosPreview() 249 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosPreview() 258 … infos->v1_0.bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosCapture() 261 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosCapture() 277 infos->v1_0.bufferQueue_ = consumer_video->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosVideo() 280 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosVideo() [all …]
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/ |
D | hdi_common_v1_1.cpp | 173 infos->v1_0.bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosPreview() 176 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosPreview() 185 … infos->v1_0.bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosCapture() 188 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosCapture() 204 infos->v1_0.bufferQueue_ = consumer_video->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosVideo() 207 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosVideo() 223 … infos->v1_0.bufferQueue_ = consumer_analyze->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosAnalyze() 243 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosAnalyze()
|
D | camera_hdi_uttest_v1_1.cpp | 461 …cameraTest->streamInfoCapture->v1_0.bufferQueue_ = consumer_capture->CreateProducerSeq([this](void… in __anon51fb43d40602() 464 cameraTest->streamInfoCapture->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE);
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/ |
D | hdi_common_v1_1.cpp | 173 infos->v1_0.bufferQueue_ = consumer_pre->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosPreview() 176 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosPreview() 185 … infos->v1_0.bufferQueue_ = consumer_capture->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosCapture() 188 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosCapture() 204 infos->v1_0.bufferQueue_ = consumer_video->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosVideo() 207 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosVideo() 223 … infos->v1_0.bufferQueue_ = consumer_analyze->CreateProducerSeq([this](void* addr, uint32_t size) { in DefaultInfosAnalyze() 243 infos->v1_0.bufferQueue_->producer_->SetQueueSize(UT_DATA_SIZE); in DefaultInfosAnalyze()
|
/test/ostest/wukong/common/include/ |
D | wukong_logger.h | 100 std::queue<LogInfo> bufferQueue_; variable
|
/test/xts/dcts/distributedhardware/distributedcameratest/ |
D | dcamera_hdf_demo.cpp | 79 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in SetStreamInfo() 80 streamInfo.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in SetStreamInfo() 196 if (streamInfo.bufferQueue_->producer_ == nullptr) { in CreateStreamInfo() 381 if (previewStreamInfo.bufferQueue_->producer_ == nullptr) { in CreateStreams() 394 if (secondStreamInfo.bufferQueue_->producer_ == nullptr) { in CreateStreams()
|