/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | abs_predicates.h | 28 class API_EXPORT AbsPredicates { 32 API_EXPORT AbsPredicates(); 33 API_EXPORT virtual ~AbsPredicates(); 48 API_EXPORT std::string GetStatement() const; 49 API_EXPORT std::string GetWhereClause() const; 50 API_EXPORT void SetWhereClause(const std::string &whereClause); 52 API_EXPORT std::vector<std::string> GetWhereArgs() const; 53 API_EXPORT std::vector<ValueObject> GetBindArgs() const; 55 API_EXPORT void SetWhereArgs(const std::vector<std::string> &whereArgs); 56 API_EXPORT voi [all...] |
H A D | values_bucket.h | 30 class API_EXPORT ValuesBucket { 35 API_EXPORT ValuesBucket(); 42 API_EXPORT ValuesBucket(std::map<std::string, ValueObject> values); 43 API_EXPORT ValuesBucket(const ValuesBucket &values); 44 API_EXPORT ValuesBucket &operator =(const ValuesBucket &values); 45 API_EXPORT ValuesBucket(ValuesBucket &&values) noexcept; 46 API_EXPORT ValuesBucket &operator =(ValuesBucket &&values) noexcept; 51 API_EXPORT ~ValuesBucket(); 59 API_EXPORT void PutString(const std::string &columnName, const std::string &value); 67 API_EXPORT voi [all...] |
H A D | abs_result_set.h | 34 class API_EXPORT AbsResultSet : public ResultSet {
39 API_EXPORT AbsResultSet();
44 API_EXPORT virtual ~AbsResultSet();
49 API_EXPORT int GetRowCount(int &count) override;
54 API_EXPORT int GetAllColumnNames(std::vector<std::string> &columnNames) override;
66 API_EXPORT int GetBlob(int columnIndex, std::vector<uint8_t> &blob) override;
78 API_EXPORT int GetString(int columnIndex, std::string &value) override;
90 API_EXPORT int GetInt(int columnIndex, int &value) override;
102 API_EXPORT int GetLong(int columnIndex, int64_t &value) override;
114 API_EXPORT in [all...] |
H A D | cache_result_set.h | 35 class API_EXPORT CacheResultSet : public ResultSet { 40 API_EXPORT CacheResultSet(std::vector<NativeRdb::ValuesBucket> &&valueBuckets); 44 API_EXPORT virtual ~CacheResultSet(); 49 API_EXPORT int GetRowCount(int &count) override; 54 API_EXPORT int GetAllColumnNames(std::vector<std::string> &columnNames) override; 66 API_EXPORT int GetBlob(int columnIndex, std::vector<uint8_t> &blob) override; 78 API_EXPORT int GetString(int columnIndex, std::string &value) override; 90 API_EXPORT int GetInt(int columnIndex, int &value) override; 102 API_EXPORT int GetLong(int columnIndex, int64_t &value) override; 114 API_EXPORT in [all...] |
H A D | abs_rdb_predicates.h | 27 class API_EXPORT AbsRdbPredicates : public AbsPredicates {
36 API_EXPORT explicit AbsRdbPredicates(const std::string &tableName);
45 API_EXPORT explicit AbsRdbPredicates(const std::vector<std::string> &tables);
50 API_EXPORT ~AbsRdbPredicates() override {}
55 API_EXPORT void Clear() override;
61 API_EXPORT std::string ToString() const;
66 API_EXPORT std::string GetTableName() const;
77 API_EXPORT AbsRdbPredicates *InDevices(std::vector<std::string>& devices);
86 API_EXPORT AbsRdbPredicates *InAllDevices();
98 API_EXPORT AbsRdbPredicate [all...] |
H A D | value_object.h | 36 class API_EXPORT ValueObject { 120 API_EXPORT ValueObject(); 125 API_EXPORT ~ValueObject(); 132 API_EXPORT ValueObject(Type val) noexcept; 137 API_EXPORT ValueObject(ValueObject &&val) noexcept; 142 API_EXPORT ValueObject(const ValueObject &val); 151 API_EXPORT ValueObject(int32_t val); 160 API_EXPORT ValueObject(int64_t val); 169 API_EXPORT ValueObject(double val); 178 API_EXPORT ValueObjec [all...] |
H A D | abs_shared_result_set.h | 33 class API_EXPORT AbsSharedResultSet : public AbsResultSet, public SharedResultSet {
38 API_EXPORT AbsSharedResultSet();
47 API_EXPORT explicit AbsSharedResultSet(std::string name);
52 API_EXPORT virtual ~AbsSharedResultSet();
64 API_EXPORT int GetString(int columnIndex, std::string &value) override;
76 API_EXPORT int Get(int32_t col, ValueObject &value) override;
83 API_EXPORT int GetSize(int columnIndex, size_t &size) override;
92 API_EXPORT int GetColumnType(int columnIndex, ColumnType &columnType) override;
101 API_EXPORT int GoToRow(int position) override;
106 API_EXPORT in [all...] |
H A D | rdb_store_config.h | 207 class API_EXPORT RdbStoreConfig { 212 struct API_EXPORT CryptoParam { 219 API_EXPORT CryptoParam(); 220 API_EXPORT ~CryptoParam(); 221 API_EXPORT bool IsValid() const; 277 API_EXPORT RdbStoreConfig(const std::string &path, StorageMode storageMode = StorageMode::MODE_DISK, 286 API_EXPORT ~RdbStoreConfig(); 291 API_EXPORT std::string GetName() const; 296 API_EXPORT std::string GetPath() const; 301 API_EXPORT StorageMod [all...] |
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | blob.h | 31 API_EXPORT Blob(); 36 API_EXPORT ~Blob() = default; 41 API_EXPORT Blob(const Blob &blob); 46 API_EXPORT Blob &operator=(const Blob &blob); 51 API_EXPORT Blob(Blob &&blob); 56 API_EXPORT Blob &operator=(Blob &&blob); 61 API_EXPORT Blob(const std::string &str); 66 API_EXPORT Blob &operator=(const std::string &str); 71 API_EXPORT Blob(const char *str, size_t n); 76 API_EXPORT Blo [all...] |
H A D | distributed_kv_data_manager.h | 30 class API_EXPORT DistributedKvDataManager final { 35 API_EXPORT DistributedKvDataManager(); 40 API_EXPORT ~DistributedKvDataManager(); 62 API_EXPORT Status GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId, 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); 128 API_EXPORT Status DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path = ""); 139 API_EXPORT Statu [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/account/ |
H A D | account_delegate.h | 51 API_EXPORT virtual ~Observer() = default; 52 API_EXPORT virtual void OnAccountChanged(const AccountEventInfo &eventInfo) = 0; 55 API_EXPORT virtual std::string Name() = 0; 56 API_EXPORT virtual LevelType GetLevel() = 0; 59 API_EXPORT virtual ~AccountDelegate() = default; 60 API_EXPORT virtual Status Subscribe(std::shared_ptr<Observer> observer) = 0; 61 API_EXPORT virtual Status Unsubscribe(std::shared_ptr<Observer> observer) = 0; 62 API_EXPORT virtual std::string GetCurrentAccountId() const = 0; 63 API_EXPORT virtual int32_t GetUserByToken(uint32_t tokenId) const = 0; 64 API_EXPORT virtua [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/ |
H A D | shared_block.h | 38 class API_EXPORT SharedBlock {
95 API_EXPORT std::string GetString(SharedBlock *block) const;
96 API_EXPORT std::vector<uint8_t> GetBlob(SharedBlock *block) const;
97 API_EXPORT const uint8_t *GetRawData(SharedBlock *block) const;
103 API_EXPORT SharedBlock(const std::string &name, sptr<Ashmem> ashmem, size_t size, bool readOnly);
108 API_EXPORT ~SharedBlock();
113 API_EXPORT bool Init();
118 API_EXPORT static int Create(const std::string &name, size_t size, SharedBlock *&outSharedBlock);
123 API_EXPORT int Clear();
128 API_EXPORT in [all...] |
H A D | serializable.h | 35 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); 54 API_EXPORT static bool GetValue(const json &node, const std::string &name, std::string &value); 55 API_EXPORT static bool GetValue(const json &node, const std::string &name, uint32_t &value); 56 API_EXPORT static bool GetValue(const json &node, const std::string &name, int32_t &value); 57 API_EXPORT static bool GetValue(const json &node, const std::string &name, int64_t &value); 58 API_EXPORT static bool GetValue(const json &node, const std::string &name, uint64_t &value); 59 API_EXPORT stati [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rdb_types_util.h | 50 API_EXPORT bool Marshalling(const SyncerParam &input, MessageParcel &data); 52 API_EXPORT bool Unmarshalling(SyncerParam &output, MessageParcel &data); 54 API_EXPORT bool Marshalling(const NotifyConfig &input, MessageParcel &data); 56 API_EXPORT bool Unmarshalling(NotifyConfig &output, MessageParcel &data); 58 API_EXPORT bool Marshalling(const Option &input, MessageParcel &data); 60 API_EXPORT bool Unmarshalling(Option &output, MessageParcel &data); 62 API_EXPORT bool Marshalling(const RdbPredicates &input, MessageParcel &data); 64 API_EXPORT bool Unmarshalling(RdbPredicates &output, MessageParcel &data); 66 API_EXPORT bool Marshalling(const RdbOperation &input, MessageParcel &data); 68 API_EXPORT boo [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/metadata/ |
H A D | store_meta_data_local.h | 24 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; 34 struct API_EXPORT StoreMetaDataLocal final : public Serializable { 44 API_EXPORT StoreMetaDataLocal(); 45 API_EXPORT ~StoreMetaDataLocal(); 46 API_EXPORT boo [all...] |
H A D | store_meta_data.h | 24 struct API_EXPORT StoreMetaData final : public Serializable { 73 API_EXPORT StoreMetaData(); 74 API_EXPORT StoreMetaData(const std::string &userId, const std::string &appId, const std::string &storeId); 75 API_EXPORT explicit StoreMetaData(const StoreInfo &storeInfo); 76 API_EXPORT ~StoreMetaData(); 77 API_EXPORT bool operator==(const StoreMetaData &metaData) const; 78 API_EXPORT bool operator!=(const StoreMetaData &metaData) const; 79 API_EXPORT bool Marshal(json &node) const override; 80 API_EXPORT bool Unmarshal(const json &node) override; 81 API_EXPORT st [all...] |
H A D | user_meta_data.h | 23 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 stati [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | kv_types_util.h | 44 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); 64 API_EXPORT bool Marshalling(const DeviceInfo &input, MessageParcel &data); 66 API_EXPORT boo [all...] |
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/distributeddatafwk/include/ |
H A D | distributed_kv_data_manager.h | 28 class API_EXPORT DistributedKvDataManager final { 30 API_EXPORT DistributedKvDataManager(); 32 API_EXPORT ~DistributedKvDataManager(); 49 API_EXPORT Status GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &storeId, 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); 92 API_EXPORT Status DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path = ""); 95 API_EXPORT Statu [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/include/ |
H A D | distributed_hardware_fwk_kit.h | 30 #ifndef API_EXPORT 31 #define API_EXPORT __attribute__((visibility("default"))) macro 42 API_EXPORT DistributedHardwareFwkKit(); 48 API_EXPORT ~DistributedHardwareFwkKit(); 56 API_EXPORT int32_t RegisterPublisherListener(const DHTopic topic, sptr<IPublisherListener> listener); 64 API_EXPORT int32_t UnregisterPublisherListener(const DHTopic topic, sptr<IPublisherListener> listener); 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_ [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/include/ |
H A D | config_factory.h | 25 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 st [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/bootstrap/include/ |
H A D | bootstrap.h | 25 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 voi [all...] |
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | udmf_types_util.h | 37 bool API_EXPORT Marshalling(const UnifiedData &input, MessageParcel &parcel); 39 bool API_EXPORT Unmarshalling(UnifiedData &output, MessageParcel &parcel); 42 bool API_EXPORT Marshalling(const std::vector<UnifiedData> &input, MessageParcel &parcel); 44 bool API_EXPORT Unmarshalling(std::vector<UnifiedData> &output, MessageParcel &parcel); 47 bool API_EXPORT Marshalling(const Summary &input, MessageParcel &parcel); 49 bool API_EXPORT Unmarshalling(Summary &output, MessageParcel &parcel); 52 bool API_EXPORT Marshalling(const Privilege &input, MessageParcel &parcel); 54 bool API_EXPORT Unmarshalling(Privilege &output, MessageParcel &parcel); 57 bool API_EXPORT Marshalling(const CustomOption &input, MessageParcel &parcel); 59 bool API_EXPORT Unmarshallin [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/dataability/include/ |
H A D | data_ability_predicates.h | 29 class API_EXPORT DataAbilityPredicates : public AbsPredicates, public virtual OHOS::Parcelable {
34 API_EXPORT DataAbilityPredicates();
39 API_EXPORT explicit DataAbilityPredicates(const std::string &rawSelection);
44 API_EXPORT explicit DataAbilityPredicates(OHOS::Parcel *source);
49 API_EXPORT ~DataAbilityPredicates() override;
54 API_EXPORT bool IsRawSelection() const;
59 API_EXPORT bool GetJudgeSource() const;
64 API_EXPORT bool Marshalling(OHOS::Parcel &parcel) const override;
69 API_EXPORT static DataAbilityPredicates *Unmarshalling(OHOS::Parcel &parcel);
74 API_EXPORT stati [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/utils/ |
H A D | block_integer.h | 22 API_EXPORT explicit BlockInteger(int interval) : interval_(interval) {};
in BlockInteger() 23 API_EXPORT BlockInteger(const BlockInteger &integer) : interval_(integer.interval_), value_(integer.value_) {};
in BlockInteger() 24 API_EXPORT BlockInteger &operator=(const BlockInteger &integer) = default;
26 API_EXPORT ~BlockInteger() = default;
28 API_EXPORT operator int() const
in operator int() 32 API_EXPORT bool operator<(int other) const
in operator <() 37 API_EXPORT BlockInteger &operator=(int value);
39 API_EXPORT BlockInteger &operator++();
41 API_EXPORT BlockInteger operator++(int);
|