Home
last modified time | relevance | path

Searched refs:OHIPCRemoteProxy (Results 1 - 15 of 15) sorted by relevance

/foundation/communication/ipc/interfaces/innerkits/c_api/include/
H A Dipc_cremote_object.h117 * @brief Destroys an <b>OHIPCRemoteProxy</b> object.
120 * @param proxy Pointer to the <b>OHIPCRemoteProxy</b> object to destroy.
123 void OH_IPCRemoteProxy_Destroy(OHIPCRemoteProxy *proxy);
157 * @param proxy Pointer to the <b>OHIPCRemoteProxy</b> object. It cannot be NULL.
170 int OH_IPCRemoteProxy_SendRequest(const OHIPCRemoteProxy *proxy, uint32_t code, const OHIPCParcel *data,
177 * @param proxy Pointer to the <b>OHIPCRemoteProxy</b> object. It cannot be NULL.
193 int OH_IPCRemoteProxy_GetInterfaceDescriptor(OHIPCRemoteProxy *proxy, char **descriptor, int32_t *len,
240 * @brief Subscribes to the death of an <b>OHIPCRemoteStub</b> object for an <b>OHIPCRemoteProxy</b> object.
243 * @param proxy Pointer to the <b>OHIPCRemoteProxy</b> object that subscribes to the death notification.
252 int OH_IPCRemoteProxy_AddDeathRecipient(OHIPCRemoteProxy *prox
[all...]
H A Dipc_cparcel.h67 struct OHIPCRemoteProxy;
75 typedef struct OHIPCRemoteProxy OHIPCRemoteProxy; typedef
432 * @brief Writes an <b>OHIPCRemoteProxy</b> object to an <b>OHIPCParcel</b> object.
436 * @param proxy Pointer to the <b>OHIPCRemoteProxy</b> object to write. It cannot be NULL.
442 int OH_IPCParcel_WriteRemoteProxy(OHIPCParcel *parcel, const OHIPCRemoteProxy *proxy);
445 * @brief Reads the <b>OHIPCRemoteProxy</b> object from an <b>OHIPCParcel</b> object.
449 * @return Returns the pointer to the <b>OHIPCRemoteProxy</b> object read if the operation is successful;
453 OHIPCRemoteProxy* OH_IPCParcel_ReadRemoteProxy(const OHIPCParcel *parcel);
H A Dipc_inner_object.h31 struct OHIPCRemoteProxy { struct
39 OHIPCRemoteProxy* CreateIPCRemoteProxy(OHOS::sptr<OHOS::IRemoteObject>& remote);
/foundation/communication/ipc/ipc/native/src/c_api/source/
H A Dipc_inner_object.cpp22 OHIPCRemoteProxy* CreateIPCRemoteProxy(OHOS::sptr<OHOS::IRemoteObject>& remote) in CreateIPCRemoteProxy()
28 OHIPCRemoteProxy *proxy = new (std::nothrow) OHIPCRemoteProxy(); in CreateIPCRemoteProxy()
H A Dipc_cremote_object.cpp73 void OH_IPCRemoteProxy_Destroy(OHIPCRemoteProxy *proxy) in OH_IPCRemoteProxy_Destroy()
124 int OH_IPCRemoteProxy_SendRequest(const OHIPCRemoteProxy *proxy, uint32_t code, const OHIPCParcel *data, in OH_IPCRemoteProxy_SendRequest()
152 int OH_IPCRemoteProxy_GetInterfaceDescriptor(OHIPCRemoteProxy *proxy, char **descriptor, int32_t *len, in OH_IPCRemoteProxy_GetInterfaceDescriptor()
212 int OH_IPCRemoteProxy_AddDeathRecipient(OHIPCRemoteProxy *proxy, OHIPCDeathRecipient *recipient) in OH_IPCRemoteProxy_AddDeathRecipient()
223 int OH_IPCRemoteProxy_RemoveDeathRecipient(OHIPCRemoteProxy *proxy, OHIPCDeathRecipient *recipient) in OH_IPCRemoteProxy_RemoveDeathRecipient()
234 int OH_IPCRemoteProxy_IsRemoteDead(const OHIPCRemoteProxy *proxy) in OH_IPCRemoteProxy_IsRemoteDead()
H A Dipc_internal_utils.cpp32 bool IsIPCRemoteProxyValid(const OHIPCRemoteProxy *proxy, const char *promot) in IsIPCRemoteProxyValid()
H A Dipc_cparcel.cpp288 int OH_IPCParcel_WriteRemoteProxy(OHIPCParcel *parcel, const OHIPCRemoteProxy *proxy) in OH_IPCParcel_WriteRemoteProxy()
293 OHIPCRemoteProxy* OH_IPCParcel_ReadRemoteProxy(const OHIPCParcel *parcel) in OH_IPCParcel_ReadRemoteProxy()
295 return ReadIPCRemoteObject<OHIPCRemoteProxy>(parcel); in OH_IPCParcel_ReadRemoteProxy()
/foundation/ability/ability_runtime/test/unittest/child_process_capi_test/
H A Dchild_process_capi_test.cpp31 static void OnNativeChildProcessStarted(int errCode, OHIPCRemoteProxy *remoteProxy);
49 void ChildProcessCapiTest::OnNativeChildProcessStarted(int errCode, OHIPCRemoteProxy *remoteProxy) in OnNativeChildProcessStarted()
/foundation/communication/ipc/ipc/native/src/c_api/include/
H A Dipc_internal_utils.h27 bool IsIPCRemoteProxyValid(const OHIPCRemoteProxy *proxy, const char *promot);
/foundation/ability/ability_runtime/interfaces/kits/c/ability/ability_runtime/child_process/
H A Dnative_child_process.h133 typedef void (*OH_Ability_OnNativeChildProcessStarted)(int errCode, OHIPCRemoteProxy *remoteProxy);
/foundation/ability/ability_runtime/frameworks/native/child_process/src/
H A Dnative_child_callback.cpp43 OHIPCRemoteProxy *ipcProxy = CreateIPCRemoteProxy(ipcRemote); in OnNativeChildStarted()
45 TAG_LOGE(AAFwkTag::PROCESSMGR, "Convert inner ipc object to OHIPCRemoteProxy point failed"); in OnNativeChildStarted()
H A Dnative_child_process.cpp57 void OnNativeChildProcessStartedWapper(int errCode, OHIPCRemoteProxy *ipcProxy) in OnNativeChildProcessStartedWapper()
/foundation/communication/ipc/ipc/test/auxiliary/native/include/
H A Dtest_capi_skeleton.h91 OHIPCRemoteProxy *proxy_{ nullptr };
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_capi_remote_object_unittest.cpp184 OHIPCRemoteProxy *remoteProxy = CreateIPCRemoteProxy(object); in HWTEST_F()
H A Dipc_capi_parcel_unittest.cpp681 OHIPCRemoteProxy *remoteProxy = OH_IPCParcel_ReadRemoteProxy(nullptr); in HWTEST_F()
690 OHIPCRemoteProxy *proxy = CreateIPCRemoteProxy(object); in HWTEST_F()

Completed in 8 milliseconds