| /foundation/ability/idl_tool/test/hdi_unittest/extended_struct_idl/cpp_target/foo/v1_0/ |
| H A D | types.cpp.txt | 23 namespace Foo { 28 bool FooInfoBlockMarshalling(OHOS::MessageParcel& data, const OHOS::HDI::Foo::V1_0::FooInfo& dataBlock) 47 bool FooInfoBlockUnmarshalling(OHOS::MessageParcel& data, OHOS::HDI::Foo::V1_0::FooInfo& dataBlock) 67 dataBlock.type = static_cast<enum FooType>(enumTmp); 72 bool ExtendedFooInfoBlockMarshalling(OHOS::MessageParcel& data, const OHOS::HDI::Foo::V1_0::ExtendedFooInfo& dataBlock) 101 bool ExtendedFooInfoBlockUnmarshalling(OHOS::MessageParcel& data, OHOS::HDI::Foo [all...] |
| H A D | ifoo.h.txt | 23 #include "foo/v1_0/types.h" 48 namespace Foo { 62 DECLARE_HDI_DESCRIPTOR(u"ohos.hdi.foo.v1_0.IFoo"); 66 static sptr<OHOS::HDI::Foo::V1_0::IFoo> Get(bool isStub = false); 67 static sptr<OHOS::HDI::Foo::V1_0::IFoo> Get(const std::string &serviceName, bool isStub = false); 71 virtual int32_t GetData(OHOS::HDI::Foo::V1_0::ExtendedFooInfo& info) = 0; 73 virtual int32_t InfoTest(const OHOS::HDI::Foo::V1_0::ExtendedFooInfo& inParam, 74 OHOS::HDI::Foo::V1_0::ExtendedFooInfo& outParam) = 0; 94 } // Foo
|
| H A D | foo_stub.h.txt | 28 namespace Foo { 32 class FooStub : public IPCObjectStub { 34 explicit FooStub(const sptr<IFoo> &impl); 35 virtual ~FooStub(); 39 static int32_t FooStubPing_(MessageParcel& fooData, MessageParcel& fooReply, MessageOption& fooOption, sptr<OHOS::HDI::Foo::V1_0::IFoo> impl); 41 static int32_t FooStubGetData_(MessageParce [all...] |
| H A D | types.h.txt | 50 namespace Foo { 55 enum FooType : int32_t { 56 FOO_TYPE_ONE = 1, 57 FOO_TYPE_TWO = 2, 60 struct FooInfo { 63 OHOS::HDI::Foo::V1_0::FooType type; 69 OHOS::HDI::Foo::V1_0::FooType type; 74 bool FooInfoBlockMarshalling(OHO [all...] |
| H A D | foo_service.cpp.txt | 16 #include "v1_0/foo_service.h" 19 #define HDF_LOG_TAG foo_service 23 namespace Foo { 25 extern "C" IFoo *FooImplGetInstance(void) 27 return new (std::nothrow) FooService(); 30 int32_t FooService::Ping(const std::string& sendMsg, std::string& recvMsg) 35 int32_t FooService::GetData(OHOS::HDI::Foo::V1_0::ExtendedFooInfo& info) 40 int32_t FooService::InfoTest(const OHOS::HDI::Foo [all...] |
| H A D | foo_service.h.txt | 23 namespace Foo { 25 class FooService : public OHOS::HDI::Foo::V1_0::IFoo { 27 FooService() = default; 28 virtual ~FooService() = default; 32 int32_t GetData(OHOS::HDI::Foo::V1_0::ExtendedFooInfo& info) override; 34 int32_t InfoTest(const OHOS::HDI::Foo::V1_0::ExtendedFooInfo& inParam, 35 OHOS::HDI::Foo::V1_0::ExtendedFooInfo& outParam) override; 39 } // Foo
|
| /foundation/ability/idl_tool/test/hdi_unittest/extended_struct_idl/foo/v1_0/ |
| H A D | Types.idl | 16 package ohos.hdi.foo.v1_0; 18 enum FooType { 19 FOO_TYPE_ONE = 1, 20 FOO_TYPE_TWO = 2, 23 struct FooInfo { 26 enum FooType type; 29 struct ExtendedFooInfo : FooInfo {
|
| H A D | IFoo.idl | 16 package ohos.hdi.foo.v1_0;
18 import ohos.hdi.foo.v1_0.Types;
|
| /foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/dump_ast_target/ |
| H A D | dump.txt | 1 AST[name: IFaceAuthInterface file: /home/bmi/CODE/OpenHarmony/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_1/IFaceAuthInterface.idl] 13 AST[name: IExecutor file: /home/bmi/CODE/OpenHarmony/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_1/IExecutor.idl] 35 AST[name: ISaCommandCallback file: /home/bmi/CODE/OpenHarmony/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_1/ISaCommandCallback.idl] 46 AST[name: IExecutor file: /home/bmi/CODE/OpenHarmony/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_0/IExecutor.idl] 102 AST[name: FaceAuthTypes file: /home/bmi/CODE/OpenHarmony/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_1/FaceAuthTypes.idl] 146 AST[name: IFaceAuthInterface file: /home/bmi/CODE/OpenHarmony/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_0/IFaceAuthInterface.idl] 157 AST[name: IExecutorCallback file: /home/bmi/CODE/OpenHarmony/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_0/IExecutorCallback.idl] 171 AST[name: FaceAuthTypes file: /home/bmi/CODE/OpenHarmony/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_0/FaceAuthTypes.idl]
|
| /foundation/ability/idl_tool/test/hdi_unittest/hdi_all_interface_test_001/cpp_target/foo/v1_0/ |
| H A D | types.h.txt | 28 namespace Foo { 34 enum FooType : int32_t { 35 FOO_TYPE_ONE = 1, 36 FOO_TYPE_TWO = 2, 39 struct FooInfo { 42 OHOS::HDI::Foo::V1_0::FooType type; 92 OHOS::HDI::Foo::V1_0::AudioPortPin pins; 97 OHOS::HDI::Foo::V1_0::SceneDesc scene; 98 OHOS::HDI::Foo [all...] |
| H A D | ifoo_ext.h.txt | 27 #include "foo/v1_0/ifoo_callback.h" 28 #include "foo/v1_0/types.h" 32 namespace Foo { 40 DECLARE_HDI_DESCRIPTOR(u"ohos.hdi.foo.v1_0.IFooExt"); 44 static sptr<OHOS::HDI::Foo::V1_0::IFooExt> Get(bool isStub = false); 45 static sptr<OHOS::HDI::Foo::V1_0::IFooExt> Get(const std::string &serviceName, bool isStub = false); 67 virtual int32_t TestFunc19(const OHOS::HDI::Foo::V1_0::FooInfo& inData, 68 OHOS::HDI::Foo::V1_0::AudioPortPin& outData) = 0; 70 virtual int32_t TestFunc20(const OHOS::HDI::Foo [all...] |
| H A D | ifoo_callback.h.txt | 26 namespace Foo { 33 DECLARE_HDI_DESCRIPTOR(u"ohos.hdi.foo.v1_0.IFooCallback"); 57 } // Foo
|
| /foundation/ability/idl_tool/test/hdi_unittest/hdi_all_interface_test_001/foo/v1_0/ |
| H A D | Types.idl | 16 package ohos.hdi.foo.v1_0;
18 enum FooType {
19 FOO_TYPE_ONE = 1,
20 FOO_TYPE_TWO = 2,
23 struct FooInfo {
26 enum FooType type;
|
| H A D | IFooExt.idl | 16 package ohos.hdi.foo.v1_0; 18 import ohos.hdi.foo.v1_0.IFooCallback; 19 import ohos.hdi.foo.v1_0.Types; 31 TestFunc19([in] struct FooInfo inData, [out] enum AudioPortPin outData);
|
| H A D | IFoo.idl | 16 package ohos.hdi.foo.v1_0;
18 import ohos.hdi.foo.v1_0.IFooCallback;
19 import ohos.hdi.foo.v1_0.Types;
23 GetData([out] struct FooInfo info);
|
| H A D | IFooCallback.idl | 16 package ohos.hdi.foo.v1_0;
|
| /foundation/ability/idl_tool/test/hdi_unittest/hdi_all_interface_test_002/c_target/foo/v1_0/ |
| H A D | foo_callback_service.c.txt | 16 #include "v1_0/foo_callback_service.h" 22 #define HDF_LOG_TAG foo_callback_service 24 static int32_t FooCallbackPushData(struct IFooCallback *self, const char* message) 29 static int32_t FooCallbackGetVersion(struct IFooCallback *self, uint32_t* majorVer, uint32_t* minorVer) 36 struct FooCallbackService *FooCallbackServiceGet(void) 38 struct FooCallbackService *service = (struct FooCallbackService *)OsalMemCalloc(sizeof(struct FooCallbackService)); 42 service->super.PushData = FooCallbackPushData; [all...] |
| H A D | foo_callback_service.h.txt | 25 struct FooCallbackService { 30 struct FooCallbackService *FooCallbackServiceGet(void); 32 void FooCallbackServiceRelease(struct FooCallbackService *instance);
|
| /foundation/ability/idl_tool/test/hdi_unittest/hdi_all_interface_test_005/cpp_target/foo/v1_0/ |
| H A D | types.h.txt | 28 namespace Foo { 34 enum FooType : int32_t { 35 FOO_TYPE_ONE = 1, 36 FOO_TYPE_TWO = 2, 39 struct FooInfo { 42 OHOS::HDI::Foo::V1_0::FooType type; 91 OHOS::HDI::Foo::V1_0::AudioPortPin pins; 96 OHOS::HDI::Foo::V1_0::SceneDesc scene; 97 OHOS::HDI::Foo [all...] |
| H A D | ifoo_ext.h.txt | 25 #include "foo/v1_0/ifoo_callback.h" 26 #include "foo/v1_0/types.h" 30 namespace Foo { 38 DECLARE_HDI_DESCRIPTOR(u"ohos.hdi.foo.v1_0.IFooExt"); 42 static sptr<OHOS::HDI::Foo::V1_0::IFooExt> Get(bool isStub = false); 43 static sptr<OHOS::HDI::Foo::V1_0::IFooExt> Get(const std::string &serviceName, bool isStub = false); 58 virtual int32_t TestFunc19(const OHOS::HDI::Foo::V1_0::FooInfo& inData, 59 OHOS::HDI::Foo::V1_0::AudioPortPin& outData) = 0; 61 virtual int32_t TestFunc20(const OHOS::HDI::Foo [all...] |
| H A D | ifoo.h.txt | 23 #include "foo/v1_0/ifoo_callback.h" 24 #include "foo/v1_0/types.h" 28 namespace Foo { 35 DECLARE_HDI_DESCRIPTOR(u"ohos.hdi.foo.v1_0.IFoo"); 39 static sptr<OHOS::HDI::Foo::V1_0::IFoo> Get(bool isStub = false); 40 static sptr<OHOS::HDI::Foo::V1_0::IFoo> Get(const std::string &serviceName, bool isStub = false); 44 virtual int32_t GetData(OHOS::HDI::Foo::V1_0::FooInfo& info) = 0; 46 virtual int32_t SetCallback(const sptr<OHOS::HDI::Foo::V1_0::IFooCallback>& cbObj) = 0; 84 } // Foo [all...] |
| H A D | foo_service.cpp.txt | 16 #include "v1_0/foo_service.h" 19 #define HDF_LOG_TAG foo_service 23 namespace Foo { 25 extern "C" IFoo *FooImplGetInstance(void) 27 return new (std::nothrow) FooService(); 30 int32_t FooService::Ping(const std::string& sendMsg, std::string& recvMsg) 35 int32_t FooService::GetData(OHOS::HDI::Foo::V1_0::FooInfo& info) 40 int32_t FooService [all...] |
| H A D | foo_ext_service.cpp.txt | 16 #include "v1_0/foo_ext_service.h" 19 #define HDF_LOG_TAG foo_ext_service 23 namespace Foo { 25 extern "C" IFooExt *FooExtImplGetInstance(void) 27 return new (std::nothrow) FooExtService(); 30 int32_t FooExtService::TestFunc11(const sptr<NativeBuffer>& inData, sptr<NativeBuffer>& outData) 35 int32_t FooExtService::TestFunc13(const std::map<std::string, std::string>& inData, std::map<std::string, 41 int32_t FooExtService::TestFunc15(uint8_t inData, uint8_t outData) 46 int32_t FooExtService::TestFunc16(uint32_t inData, uint8_t outData) 51 int32_t FooExtService [all...] |
| H A D | foo_ext_service.h.txt | 23 namespace Foo { 25 class FooExtService : public OHOS::HDI::Foo::V1_0::IFooExt { 27 FooExtService() = default; 28 virtual ~FooExtService() = default; 43 int32_t TestFunc19(const OHOS::HDI::Foo::V1_0::FooInfo& inData, 44 OHOS::HDI::Foo::V1_0::AudioPortPin& outData) override; 46 int32_t TestFunc20(const OHOS::HDI::Foo::V1_0::AudioSceneDescriptor& inData, 47 OHOS::HDI::Foo [all...] |
| H A D | foo_service.h.txt | 23 namespace Foo { 25 class FooService : public OHOS::HDI::Foo::V1_0::IFoo { 27 FooService() = default; 28 virtual ~FooService() = default; 32 int32_t GetData(OHOS::HDI::Foo::V1_0::FooInfo& info) override; 34 int32_t SetCallback(const sptr<OHOS::HDI::Foo::V1_0::IFooCallback>& cbObj) override; 56 } // Foo
|