/foundation/deviceprofile/device_info_manager/common/test/profilechangelistenerstubunittest/ |
H A D | profile_change_listener_stub_test.cpp | 36 listenerStub_ = std::make_shared<MockProfileChangeListenerStub>(); in SetUp() 41 listenerStub_ = nullptr; in TearDown() 128 ASSERT_NE(listenerStub_, nullptr); in HWTEST_F() 129 int32_t ret = listenerStub_->OnRemoteRequest(code, data, reply, option); in HWTEST_F() 137 ASSERT_NE(listenerStub_, nullptr); in HWTEST_F() 138 int32_t ret = listenerStub_->OnTrustDeviceProfileAddInner(data, reply); in HWTEST_F() 146 ASSERT_NE(listenerStub_, nullptr); in HWTEST_F() 147 int32_t ret = listenerStub_->OnTrustDeviceProfileDeleteInner(data, reply); in HWTEST_F() 155 ASSERT_NE(listenerStub_, nullptr); in HWTEST_F() 156 int32_t ret = listenerStub_ in HWTEST_F() [all...] |
H A D | profile_change_listener_stub_test.h | 35 std::shared_ptr<ProfileChangeListenerStub> listenerStub_ = nullptr; member in OHOS::DistributedDeviceProfile::ProfileChangeListenerStubTest
|
/foundation/multimedia/player_framework/services/services/screen_capture_monitor/client/ |
H A D | screen_capture_monitor_client.cpp | 60 listenerStub_ = nullptr; in MediaServerDied() 66 listenerStub_ = new(std::nothrow) ScreenCaptureMonitorListenerStub(); in CreateListenerObject() 67 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, in CreateListenerObject() 71 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject() 101 CHECK_AND_RETURN_LOG(listenerStub_ != nullptr, "listenerStub_ is nullptr."); in RegisterScreenCaptureMonitorListener() 104 listenerStub_->RegisterScreenCaptureMonitorListener(listener); in RegisterScreenCaptureMonitorListener() 112 CHECK_AND_RETURN_LOG(listenerStub_ != nullptr, "listenerStub_ is nullptr."); in UnregisterScreenCaptureMonitorListener() 114 listenerStub_ in UnregisterScreenCaptureMonitorListener() [all...] |
H A D | screen_capture_monitor_client.h | 43 sptr<ScreenCaptureMonitorListenerStub> listenerStub_ = nullptr; member in OHOS::Media::ScreenCaptureMonitorClient
|
/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/test/unittest/common/ipc/publisher_listener_stub/src/ |
H A D | publisher_listener_stub_test.cpp | 32 listenerStub_ = std::make_shared<MockPublisherListenerStub>(); in SetUp() 37 listenerStub_ = nullptr; in TearDown() 48 if (listenerStub_ == nullptr) { in HWTEST_F() 55 EXPECT_EQ(ERR_INVALID_DATA, listenerStub_->OnRemoteRequest(code, data, reply, option)); in HWTEST_F()
|
/foundation/multimedia/av_codec/services/services/codec/client/ |
H A D | codec_client.cpp | 62 listenerStub_ = nullptr; in AVCodecServerDied() 72 listenerStub_ = new (std::nothrow) CodecListenerStub(); in CreateListenerObject() 73 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, AVCS_ERR_NO_MEMORY, "Codec listener stub create failed"); in CreateListenerObject() 74 listenerStub_->SetMutex(syncMutex_); in CreateListenerObject() 76 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject() 84 static_cast<CodecServiceProxy *>(codecProxy_.GetRefPtr())->SetListener(listenerStub_); in CreateListenerObject() 113 if (listenerStub_ != nullptr) { in InitLabel() 114 listenerStub_->InitLabel(uid_); in InitLabel() 133 if (listenerStub_ != nullptr) { in Init() 134 listenerStub_ in Init() [all...] |
/foundation/multimedia/player_framework/services/services/transcoder/client/ |
H A D | transcoder_client.cpp | 63 listenerStub_ = nullptr;
in MediaServerDied() 72 listenerStub_ = new(std::nothrow) TransCoderListenerStub();
in CreateListenerObject() 73 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "failed to new TransCoderListenerStub object");
in CreateListenerObject() 76 (void)listenerStub_->SetMonitor(weak_from_this());
in CreateListenerObject() 77 sptr<IRemoteObject> object = listenerStub_->AsObject();
in CreateListenerObject() 158 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "listenerStub_ is nullptr.");
in SetTransCoderCallback() 162 listenerStub_->SetTransCoderCallback(callback);
in SetTransCoderCallback()
|
/foundation/multimedia/player_framework/services/services/sa_media/client/ |
H A D | media_client.cpp | 81 IStandardMediaService::MediaSystemAbility::MEDIA_RECORDER, listenerStub_->AsObject()); in CreateRecorderService() 116 IStandardMediaService::MediaSystemAbility::RECORDER_PROFILES, listenerStub_->AsObject()); in CreateRecorderProfilesService() 137 IStandardMediaService::MediaSystemAbility::MEDIA_TRANSCODER, listenerStub_->AsObject()); in CreateTransCoderService() 166 IStandardMediaService::MediaSystemAbility::MEDIA_PLAYER, listenerStub_->AsObject()); in CreatePlayerService() 195 IStandardMediaService::MediaSystemAbility::MEDIA_AVMETADATAHELPER, listenerStub_->AsObject()); in CreateAVMetadataHelperService() 225 IStandardMediaService::MediaSystemAbility::MEDIA_SCREEN_CAPTURE_MONITOR, listenerStub_->AsObject()); in CreateScreenCaptureMonitorService() 255 IStandardMediaService::MediaSystemAbility::MEDIA_SCREEN_CAPTURE, listenerStub_->AsObject()); in CreateScreenCaptureService() 284 IStandardMediaService::MediaSystemAbility::MEDIA_SCREEN_CAPTURE_CONTROLLER, listenerStub_->AsObject()); in CreateScreenCaptureControllerClient() 314 IStandardMediaService::MediaSystemAbility::MEDIA_MONITOR, listenerStub_->AsObject()); in GetMonitorProxy() 347 listenerStub_ in GetMediaProxy() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/interaction/domain/rpc/ |
H A D | domain_rpc_client.cpp | 47 listenerStub_ = nullptr; in OnRemoteDied() 133 listenerStub_ = new (std::nothrow) DomainRpcServiceStub(); in CreateListenerObject() 134 listenerStub_->SetStubListener(shared_from_this()); in CreateListenerObject() 135 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject()
|
H A D | domain_rpc_client.h | 58 sptr<DomainRpcServiceStub> listenerStub_ = nullptr; member in OHOS::Sharing::final
|
/foundation/CastEngine/castengine_wifi_display/services/interaction/interprocess/ |
H A D | inter_ipc_client.cpp | 42 listenerStub_ = nullptr; in OnRemoteDied() 124 listenerStub_ = new (std::nothrow) InterIpcClientStub(); in CreateListenerObject() 125 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject() 127 msgAdapter_->SetLocalStub(listenerStub_); in CreateListenerObject()
|
H A D | inter_ipc_client.h | 59 sptr<InterIpcClientStub> listenerStub_ = nullptr; member in OHOS::Sharing::final
|
/foundation/multimedia/av_codec/services/services/sa_avcodec/client/ |
H A D | avcodec_client.cpp | 72 IStandardAVCodecService::AVCodecSystemAbility::AVCODEC_CODEC, listenerStub_->AsObject(), object); in CreateCodecService() 102 IStandardAVCodecService::AVCodecSystemAbility::AVCODEC_CODECLIST, listenerStub_->AsObject(), object); in CreateCodecListService() 151 listenerStub_ = new (std::nothrow) AVCodecListenerStub(); in GetAVCodecProxy() 152 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, nullptr, "failed to new AVCodecListenerStub"); in GetAVCodecProxy() 170 listenerStub_ = nullptr; in DoAVCodecServerDied()
|
H A D | avcodec_client.h | 57 sptr<AVCodecListenerStub> listenerStub_ = nullptr; member in OHOS::MediaAVCodec::AVCodecClient
|
/foundation/multimedia/player_framework/services/services/avmetadatahelper/client/ |
H A D | avmetadatahelper_client.cpp | 56 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "listenerStub_ is nullptr.."); in SetHelperCallback() 59 listenerStub_->SetHelperCallback(callback); in SetHelperCallback() 173 listenerStub_ = new(std::nothrow) HelperListenerStub(); in CreateListenerObject() 174 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "failed to new HelperListenerStub object"); in CreateListenerObject() 177 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject()
|
H A D | avmetadatahelper_client.h | 59 sptr<HelperListenerStub> listenerStub_ = nullptr; member in OHOS::Media::AVMetadataHelperClient
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerservicestub_fuzzer/ |
H A D | playerservicestub_fuzzer.cpp | 85 sptr<IRemoteObject> listenerStub_ = nullptr; in FuzzServiceStub() local 86 listenerStub_ = new(std::nothrow) PlayerServiceListenerStubFuzzer(); in FuzzServiceStub() 98 mediaProxy_->GetSubSystemAbility(subSystemId[systemId], listenerStub_); in FuzzServiceStub()
|
/foundation/multimedia/player_framework/services/services/screen_capture/client/ |
H A D | screen_capture_client.cpp | 48 listenerStub_ = new(std::nothrow) ScreenCaptureListenerStub(); in CreateListenerObject() 49 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, in CreateListenerObject() 54 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject() 74 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "listenerStub_ is nullptr."); in SetScreenCaptureCallback() 77 listenerStub_->SetScreenCaptureCallback(callback); in SetScreenCaptureCallback() 85 listenerStub_ = nullptr; in MediaServerDied()
|
/foundation/multimedia/player_framework/services/services/player/client/ |
H A D | player_client.cpp | 47 listenerStub_ = nullptr; in ~PlayerClient() 57 listenerStub_ = new(std::nothrow) PlayerListenerStub(); in CreateListenerObject() 58 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "failed to new PlayerListenerStub object"); in CreateListenerObject() 61 (void)listenerStub_->SetMonitor(weak_from_this()); in CreateListenerObject() 62 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject() 74 listenerStub_ = nullptr; in MediaServerDied() 208 listenerStub_ = nullptr; in Release() 219 listenerStub_ = nullptr; in ReleaseSync() 376 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "listenerStub_ i in SetPlayerCallback() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/test/unittest/common/ipc/publisher_listener_stub/include/ |
H A D | publisher_listener_stub_test.h | 40 std::shared_ptr<PublisherListenerStub> listenerStub_ = nullptr; member in OHOS::DistributedHardware::PublisherListenerStubTest
|
/foundation/multimedia/player_framework/services/services/recorder/client/ |
H A D | recorder_client.cpp | 63 listenerStub_ = nullptr; in MediaServerDied() 73 listenerStub_ = new(std::nothrow) RecorderListenerStub(); in CreateListenerObject() 74 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "failed to new RecorderListenerStub object"); in CreateListenerObject() 77 (void)listenerStub_->SetMonitor(weak_from_this()); in CreateListenerObject() 78 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject() 371 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "listenerStub_ is nullptr."); in SetRecorderCallback() 375 listenerStub_->SetRecorderCallback(callback); in SetRecorderCallback()
|
/foundation/multimedia/drm_framework/interfaces/inner_api/native/drm/ |
H A D | media_key_system_factory_impl.h | 53 sptr<DrmListenerStub> listenerStub_ = nullptr;
member in OHOS::DrmStandard::MediaKeySystemFactoryImpl
|
/foundation/multimedia/drm_framework/frameworks/native/drm/ |
H A D | media_key_system_impl.cpp | 61 listenerStub_ = nullptr;
in MediaKeySystemServerDied() 68 listenerStub_ = new(std::nothrow) DrmListenerStub();
in CreateListenerObject() 69 DRM_CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, DRM_MEMORY_ERROR,
in CreateListenerObject() 74 sptr<IRemoteObject> object = listenerStub_->AsObject();
in CreateListenerObject()
|
H A D | key_session_impl.cpp | 50 listenerStub_ = new(std::nothrow) DrmListenerStub();
in CreateListenerObject() 51 DRM_CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, DRM_MEMORY_ERROR,
in CreateListenerObject() 56 sptr<IRemoteObject> object = listenerStub_->AsObject();
in CreateListenerObject() 81 listenerStub_ = nullptr;
in MediaKeySessionServerDied()
|
H A D | media_key_system_factory_impl.cpp | 82 listenerStub_ = tmpListenerStub;
in GetServiceProxy() 114 listenerStub_ = nullptr;
in MediaKeySystemFactoryServerDied()
|