mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-11-22 23:40:24 +00:00
Modify the ipc internal source issue
Signed-off-by: zhou-liting125 <zhouliting5@huawei.com>
This commit is contained in:
parent
4dd24d5ec0
commit
9c8d2cf18e
0
README_zh.md
Executable file → Normal file
0
README_zh.md
Executable file → Normal file
0
figures/ipc-architecture.png
Executable file → Normal file
0
figures/ipc-architecture.png
Executable file → Normal file
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
0
interfaces/innerkits/ipc_core/BUILD.gn
Executable file → Normal file
0
interfaces/innerkits/ipc_core/BUILD.gn
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_file_descriptor.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_file_descriptor.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_object_proxy.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_object_proxy.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_object_stub.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_object_stub.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_skeleton.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_skeleton.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_types.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/ipc_types.h
Executable file → Normal file
2
interfaces/innerkits/ipc_core/include/iremote_broker.h
Executable file → Normal file
2
interfaces/innerkits/ipc_core/include/iremote_broker.h
Executable file → Normal file
@ -39,7 +39,7 @@ public:
|
||||
class IRemoteBroker : public virtual RefBase {
|
||||
public:
|
||||
IRemoteBroker() = default;
|
||||
virtual ~IRemoteBroker() override = default;
|
||||
~IRemoteBroker() override = default;
|
||||
virtual sptr<IRemoteObject> AsObject() = 0;
|
||||
static inline sptr<IRemoteBroker> AsImplement(const sptr<IRemoteObject> &object)
|
||||
{
|
||||
|
2
interfaces/innerkits/ipc_core/include/iremote_object.h
Executable file → Normal file
2
interfaces/innerkits/ipc_core/include/iremote_object.h
Executable file → Normal file
@ -65,7 +65,7 @@ public:
|
||||
|
||||
virtual bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) = 0;
|
||||
|
||||
virtual bool Marshalling(Parcel &parcel) const override;
|
||||
bool Marshalling(Parcel &parcel) const override;
|
||||
|
||||
static IRemoteObject *Unmarshalling(Parcel &parcel);
|
||||
|
||||
|
0
interfaces/innerkits/ipc_core/include/iremote_proxy.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/iremote_proxy.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/iremote_stub.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/iremote_stub.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/jni_help.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/jni_help.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/message_option.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/message_option.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/message_parcel.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/message_parcel.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/peer_holder.h
Executable file → Normal file
0
interfaces/innerkits/ipc_core/include/peer_holder.h
Executable file → Normal file
0
interfaces/innerkits/ipc_single/BUILD.gn
Executable file → Normal file
0
interfaces/innerkits/ipc_single/BUILD.gn
Executable file → Normal file
0
interfaces/innerkits/libdbinder/include/dbinder_service_stub.h
Executable file → Normal file
0
interfaces/innerkits/libdbinder/include/dbinder_service_stub.h
Executable file → Normal file
0
ipc/native/src/core/include/buffer_object.h
Executable file → Normal file
0
ipc/native/src/core/include/buffer_object.h
Executable file → Normal file
0
ipc/native/src/core/include/comm_auth_info.h
Executable file → Normal file
0
ipc/native/src/core/include/comm_auth_info.h
Executable file → Normal file
0
ipc/native/src/core/include/databus_session_callback.h
Executable file → Normal file
0
ipc/native/src/core/include/databus_session_callback.h
Executable file → Normal file
0
ipc/native/src/core/include/dbinder_error_code.h
Executable file → Normal file
0
ipc/native/src/core/include/dbinder_error_code.h
Executable file → Normal file
0
ipc/native/src/core/include/dbinder_session_object.h
Executable file → Normal file
0
ipc/native/src/core/include/dbinder_session_object.h
Executable file → Normal file
2
ipc/native/src/core/include/ipc_debug.h
Executable file → Normal file
2
ipc/native/src/core/include/ipc_debug.h
Executable file → Normal file
@ -56,7 +56,7 @@ public:
|
||||
IPCError() = default;
|
||||
~IPCError() = default;
|
||||
static const std::string &ToString(int value);
|
||||
virtual ErrorMap &GetErrorMap() override;
|
||||
ErrorMap &GetErrorMap() override;
|
||||
};
|
||||
} // namespace OHOS
|
||||
#endif // OHOS_IPC_IPC_DEBUG_H
|
||||
|
0
ipc/native/src/core/include/ipc_process_skeleton.h
Executable file → Normal file
0
ipc/native/src/core/include/ipc_process_skeleton.h
Executable file → Normal file
0
ipc/native/src/core/include/ipc_thread_pool.h
Executable file → Normal file
0
ipc/native/src/core/include/ipc_thread_pool.h
Executable file → Normal file
0
ipc/native/src/core/include/ipc_thread_skeleton.h
Executable file → Normal file
0
ipc/native/src/core/include/ipc_thread_skeleton.h
Executable file → Normal file
0
ipc/native/src/core/include/ipc_workthread.h
Executable file → Normal file
0
ipc/native/src/core/include/ipc_workthread.h
Executable file → Normal file
0
ipc/native/src/core/include/stub_refcount_object.h
Executable file → Normal file
0
ipc/native/src/core/include/stub_refcount_object.h
Executable file → Normal file
0
ipc/native/src/core/source/buffer_object.cpp
Executable file → Normal file
0
ipc/native/src/core/source/buffer_object.cpp
Executable file → Normal file
0
ipc/native/src/core/source/comm_auth_info.cpp
Executable file → Normal file
0
ipc/native/src/core/source/comm_auth_info.cpp
Executable file → Normal file
0
ipc/native/src/core/source/databus_session_callback.cpp
Executable file → Normal file
0
ipc/native/src/core/source/databus_session_callback.cpp
Executable file → Normal file
0
ipc/native/src/core/source/dbinder_session_object.cpp
Executable file → Normal file
0
ipc/native/src/core/source/dbinder_session_object.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_file_descriptor.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_file_descriptor.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_object_proxy.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_object_proxy.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_object_stub.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_object_stub.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_process_skeleton.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_process_skeleton.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_skeleton.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_skeleton.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_thread_pool.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_thread_pool.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_thread_skeleton.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_thread_skeleton.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_workthread.cpp
Executable file → Normal file
0
ipc/native/src/core/source/ipc_workthread.cpp
Executable file → Normal file
0
ipc/native/src/core/source/iremote_broker.cpp
Executable file → Normal file
0
ipc/native/src/core/source/iremote_broker.cpp
Executable file → Normal file
0
ipc/native/src/core/source/iremote_object.cpp
Executable file → Normal file
0
ipc/native/src/core/source/iremote_object.cpp
Executable file → Normal file
0
ipc/native/src/core/source/message_option.cpp
Executable file → Normal file
0
ipc/native/src/core/source/message_option.cpp
Executable file → Normal file
0
ipc/native/src/core/source/message_parcel.cpp
Executable file → Normal file
0
ipc/native/src/core/source/message_parcel.cpp
Executable file → Normal file
0
ipc/native/src/core/source/peer_holder.cpp
Executable file → Normal file
0
ipc/native/src/core/source/peer_holder.cpp
Executable file → Normal file
0
ipc/native/src/core/source/stub_refcount_object.cpp
Executable file → Normal file
0
ipc/native/src/core/source/stub_refcount_object.cpp
Executable file → Normal file
0
ipc/native/src/jni/include/jni_helper.h
Executable file → Normal file
0
ipc/native/src/jni/include/jni_helper.h
Executable file → Normal file
0
ipc/native/src/jni/include/jni_remote_object.h
Executable file → Normal file
0
ipc/native/src/jni/include/jni_remote_object.h
Executable file → Normal file
0
ipc/native/src/jni/include/ohos_rpc_message_option.h
Executable file → Normal file
0
ipc/native/src/jni/include/ohos_rpc_message_option.h
Executable file → Normal file
0
ipc/native/src/jni/include/ohos_rpc_message_parcel.h
Executable file → Normal file
0
ipc/native/src/jni/include/ohos_rpc_message_parcel.h
Executable file → Normal file
0
ipc/native/src/jni/include/ohos_rpc_remote_object.h
Executable file → Normal file
0
ipc/native/src/jni/include/ohos_rpc_remote_object.h
Executable file → Normal file
0
ipc/native/src/jni/source/jni_helper.cpp
Executable file → Normal file
0
ipc/native/src/jni/source/jni_helper.cpp
Executable file → Normal file
0
ipc/native/src/jni/source/ohos_rpc_message_option.cpp
Executable file → Normal file
0
ipc/native/src/jni/source/ohos_rpc_message_option.cpp
Executable file → Normal file
0
ipc/native/src/jni/source/ohos_rpc_message_parcel.cpp
Executable file → Normal file
0
ipc/native/src/jni/source/ohos_rpc_message_parcel.cpp
Executable file → Normal file
0
ipc/native/src/jni/source/ohos_rpc_remote_object.cpp
Executable file → Normal file
0
ipc/native/src/jni/source/ohos_rpc_remote_object.cpp
Executable file → Normal file
0
ipc/native/src/mock/include/binder_connector.h
Executable file → Normal file
0
ipc/native/src/mock/include/binder_connector.h
Executable file → Normal file
2
ipc/native/src/mock/include/binder_debug.h
Executable file → Normal file
2
ipc/native/src/mock/include/binder_debug.h
Executable file → Normal file
@ -24,7 +24,7 @@ public:
|
||||
BinderDebug() = default;
|
||||
~BinderDebug() = default;
|
||||
static const std::string &ToString(int value);
|
||||
virtual ErrorMap &GetErrorMap() override;
|
||||
ErrorMap &GetErrorMap() override;
|
||||
};
|
||||
} // namespace OHOS
|
||||
#endif // OHOS_IPC_BINDER_DEBUG_H
|
||||
|
0
ipc/native/src/mock/include/binder_invoker.h
Executable file → Normal file
0
ipc/native/src/mock/include/binder_invoker.h
Executable file → Normal file
20
ipc/native/src/mock/include/dbinder_base_invoker.h
Executable file → Normal file
20
ipc/native/src/mock/include/dbinder_base_invoker.h
Executable file → Normal file
@ -64,17 +64,17 @@ public:
|
||||
virtual std::shared_ptr<T> QueryServerSessionObject(uint32_t handle) = 0;
|
||||
virtual bool UpdateClientSession(uint32_t handle, std::shared_ptr<T> sessionObject) = 0;
|
||||
|
||||
virtual int SendRequest(int32_t handle, uint32_t code, MessageParcel &data, MessageParcel &reply,
|
||||
int SendRequest(int32_t handle, uint32_t code, MessageParcel &data, MessageParcel &reply,
|
||||
MessageOption &option) override;
|
||||
virtual bool AddDeathRecipient(int32_t handle, void *cookie) override;
|
||||
virtual bool RemoveDeathRecipient(int32_t handle, void *cookie) override;
|
||||
virtual int GetObjectRefCount(const IRemoteObject *object) override;
|
||||
virtual bool SetMaxWorkThread(int maxThreadNum) override;
|
||||
virtual int SendReply(MessageParcel &reply, uint32_t flags, int32_t result) override;
|
||||
virtual bool PingService(int32_t handle) override;
|
||||
virtual sptr<IRemoteObject> GetSAMgrObject() override;
|
||||
virtual bool SetRegistryObject(sptr<IRemoteObject> &object) override;
|
||||
virtual void FreeBuffer(void *data) override;
|
||||
bool AddDeathRecipient(int32_t handle, void *cookie) override;
|
||||
bool RemoveDeathRecipient(int32_t handle, void *cookie) override;
|
||||
int GetObjectRefCount(const IRemoteObject *object) override;
|
||||
bool SetMaxWorkThread(int maxThreadNum) override;
|
||||
int SendReply(MessageParcel &reply, uint32_t flags, int32_t result) override;
|
||||
bool PingService(int32_t handle) override;
|
||||
sptr<IRemoteObject> GetSAMgrObject() override;
|
||||
bool SetRegistryObject(sptr<IRemoteObject> &object) override;
|
||||
void FreeBuffer(void *data) override;
|
||||
virtual std::shared_ptr<T> WriteTransaction(int cmd, uint32_t flags, int32_t handle, int32_t socketId,
|
||||
uint32_t code, MessageParcel &data, uint64_t &seqNumber, int status);
|
||||
virtual int SendOrWaitForCompletion(int userWaitTime, uint64_t seqNumber, std::shared_ptr<T> sessionOfPeer,
|
||||
|
18
ipc/native/src/mock/include/dbinder_databus_invoker.h
Executable file → Normal file
18
ipc/native/src/mock/include/dbinder_databus_invoker.h
Executable file → Normal file
@ -80,15 +80,15 @@ private:
|
||||
uint64_t stubIndex) override;
|
||||
std::shared_ptr<DBinderSessionObject> UnFlattenSession(char *sessionOffset, uint64_t &stubIndex) override;
|
||||
uint32_t QueryHandleBySession(std::shared_ptr<DBinderSessionObject> session, uint64_t stubIndex) override;
|
||||
virtual uint64_t GetSeqNum() const override;
|
||||
virtual void SetSeqNum(uint64_t seq) override;
|
||||
virtual uint32_t GetClientFd() const override;
|
||||
virtual void SetClientFd(uint32_t fd) override;
|
||||
virtual void SetCallerPid(pid_t pid) override;
|
||||
virtual void SetCallerUid(pid_t uid) override;
|
||||
virtual void SetStatus(uint32_t status) override;
|
||||
virtual void SetCallerDeviceID(const std::string &deviceId) override;
|
||||
virtual int CheckAndSetCallerInfo(uint32_t listenFd, uint64_t stubIndex) override;
|
||||
uint64_t GetSeqNum() const override;
|
||||
void SetSeqNum(uint64_t seq) override;
|
||||
uint32_t GetClientFd() const override;
|
||||
void SetClientFd(uint32_t fd) override;
|
||||
void SetCallerPid(pid_t pid) override;
|
||||
void SetCallerUid(pid_t uid) override;
|
||||
void SetStatus(uint32_t status) override;
|
||||
void SetCallerDeviceID(const std::string &deviceId) override;
|
||||
int CheckAndSetCallerInfo(uint32_t listenFd, uint64_t stubIndex) override;
|
||||
uint32_t HasRawDataPackage(const char *data, ssize_t len);
|
||||
uint32_t HasCompletePackage(const char *data, uint32_t readCursor, ssize_t len);
|
||||
void OnRawDataAvailable(std::shared_ptr<Session> session, const char *data, uint32_t dataSize);
|
||||
|
0
ipc/native/src/mock/include/hitrace_invoker.h
Executable file → Normal file
0
ipc/native/src/mock/include/hitrace_invoker.h
Executable file → Normal file
0
ipc/native/src/mock/include/invoker_factory.h
Executable file → Normal file
0
ipc/native/src/mock/include/invoker_factory.h
Executable file → Normal file
0
ipc/native/src/mock/include/invoker_rawdata.h
Executable file → Normal file
0
ipc/native/src/mock/include/invoker_rawdata.h
Executable file → Normal file
0
ipc/native/src/mock/include/iremote_invoker.h
Executable file → Normal file
0
ipc/native/src/mock/include/iremote_invoker.h
Executable file → Normal file
0
ipc/native/src/mock/include/sys_binder.h
Executable file → Normal file
0
ipc/native/src/mock/include/sys_binder.h
Executable file → Normal file
0
ipc/native/src/mock/source/binder_connector.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/binder_connector.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/binder_debug.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/binder_debug.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/binder_invoker.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/binder_invoker.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/dbinder_databus_invoker.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/dbinder_databus_invoker.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/hitrace_invoker.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/hitrace_invoker.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/invoker_factory.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/invoker_factory.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/invoker_rawdata.cpp
Executable file → Normal file
0
ipc/native/src/mock/source/invoker_rawdata.cpp
Executable file → Normal file
@ -1112,7 +1112,7 @@ napi_value NAPI_IPCSkeleton_setCallingIdentity(napi_env env, napi_callback_info
|
||||
return result;
|
||||
}
|
||||
|
||||
int64_t token = std::atoll(identity.c_str());
|
||||
int64_t token = std::stoll(identity.c_str());
|
||||
int callerUid = static_cast<int>((static_cast<uint64_t>(token)) >> PID_LEN);
|
||||
int callerPid = static_cast<int>(token);
|
||||
napi_value napiCallingPid;
|
||||
@ -1130,7 +1130,7 @@ napi_value NAPI_IPCSkeleton_setCallingIdentity(napi_env env, napi_callback_info
|
||||
}
|
||||
|
||||
std::string deviceId = identity.substr(0, DEVICEID_LENGTH);
|
||||
int64_t token = std::atoll(identity.substr(DEVICEID_LENGTH, identity.length() - DEVICEID_LENGTH).c_str());
|
||||
int64_t token = std::stoll(identity.substr(DEVICEID_LENGTH, identity.length() - DEVICEID_LENGTH).c_str());
|
||||
int callerUid = static_cast<int>((static_cast<uint64_t>(token)) >> PID_LEN);
|
||||
int callerPid = static_cast<int>(token);
|
||||
napi_value napiCallingPid;
|
||||
|
0
ipc/native/test/BUILD.gn
Executable file → Normal file
0
ipc/native/test/BUILD.gn
Executable file → Normal file
0
ipc/native/test/unittest/common/BUILD.gn
Executable file → Normal file
0
ipc/native/test/unittest/common/BUILD.gn
Executable file → Normal file
0
ipc/native/test/unittest/common/ipc_core_unittest.cpp
Executable file → Normal file
0
ipc/native/test/unittest/common/ipc_core_unittest.cpp
Executable file → Normal file
0
ipc/native/test/unittest/common/ipc_file_desc_unittest.cpp
Executable file → Normal file
0
ipc/native/test/unittest/common/ipc_file_desc_unittest.cpp
Executable file → Normal file
0
ipc/native/test/unittest/common/ipc_hitrace_unittest.cpp
Executable file → Normal file
0
ipc/native/test/unittest/common/ipc_hitrace_unittest.cpp
Executable file → Normal file
0
ipc/test/BUILD.gn
Executable file → Normal file
0
ipc/test/BUILD.gn
Executable file → Normal file
0
ipc/test/auxiliary/native/BUILD.gn
Executable file → Normal file
0
ipc/test/auxiliary/native/BUILD.gn
Executable file → Normal file
0
ipc/test/auxiliary/native/include/assist_test_service.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/assist_test_service.h
Executable file → Normal file
2
ipc/test/auxiliary/native/include/foo_service.h
Executable file → Normal file
2
ipc/test/auxiliary/native/include/foo_service.h
Executable file → Normal file
@ -43,7 +43,7 @@ public:
|
||||
class FooStub : public IRemoteStub<IFoo> {
|
||||
public:
|
||||
virtual ~FooStub();
|
||||
virtual int OnRemoteRequest(uint32_t code,
|
||||
int OnRemoteRequest(uint32_t code,
|
||||
MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
|
||||
std::string GetFooName() override;
|
||||
void SendAsyncReply(int &reply) override;
|
||||
|
0
ipc/test/auxiliary/native/include/ipc_test_helper.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/ipc_test_helper.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/ohos_rpc_test_testhelper.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/ohos_rpc_test_testhelper.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/test_service.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/test_service.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/test_service_client.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/test_service_client.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/test_service_command.h
Executable file → Normal file
0
ipc/test/auxiliary/native/include/test_service_command.h
Executable file → Normal file
2
ipc/test/auxiliary/native/include/test_service_skeleton.h
Executable file → Normal file
2
ipc/test/auxiliary/native/include/test_service_skeleton.h
Executable file → Normal file
@ -73,7 +73,7 @@ public:
|
||||
|
||||
class TestServiceStub : public IRemoteStub<ITestService> {
|
||||
public:
|
||||
virtual int OnRemoteRequest(uint32_t code,
|
||||
int OnRemoteRequest(uint32_t code,
|
||||
MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
|
||||
private:
|
||||
static constexpr HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_ID_IPC, "TestServiceStub" };
|
||||
|
0
ipc/test/auxiliary/native/src/assist_test_service.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/assist_test_service.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/foo_service.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/foo_service.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/ipc_test_helper.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/ipc_test_helper.cpp
Executable file → Normal file
2
ipc/test/auxiliary/native/src/main_client.cpp
Executable file → Normal file
2
ipc/test/auxiliary/native/src/main_client.cpp
Executable file → Normal file
@ -45,7 +45,7 @@ int main(int argc, char *argv[])
|
||||
int result = 0;
|
||||
TestCommand commandId = TestCommand::TEST_CMD_SYNC_TRANS;
|
||||
if (argc > 1) {
|
||||
commandId = TestCommand(atoi(argv[1]));
|
||||
commandId = TestCommand(std::stoi(argv[1]));
|
||||
} else {
|
||||
ZLOGE(LABEL, "unknown command");
|
||||
}
|
||||
|
0
ipc/test/auxiliary/native/src/main_server.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/main_server.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/ohos_rpc_test_testhelper.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/ohos_rpc_test_testhelper.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/test_service.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/test_service.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/test_service_client.cpp
Executable file → Normal file
0
ipc/test/auxiliary/native/src/test_service_client.cpp
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user