/foundation/aafwk/standard/services/formmgr/include/ |
D | form_task_mgr.h | 61 …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/ |
D | reverse_continuation_scheduler_replica_proxy.cpp | 22 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 …]
|
D | reverse_continuation_scheduler_primary_proxy.cpp | 24 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/ |
D | form_task_mgr.cpp | 40 …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 …]
|
D | form_refresh_connection.cpp | 48 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/ |
D | mission_changed_notify.cpp | 33 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/ |
D | native_test_ipc_stub.cpp | 36 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/ |
D | UTTest_ipc_server_listener.cpp | 70 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 …]
|
D | UTTest_ipc_client_manager.cpp | 130 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 …]
|
D | UTTest_ipc_server_client_proxy.cpp | 64 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/ |
D | hcamera_service_proxy.cpp | 85 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/ |
D | ability_connection.cpp | 32 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/ |
D | media_scanner_ability_stub.cpp | 54 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/ |
D | mission_changed_notify.h | 28 …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/ |
D | ondemand_helper.cpp | 61 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/ |
D | remote_object_wrapper.cpp | 22 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/ |
D | rs_render_service_connection_stub.cpp | 66 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/ |
D | dscreen_sink_handler.cpp | 55 …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/ |
D | work_conn_manager.cpp | 62 … 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/ |
D | ability_connection_wrapper_stub.cpp | 62 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/ |
D | hstream_repeat_stub.cpp | 59 auto remoteObject = data.ReadRemoteObject(); in HandleSetCallback() local 60 if (remoteObject == nullptr) { in HandleSetCallback() 65 auto callback = iface_cast<IStreamRepeatCallback>(remoteObject); in HandleSetCallback()
|
D | hstream_capture_stub.cpp | 63 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/ |
D | ability_connect_callback_stub.cpp | 37 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/ |
D | dscreen_source_handler.cpp | 60 …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/ |
D | permission_manager.cpp | 64 …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()
|