Home
last modified time | relevance | path

Searched refs:remoteObj (Results 1 - 25 of 167) sorted by relevance

1234567

/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhcapture_session_stub.cpp120 sptr<IRemoteObject> remoteObj = data.ReadRemoteObject(); in HandleAddInput() local
121 CHECK_AND_RETURN_RET_LOG(remoteObj != nullptr, IPC_STUB_INVALID_DATA_ERR, in HandleAddInput()
124 sptr<ICameraDeviceService> cameraDevice = iface_cast<ICameraDeviceService>(remoteObj); in HandleAddInput()
132 sptr<IRemoteObject> remoteObj = data.ReadRemoteObject(); in HandleCanAddInput() local
133 CHECK_AND_RETURN_RET_LOG(remoteObj != nullptr, IPC_STUB_INVALID_DATA_ERR, in HandleCanAddInput()
135 sptr<ICameraDeviceService> cameraDevice = iface_cast<ICameraDeviceService>(remoteObj); in HandleCanAddInput()
148 sptr<IRemoteObject> remoteObj = data.ReadRemoteObject(); in HandleRemoveInput() local
149 CHECK_AND_RETURN_RET_LOG(remoteObj != nullptr, IPC_STUB_INVALID_DATA_ERR, in HandleRemoveInput()
152 sptr<ICameraDeviceService> cameraDevice = iface_cast<ICameraDeviceService>(remoteObj); in HandleRemoveInput()
161 sptr<IRemoteObject> remoteObj in HandleAddOutput() local
181 sptr<IRemoteObject> remoteObj = data.ReadRemoteObject(); HandleRemoveOutput() local
[all...]
H A Dhstream_capture_stub.cpp95 sptr<IRemoteObject> remoteObj = data.ReadRemoteObject(); in HandleSetThumbnail() local
96 CHECK_AND_RETURN_RET_LOG(remoteObj != nullptr, IPC_STUB_INVALID_DATA_ERR, in HandleSetThumbnail()
98 sptr<OHOS::IBufferProducer> producer = iface_cast<OHOS::IBufferProducer>(remoteObj); in HandleSetThumbnail()
118 sptr<IRemoteObject> remoteObj = data.ReadRemoteObject(); in HandleSetBufferProducerInfo() local
119 CHECK_AND_RETURN_RET_LOG(remoteObj != nullptr, IPC_STUB_INVALID_DATA_ERR, in HandleSetBufferProducerInfo()
121 sptr<OHOS::IBufferProducer> producer = iface_cast<OHOS::IBufferProducer>(remoteObj); in HandleSetBufferProducerInfo()
H A Dhstream_repeat_stub.cpp99 sptr<IRemoteObject> remoteObj = data.ReadRemoteObject(); in HandleAddDeferredSurface() local
100 CHECK_ERROR_RETURN_RET_LOG(remoteObj == nullptr, IPC_STUB_INVALID_DATA_ERR, in HandleAddDeferredSurface()
103 sptr<OHOS::IBufferProducer> producer = iface_cast<OHOS::IBufferProducer>(remoteObj); in HandleAddDeferredSurface()
162 sptr<IRemoteObject> remoteObj = data.ReadRemoteObject(); in HandleAttachMetaSurface() local
165 CHECK_AND_RETURN_RET_LOG(remoteObj != nullptr, IPC_STUB_INVALID_DATA_ERR, in HandleAttachMetaSurface()
168 sptr<OHOS::IBufferProducer> producer = iface_cast<OHOS::IBufferProducer>(remoteObj); in HandleAttachMetaSurface()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/
H A Dmtp_native_test.cpp52 auto remoteObj = saManager->GetSystemAbility(TEST_UID); in HWTEST_F() local
53 MtpMedialibraryManager::GetInstance()->Init(remoteObj); in HWTEST_F()
78 auto remoteObj = saManager->GetSystemAbility(TEST_UID); in HWTEST_F() local
79 MtpMedialibraryManager::GetInstance()->Init(remoteObj); in HWTEST_F()
104 auto remoteObj = saManager->GetSystemAbility(TEST_UID); in HWTEST_F() local
105 MtpMedialibraryManager::GetInstance()->Init(remoteObj); in HWTEST_F()
131 auto remoteObj = saManager->GetSystemAbility(TEST_UID); in HWTEST_F() local
132 MtpMedialibraryManager::GetInstance()->Init(remoteObj); in HWTEST_F()
158 auto remoteObj = saManager->GetSystemAbility(TEST_UID); in HWTEST_F() local
159 MtpMedialibraryManager::GetInstance()->Init(remoteObj); in HWTEST_F()
184 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
210 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
237 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
263 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
289 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
316 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
342 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
368 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
395 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
421 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
447 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
474 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
500 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
526 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
552 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
578 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
604 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
630 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
655 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
681 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
707 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
733 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
759 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
785 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
811 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
838 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
865 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
892 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
919 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
946 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
973 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1000 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1027 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1054 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1081 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1108 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1135 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1162 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1189 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1216 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1242 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1268 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1293 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1319 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1345 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1371 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1397 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1423 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1449 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1475 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1498 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1521 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1542 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1563 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1584 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1605 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1626 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1647 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1666 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1685 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1704 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1723 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1743 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1763 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1783 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1803 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1819 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1835 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1855 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1875 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1895 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1915 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1935 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
1965 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2126 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2150 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2174 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2198 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2222 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2246 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2270 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2294 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2321 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2375 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2400 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2428 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2493 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2530 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
2621 auto remoteObj = saManager->GetSystemAbility(TEST_UID); HWTEST_F() local
[all...]
/foundation/resourceschedule/soc_perf/test/fuzztest/socperf_fuzzer/
H A Dsocperf_fuzzer.cpp29 sptr<IRemoteObject> remoteObj = nullptr; member
34 if (remoteObj) { in DoInit()
41 remoteObj = samgr->GetSystemAbility(SOC_PERF_SERVICE_SA_ID); in DoInit()
42 if (!remoteObj) { in DoInit()
55 return remoteObj->SendRequest(code, data, reply, option); in onRemoteRequest()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_render_service_proxy.cpp51 auto remoteObj = reply.ReadRemoteObject(); in CreateConnection() local
52 if (remoteObj == nullptr || !remoteObj->IsProxyObject()) { in CreateConnection()
57 return iface_cast<RSIRenderServiceConnection>(remoteObj); in CreateConnection()
/foundation/ability/ability_runtime/service_router_framework/services/srms/src/
H A Dsr_samgr_helper.cpp79 sptr<IRemoteObject> remoteObj = saManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in ConnectBundleMgrLocked() local
80 if (remoteObj == nullptr) { in ConnectBundleMgrLocked()
81 TAG_LOGE(AAFwkTag::SER_ROUTER, "Get remoteObj failed"); in ConnectBundleMgrLocked()
90 if ((remoteObj->IsProxyObject()) && (!remoteObj->AddDeathRecipient(deathRecipient_))) { in ConnectBundleMgrLocked()
94 iBundleMgr_ = iface_cast<IBundleMgr>(remoteObj); in ConnectBundleMgrLocked()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/
H A Drs_render_service_stub.cpp55 auto remoteObj = data.ReadRemoteObject(); in OnRemoteRequest() local
56 if (remoteObj == nullptr) { in OnRemoteRequest()
61 if (!remoteObj->IsProxyObject()) { in OnRemoteRequest()
66 auto token = iface_cast<RSIConnectionToken>(remoteObj); in OnRemoteRequest()
/foundation/multimodalinput/input/service/message_handle/src/
H A Dclient_death_handler.cpp55 bool ClientDeathHandler::UnregisterClientDeathRecipient(const wptr<IRemoteObject> &remoteObj) in UnregisterClientDeathRecipient() argument
58 CHKPF(remoteObj); in UnregisterClientDeathRecipient()
60 return remoteObj->RemoveDeathRecipient(deathRecipient_); in UnregisterClientDeathRecipient()
70 void ClientDeathHandler::OnDeath(const wptr<IRemoteObject> &remoteObj) in OnDeath() argument
73 CHKPV(remoteObj); in OnDeath()
74 auto sptrRemote = sptr<IRemoteObject>(remoteObj.GetRefPtr()); in OnDeath()
82 UnregisterClientDeathRecipient(remoteObj); in OnDeath()
/foundation/window/window_manager/utils/test/unittest/
H A Dutils_all_test.cpp78 sptr<MockIRemoteObject> remoteObj = new MockIRemoteObject(); in HWTEST_F() local
79 deathRecipient->OnRemoteDied(remoteObj); in HWTEST_F()
80 ASSERT_EQ(0, remoteObj->count_); in HWTEST_F()
82 deathRecipient->callback_ = [&remoteObj](sptr<IRemoteObject>& remote) { in HWTEST_F()
83 remoteObj->count_ = 1; in HWTEST_F()
85 deathRecipient->OnRemoteDied(remoteObj); in HWTEST_F()
86 ASSERT_EQ(1, remoteObj->count_); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/
H A Dmedia_photo_asset_proxy_test.cpp64 auto remoteObj = saManager->GetSystemAbility(systemAbilityId); in CreateDataHelper() local
65 if (remoteObj == nullptr) { in CreateDataHelper()
71 const sptr<IRemoteObject> &token = remoteObj; in CreateDataHelper()
/foundation/multimedia/ringtone_library/test/unittest/ringtone_scanner/src/
H A Dringtone_scan_test.cpp51 auto remoteObj = saManager->GetSystemAbility(systemAbilityId); in CreateDataShareHelper() local
52 if (remoteObj == nullptr) { in CreateDataShareHelper()
56 return DataShare::DataShareHelper::Creator(remoteObj, RINGTONE_URI); in CreateDataShareHelper()
/foundation/ability/ability_runtime/interfaces/inner_api/quick_fix/src/
H A Dquick_fix_utils.cpp35 auto remoteObj = systemAbilityMgr->GetSystemAbility(systemAbilityId); in GetRemoteObjectOfSystemAbility() local
36 if (remoteObj == nullptr) { in GetRemoteObjectOfSystemAbility()
41 return remoteObj; in GetRemoteObjectOfSystemAbility()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_auto_startup_client.cpp72 sptr<IRemoteObject> remoteObj = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in Connect() local
73 if (remoteObj == nullptr) { in Connect()
74 TAG_LOGE(AAFwkTag::AUTO_STARTUP, "null remoteObj"); in Connect()
83 if ((remoteObj->IsProxyObject()) && (!remoteObj->AddDeathRecipient(deathRecipient_))) { in Connect()
88 proxy_ = iface_cast<IAbilityManager>(remoteObj); in Connect()
H A Dconnection_observer_controller.cpp106 auto remoteObj = remote.promote(); in HandleRemoteDied() local
107 if (!remoteObj) { in HandleRemoteDied()
108 TAG_LOGD(AAFwkTag::CONNECTION, "invalid remoteObj"); in HandleRemoteDied()
111 remoteObj->RemoveDeathRecipient(observerDeathRecipient_); in HandleRemoteDied()
114 auto it = std::find_if(observers_.begin(), observers_.end(), [&remoteObj](const sptr<IConnectionObserver> item) { in HandleRemoteDied()
115 return (item && item->AsObject() == remoteObj); in HandleRemoteDied()
/foundation/ability/ability_runtime/frameworks/js/napi/js_dialog_request/
H A Djs_dialog_request_callback.cpp30 explicit JsDialogRequestCallback(const sptr<IDialogRequestCallback> remoteObj) :callback_(remoteObj) {} in JsDialogRequestCallback() argument
99 napi_value CreateJsDialogRequestCallback(napi_env env, const sptr<IDialogRequestCallback> &remoteObj) in CreateJsDialogRequestCallback() argument
102 if (!remoteObj) { in CreateJsDialogRequestCallback()
103 TAG_LOGE(AAFwkTag::DIALOG, "remoteObj invalid."); in CreateJsDialogRequestCallback()
114 auto jsDialogRequestCallback = std::make_unique<JsDialogRequestCallback>(remoteObj); in CreateJsDialogRequestCallback()
/foundation/ability/dmsfwk/test/fuzztest/continuationmanager_fuzzer/
H A Dcontinuationmanager_fuzzer.cpp60 auto remoteObj = systemAbilityMgr->GetSystemAbility(CONTINUATION_MANAGER_SA_ID); in FuzzUnregister() local
61 if (remoteObj == nullptr) { in FuzzUnregister()
65 remoteObj->SendRequest(code % MAX_CALL_TRANSACTION, data, reply, option); in FuzzUnregister()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner/src/
H A Dmedialibrary_scan.cpp56 auto remoteObj = saManager->GetSystemAbility(systemAbilityId); in CreateDataShareHelper() local
57 if (remoteObj == nullptr) { in CreateDataShareHelper()
61 return DataShare::DataShareHelper::Creator(remoteObj, MEDIALIBRARY_DATA_URI); in CreateDataShareHelper()
/foundation/ability/ability_runtime/interfaces/inner_api/extension_manager/src/
H A Dextension_manager_client.cpp58 auto remoteObj = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in Connect() local
59 if (remoteObj == nullptr) { in Connect()
65 if (remoteObj->IsProxyObject() && !remoteObj->AddDeathRecipient(deathRecipient_)) { in Connect()
70 proxy_ = sptr<IExtensionManager>(new ExtensionManagerProxy(remoteObj)); in Connect()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_listener_controller.cpp172 auto remoteObj = remote.promote(); in OnListenerDied() local
173 if (!remoteObj) { in OnListenerDied()
177 remoteObj->RemoveDeathRecipient(listenerDeathRecipient_); in OnListenerDied()
181 [&remoteObj](const sptr<ISessionListener>& item) { in OnListenerDied()
182 return item && item->AsObject() == remoteObj; in OnListenerDied()
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/
H A Ddistributed_ability_manager_client.cpp39 sptr<IRemoteObject> remoteObj = samgrProxy->GetSystemAbility(CONTINUATION_MANAGER_SA_ID); in GetContinuationMgrService() local
40 if (remoteObj == nullptr) { in GetContinuationMgrService()
44 return iface_cast<IDistributedAbilityManager>(remoteObj); in GetContinuationMgrService()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/utils/
H A Dswitch_provider.cpp52 auto remoteObj = saManager->GetSystemAbility(INTELL_VOICE_SERVICE_ID); in Init() local
53 if (remoteObj == nullptr) { in Init()
54 INTELL_VOICE_LOG_ERROR("remoteObj is nullptr"); in Init()
58 helper_ = DataShare::DataShareHelper::Creator(remoteObj, SWITCH_URI_PROXY); in Init()
/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_info_module_test/
H A Dui_extension_info_module_test.cpp82 auto remoteObj = systemAbilityMgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in SetUpTestCase() local
83 if (remoteObj == nullptr) { in SetUpTestCase()
88 sptr<AppExecFwk::IBundleMgr> bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObj); in SetUpTestCase()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_datashare_helper.cpp80 auto remoteObj = samgr->GetSystemAbility(WORK_SCHEDULE_SERVICE_ID); in CreateDataShareHelper() local
81 if (remoteObj == nullptr) { in CreateDataShareHelper()
86 auto helper = DataShare::DataShareHelper::Creator(remoteObj, SETTING_URI_PROXY, SETTINGS_DATA_EXT_URI); in CreateDataShareHelper()
/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/include/
H A Dservice_proxy_adapter.h33 explicit ServiceProxyAdapter(const sptr<IRemoteObject> remoteObj) : remoteObj_(remoteObj) {} in ServiceProxyAdapter() argument

Completed in 11 milliseconds

1234567