Searched refs:OHIPCRemoteStub (Results 1 - 10 of 10) sorted by relevance
/foundation/communication/ipc/interfaces/innerkits/c_api/include/ |
H A D | ipc_cparcel.h | 83 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 D | ipc_cremote_object.h | 51 * 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 D | ipc_inner_object.h | 35 struct OHIPCRemoteStub { struct
|
/foundation/communication/ipc/ipc/native/src/c_api/source/ |
H A D | ipc_cremote_object.cpp | 33 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 D | ipc_cparcel.cpp | 278 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 D | test_capi_skeleton.h | 92 OHIPCRemoteStub *stubCallBack_{ nullptr }; 116 OHIPCRemoteStub* stub_{ nullptr };
|
/foundation/ability/ability_runtime/interfaces/inner_api/child_process_manager/include/ |
H A D | native_child_ipc_process.h | 41 typedef OHIPCRemoteStub* (*NativeChildProcess_OnConnect)();
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/ |
H A D | native_child_ipc_process.cpp | 72 OHIPCRemoteStub *ipcStub = funcNativeLibOnConnect_(); in OnStart()
|
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_capi_remote_object_unittest.cpp | 147 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 D | ipc_capi_parcel_unittest.cpp | 661 OHIPCRemoteStub *stub = OH_IPCRemoteStub_Create(descriptor, OnRemoteRequestStub, in HWTEST_F()
|
Completed in 8 milliseconds