Home
last modified time | relevance | path

Searched refs:OHIPCRemoteStub (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/ipc/interfaces/innerkits/c_api/include/
H A Dipc_cparcel.h83 struct OHIPCRemoteStub;
91 typedef struct OHIPCRemoteStub OHIPCRemoteStub; typedef
408 * @brief Writes an <b>OHIPCRemoteStub</b> object to an <b>OHIPCParcel</b> object.
412 * @param stub Pointer to the <b>OHIPCRemoteStub</b> object to write. It cannot be NULL.
418 int OH_IPCParcel_WriteRemoteStub(OHIPCParcel *parcel, const OHIPCRemoteStub *stub);
421 * @brief Reads the <b>OHIPCRemoteStub</b> object from an <b>OHIPCParcel</b> object.
425 * @return Returns the pointer to the <b>OHIPCRemoteStub</b> object read if the operation is successful;
429 OHIPCRemoteStub* OH_IPCParcel_ReadRemoteStub(const OHIPCParcel *parcel);
H A Dipc_cremote_object.h51 * when the <b>OHIPCRemoteStub</b> object dies unexpectedly.
93 * @brief Creates an <b>OHIPCRemoteStub</b> object.
96 * @param descriptor Pointer to the descriptor of the <b>OHIPCRemoteStub</b> object to create. It cannot be NULL.
100 * @return Returns the pointer to the <b>OHIPCRemoteStub</b> object created if the operation is successful;
104 OHIPCRemoteStub* OH_IPCRemoteStub_Create(const char *descriptor, OH_OnRemoteRequestCallback requestCallback,
108 * @brief Destroys an <b>OHIPCRemoteStub</b> object.
111 * @param stub Pointer to the <b>OHIPCRemoteStub</b> object to destroy.
114 void OH_IPCRemoteStub_Destroy(OHIPCRemoteStub *stub);
165 * Returns {@link OH_IPC_ErrorCode#OH_IPC_DEAD_REMOTE_OBJECT} if the <b>OHIPCRemoteStub</b> object is dead. \n
188 * Returns {@link OH_IPC_ErrorCode#OH_IPC_DEAD_REMOTE_OBJECT} if the <b>OHIPCRemoteStub</
[all...]
H A Dipc_inner_object.h35 struct OHIPCRemoteStub { struct
/foundation/communication/ipc/ipc/native/src/c_api/source/
H A Dipc_cremote_object.cpp33 OHIPCRemoteStub* OH_IPCRemoteStub_Create(const char *descriptor, OH_OnRemoteRequestCallback requestCallback, in OH_IPCRemoteStub_Create()
56 OHIPCRemoteStub *stub = new (std::nothrow) OHIPCRemoteStub(); in OH_IPCRemoteStub_Create()
58 ZLOGE(LOG_LABEL, "new OHIPCRemoteStub failed"); in OH_IPCRemoteStub_Create()
65 void OH_IPCRemoteStub_Destroy(OHIPCRemoteStub *stub) in OH_IPCRemoteStub_Destroy()
H A Dipc_cparcel.cpp278 int OH_IPCParcel_WriteRemoteStub(OHIPCParcel *parcel, const OHIPCRemoteStub *stub) in OH_IPCParcel_WriteRemoteStub()
283 OHIPCRemoteStub* OH_IPCParcel_ReadRemoteStub(const OHIPCParcel *parcel) in OH_IPCParcel_ReadRemoteStub()
285 return ReadIPCRemoteObject<OHIPCRemoteStub>(parcel); in OH_IPCParcel_ReadRemoteStub()
/foundation/communication/ipc/ipc/test/auxiliary/native/include/
H A Dtest_capi_skeleton.h92 OHIPCRemoteStub *stubCallBack_{ nullptr };
116 OHIPCRemoteStub* stub_{ nullptr };
/foundation/ability/ability_runtime/interfaces/inner_api/child_process_manager/include/
H A Dnative_child_ipc_process.h41 typedef OHIPCRemoteStub* (*NativeChildProcess_OnConnect)();
/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/
H A Dnative_child_ipc_process.cpp72 OHIPCRemoteStub *ipcStub = funcNativeLibOnConnect_(); in OnStart()
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_capi_remote_object_unittest.cpp147 OHIPCRemoteStub *remote = OH_IPCRemoteStub_Create(nullptr, OnRemoteRequestStub, OnRemoteObjectDestroy, this); in HWTEST_F()
164 OHIPCRemoteStub *remote = OH_IPCRemoteStub_Create("RemoteStub_Destroy_001", OnRemoteRequestStub, in HWTEST_F()
H A Dipc_capi_parcel_unittest.cpp661 OHIPCRemoteStub *stub = OH_IPCRemoteStub_Create(descriptor, OnRemoteRequestStub, in HWTEST_F()

Completed in 8 milliseconds