Home
last modified time | relevance | path

Searched refs:streamId_ (Results 1 - 25 of 48) sorted by relevance

12

/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_manager_callback/src/
H A Ddaudio_manager_callback_test.cpp46 EXPECT_EQ(HDF_FAILURE, manCallback_->CreateStream(streamId_)); in HWTEST_F()
59 EXPECT_EQ(HDF_SUCCESS, manCallback_->CreateStream(streamId_)); in HWTEST_F()
60 EXPECT_EQ(HDF_SUCCESS, manCallback_->DestroyStream(streamId_)); in HWTEST_F()
73 EXPECT_EQ(HDF_FAILURE, manCallback_->DestroyStream(streamId_)); in HWTEST_F()
86 EXPECT_EQ(HDF_SUCCESS, manCallback_->CreateStream(streamId_)); in HWTEST_F()
87 EXPECT_EQ(HDF_SUCCESS, manCallback_->DestroyStream(streamId_)); in HWTEST_F()
100 EXPECT_EQ(HDF_SUCCESS, manCallback_->CreateStream(streamId_)); in HWTEST_F()
103 EXPECT_EQ(HDF_FAILURE, manCallback_->SetParameters(streamId_, param)); in HWTEST_F()
104 EXPECT_EQ(HDF_FAILURE, manCallback_->DestroyStream(streamId_)); in HWTEST_F()
117 EXPECT_EQ(HDF_SUCCESS, manCallback_->CreateStream(streamId_)); in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_common.h49 streamId_ = -1; in DashSegment()
61 streamId_ = srcSegment.streamId_; in DashSegment()
76 streamId_ = srcSegment.streamId_; in operator =()
90 int32_t streamId_; member
124 streamId_ = 0; in DashInitSegment()
133 int streamId_; member
150 streamId_ = desc.streamId_; in DashStreamDescription()
193 int streamId_ = 0; global() member
[all...]
H A Ddash_media_downloader.cpp96 std::shared_ptr<DashSegmentDownloader> segmentDownloader = GetSegmentDownloader(readDataInfo.streamId_); in Read()
98 MEDIA_LOG_E("GetSegmentDownloader failed when Read, streamId " PUBLIC_LOG_D32, readDataInfo.streamId_); in Read()
103 MEDIA_LOG_D("Read:streamId " PUBLIC_LOG_D32 " readRet:" PUBLIC_LOG_D32, readDataInfo.streamId_, ret); in Read()
105 MEDIA_LOG_I("Read:streamId " PUBLIC_LOG_D32 " segment all finished end", readDataInfo.streamId_); in Read()
377 mpdDownloader_->GetBreakPointSegment(streamDesc->streamId_, breakpoint_, seg); in ReceiveMpdStreamInitEvent()
379 mpdDownloader_->GetNextSegmentByStreamId(streamDesc->streamId_, seg); in ReceiveMpdStreamInitEvent()
383 MEDIA_LOG_W("Dash get segment null in streamId " PUBLIC_LOG_D32, streamDesc->streamId_); in ReceiveMpdStreamInitEvent()
396 callback_, streamDesc->streamId_, streamDesc->type_, expectDuration_); in OpenInitSegment()
406 streamDesc->streamId_); in OpenInitSegment()
412 PUBLIC_LOG_D32, streamDesc->streamId_, streamDes in OpenInitSegment()
[all...]
H A Ddash_segment_downloader.cpp60 streamId_ = streamId; in DashSegmentDownloader()
117 PUBLIC_LOG_D64, mediaSegment_->streamId_, mediaSegment_->numberSeq_, in Open()
120 std::shared_ptr<DashInitSegment> initSegment = GetDashInitSegment(streamId_); in Open()
123 PUBLIC_LOG_D32, streamId_, initSegment->writeState_); in Open()
172 int32_t streamId = readDataInfo.streamId_; in Read()
186 currentStreamId = currentSegment->streamId_; in Read()
242 PUBLIC_LOG_D64 " read Eos", mediaSegment_->streamId_, mediaSegment_->numberSeq_); in IsSegmentFinished()
258 MEDIA_LOG_E("DashSegmentDownloader read return error again streamId: " PUBLIC_LOG_D32, streamId_); in CheckReadInterrupt()
275 MEDIA_LOG_I("DashSegmentDownloader interruptNeeded streamId: " PUBLIC_LOG_D32, streamId_); in CheckReadInterrupt()
287 MEDIA_LOG_I("HandleBuffering begin streamId: " PUBLIC_LOG_D32, streamId_);
[all...]
H A Ddash_segment_downloader.h47 streamId_ = -1; in DashBufferSegment()
63 streamId_ = srcSegment.streamId_; in DashBufferSegment()
82 streamId_ = srcSegment.streamId_; in operator =()
102 streamId_ = dashSegment->streamId_; in DashBufferSegment()
118 int32_t streamId_; member
213 int streamId_{0};
H A Ddash_mpd_downloader.cpp140 segment->streamId_ = streamDesc->streamId_; in AddOneSegment()
217 return streamDescriptions_[index]->streamId_; in GetInUseVideoStreamId()
229 if (streamDescription->streamId_ != streamId) { in GetNextSegmentByStreamId()
237 PUBLIC_LOG_D64, segmentIndex, streamDescription->streamId_, streamDescription->currentNumberSeq_); in GetNextSegmentByStreamId()
263 if (streamDescription->streamId_ != streamId) { in GetBreakPointSegment()
308 PUBLIC_LOG_U32, stream->bandwidth_, stream->streamId_, stream->width_); in GetNextVideoStream()
323 streamId = destStream->streamId_; in GetNextVideoStream()
358 if (stream->streamId_ == param.streamId_) { in GetNextTrackStream()
[all...]
H A Ddash_mpd_downloader.h59 streamId_ = -1; in DashMpdBitrateParam()
68 int streamId_; member
81 streamId_ = -1; in DashMpdTrackParam()
89 int streamId_; member
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_hdi_handler/src/
H A Ddaudio_hdi_handler_test.cpp99 EXPECT_NE(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent)); in HWTEST_F()
114 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent1)); in HWTEST_F()
116 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent2)); in HWTEST_F()
118 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent3)); in HWTEST_F()
120 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent4)); in HWTEST_F()
122 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent5)); in HWTEST_F()
124 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent6)); in HWTEST_F()
126 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent7)); in HWTEST_F()
128 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent8)); in HWTEST_F()
130 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/
H A Ddcamera_stream_data_process_producer.cpp35 : devId_(devId), dhId_(dhId), streamId_(streamId), streamType_(streamType), eventHandler_(nullptr), in DCameraStreamDataProcessProducer()
39 "streamId: %{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, streamId_); in DCameraStreamDataProcessProducer()
49 streamType_, streamId_); in ~DCameraStreamDataProcessProducer()
58 "streamId: %{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, streamId_); in Start()
83 streamType_, streamId_, state_); in Stop()
106 streamType_, streamId_, state_); in Stop()
117 GetAnonyString(dhId_).c_str(), streamId_, streamType_, buffersSize); in FeedStream()
168 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, streamId_, state_); in LooperSnapShot()
175 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, streamId_, state_); in LooperSnapShot()
180 "SourceCapture_streamId(" + std::to_string(streamId_) in LooperSnapShot()
[all...]
H A Ddcamera_source_data_process.cpp84 GetAnonyString(dhId_).c_str(), streamInfo->streamId_, streamConfig.width_, streamConfig.height_, in ConfigStreams()
90 streamConfigs[streamConfig].insert(streamInfo->streamId_); in ConfigStreams()
91 streamIds_.insert(streamInfo->streamId_); in ConfigStreams()
/foundation/distributedhardware/distributed_audio/services/audiomanager/test/unittest/sourcedevice/src/
H A Ddmic_dev_test.cpp108 EXPECT_EQ(DH_SUCCESS, mic_->CreateStream(streamId_)); in HWTEST_F()
111 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, mic_->CreateStream(streamId_)); in HWTEST_F()
122 EXPECT_EQ(DH_SUCCESS, mic_->DestroyStream(streamId_)); in HWTEST_F()
125 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, mic_->DestroyStream(streamId_)); in HWTEST_F()
145 EXPECT_EQ(DH_SUCCESS, mic_->SetParameters(streamId_, param)); in HWTEST_F()
148 EXPECT_EQ(DH_SUCCESS, mic_->SetParameters(streamId_, param)); in HWTEST_F()
151 EXPECT_EQ(ERR_DH_AUDIO_SA_PARAM_INVALID, mic_->SetParameters(streamId_, param)); in HWTEST_F()
153 EXPECT_EQ(DH_SUCCESS, mic_->SetParameters(streamId_, param)); in HWTEST_F()
155 EXPECT_EQ(DH_SUCCESS, mic_->SetParameters(streamId_, param)); in HWTEST_F()
167 EXPECT_EQ(DH_SUCCESS, mic_->NotifyEvent(streamId_, even in HWTEST_F()
[all...]
H A Ddspeaker_dev_test.cpp116 EXPECT_EQ(DH_SUCCESS, spk_->CreateStream(streamId_)); in HWTEST_F()
119 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, spk_->CreateStream(streamId_)); in HWTEST_F()
130 EXPECT_EQ(DH_SUCCESS, spk_->DestroyStream(streamId_)); in HWTEST_F()
133 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, spk_->DestroyStream(streamId_)); in HWTEST_F()
153 EXPECT_EQ(DH_SUCCESS, spk_->SetParameters(streamId_, param)); in HWTEST_F()
166 EXPECT_EQ(DH_SUCCESS, spk_->NotifyEvent(streamId_, event)); in HWTEST_F()
169 EXPECT_EQ(DH_SUCCESS, spk_->NotifyEvent(streamId_, event)); in HWTEST_F()
172 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, spk_->NotifyEvent(streamId_, event)); in HWTEST_F()
308 EXPECT_EQ(DH_SUCCESS, spk_->SetParameters(streamId_, param)); in HWTEST_F()
352 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, spk_->WriteStreamData(streamId_, writeDat in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/dash_test/
H A Ddash_segment_downloader_unit_test.cpp77 segmentSp->streamId_ = 1; in HWTEST_F()
102 segmentSp->streamId_ = 4; in HWTEST_F()
129 initSeg->streamId_ = 1; in HWTEST_F()
134 segmentSp->streamId_ = 1; in HWTEST_F()
158 segmentSp->streamId_ = 1; in HWTEST_F()
181 readDataInfo.streamId_ = 1; in HWTEST_F()
190 readDataInfo.streamId_ = 2; in HWTEST_F()
204 segmentSp->streamId_ = 1; in HWTEST_F()
240 segmentSp->streamId_ = 1; in HWTEST_F()
290 segmentSp->streamId_ in HWTEST_F()
[all...]
H A Ddash_mpd_downloader_unit_test.cpp199 ret = g_mpdDownloader->GetNextVideoStream(bitrateParam, bitrateParam.streamId_); in HWTEST_F()
213 trackParam.streamId_ = audioStream->streamId_; in HWTEST_F()
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/system_tone_player/
H A Dsystem_tone_player_impl.cpp180 playerMap_[streamId_] = audioHapticManager_->CreatePlayer(sourceIds_[hapticsFeature_], options); in CreatePlayerWithOptions()
181 CHECK_AND_RETURN_RET_LOG(playerMap_[streamId_] != nullptr, MSERR_OPEN_FILE_FAILED, in CreatePlayerWithOptions()
184 callbackMap_[streamId_] = std::make_shared<SystemTonePlayerCallback>(streamId_, shared_from_this()); in CreatePlayerWithOptions()
185 CHECK_AND_RETURN_RET_LOG(callbackMap_[streamId_] != nullptr, MSERR_OPEN_FILE_FAILED, in CreatePlayerWithOptions()
187 (void)playerMap_[streamId_]->SetAudioHapticPlayerCallback(callbackMap_[streamId_]); in CreatePlayerWithOptions()
188 playerMap_[streamId_]->SetHapticsMode(hapticsMode_); in CreatePlayerWithOptions()
190 int32_t result = playerMap_[streamId_]->Prepare(); in CreatePlayerWithOptions()
198 // Update streamId_ an in UpdateStreamId()
[all...]
H A Dsystem_tone_player_impl.h76 int32_t streamId_ = 0; member in OHOS::Media::SystemTonePlayerImpl
106 int32_t streamId_; member in OHOS::Media::SystemTonePlayerCallback
/foundation/multimedia/av_codec/test/unittest/http_source_test/
H A Dhttp_media_downloader_unit_test.cpp93 readDataInfo.streamId_ = 0; in HWTEST_F()
118 readDataInfo.streamId_ = 0; in HWTEST_F()
143 readDataInfo.streamId_ = 0; in HWTEST_F()
169 readDataInfo.streamId_ = 0; in HWTEST_F()
196 readDataInfo.streamId_ = 0; in HWTEST_F()
215 readDataInfo.streamId_ = 0; in HWTEST_F()
237 readDataInfo.streamId_ = 0; in HWTEST_F()
257 readDataInfo.streamId_ = 0; in HWTEST_F()
279 readDataInfo.streamId_ = 0; in HWTEST_F()
301 readDataInfo.streamId_ in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/hls_test/
H A Dhls_media_downloader_unit_test.cpp341 readDataInfo.streamId_ = 0; in HWTEST_F()
366 readDataInfo.streamId_ = 0; in HWTEST_F()
408 readDataInfo.streamId_ = 0; in HWTEST_F()
436 readDataInfo.streamId_ = 0; in HWTEST_F()
463 readDataInfo.streamId_ = 0; in HWTEST_F()
493 readDataInfo.streamId_ = 0; in HWTEST_F()
523 readDataInfo.streamId_ = 0; in HWTEST_F()
547 readDataInfo.streamId_ = 0; in HWTEST_F()
572 readDataInfo.streamId_ = 0; in HWTEST_F()
596 readDataInfo.streamId_ in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_provider_callback_impl_test.cpp71 streamInfo1.streamId_ = 1; in SetStreamInfos()
81 streamInfo2.streamId_ = TEST_STREAMID; in SetStreamInfos()
350 streamInfo11.streamId_ = 1; in HWTEST_F()
378 stream.streamId_ = 1; in HWTEST_F()
388 stream.streamId_ = -1; in HWTEST_F()
391 stream.streamId_ = 1; in HWTEST_F()
395 stream.streamId_ = 1; in HWTEST_F()
/foundation/multimedia/camera_lite/services/impl/src/
H A Dcamera_device.cpp456 streamId_ = *streamId; in SetFrameConfig()
566 streamId_ = *streamId; in SetFrameConfig()
598 HalCameraStreamOff(cameraId_, streamId_); in Stop()
599 HalCameraStreamDestroy(cameraId_, streamId_); in Stop()
628 streamId_ = *streamId; in SetFrameConfig()
733 streamId_ = *streamId; in SetFrameConfig()
776 HalCameraQueueBuf(assistant->cameraId_, assistant->streamId_, &streamBuffer); in StreamCopyProcess()
787 ret = HalCameraDequeueBuf(assistant->cameraId_, assistant->streamId_, &streamBuffer); in StreamCopyProcess()
801 HalCameraQueueBuf(assistant->cameraId_, assistant->streamId_, &streamBuffer); in StreamCopyProcess()
814 HalCameraStreamOff(cameraId_, streamId_); in Stop()
[all...]
/foundation/distributedhardware/distributed_audio/services/audiomanager/test/unittest/sourcedevice/include/
H A Ddspeaker_dev_test.h37 int32_t streamId_ = 0; member in OHOS::DistributedHardware::DSpeakerDevTest
H A Ddmic_dev_test.h38 int32_t streamId_ = 0; member in OHOS::DistributedHardware::DMicDevTest
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_hdi_handler/include/
H A Ddaudio_hdi_handler_test.h37 int32_t streamId_ = 0; member in OHOS::DistributedHardware::DAudioHdiHandlerTest
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_manager_callback/include/
H A Ddaudio_manager_callback_test.h38 int32_t streamId_ = 0; member in OHOS::DistributedHardware::DAudioManagerCallbackTest
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
H A Dsoundpool_napi.cpp283 napi_status status = napi_get_value_int32(env, args[PARAM0], &asyncCtx->streamId_); in JsStop()
284 if (status != napi_ok || asyncCtx->streamId_ <= 0) { in JsStop()
289 if (status == napi_ok && asyncCtx->streamId_ > 0) { in JsStop()
294 int32_t ret = asyncCtx->soundPool_->Stop(asyncCtx->streamId_); in JsStop()
330 napi_status status = napi_get_value_int32(env, args[PARAM0], &asyncCtx->streamId_); in JsSetLoop()
331 if (status != napi_ok || asyncCtx->streamId_ <= 0) { in JsSetLoop()
339 if (status == napi_ok && asyncCtx->streamId_ > 0) { in JsSetLoop()
344 int32_t ret = asyncCtx->soundPool_->SetLoop(asyncCtx->streamId_, asyncCtx->loop_); in JsSetLoop()
379 napi_status status = napi_get_value_int32(env, args[PARAM0], &asyncCtx->streamId_); in JsSetPriority()
380 if (status != napi_ok || asyncCtx->streamId_ < in JsSetPriority()
[all...]

Completed in 18 milliseconds

12