Home
last modified time | relevance | path

Searched refs:API_EXPORT (Results 1 – 25 of 257) sorted by relevance

1234567891011

/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dabs_predicates.h28 class API_EXPORT AbsPredicates {
32 API_EXPORT AbsPredicates();
33 API_EXPORT virtual ~AbsPredicates();
57 API_EXPORT std::string GetOrder() const;
59 API_EXPORT int GetLimit() const;
60 API_EXPORT int GetOffset() const;
61 API_EXPORT bool IsDistinct() const;
64 API_EXPORT bool IsNeedAnd() const;
65 API_EXPORT bool IsSorted() const;
69 API_EXPORT virtual void Clear();
[all …]
H A Dabs_rdb_predicates.h27 class API_EXPORT AbsRdbPredicates : public AbsPredicates {
50 API_EXPORT ~AbsRdbPredicates() override {} in ~AbsRdbPredicates()
55 API_EXPORT void Clear() override;
61 API_EXPORT std::string ToString() const;
66 API_EXPORT std::string GetTableName() const;
86 API_EXPORT AbsRdbPredicates *InAllDevices();
117 API_EXPORT AbsRdbPredicates* And() override;
124 API_EXPORT AbsRdbPredicates* Or() override;
131 API_EXPORT AbsPredicates *BeginWrap() override;
269 API_EXPORT virtual void InitialParam();
[all …]
H A Dabs_result_set.h34 class API_EXPORT AbsResultSet : public ResultSet {
39 API_EXPORT AbsResultSet();
44 API_EXPORT virtual ~AbsResultSet();
49 API_EXPORT int GetRowCount(int &count) override;
208 API_EXPORT int GoTo(int offset) override;
216 API_EXPORT int GoToFirstRow() override;
224 API_EXPORT int GoToLastRow() override;
232 API_EXPORT int GoToNextRow() override;
240 API_EXPORT int GoToPreviousRow() override;
290 API_EXPORT bool IsClosed() const override;
[all …]
H A Dcache_result_set.h35 class API_EXPORT CacheResultSet : public ResultSet {
44 API_EXPORT virtual ~CacheResultSet();
49 API_EXPORT int GetRowCount(int &count) override;
186 API_EXPORT int GoToRow(int position) override;
220 API_EXPORT int GoTo(int offset) override;
228 API_EXPORT int GoToFirstRow() override;
236 API_EXPORT int GoToLastRow() override;
244 API_EXPORT int GoToNextRow() override;
252 API_EXPORT int GoToPreviousRow() override;
302 API_EXPORT bool IsClosed() const override;
[all …]
H A Dvalue_object.h36 class API_EXPORT ValueObject {
120 API_EXPORT ValueObject();
125 API_EXPORT ~ValueObject();
169 API_EXPORT ValueObject(double val);
178 API_EXPORT ValueObject(bool val);
214 API_EXPORT ValueObject(Asset val);
255 API_EXPORT TypeId GetType() const;
307 API_EXPORT operator int() const;
328 API_EXPORT operator bool() const;
342 API_EXPORT operator Blob() const;
[all …]
H A Dvalues_bucket.h30 class API_EXPORT ValuesBucket {
35 API_EXPORT ValuesBucket();
43 API_EXPORT ValuesBucket(const ValuesBucket &values);
45 API_EXPORT ValuesBucket(ValuesBucket &&values) noexcept;
51 API_EXPORT ~ValuesBucket();
106 API_EXPORT void PutNull(const std::string &columnName);
121 API_EXPORT void Delete(const std::string &columnName);
126 API_EXPORT void Clear();
131 API_EXPORT int Size() const;
136 API_EXPORT bool IsEmpty() const;
[all …]
H A Drdb_store_config.h207 class API_EXPORT RdbStoreConfig {
212 struct API_EXPORT CryptoParam {
219 API_EXPORT CryptoParam();
220 API_EXPORT ~CryptoParam();
221 API_EXPORT bool IsValid() const;
281 API_EXPORT ~RdbStoreConfig();
311 API_EXPORT bool IsReadOnly() const;
316 API_EXPORT bool IsMemoryRdb() const;
336 API_EXPORT bool IsEncrypt() const;
426 API_EXPORT int32_t GetArea() const;
[all …]
H A Dabs_shared_result_set.h38 API_EXPORT AbsSharedResultSet();
47 API_EXPORT explicit AbsSharedResultSet(std::string name);
52 API_EXPORT virtual ~AbsSharedResultSet();
76 API_EXPORT int Get(int32_t col, ValueObject &value) override;
83 API_EXPORT int GetSize(int columnIndex, size_t &size) override;
101 API_EXPORT int GoToRow(int position) override;
106 API_EXPORT int GetRowCount(int &count) override;
116 API_EXPORT int32_t OnGo(int oldRowIndex, int newRowIndex) override;
121 API_EXPORT virtual void SetBlock(AppDataFwk::SharedBlock *block);
128 API_EXPORT int Close() override;
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dblob.h31 API_EXPORT Blob();
36 API_EXPORT ~Blob() = default;
41 API_EXPORT Blob(const Blob &blob);
51 API_EXPORT Blob(Blob &&blob);
56 API_EXPORT Blob &operator=(Blob &&blob);
61 API_EXPORT Blob(const std::string &str);
76 API_EXPORT Blob(const char *str);
112 API_EXPORT size_t Size() const;
125 API_EXPORT bool Empty() const;
141 API_EXPORT void Clear();
[all …]
H A Ddistributed_kv_data_manager.h30 class API_EXPORT DistributedKvDataManager final {
35 API_EXPORT DistributedKvDataManager();
40 API_EXPORT ~DistributedKvDataManager();
73 API_EXPORT Status GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds);
89 API_EXPORT Status CloseKvStore(const AppId &appId, const StoreId &storeId);
105 API_EXPORT Status CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore);
113 API_EXPORT Status CloseAllKvStore(const AppId &appId);
139 API_EXPORT Status DeleteAllKvStore(const AppId &appId, const std::string &path = "");
157 API_EXPORT void SetExecutors(std::shared_ptr<ExecutorPool> executors);
164 API_EXPORT Status SetEndpoint(std::shared_ptr<Endpoint> endpoint);
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drdb_types_util.h52 API_EXPORT bool Unmarshalling(SyncerParam &output, MessageParcel &data);
58 API_EXPORT bool Marshalling(const Option &input, MessageParcel &data);
60 API_EXPORT bool Unmarshalling(Option &output, MessageParcel &data);
72 API_EXPORT bool Unmarshalling(SubOption &output, MessageParcel &data);
82 API_EXPORT bool Marshalling(const Asset &input, MessageParcel &data);
84 API_EXPORT bool Unmarshalling(Asset &output, MessageParcel &data);
88 API_EXPORT bool Unmarshalling(SubOption &output, MessageParcel &data);
100 API_EXPORT bool Unmarshalling(Statistic &output, MessageParcel &data);
106 API_EXPORT bool Marshalling(const Origin &input, MessageParcel &data);
108 API_EXPORT bool Unmarshalling(Origin &output, MessageParcel &data);
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/
H A Dshared_block.h38 class API_EXPORT SharedBlock {
108 API_EXPORT ~SharedBlock();
113 API_EXPORT bool Init();
123 API_EXPORT int Clear();
133 API_EXPORT int AllocRow();
138 API_EXPORT int FreeLastRow();
220 API_EXPORT size_t GetUsedBytes() in GetUsedBytes()
228 API_EXPORT std::string Name() in Name()
236 API_EXPORT size_t Size() in Size()
244 API_EXPORT uint32_t GetRowNum() in GetRowNum()
[all …]
H A Dserializable.h35 API_EXPORT json Marshall() const;
44 API_EXPORT bool Unmarshall(const std::string &jsonStr);
50 API_EXPORT static json ToJson(const std::string &jsonStr);
51 API_EXPORT static bool IsJson(const std::string &jsonStr);
62 API_EXPORT static bool SetValue(json &node, const std::string &value);
63 API_EXPORT static bool SetValue(json &node, const uint32_t &value);
64 API_EXPORT static bool SetValue(json &node, const int32_t &value);
65 API_EXPORT static bool SetValue(json &node, const int64_t &value);
66 API_EXPORT static bool SetValue(json &node, const uint64_t &value);
67 API_EXPORT static bool SetValue(json &node, const bool &value);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dkv_types_util.h44 API_EXPORT bool Marshalling(const Blob &input, MessageParcel &data);
46 API_EXPORT bool Unmarshalling(Blob &output, MessageParcel &data);
49 API_EXPORT bool Marshalling(const AppId &input, MessageParcel &data);
51 API_EXPORT bool Unmarshalling(AppId &output, MessageParcel &data);
54 API_EXPORT bool Marshalling(const StoreId &input, MessageParcel &data);
56 API_EXPORT bool Unmarshalling(StoreId &output, MessageParcel &data);
59 API_EXPORT bool Marshalling(const Entry &input, MessageParcel &data);
61 API_EXPORT bool Unmarshalling(Entry &output, MessageParcel &data);
76 API_EXPORT bool Unmarshalling(Options &output, MessageParcel &data);
91 API_EXPORT bool Unmarshalling(Status &output, MessageParcel &data);
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/account/
H A Daccount_delegate.h51 API_EXPORT virtual ~Observer() = default;
55 API_EXPORT virtual std::string Name() = 0;
56 API_EXPORT virtual LevelType GetLevel() = 0;
59 API_EXPORT virtual ~AccountDelegate() = default;
62 API_EXPORT virtual std::string GetCurrentAccountId() const = 0;
64 API_EXPORT virtual void SubscribeAccountEvent() = 0;
65 API_EXPORT virtual void UnsubscribeAccountEvent() = 0;
69 API_EXPORT virtual bool IsLoginAccount() = 0;
70 API_EXPORT virtual bool IsVerified(int userId) = 0;
71 API_EXPORT virtual bool RegisterHashFunc(HashFunc hash) = 0;
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/metadata/
H A Dstore_meta_data_local.h24 struct API_EXPORT PolicyValue final : public Serializable {
28 API_EXPORT PolicyValue() = default;
29 API_EXPORT ~PolicyValue() = default;
30 API_EXPORT bool IsValueEffect() const;
31 API_EXPORT bool Marshal(json &node) const override;
32 API_EXPORT bool Unmarshal(const json &node) override;
44 API_EXPORT StoreMetaDataLocal();
45 API_EXPORT ~StoreMetaDataLocal();
48 API_EXPORT bool HasPolicy(uint32_t type);
49 API_EXPORT PolicyValue GetPolicy(uint32_t type);
[all …]
H A Dstore_meta_data.h73 API_EXPORT StoreMetaData();
76 API_EXPORT ~StoreMetaData();
81 API_EXPORT std::string GetKey() const;
82 API_EXPORT std::string GetKeyLocal() const;
83 API_EXPORT std::string GetSecretKey() const;
84 API_EXPORT std::string GetStrategyKey() const;
85 API_EXPORT std::string GetBackupSecretKey() const;
86 API_EXPORT std::string GetAutoLaunchKey() const;
87 API_EXPORT std::string GetDebugInfoKey() const;
88 API_EXPORT std::string GetStoreAlias() const;
[all …]
H A Duser_meta_data.h23 class API_EXPORT UserStatus final : public Serializable {
27 API_EXPORT UserStatus() = default;
28 API_EXPORT ~UserStatus() = default;
29 API_EXPORT UserStatus(int id, bool isActive);
30 API_EXPORT bool Marshal(json &node) const override;
31 API_EXPORT bool Unmarshal(const json &node) override;
34 class API_EXPORT UserMetaData final : public Serializable {
39 API_EXPORT bool Marshal(json &node) const override;
40 API_EXPORT bool Unmarshal(const json &node) override;
45 API_EXPORT static constexpr const char *KEY_PREFIX = "UserMeta";
[all …]
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/include/
H A Ddistributed_hardware_fwk_kit.h30 #ifndef API_EXPORT
31 #define API_EXPORT __attribute__((visibility("default"))) macro
42 API_EXPORT DistributedHardwareFwkKit();
48 API_EXPORT ~DistributedHardwareFwkKit();
72 API_EXPORT int32_t PublishMessage(const DHTopic topic, const std::string &message);
87 API_EXPORT std::string QueryLocalSysSpec(QueryLocalSysSpecType spec);
96 API_EXPORT int32_t InitializeAVCenter(const TransRole &transRole, int32_t &engineId);
104 API_EXPORT int32_t ReleaseAVCenter(int32_t engineId);
113 API_EXPORT int32_t CreateControlChannel(int32_t engineId, const std::string &peerDevId);
122 API_EXPORT int32_t NotifyAVCenter(int32_t engineId, const AVTransEvent &event);
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/
H A Dudmf_types_util.h36 bool API_EXPORT Marshalling(const UnifiedData &input, MessageParcel &parcel);
38 bool API_EXPORT Unmarshalling(UnifiedData &output, MessageParcel &parcel);
46 bool API_EXPORT Marshalling(const Summary &input, MessageParcel &parcel);
48 bool API_EXPORT Unmarshalling(Summary &output, MessageParcel &parcel);
51 bool API_EXPORT Marshalling(const Privilege &input, MessageParcel &parcel);
53 bool API_EXPORT Unmarshalling(Privilege &output, MessageParcel &parcel);
58 bool API_EXPORT Unmarshalling(CustomOption &output, MessageParcel &parcel);
63 bool API_EXPORT Unmarshalling(QueryOption &output, MessageParcel &parcel);
66 bool API_EXPORT Marshalling(const UDType &input, MessageParcel &parcel);
68 bool API_EXPORT Unmarshalling(UDType &output, MessageParcel &parcel);
[all …]
H A Dtlv_util.h33 template <typename T> bool API_EXPORT ReadTlv(T &output, TLVObject &data, TAG tag);
35 template <typename T> size_t API_EXPORT CountBufferSize(const T &input, TLVObject &data);
36 template <typename T> bool API_EXPORT Writing(const T &input, TLVObject &data, TAG tag);
72 template <> size_t API_EXPORT CountBufferSize(const UDType &input, TLVObject &data);
73 template <> bool API_EXPORT Writing(const UDType &input, TLVObject &data, TAG tag);
77 template <> bool API_EXPORT Writing(const DataStatus &input, TLVObject &data, TAG tag);
80 template <> size_t API_EXPORT CountBufferSize(const Object &input, TLVObject &data);
81 template <> bool API_EXPORT Writing(const Object &input, TLVObject &data, TAG tag);
96 template <> size_t API_EXPORT CountBufferSize(const Runtime &input, TLVObject &data);
97 template <> bool API_EXPORT Writing(const Runtime &input, TLVObject &data, TAG tag);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/distributeddatafwk/include/
H A Ddistributed_kv_data_manager.h28 class API_EXPORT DistributedKvDataManager final {
30 API_EXPORT DistributedKvDataManager();
32 API_EXPORT ~DistributedKvDataManager();
49API_EXPORT Status GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &stor…
53 API_EXPORT Status GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds);
65 API_EXPORT Status CloseKvStore(const AppId &appId, const StoreId &storeId);
78 API_EXPORT Status CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore);
82 API_EXPORT Status CloseAllKvStore(const AppId &appId);
95 API_EXPORT Status DeleteAllKvStore(const AppId &appId, const std::string &path = "");
108API_EXPORT Status GetDeviceList(std::vector<DeviceInfo> &deviceInfoList, DeviceFilterStrategy stra…
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/include/serializable/
H A Dserializable.h35 API_EXPORT std::string Marshall() const;
48 API_EXPORT static bool SetValue(
50 API_EXPORT static bool SetValue(
52 API_EXPORT static bool SetValue(
54 API_EXPORT static bool SetValue(
56 API_EXPORT static bool SetValue(
58 API_EXPORT static bool SetValue(
60 API_EXPORT static bool SetValue(
62 API_EXPORT static bool SetValue(
64 API_EXPORT static bool SetValue(
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/bootstrap/include/
H A Dbootstrap.h25 API_EXPORT static Bootstrap &GetInstance();
26 API_EXPORT std::string GetProcessLabel();
27 API_EXPORT std::string GetMetaDBName();
28 API_EXPORT void LoadComponents();
29 API_EXPORT void LoadCheckers();
30 API_EXPORT void LoadNetworks();
31 API_EXPORT void LoadDirectory();
32 API_EXPORT void LoadCloud();
33 API_EXPORT void LoadBackup(std::shared_ptr<ExecutorPool> executors);
34 API_EXPORT void LoadAppIdMappings();
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/include/
H A Dconfig_factory.h25 API_EXPORT static ConfigFactory &GetInstance();
26 API_EXPORT int32_t Initialize();
27 API_EXPORT std::vector<ComponentConfig> *GetComponentConfig();
28 API_EXPORT NetworkConfig *GetNetworkConfig();
29 API_EXPORT CheckerConfig *GetCheckerConfig();
30 API_EXPORT GlobalConfig *GetGlobalConfig();
31 API_EXPORT DirectoryConfig *GetDirectoryConfig();
32 API_EXPORT BackupConfig *GetBackupConfig();
33 API_EXPORT CloudConfig *GetCloudConfig();
34 API_EXPORT std::vector<AppIdMappingConfig> *GetAppIdMappingConfig();

1234567891011