Home
last modified time | relevance | path

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

12345678910>>...12

/foundation/aafwk/standard/services/formmgr/include/
Dform_task_mgr.h61 …d PostAcquireTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject);
69 …id PostDeleteTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject);
77 const sptr<IRemoteObject> &remoteObject);
86 …d PostRefreshTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject);
96 … PostCastTempTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject);
107 …askToHost(const int64_t formId, const FormRecord &record, const sptr<IRemoteObject> &remoteObject);
117 …askToHost(const int64_t formId, const FormRecord &record, const sptr<IRemoteObject> &remoteObject);
135 const sptr<IRemoteObject> &remoteObject);
145 const sptr<IRemoteObject> &remoteObject);
155 const sptr <IRemoteObject> &remoteObject);
[all …]
/foundation/aafwk/standard/frameworks/kits/ability/native/src/continuation/distributed/
Dreverse_continuation_scheduler_replica_proxy.cpp22 const sptr<IRemoteObject> &remoteObject) in ReverseContinuationSchedulerReplicaProxy() argument
23 : IRemoteProxy<IReverseContinuationSchedulerReplica>(remoteObject) in ReverseContinuationSchedulerReplicaProxy()
28 sptr<IRemoteObject> remoteObject = Remote(); in AsObject() local
30 return remoteObject; in AsObject()
55 sptr<IRemoteObject> remoteObject = Remote(); in PassPrimary() local
56 if (remoteObject == nullptr) { in PassPrimary()
60 if (!remoteObject->SendRequest( in PassPrimary()
76 sptr<IRemoteObject> remoteObject = Remote(); in ReverseContinuation() local
77 if (remoteObject == nullptr) { in ReverseContinuation()
81 if (!remoteObject->SendRequest( in ReverseContinuation()
[all …]
Dreverse_continuation_scheduler_primary_proxy.cpp24 const sptr<IRemoteObject> &remoteObject) in ReverseContinuationSchedulerPrimaryProxy() argument
25 : IRemoteProxy<IReverseContinuationSchedulerPrimary>(remoteObject) in ReverseContinuationSchedulerPrimaryProxy()
41 sptr<IRemoteObject> remoteObject = Remote(); in NotifyReplicaTerminated() local
42 if (remoteObject == nullptr) { in NotifyReplicaTerminated()
46 if (!remoteObject->SendRequest( in NotifyReplicaTerminated()
74 sptr<IRemoteObject> remoteObject = Remote(); in ContinuationBack() local
75 if (remoteObject == nullptr) { in ContinuationBack()
79 …if (!remoteObject->SendRequest(IReverseContinuationSchedulerPrimary::CONTINUATION_BACK, data, repl… in ContinuationBack()
/foundation/aafwk/standard/services/formmgr/src/
Dform_task_mgr.cpp40 …r::PostAcquireTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject) in PostAcquireTask() argument
47 this, formId, want, remoteObject); in PostAcquireTask()
56 …gr::PostDeleteTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject) in PostDeleteTask() argument
63 this, formId, want, remoteObject); in PostDeleteTask()
75 …r::PostRefreshTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject) in PostRefreshTask() argument
82 this, formId, want, remoteObject); in PostRefreshTask()
94 …::PostCastTempTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject) in PostCastTempTask() argument
101 this, formId, want, remoteObject); in PostCastTempTask()
114 const sptr<IRemoteObject> &remoteObject) in PostAcquireTaskToHost() argument
121 this, formId, record, remoteObject); in PostAcquireTaskToHost()
[all …]
Dform_refresh_connection.cpp48 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in OnAbilityConnectDone() argument
62 FormTaskMgr::GetInstance().PostFormEventTask(formId_, message, msgWant, remoteObject); in OnAbilityConnectDone()
68 FormTaskMgr::GetInstance().PostAcquireTask(formId_, cloneWant, remoteObject); in OnAbilityConnectDone()
72 FormTaskMgr::GetInstance().PostRefreshTask(formId_, want, remoteObject); in OnAbilityConnectDone()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/
Dmission_changed_notify.cpp33 void MissionChangedNotify::NotifyMissionsChanged(const sptr<IRemoteObject>& remoteObject, in NotifyMissionsChanged() argument
36 if (remoteObject == nullptr) { in NotifyMissionsChanged()
50 int32_t error = remoteObject->SendRequest(CODE_NOTIFY_MISSION, data, reply, option); in NotifyMissionsChanged()
58 void MissionChangedNotify::NotifySnapshot(const sptr<IRemoteObject>& remoteObject, const std::u16st… in NotifySnapshot() argument
61 if (remoteObject == nullptr) { in NotifySnapshot()
76 int32_t error = remoteObject->SendRequest(NOTIFY_SNAP_SHOT, data, reply, option); in NotifySnapshot()
84 void MissionChangedNotify::NotifyNetDisconnect(const sptr<IRemoteObject>& remoteObject, const std::… in NotifyNetDisconnect() argument
87 if (remoteObject == nullptr) { in NotifyNetDisconnect()
102 int32_t error = remoteObject->SendRequest(NOTIFY_NET_DISCONNECT, data, reply, option); in NotifyNetDisconnect()
110 void MissionChangedNotify::NotifyOsdSwitchChanged(const sptr<IRemoteObject>& remoteObject, in NotifyOsdSwitchChanged() argument
[all …]
/foundation/graphic/standard/frameworks/wmtest/frameworks/
Dnative_test_ipc_stub.cpp36 sptr<IRemoteObject> remoteObject = nullptr; in OnRemoteRequest() local
44 remoteObject = arguments.ReadRemoteObject(); in OnRemoteRequest()
47 reply.WriteInt32(SendMessage(sequence, message, remoteObject)); in OnRemoteRequest()
51 remoteObject = arguments.ReadRemoteObject(); in OnRemoteRequest()
52 if (remoteObject == nullptr) { in OnRemoteRequest()
58 ipc = iface_cast<INativeTestIpc>(remoteObject); in OnRemoteRequest()
65 remoteObject = arguments.ReadRemoteObject(); in OnRemoteRequest()
68 reply.WriteInt32(OnMessage(sequence, message, remoteObject)); in OnRemoteRequest()
/foundation/distributedhardware/devicemanager/test/unittest/
DUTTest_ipc_server_listener.cpp70 sptr<IRemoteObject> remoteObject = nullptr; variable
102 sptr<IpcClientStub> remoteObject = sptr<IpcClientStub>(new IpcClientStub()); variable
103 IpcServerStub::GetInstance().RegisterDeviceManagerListener(pkgName, remoteObject);
135 sptr<IpcClientStub> remoteObject = sptr<IpcClientStub>(new IpcClientStub()); variable
136 IpcServerStub::GetInstance().RegisterDeviceManagerListener(pkgName, remoteObject);
168 sptr<IpcClientStub> remoteObject = sptr<IpcClientStub>(new IpcClientStub()); variable
169 remoteObject = nullptr;
170 IpcServerStub::GetInstance().RegisterDeviceManagerListener(pkgName, remoteObject);
203 sptr<IpcClientStub> remoteObject = sptr<IpcClientStub>(new IpcClientStub()); variable
204 IpcServerStub::GetInstance().RegisterDeviceManagerListener(pkgName, remoteObject);
[all …]
DUTTest_ipc_client_manager.cpp130 sptr<IRemoteObject> remoteObject = nullptr; variable
131 auto mockInstance = new MockIpcClientManager(remoteObject);
156 sptr<IRemoteObject> remoteObject = nullptr; variable
157 auto mockInstance = new MockIpcClientManager(remoteObject);
182 sptr<IRemoteObject> remoteObject = nullptr; variable
183 auto mockInstance = new MockIpcClientManager(remoteObject);
208 sptr<IRemoteObject> remoteObject = nullptr; variable
209 auto mockInstance = new MockIpcClientManager(remoteObject);
258 sptr<IRemoteObject> remoteObject = nullptr; variable
259 auto mockInstance = new MockIpcClientManager(remoteObject);
[all …]
DUTTest_ipc_server_client_proxy.cpp64 sptr<IRemoteObject> remoteObject = nullptr; variable
66 auto instance = new IpcServerClientProxy(remoteObject);
95 sptr<IpcClientStub> remoteObject = sptr<IpcClientStub>(new IpcClientStub()); variable
96 IpcServerStub::GetInstance().RegisterDeviceManagerListener(pkgName, remoteObject);
135 sptr<IpcClientStub> remoteObject = sptr<IpcClientStub>(new IpcClientStub()); variable
136 IpcServerStub::GetInstance().RegisterDeviceManagerListener(pkgName, remoteObject);
175 sptr<IpcClientStub> remoteObject = sptr<IpcClientStub>(new IpcClientStub()); variable
176 IpcServerStub::GetInstance().RegisterDeviceManagerListener(pkgName, remoteObject);
/foundation/multimedia/camera_standard/services/camera_service/binder/client/src/
Dhcamera_service_proxy.cpp85 auto remoteObject = reply.ReadRemoteObject(); in CreateCameraDevice() local
86 if (remoteObject != nullptr) { in CreateCameraDevice()
87 device = iface_cast<ICameraDeviceService>(remoteObject); in CreateCameraDevice()
140 auto remoteObject = reply.ReadRemoteObject(); in CreateCaptureSession() local
141 if (remoteObject != nullptr) { in CreateCaptureSession()
142 session = iface_cast<ICaptureSession>(remoteObject); in CreateCaptureSession()
183 auto remoteObject = reply.ReadRemoteObject(); in CreatePhotoOutput() local
184 if (remoteObject != nullptr) { in CreatePhotoOutput()
185 photoOutput = iface_cast<IStreamCapture>(remoteObject); in CreatePhotoOutput()
226 auto remoteObject = reply.ReadRemoteObject(); in CreatePreviewOutput() local
[all …]
/foundation/aafwk/standard/frameworks/kits/ability/ability_runtime/src/
Dability_connection.cpp32 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in OnAbilityConnectDone() argument
39 SetRemoteObject(remoteObject); in OnAbilityConnectDone()
41 abilityConnectCallback_->OnAbilityConnectDone(element, remoteObject, resultCode); in OnAbilityConnectDone()
43 …__func__, remoteObject.GetRefPtr(), element.GetBundleName().c_str(), element.GetAbilityName().c_st… in OnAbilityConnectDone()
73 void AbilityConnection::SetRemoteObject(const sptr<IRemoteObject> &remoteObject) in SetRemoteObject() argument
75 remoteObject_ = remoteObject; in SetRemoteObject()
/foundation/multimedia/medialibrary_standard/services/media_scanner_service/ipc/src/
Dmedia_scanner_ability_stub.cpp54 auto remoteObject = data.ReadRemoteObject(); in HandleScanDir() local
55 if (remoteObject == nullptr) { in HandleScanDir()
60 int32_t result = ScanDirService(dirPath, remoteObject); in HandleScanDir()
69 auto remoteObject = data.ReadRemoteObject(); in HandleScanFile() local
70 if (remoteObject == nullptr) { in HandleScanFile()
75 int32_t result = ScanFileService(filePath, remoteObject); in HandleScanFile()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/include/mission/
Dmission_changed_notify.h28 …static void NotifySnapshot(const sptr<IRemoteObject>& remoteObject, const std::u16string& deviceId,
30 …static void NotifyMissionsChanged(const sptr<IRemoteObject>& remoteObject, const std::u16string& d…
31 …static void NotifyNetDisconnect(const sptr<IRemoteObject>& remoteObject, const std::u16string& dev…
33 …static void NotifyOsdSwitchChanged(const sptr<IRemoteObject>& remoteObject, const std::u16string& …
/foundation/distributedschedule/samgr/services/samgr/native/test/unittest/src/
Dondemand_helper.cpp61 sptr<IRemoteObject> remoteObject = sm->GetSystemAbility(systemAbilityId); in GetSystemAbility() local
62 if (remoteObject == nullptr) { in GetSystemAbility()
66 return remoteObject; in GetSystemAbility()
74 const sptr<IRemoteObject>& remoteObject) in OnLoadSystemAbilitySuccess() argument
77 ((remoteObject != nullptr) ? "succeed" : "failed") << endl; in OnLoadSystemAbilitySuccess()
104 auto remoteObject = ondemandHelper.GetSystemAbility(systemAbilityId); in main() local
105 …cout << "GetSystemAbility result:" << ((remoteObject != nullptr) ? "succeed" : "failed") << " spen… in main()
/foundation/aafwk/standard/frameworks/kits/base/cpp/src/ohos/aafwk/base/
Dremote_object_wrapper.cpp22 RemoteObjectWrap::RemoteObjectWrap(sptr<IRemoteObject> remoteObject) : remoteObject_(remoteObject) … in RemoteObjectWrap() argument
30 sptr<IRemoteObjectWrap> RemoteObjectWrap::Box(sptr<IRemoteObject> remoteObject) in Box() argument
32 return new RemoteObjectWrap(remoteObject); in Box()
/foundation/graphic/standard/rosen/modules/render_service/core/transaction/
Drs_render_service_connection_stub.cpp66 auto remoteObject = data.ReadRemoteObject(); in OnRemoteRequest() local
67 if (remoteObject != nullptr) { in OnRemoteRequest()
68 auto bufferProducer = iface_cast<IBufferProducer>(remoteObject); in OnRemoteRequest()
88 auto remoteObject = data.ReadRemoteObject(); in OnRemoteRequest() local
89 if (remoteObject == nullptr) { in OnRemoteRequest()
93 auto bufferProducer = iface_cast<IBufferProducer>(remoteObject); in OnRemoteRequest()
117 auto remoteObject = data.ReadRemoteObject(); in OnRemoteRequest() local
118 if (remoteObject == nullptr) { in OnRemoteRequest()
122 sptr<RSIScreenChangeCallback> cb = iface_cast<RSIScreenChangeCallback>(remoteObject); in OnRemoteRequest()
151 auto remoteObject = data.ReadRemoteObject(); in OnRemoteRequest() local
[all …]
/foundation/distributedhardware/distributedscreen/interfaces/innerkits/native_cpp/screen_sink/src/
Ddscreen_sink_handler.cpp55 …sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_SCREEN_SINK_SA_ID); in InitSink() local
56 if (!remoteObject) { in InitSink()
61 remoteObject->AddDeathRecipient(sinkSvrRecipient_); in InitSink()
62 dScreenSinkProxy_ = iface_cast<IDScreenSink>(remoteObject); in InitSink()
118 sptr<IRemoteObject> remoteObject = remote.promote(); in OnRemoteSinkSvrDied() local
119 if (!remoteObject) { in OnRemoteSinkSvrDied()
/foundation/resourceschedule/work_scheduler/services/native/src/
Dwork_conn_manager.cpp62 … sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in StartWork() local
63 if (remoteObject == nullptr) { in StartWork()
67 sptr<AAFwk::IAbilityManager> abilityMgr_ = iface_cast<AAFwk::IAbilityManager>(remoteObject); in StartWork()
100 … sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in DisConnect() local
101 if (remoteObject == nullptr) { in DisConnect()
105 sptr<AAFwk::IAbilityManager> abilityMgr_ = iface_cast<AAFwk::IAbilityManager>(remoteObject); in DisConnect()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/
Dability_connection_wrapper_stub.cpp62 if (auto remoteObject = data.ReadRemoteObject()) { in OnRemoteRequest() local
64 OnAbilityConnectDone(*element, remoteObject, resultCode); in OnRemoteRequest()
83 const sptr<IRemoteObject>& remoteObject, int32_t resultCode) in OnAbilityConnectDone() argument
89 proxy->OnAbilityConnectDone(elementWithDeviceId, remoteObject, resultCode); in OnAbilityConnectDone()
92 proxy->OnAbilityConnectDone(element, remoteObject, resultCode); in OnAbilityConnectDone()
/foundation/multimedia/camera_standard/services/camera_service/binder/server/src/
Dhstream_repeat_stub.cpp59 auto remoteObject = data.ReadRemoteObject(); in HandleSetCallback() local
60 if (remoteObject == nullptr) { in HandleSetCallback()
65 auto callback = iface_cast<IStreamRepeatCallback>(remoteObject); in HandleSetCallback()
Dhstream_capture_stub.cpp63 auto remoteObject = data.ReadRemoteObject(); in HandleSetCallback() local
64 if (remoteObject == nullptr) { in HandleSetCallback()
69 auto callback = iface_cast<IStreamCaptureCallback>(remoteObject); in HandleSetCallback()
/foundation/aafwk/standard/services/abilitymgr/src/
Dability_connect_callback_stub.cpp37 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in OnAbilityConnectDone() argument
54 if (!data.WriteRemoteObject(remoteObject)) { in OnAbilityConnectDone()
118 auto remoteObject = data.ReadRemoteObject(); in OnRemoteRequest() local
119 if (remoteObject == nullptr) { in OnRemoteRequest()
125 OnAbilityConnectDone(*element, remoteObject, resultCode); in OnRemoteRequest()
/foundation/distributedhardware/distributedscreen/interfaces/innerkits/native_cpp/screen_source/src/
Ddscreen_source_handler.cpp60 …sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_SCREEN_SOURCE_SA_I… in InitSource() local
61 if (!remoteObject) { in InitSource()
66 remoteObject->AddDeathRecipient(sourceSvrRecipient_); in InitSource()
67 dScreenSourceProxy_ = iface_cast<IDScreenSource>(remoteObject); in InitSource()
148 sptr<IRemoteObject> remoteObject = remote.promote(); in OnRemoteSourceSvrDied() local
149 if (!remoteObject) { in OnRemoteSourceSvrDied()
/foundation/distributedhardware/devicemanager/utils/src/permission/standard/
Dpermission_manager.cpp64 …sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_A… in CheckPermission() local
65 if (remoteObject == nullptr) { in CheckPermission()
71 sptr<IBundleMgr> iBundleMgr = iface_cast<IBundleMgr>(remoteObject); in CheckPermission()

12345678910>>...12