Home
last modified time | relevance | path

Searched refs:listenerStub_ (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/common/test/profilechangelistenerstubunittest/
H A Dprofile_change_listener_stub_test.cpp36 listenerStub_ = std::make_shared<MockProfileChangeListenerStub>(); in SetUp()
41 listenerStub_ = nullptr; in TearDown()
128 int32_t ret = listenerStub_->OnRemoteRequest(code, data, reply, option);
136 int32_t ret = listenerStub_->OnTrustDeviceProfileAddInner(data, reply);
160 int32_t ret = listenerStub_->OnDeviceProfileAddInner(data, reply);
168 int32_t ret = listenerStub_->OnDeviceProfileDeleteInner(data, reply);
176 int32_t ret = listenerStub_->OnDeviceProfileUpdateInner(data, reply);
184 int32_t ret = listenerStub_->OnServiceProfileAddInner(data, reply);
192 int32_t ret = listenerStub_->OnServiceProfileDeleteInner(data, reply);
200 int32_t ret = listenerStub_->OnServiceProfileUpdateInner(data, reply);
[all …]
H A Dprofile_change_listener_stub_test.h35 std::shared_ptr<ProfileChangeListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/services/services/screen_capture_monitor/client/
H A Dscreen_capture_monitor_client.cpp60 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_->UnregisterScreenCaptureMonitorListener(listener); in UnregisterScreenCaptureMonitorListener()
H A Dscreen_capture_monitor_client.h43 sptr<ScreenCaptureMonitorListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/av_codec/services/services/codec/client/
H A Dcodec_client.cpp62 listenerStub_ = nullptr; in AVCodecServerDied()
74 listenerStub_->SetMutex(syncMutex_); in CreateListenerObject()
113 if (listenerStub_ != nullptr) { in InitLabel()
114 listenerStub_->InitLabel(uid_); in InitLabel()
133 if (listenerStub_ != nullptr) { in Init()
270 listenerStub_ = nullptr; in Release()
406 listenerStub_->SetCallback(stubCallback); in SetCallback()
422 listenerStub_->SetCallback(stubCallback); in SetCallback()
439 listenerStub_->SetCallback(stubCallback); in SetCallback()
479 listenerStub_->UpdateGeneration(); in UpdateGeneration()
[all …]
H A Dcodec_client.h106 sptr<CodecListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/test/unittest/common/ipc/publisher_listener_stub/src/
H A Dpublisher_listener_stub_test.cpp32 listenerStub_ = std::make_shared<MockPublisherListenerStub>(); in SetUp()
37 listenerStub_ = nullptr; in TearDown()
48 if (listenerStub_ == nullptr) {
55 EXPECT_EQ(ERR_INVALID_DATA, listenerStub_->OnRemoteRequest(code, data, reply, option));
/ohos5.0/foundation/multimedia/player_framework/services/services/sa_media/client/
H A Dmedia_client.cpp81 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()
314 IStandardMediaService::MediaSystemAbility::MEDIA_MONITOR, listenerStub_->AsObject()); in GetMonitorProxy()
347 listenerStub_ = new(std::nothrow) MediaListenerStub(); in GetMediaProxy()
348 CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, nullptr, "failed to new MediaListenerStub"); in GetMediaProxy()
[all …]
H A Dmedia_client.h88 sptr<MediaListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/services/services/transcoder/client/
H A Dtranscoder_client.cpp63 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 TransCoderListe… 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()
H A Dtranscoder_client.h56 sptr<TransCoderListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/av_codec/services/services/sa_avcodec/client/
H A Davcodec_client.cpp72 … IStandardAVCodecService::AVCodecSystemAbility::AVCODEC_CODEC, listenerStub_->AsObject(), object); in CreateCodecService()
102 …IStandardAVCodecService::AVCodecSystemAbility::AVCODEC_CODECLIST, listenerStub_->AsObject(), objec… 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 Davcodec_client.h57 sptr<AVCodecListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/services/services/avmetadatahelper/client/
H A Davmetadatahelper_client.cpp56 … 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 HelperListenerS… in CreateListenerObject()
177 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject()
H A Davmetadatahelper_client.h58 sptr<HelperListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/services/services/player/client/
H A Dplayer_client.cpp47 listenerStub_ = nullptr; in ~PlayerClient()
58 listenerStub_ = new(std::nothrow) PlayerListenerStub(); in CreateListenerObject()
59 …CHECK_AND_RETURN_RET_LOG(listenerStub_ != nullptr, MSERR_NO_MEMORY, "failed to new PlayerListenerS… in CreateListenerObject()
62 (void)listenerStub_->SetMonitor(weak_from_this()); in CreateListenerObject()
63 sptr<IRemoteObject> object = listenerStub_->AsObject(); in CreateListenerObject()
75 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_ is nullptr.."); in SetPlayerCallback()
379 listenerStub_->SetPlayerCallback(callback); in SetPlayerCallback()
H A Dplayer_client.h91 sptr<PlayerListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/services/services/screen_capture/client/
H A Dscreen_capture_client.cpp48 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()
H A Dscreen_capture_client.h61 sptr<ScreenCaptureListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerservicestub_fuzzer/
H A Dplayerservicestub_fuzzer.cpp85 sptr<IRemoteObject> listenerStub_ = nullptr; in FuzzServiceStub() local
86 listenerStub_ = new(std::nothrow) PlayerServiceListenerStubFuzzer(); in FuzzServiceStub()
98 mediaProxy_->GetSubSystemAbility(subSystemId[systemId], listenerStub_); in FuzzServiceStub()
/ohos5.0/foundation/multimedia/player_framework/services/services/recorder/client/
H A Drecorder_client.cpp63 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 RecorderListene… 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()
H A Drecorder_client.h89 sptr<RecorderListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/test/unittest/common/ipc/publisher_listener_stub/include/
H A Dpublisher_listener_stub_test.h40 std::shared_ptr<PublisherListenerStub> listenerStub_ = nullptr; variable
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/drm/
H A Dmedia_key_system_factory_impl.cpp82 listenerStub_ = tmpListenerStub; in GetServiceProxy()
114 listenerStub_ = nullptr; in MediaKeySystemFactoryServerDied()
/ohos5.0/foundation/multimedia/drm_framework/interfaces/inner_api/native/drm/
H A Dmedia_key_system_factory_impl.h53 sptr<DrmListenerStub> listenerStub_ = nullptr; variable