Home
last modified time | relevance | path

Searched refs:OnHardwareStateChanged (Results 1 - 24 of 24) sorted by relevance

/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/unittest/audiosourcetest/src/
H A Ddaudio_ipc_callback_test.cpp262 int32_t ret = dAudioIpcCallback_->OnHardwareStateChanged(devId, dhId, status); in HWTEST_F()
281 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, dAudioIpcCallback_->OnHardwareStateChanged(devId, dhId, status)); in HWTEST_F()
285 EXPECT_EQ(ERR_DH_AUDIO_SA_DEVID_ILLEGAL, dAudioIpcCallback_->OnHardwareStateChanged(devId, dhId, status)); in HWTEST_F()
287 EXPECT_EQ(ERR_DH_AUDIO_SA_DEVID_ILLEGAL, dAudioIpcCallback_->OnHardwareStateChanged(devId, dhId, status)); in HWTEST_F()
289 EXPECT_EQ(ERR_DH_AUDIO_SA_DEVID_ILLEGAL, dAudioIpcCallback_->OnHardwareStateChanged(devId, dhId, status)); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/unittest/common/camera_source/callback/
H A Ddcamera_source_callback_test.cpp316 * @tc.desc: Verify the OnHardwareStateChanged function.
326 int32_t ret = sourceCallback_->OnHardwareStateChanged(devId, dhId, status); in HWTEST_F()
332 ret = sourceCallback_->OnHardwareStateChanged(devId, dhId, status); in HWTEST_F()
335 ret = sourceCallback_->OnHardwareStateChanged(devId, dhId, status); in HWTEST_F()
339 ret = sourceCallback_->OnHardwareStateChanged(devId, dhId, status); in HWTEST_F()
342 ret = sourceCallback_->OnHardwareStateChanged(devId, dhId, status); in HWTEST_F()
346 ret = sourceCallback_->OnHardwareStateChanged(devId, dhId, status); in HWTEST_F()
349 ret = sourceCallback_->OnHardwareStateChanged(devId, dhId, status); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcamera/
H A Ddcamera_service_state_listener.cpp118 int32_t DCameraServiceStateListener::OnHardwareStateChanged(const std::string &devId, in OnHardwareStateChanged() function in OHOS::DistributedHardware::DCameraServiceStateListener
121 DHLOGI("OnHardwareStateChanged devId: %{public}s, dhId: %{public}s, status: %{public}d", in OnHardwareStateChanged()
128 return callbackProxy_->OnHardwareStateChanged(devId, dhId, status); in OnHardwareStateChanged()
H A Ddcamera_source_callback_proxy.cpp86 int32_t DCameraSourceCallbackProxy::OnHardwareStateChanged(const std::string &devId, in OnHardwareStateChanged() function in OHOS::DistributedHardware::DCameraSourceCallbackProxy
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/include/callback/
H A Didcamera_source_callback.h38 virtual int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) = 0;
H A Ddcamera_source_callback.h36 int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) override;
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/audio_source/include/
H A Didaudio_ipc_callback.h38 virtual int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) = 0;
H A Ddaudio_ipc_callback.h36 int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) override;
/foundation/distributedhardware/distributed_audio/services/audiomanager/servicesource/include/
H A Ddaudio_ipc_callback_proxy.h34 int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcamera/
H A Ddcamera_service_state_listener.h35 int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) override;
H A Ddcamera_source_callback_proxy.h39 int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerainterface/
H A Dicamera_state_listener.h33 virtual int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) = 0;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Dmock_dcamera_source_state_listener.h42 int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) in OnHardwareStateChanged() function in OHOS::DistributedHardware::MockDCameraSourceStateListener
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/audio_source/src/
H A Ddaudio_ipc_callback_stub.cpp90 int32_t ret = OnHardwareStateChanged(networkId, dhId, status); in OnHardwareStateChangedInner()
H A Ddaudio_ipc_callback.cpp77 int32_t DAudioIpcCallback::OnHardwareStateChanged(const std::string &devId, const std::string &dhId, int32_t status) in OnHardwareStateChanged() function in OHOS::DistributedHardware::DAudioIpcCallback
/foundation/distributedhardware/distributed_audio/services/audiomanager/servicesource/src/
H A Ddaudio_ipc_callback_proxy.cpp66 int32_t DAudioIpcCallbackProxy::OnHardwareStateChanged(const std::string &devId, const std::string &dhId, in OnHardwareStateChanged() function in OHOS::DistributedHardware::DAudioIpcCallbackProxy
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcamera/
H A Ddcamera_service_state_listener_test.cpp112 * @tc.desc: Verify the OnHardwareStateChanged function.
122 int32_t ret = testListener_->OnHardwareStateChanged(TEST_DEVICE_ID, TEST_CAMERA_DH_ID_0, status); in HWTEST_F()
H A Ddcamera_source_callback_proxy_test.cpp184 * @tc.desc: Verify the OnHardwareStateChanged function.
196 EXPECT_EQ(DCAMERA_BAD_VALUE, callbackProxy->OnHardwareStateChanged("", "", -1)); in HWTEST_F()
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/include/
H A Ddaudio_source_manager.h48 int32_t OnHardwareStateChanged(const std::string &devId, const std::string &dhId, const int32_t state);
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/src/callback/
H A Ddcamera_source_callback_stub.cpp112 int32_t ret = OnHardwareStateChanged(devId, dhId, status); in OnHardwareStateChangedInner()
H A Ddcamera_source_callback.cpp72 int32_t DCameraSourceCallback::OnHardwareStateChanged(const std::string &devId, const std::string &dhId, in OnHardwareStateChanged() function in OHOS::DistributedHardware::DCameraSourceCallback
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/
H A Ddaudio_source_manager.cpp365 int32_t DAudioSourceManager::OnHardwareStateChanged(const std::string &devId, const std::string &dhId, in OnHardwareStateChanged() function in OHOS::DistributedHardware::DAudioSourceManager
372 return ipcCallback_->OnHardwareStateChanged(devId, dhId, state); in OnHardwareStateChanged()
H A Ddaudio_source_dev.cpp817 DAudioSourceManager::GetInstance().OnHardwareStateChanged(devId, dhId, DaudioBusinessState::RUNNING); in NotifyFwkRunning()
825 DAudioSourceManager::GetInstance().OnHardwareStateChanged(devId, dhId, DaudioBusinessState::IDLE); in NotifyFwkIdle()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/
H A Ddcamera_source_dev.cpp481 stateListener_->OnHardwareStateChanged(devId_, dhId_, DcameraBusinessState::RUNNING); in OpenCamera()
501 stateListener_->OnHardwareStateChanged(devId_, dhId_, DcameraBusinessState::IDLE); in CloseCamera()

Completed in 12 milliseconds