Home
last modified time | relevance | path

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

123456

/ohos5.0/docs/zh-cn/application-dev/reference/apis-driverdevelopment-kit/
H A Djs-apis-app-ability-driverExtensionAbility.md74 onConnect(want: Want): rpc.RemoteObject | Promise<rpc.RemoteObject>;
76 Extension生命周期回调,如果是connectAbility拉起的服务,会在onCreate之后回调。返回一个RemoteObject对象,用于客户端和服务端进行通信。
90 | rpc.RemoteObject | 一个RemoteObject对象,用于客户端和服务端进行通信。 |
98 class StubTest extends rpc.RemoteObject{
115 如果生成返回值RemoteObject依赖一个异步接口,可以使用异步生命周期:
121 class StubTest extends rpc.RemoteObject{
/ohos5.0/base/powermgr/power_manager/services/zidl/src/shutdown/
H A Dshutdown_proxy_delegator.cpp36 RETURN_IF_WRITE_PARCEL_FAILED_NO_RET(data, RemoteObject, callback->AsObject()); in RegisterShutdownCallback()
59 RETURN_IF_WRITE_PARCEL_FAILED_NO_RET(data, RemoteObject, callback->AsObject()); in UnRegisterShutdownCallback()
82 RETURN_IF_WRITE_PARCEL_FAILED_NO_RET(data, RemoteObject, callback->AsObject()); in RegisterShutdownCallback()
105 RETURN_IF_WRITE_PARCEL_FAILED_NO_RET(data, RemoteObject, callback->AsObject()); in UnRegisterShutdownCallback()
128 RETURN_IF_WRITE_PARCEL_FAILED_NO_RET(data, RemoteObject, callback->AsObject()); in RegisterShutdownCallback()
151 RETURN_IF_WRITE_PARCEL_FAILED_NO_RET(data, RemoteObject, callback->AsObject()); in UnRegisterShutdownCallback()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-serviceExtensionAbility-sys.md118 onConnect(want: Want): rpc.RemoteObject | Promise<rpc.RemoteObject>;
120 Extension生命周期回调,如果是connectAbility拉起的服务,会在onCreate之后回调。返回一个RemoteObject对象,用于客户端和服务端进行通信。
136 | rpc.RemoteObject | 一个RemoteObject对象,用于客户端和服务端进行通信。 |
144 class StubTest extends rpc.RemoteObject{
159 如果生成返回值RemoteObject依赖一个异步接口,可以使用异步生命周期:
165 class StubTest extends rpc.RemoteObject{
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ipc-kit/
H A Derrorcode-rpc.md101RemoteObject对象上调用了只有RemoteProxy对象支持的方法。
105 请检查是否在RemoteObject对象上调用了只有RemoteProxy对象支持的方法。
119 在RemoteProxy对象上调用了只有RemoteObject对象支持的方法。
123 请检查是否在RemoteProxy对象上调用了只有RemoteObject对象支持的方法。
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-data-cloudExtension-sys.md269 createCloudServiceStub(instance: CloudService): Promise&lt;rpc.RemoteObject&gt;
285 …Promise&lt;[rpc.RemoteObject](../apis-ipc-kit/js-apis-rpc.md#remoteobject)&gt; | Promise对象,返回[Clou…
307 onConnect(want: Want): rpc.RemoteObject | Promise<rpc.RemoteObject> {
322 createShareServiceStub(instance: ShareCenter): Promise&lt;rpc.RemoteObject&gt;
338 … Promise&lt;[rpc.RemoteObject](../apis-ipc-kit/js-apis-rpc.md#remoteobject)&gt; | Promise对象,返回[Sha…
361 createCloudDBStub(instance: CloudDB): Promise&lt;rpc.RemoteObject&gt;
377 | Promise&lt;[rpc.RemoteObject](../apis-ipc-kit/js-apis-rpc.md#remoteobject)&gt; | Promise对象,返回[Clo…
398 createAssetLoaderStub(instance: AssetLoader): Promise&lt;rpc.RemoteObject&gt;
980 | Promise&lt;[rpc.RemoteObject](../apis-ipc-kit/js-apis-rpc.md#remoteobject)&gt; | Promise对象,返回[Clo…
1020 … Promise&lt;[rpc.RemoteObject](../apis-ipc-kit/js-apis-rpc.md#remoteobject)&gt; | Promise对象,返回[Ass…
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-driverdevelopment-kit/
H A Djs-apis-app-ability-driverExtensionAbility.md74 onConnect(want: Want): rpc.RemoteObject | Promise<rpc.RemoteObject>;
76 …riverExtensionAbility is started by calling **connectAbility()**. A **RemoteObject** object is ret…
90 | rpc.RemoteObject | A **RemoteObject** object used for communication between the server and client…
98 class StubTest extends rpc.RemoteObject{
115 If the returned **RemoteObject** object depends on an asynchronous API, you can use the asynchronou…
121 class StubTest extends rpc.RemoteObject{
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/distributed_ability_runtime/
H A Ddistributed_client.cpp97 PARCEL_WRITE_HELPER(data, RemoteObject, connect); in DisconnectRemoteAbility()
123 PARCEL_WRITE_HELPER(data, RemoteObject, callback); in ContinueMission()
148 PARCEL_WRITE_HELPER(data, RemoteObject, callback); in ContinueMission()
265 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in RegisterMissionListener()
283 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in RegisterOnListener()
302 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in RegisterOffListener()
320 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in UnRegisterMissionListener()
446 PARCEL_WRITE_HELPER(data, RemoteObject, connect); in ReleaseRemoteAbility()
479 PARCEL_WRITE_HELPER(data, RemoteObject, callback); in StartRemoteFreeInstall()
494 PARCEL_WRITE_HELPER(data, RemoteObject, connect); in WriteInfosToParcel()
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_mock_stub_test.cpp141 THERMAL_WRITE_PARCEL_NO_RET(g_data, RemoteObject, tempStub->AsObject());
148 THERMAL_WRITE_PARCEL_NO_RET(g_data, RemoteObject, tempStub->AsObject());
167 THERMAL_WRITE_PARCEL_NO_RET(g_data, RemoteObject, levelStub->AsObject());
174 THERMAL_WRITE_PARCEL_NO_RET(g_data, RemoteObject, levelStub->AsObject());
193 THERMAL_WRITE_PARCEL_NO_RET(g_data, RemoteObject, actionStub->AsObject());
202 THERMAL_WRITE_PARCEL_NO_RET(g_data, RemoteObject, actionStub->AsObject());
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/parcel_benchmark_test/
H A Dparcel_benchmark_test.cpp73 RemoteObject() in RemoteObject() function in OHOS::__anone57bd6830110::RemoteObject
82 bool RemoteObject::Marshalling(Parcel &parcel, const sptr<RemoteObject> &object) in Marshalling()
103 sptr<RemoteObject> RemoteObject::Unmarshalling(Parcel &parcel) in Unmarshalling()
110 sptr<RemoteObject> obj = new RemoteObject(); in Unmarshalling()
1984 sptr<RemoteObject> readObj1 = parcel.ReadObject<RemoteObject>(); in BENCHMARK_F()
1991 sptr<RemoteObject> readObj2 = parcel.ReadObject<RemoteObject>(); in BENCHMARK_F()
2026 sptr<RemoteObject> readObj1 = parcel.ReadObject<RemoteObject>(); in BENCHMARK_F()
2062 sptr<RemoteObject> readObj1 = parcel.ReadObject<RemoteObject>(); in BENCHMARK_F()
2069 sptr<RemoteObject> readObj2 = parcel.ReadObject<RemoteObject>(); in BENCHMARK_F()
2112 sptr<RemoteObject> readObj1 = parcel.ReadObject<RemoteObject>(); in BENCHMARK_F()
[all …]
/ohos5.0/base/powermgr/power_manager/services/zidl/src/
H A Dpower_mgr_proxy.cpp74 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in ReleaseRunningLock()
133 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in UpdateWorkSource()
166 data, RemoteObject, remoteObj.GetRefPtr(), PowerErrors::ERR_CONNECTION_FAIL); in Lock()
196 data, RemoteObject, remoteObj.GetRefPtr(), PowerErrors::ERR_CONNECTION_FAIL); in UnLock()
258 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, RemoteObject, remoteObj.GetRefPtr(), false); in IsUsed()
796 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, RemoteObject, callback->AsObject(), false); in RegisterPowerStateCallback()
823 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, RemoteObject, callback->AsObject(), false); in UnRegisterPowerStateCallback()
849 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, RemoteObject, callback->AsObject(), false); in RegisterSyncSleepCallback()
877 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, RemoteObject, callback->AsObject(), false); in UnRegisterSyncSleepCallback()
903 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, RemoteObject, callback->AsObject(), false); in RegisterSyncHibernateCallback()
[all …]
/ohos5.0/base/powermgr/thermal_manager/services/zidl/src/
H A Dthermal_srv_proxy.cpp44 THERMAL_WRITE_PARCEL_WITH_RET(data, RemoteObject, callback->AsObject(), false); in SubscribeThermalTempCallback()
72 THERMAL_WRITE_PARCEL_WITH_RET(data, RemoteObject, callback->AsObject(), false); in UnSubscribeThermalTempCallback()
99 THERMAL_WRITE_PARCEL_WITH_RET(data, RemoteObject, callback->AsObject(), false); in SubscribeThermalLevelCallback()
126 THERMAL_WRITE_PARCEL_WITH_RET(data, RemoteObject, callback->AsObject(), false); in UnSubscribeThermalLevelCallback()
154 THERMAL_WRITE_PARCEL_WITH_RET(data, RemoteObject, callback->AsObject(), false); in SubscribeThermalActionCallback()
183 THERMAL_WRITE_PARCEL_WITH_RET(data, RemoteObject, callback->AsObject(), false); in UnSubscribeThermalActionCallback()
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/FormRenderService/entry/src/main/ets/ServiceExtension/
H A DServiceExtension.ts29 onConnect(want: Want): rpc.RemoteObject | Promise<rpc.RemoteObject> {
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-soft-bus.md9 | ohos.rpc | RemoteObject | onRemoteRequestEx(code: number, data: MessageParcel, reply: MessageParc…
10 | ohos.rpc | RemoteObject | onRemoteRequest(code: number, data: MessageParcel, reply: MessageParcel…
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-serviceExtensionAbility-sys.md118 onConnect(want: Want): rpc.RemoteObject | Promise<rpc.RemoteObject>;
120 …rviceExtensionAbility is started by calling **connectAbility()**. A **RemoteObject** object is ret…
136 | rpc.RemoteObject | A **RemoteObject** object used for communication between the server and client…
144 class StubTest extends rpc.RemoteObject{
159 If the returned **RemoteObject** object depends on an asynchronous API, you can use the asynchronou…
165 class StubTest extends rpc.RemoteObject{
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/parcel_fuzzer/
H A Dparcel_fuzzer.cpp121 class RemoteObject : public virtual Parcelable { class
123 RemoteObject() in RemoteObject() function in OHOS::RemoteObject
128 static sptr<RemoteObject> Unmarshalling(Parcel& parcel);
131 bool RemoteObject::Marshalling(Parcel& parcel) const in Marshalling()
146 sptr<RemoteObject> RemoteObject::Unmarshalling(Parcel& parcel) in Unmarshalling()
152 sptr<RemoteObject> obj = new RemoteObject(); in Unmarshalling()
276 RemoteObject obj; in __anon90ce765f0e02()
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-soft-bus.md9 | ohos.rpc | RemoteObject | onRemoteRequestEx(code: number, data: MessageParcel, reply: MessageParc…
10 | ohos.rpc | RemoteObject | onRemoteRequest(code: number, data: MessageParcel, reply: MessageParcel…
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddistributed_sched_proxy.cpp157 PARCEL_WRITE_HELPER(data, RemoteObject, callback); in ContinueMission()
182 PARCEL_WRITE_HELPER(data, RemoteObject, callback); in ContinueMission()
286 PARCEL_WRITE_HELPER(data, RemoteObject, connect); in ConnectRemoteAbility()
312 PARCEL_WRITE_HELPER(data, RemoteObject, connect); in DisconnectRemoteAbility()
343 PARCEL_WRITE_HELPER(data, RemoteObject, connect); in ConnectAbilityFromRemote()
519 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in RegisterMissionListener()
539 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in RegisterDSchedEventListener()
559 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in UnRegisterDSchedEventListener()
578 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in RegisterOnListener()
597 PARCEL_WRITE_HELPER(data, RemoteObject, obj); in RegisterOffListener()
[all …]
/ohos5.0/foundation/ability/dmsfwk/test/fuzztest/distributedschedstub_fuzzer/
H A Ddistributedschedstub_fuzzer.cpp103 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, connect); in ConnectRemoteAbilityInnerFuzzTest()
130 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, connect); in DisconnectRemoteAbilityInnerFuzzTest()
204 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, callback); in ContinueMissionInnerFuzzTest()
274 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, obj); in RegisterMissionListenerInnerFuzzTest()
293 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, obj); in UnRegisterMissionListenerInnerFuzzTest()
370 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, obj); in StartRemoteAbilityByCallInnerFuzzTest()
436 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, obj); in StartRemoteFreeInstallInnerFuzzTest()
497 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, obj); in RegisterOnListenerInnerFuzzTest()
518 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, obj); in RegisterOffListenerInnerFuzzTest()
535 PARCEL_WRITE_HELPER_NORET(dataParcel, RemoteObject, obj); in RegisterDSchedEventListenerInnerFuzzTest()
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_parcel_test.cpp67 sptr<RemoteObject> RemoteObject::Unmarshalling(Parcel &parcel) in Unmarshalling()
73 sptr<RemoteObject> obj = new RemoteObject(); in Unmarshalling()
1908 RemoteObject obj1;
1912 RemoteObject obj2;
1925 sptr<RemoteObject> readObj1 = parcel.ReadObject<RemoteObject>();
1931 sptr<RemoteObject> readObj2 = parcel.ReadObject<RemoteObject>();
1969 sptr<RemoteObject> readObj1 = parcel.ReadObject<RemoteObject>();
1997 sptr<RemoteObject> readObj1 = parcel.ReadObject<RemoteObject>();
2001 sptr<RemoteObject> readObj2 = parcel.ReadObject<RemoteObject>();
2033 sptr<RemoteObject> readObj1 = parcel.ReadObject<RemoteObject>();
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Djs-apis-data-cloudExtension-sys.md270 createCloudServiceStub(instance: CloudService): Promise&lt;rpc.RemoteObject&gt;
296 async connectShareCenter(userId: number, bundleName: string): Promise<rpc.RemoteObject> {
308 onConnect(want: Want): rpc.RemoteObject | Promise<rpc.RemoteObject> {
323 createShareServiceStub(instance: ShareCenter): Promise&lt;rpc.RemoteObject&gt;
362 createCloudDBStub(instance: CloudDB): Promise&lt;rpc.RemoteObject&gt;
378 | Promise&lt;[rpc.RemoteObject](../apis-ipc-kit/js-apis-rpc.md#remoteobject)&gt; | Promise used to …
399 createAssetLoaderStub(instance: AssetLoader): Promise&lt;rpc.RemoteObject&gt;
964 connectDB(bundleName: string, database: Database): Promise&lt;rpc.RemoteObject&gt;
981 | Promise&lt;[rpc.RemoteObject](../apis-ipc-kit/js-apis-rpc.md#remoteobject)&gt; | Promise used to …
1042 connectShareCenter(userId: number, bundleName: string): Promise&lt;rpc.RemoteObject&gt;
[all …]
/ohos5.0/docs/zh-cn/application-dev/application-models/
H A Dserviceability-switch.md20 …| onConnect(want:&nbsp;Want):&nbsp;rpc.RemoteObject | onConnect(want:&nbsp;Want):&nbsp;rpc.RemoteO…
/ohos5.0/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/src/
H A Ddistributed_device_profile_proxy.cpp117 PARCEL_WRITE_HELPER(data, RemoteObject, profileEventNotifier); in SubscribeProfileEvents()
150 PARCEL_WRITE_HELPER(data, RemoteObject, profileEventNotifier); in UnsubscribeProfileEvents()
183 PARCEL_WRITE_HELPER(data, RemoteObject, profileEventNotifier); in SyncDeviceProfile()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-beta/
H A Dchangelog-v3.1-beta.md8 js的RemoteProxy和RemoteObject的sendRequest变更为异步接口,返回Promise,兑现值是SendRequestResult的实例。原有应用需要适配。
13 模块:ohos.rpc.IRemoteObject, ohos.rpc.RemoteProxy和ohos.rpc.RemoteObject
/ohos5.0/foundation/communication/netmanager_ext/frameworks/vpn_dialog/dialog_ui/vpn_dialog/src/main/ets/ServiceExtAbility/
H A DVpnDialogAbility.ts24 class VpnDialogStub extends rpc.RemoteObject {
57 onConnect(want: Want): rpc.RemoteObject {
/ohos5.0/docs/en/application-dev/application-models/
H A Dlifecycleservice-switch.md9 …nect?(want: Want): rpc.RemoteObject; | \@ohos.app.ability.ServiceExtensionAbility.d.ts | [onConnec…

123456