Home
last modified time | relevance | path

Searched refs:version (Results 1 - 25 of 748) sorted by relevance

12345678910>>...30

/foundation/ai/ai_engine/services/server/plugin_manager/source/
H A Dplugin_manager.cpp25 int PluginManager::GetPlugin(const std::string &aid, long long version, std::shared_ptr<Plugin> &plugin) in GetPlugin() argument
27 HILOGI("[PluginManager]Get plugin for server, aid=%s, version=%lld.", aid.c_str(), version); in GetPlugin()
28 PluginKey pluginKey(aid, version); in GetPlugin()
40 return LoadPlugin(aid, version, plugin); in GetPlugin()
71 HILOGI("[PluginManager]Try to delete plugin. aid=%s, version=%lld.", iter->first.aid.c_str(), in DelPluginByAID()
72 iter->first.version); in DelPluginByAID()
80 int PluginManager::LoadPlugin(const std::string &aid, long long version, std::shared_ptr<Plugin> &plugin) in LoadPlugin() argument
82 auto pluginPtr = std::make_shared<Plugin>(Plugin(aid, version)); in LoadPlugin()
89 HILOGE("[PluginManager]Failed to load plugin(aid=%s, version in LoadPlugin()
99 UnloadPlugin(const std::string &aid, long long version) UnloadPlugin() argument
[all...]
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/
H A Djs_distributedobjectstore.cpp150 // function createObjectSync(version: number, sessionId: string, objectId:string): DistributedObject;
151 // function createObjectSync(version: number, sessionId: string, objectId:string, context: Context): DistributedObject;
159 double version = 8; in JSCreateObjectSync() local
165 NAPI_ASSERT_ERRCODE_V9(env, argc >= 1, version, innerError); in JSCreateObjectSync()
167 status = JSUtil::GetValue(env, argv[0], version); in JSCreateObjectSync()
168 NAPI_ASSERT_ERRCODE_V9(env, status == napi_ok && argc >= requireArgc, version, in JSCreateObjectSync()
170 NAPI_ASSERT_ERRCODE_V9(env, !IsSandBox(), version, innerError); in JSCreateObjectSync()
173 NAPI_ASSERT_ERRCODE_V9(env, status == napi_ok, version, in JSCreateObjectSync()
177 NAPI_ASSERT_ERRCODE_V9(env, status == napi_ok, version, innerError); in JSCreateObjectSync()
181 NAPI_ASSERT_ERRCODE_V9(env, executeResult, version, innerErro in JSCreateObjectSync()
198 double version = 8; JSDestroyObjectSync() local
234 double version = 8; JSOn() local
278 double version = 8; JSOff() local
387 double version = 8; JSRecordCallback() local
434 double version = 8; JSDeleteCallback() local
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_result_set.cpp45 napi_value ResultSetProxy::NewInstance(napi_env env, std::shared_ptr<AbsSharedResultSet> resultSet, int version) in NewInstance() argument
47 auto instance = NewInstance(env, std::static_pointer_cast<NativeRdb::ResultSet>(resultSet), version); in NewInstance()
64 napi_value ResultSetProxy::NewInstance(napi_env env, std::shared_ptr<NativeRdb::ResultSet> resultSet, int version) in NewInstance() argument
66 napi_value cons = GetConstructor(env, version); in NewInstance()
117 napi_value ResultSetProxy::GetConstructor(napi_env env, int version) in GetConstructor() argument
120 if (version > APIVERSION_8 && ctorRefV9_ != nullptr) { in GetConstructor()
124 if (version == APIVERSION_8 && ctorRef_ != nullptr) { in GetConstructor()
158 if (version > APIVERSION_8) { in GetConstructor()
171 napi_value ResultSetProxy::InnerInitialize(napi_env env, napi_callback_info info, int version) in InnerInitialize() argument
180 proxy->apiversion = version; in InnerInitialize()
232 GetInnerResultSet(napi_env env, napi_callback_info info, int &version) GetInnerResultSet() argument
285 int version = 0; GetAllColumnNames() local
309 int version = 0; GetColumnCount() local
328 int version = resultSetProxy->apiversion; GetLong() local
379 int version = resultSetProxy->apiversion; GetInt() local
400 int version = 0; Close() local
413 int version = 0; GetRowCount() local
427 int version = 0; GetRowIndex() local
441 int version = 0; IsEnded() local
456 int version = 0; IsBegin() local
470 int version = 0; GoToFirstRow() local
480 int version = 0; GoToLastRow() local
490 int version = 0; GoToNextRow() local
500 int version = 0; GoToPreviousRow() local
510 int version = 0; IsAtFirstRow() local
524 int version = 0; IsAtLastRow() local
545 int version = resultSetProxy->apiversion; GetBlob() local
559 int version = resultSetProxy->apiversion; GetString() local
572 int version = resultSetProxy->apiversion; GetDouble() local
585 int version = resultSetProxy->apiversion; IsColumnNull() local
594 int version = 0; IsClosed() local
[all...]
/foundation/ai/ai_engine/services/server/plugin_manager/include/
H A Dplugin_manager.h34 long long version; member
36 PluginKey(const std::string &aid, long long version) in PluginKey()
37 : aid(aid), version(version) in PluginKey()
46 if (aid == another.aid && version < another.version) { in operator <()
62 int GetPlugin(const std::string &aid, long long version, std::shared_ptr<Plugin> &plugin) override;
63 void UnloadPlugin(const std::string &aid, long long version) override;
70 int LoadPlugin(const std::string &aid, long long version, std::shared_ptr<Plugin> &plugin);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_sync_strategy.cpp62 return (cloudInfo.sharingResource != localInfo.sharingResource) || (cloudInfo.version != localInfo.version); in IsLogNeedUpdate()
67 if (cloudInfo.version.empty() || localInfo.version.empty()) { in IsSameVersion()
70 return (cloudInfo.version == localInfo.version); in IsSameVersion()
99 !localInfo.version.empty() && localInfo.version == cloudInfo.version && in IsSameRecord()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Dmulti_ver_vacuum_executor.h33 uint64_t version; member
38 uint64_t version; member
50 virtual int GetVacuumNeedRecordsByVersion(uint64_t version, std::list<MultiVerRecordInfo> &vacuumNeedRecords) = 0;
53 virtual int GetShadowRecordsOfClearTypeRecord(uint64_t version, const std::vector<uint8_t> &hashKey,
57 virtual int GetShadowRecordsOfNonClearTypeRecord(uint64_t version, const std::vector<uint8_t> &hashKey,
70 virtual int DeleteRecordTotally(uint64_t version, const std::vector<uint8_t> &hashKey) = 0;
73 virtual int MarkRecordAsVacuumDone(uint64_t version, const std::vector<uint8_t> &hashKey) = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Dmulti_ver_vacuum_executor_stub.cpp42 commit.version = i; in GetVacuumAbleCommits()
48 commit.version = i; in GetVacuumAbleCommits()
55 int MultiVerVacuumExecutorStub::GetVacuumNeedRecordsByVersion(uint64_t version, in GetVacuumNeedRecordsByVersion() argument
62 record.version = version; in GetVacuumNeedRecordsByVersion()
69 int MultiVerVacuumExecutorStub::GetShadowRecordsOfClearTypeRecord(uint64_t version, in GetShadowRecordsOfClearTypeRecord() argument
76 int MultiVerVacuumExecutorStub::GetShadowRecordsOfNonClearTypeRecord(uint64_t version, in GetShadowRecordsOfNonClearTypeRecord() argument
83 record.version = i; in GetShadowRecordsOfNonClearTypeRecord()
111 int MultiVerVacuumExecutorStub::DeleteRecordTotally(uint64_t version, const std::vector<uint8_t> &hashKey) in DeleteRecordTotally() argument
117 int MultiVerVacuumExecutorStub::MarkRecordAsVacuumDone(uint64_t version, cons argument
[all...]
H A Dmulti_ver_vacuum_executor_stub.h40 int GetVacuumNeedRecordsByVersion(uint64_t version, std::list<MultiVerRecordInfo> &vacuumNeedRecords);
41 int GetShadowRecordsOfClearTypeRecord(uint64_t version, const std::vector<uint8_t> &hashKey,
43 int GetShadowRecordsOfNonClearTypeRecord(uint64_t version, const std::vector<uint8_t> &hashKey,
50 int DeleteRecordTotally(uint64_t version, const std::vector<uint8_t> &hashKey);
51 int MarkRecordAsVacuumDone(uint64_t version, const std::vector<uint8_t> &hashKey);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/directory/
H A Ddirectory_manager.cpp43 std::string DirectoryManager::GetStorePath(const StoreMetaData &metaData, uint32_t version) in GetStorePath() argument
45 return GenPath(metaData, version, ""); in GetStorePath()
48 std::string DirectoryManager::GetStoreBackupPath(const StoreMetaData &metaData, uint32_t version) in GetStoreBackupPath() argument
50 auto rootBackupPath = GenPath(metaData, version, "backup"); in GetStoreBackupPath()
54 std::string DirectoryManager::GetSecretKeyPath(const StoreMetaData &metaData, uint32_t version) in GetSecretKeyPath() argument
56 return GenPath(metaData, version, "secret"); in GetSecretKeyPath()
59 std::string DirectoryManager::GetMetaStorePath(uint32_t version) in GetMetaStorePath() argument
61 int32_t index = GetVersionIndex(version); in GetMetaStorePath()
73 std::string DirectoryManager::GetMetaBackupPath(uint32_t version) in GetMetaBackupPath() argument
75 int32_t index = GetVersionIndex(version); in GetMetaBackupPath()
221 GenPath(const StoreMetaData &metaData, uint32_t version, const std::string &exPath) const GenPath() argument
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_upnp_service_request.cpp40 char version[4] = {'\0'}; in Create() local
44 if (snprintf_s(version, sizeof(version), sizeof(version) - 1, "%02x ", WifiP2pUpnpServiceInfo::VERSION_1_0) < 0) { in Create()
49 query.append(std::string(version)); in Create()
/foundation/distributedhardware/device_manager/services/implementation/include/config/
H A Djson_config.h29 "version": "1.0",
37 "version": "1.0",
51 "version": "1.0",
60 "version": "1.0",
69 "version": "1.0",
78 "version": "1.0",
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/directory/
H A Ddirectory_manager.h30 uint32_t version = 0; member
35 API_EXPORT std::string GetStorePath(const StoreMetaData &metaData, uint32_t version = INVALID_VERSION);
36 API_EXPORT std::string GetSecretKeyPath(const StoreMetaData &metaData, uint32_t version = INVALID_VERSION);
37 API_EXPORT std::string GetStoreBackupPath(const StoreMetaData &metaData, uint32_t version = INVALID_VERSION);
38 API_EXPORT std::string GetMetaStorePath(uint32_t version = INVALID_VERSION);
39 API_EXPORT std::string GetMetaBackupPath(uint32_t version = INVALID_VERSION);
49 uint32_t version; member
65 int32_t GetVersionIndex(uint32_t version) const;
66 std::string GenPath(const StoreMetaData &metaData, uint32_t version, const std::string &exPath = "") const;
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Degl_manager.cpp36 EGLConfig EglManager::GetConfig(int version, EGLDisplay eglDisplay) in GetConfig() argument
39 if (version == OPENGL_ES3_VERSION) { in GetConfig()
91 void EglManager::CreateContext(int version) in CreateContext() argument
116 EGL_CONTEXT_CLIENT_VERSION, version, in CreateContext()
155 int version = OPENGL_ES3_VERSION; in Init() local
156 eglConfig_ = EglManager::GetConfig(version, eglDisplay_); in Init()
159 version = OPENGL_ES2_VERSION; in Init()
160 eglConfig_ = EglManager::GetConfig(version, eglDisplay_); in Init()
166 CreateContext(version); in Init()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/
H A Dversion_meta_data.cpp30 ret = SetValue(node[GET_NAME(version)], version) && ret; in Marshal()
37 ret = GetValue(node, GET_NAME(version), version) && ret; in Unmarshal()
H A Dcapability_meta_data.cpp26 ret = SetValue(node[GET_NAME(version)], version) && ret; in Marshal()
33 ret = GetValue(node, GET_NAME(version), version) && ret; in Unmarshal()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/dfx/
H A Ddps_video_report.cpp43 .calleVersion = callerInfo.version, in ReportAddVideoEvent()
83 std::string version; in ReportPauseVideoEvent() local
90 version = vr.calleVersion; in ReportPauseVideoEvent()
99 EVENT_KEY_PVERSIONID, version, in ReportPauseVideoEvent()
110 std::string version; in ReportResumeVideoEvent() local
124 version = vr.calleVersion; in ReportResumeVideoEvent()
130 EVENT_KEY_PVERSIONID, version, in ReportResumeVideoEvent()
145 std::string version; in ReportCompleteVideoEvent() local
152 version = vr.calleVersion; in ReportCompleteVideoEvent()
161 EVENT_KEY_PVERSIONID, version, in ReportCompleteVideoEvent()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_base_test.cpp100 info.version = VERSION; in HWTEST_F()
104 EXPECT_NE(info.version, result.version); in HWTEST_F()
107 EXPECT_EQ(info.version, result.version); in HWTEST_F()
119 info.version = VERSION; in HWTEST_F()
122 EXPECT_NE(result->version, VERSION); in HWTEST_F()
126 EXPECT_EQ(result->version, VERSION); in HWTEST_F()
159 installResult.version = VERSION; in HWTEST_F()
163 EXPECT_NE(result.version, VERSIO in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_vacuum_executor_impl.cpp72 // As discussed and agreed, the commit in commitsInTree had already be sorted in descending order by version in GetVacuumAbleCommits()
75 if (eachCommit.version > maxVersionOfVacuumAbleLeftCommit) { in GetVacuumAbleCommits()
78 leftBranchCommits.emplace_back(MultiVerCommitInfo{eachCommit.version, eachCommit.commitId}); in GetVacuumAbleCommits()
80 rightBranchCommits.emplace_back(MultiVerCommitInfo{eachCommit.version, eachCommit.commitId}); in GetVacuumAbleCommits()
89 int MultiVerVacuumExecutorImpl::GetVacuumNeedRecordsByVersion(uint64_t version, in GetVacuumNeedRecordsByVersion() argument
101 int errCode = handle->GetEntriesByVersion(version, recordsInCommit); in GetVacuumNeedRecordsByVersion()
109 vacuumNeedRecords.emplace_back(MultiVerRecordInfo{GetRecordType(eachRecord), eachRecord.version, in GetVacuumNeedRecordsByVersion()
118 int MultiVerVacuumExecutorImpl::GetShadowRecordsOfClearTypeRecord(uint64_t version, in GetShadowRecordsOfClearTypeRecord() argument
130 int errCode = handle->GetOverwrittenClearTypeEntries(version, clearShadowRecords); in GetShadowRecordsOfClearTypeRecord()
138 shadowRecords.emplace_back(MultiVerRecordInfo{GetRecordType(eachRecord), eachRecord.version, eachRecor in GetShadowRecordsOfClearTypeRecord()
146 GetShadowRecordsOfNonClearTypeRecord(uint64_t version, const std::vector<uint8_t> &hashKey, std::list<MultiVerRecordInfo> &shadowRecords) GetShadowRecordsOfNonClearTypeRecord() argument
243 DeleteRecordTotally(uint64_t version, const std::vector<uint8_t> &hashKey) DeleteRecordTotally() argument
261 MarkRecordAsVacuumDone(uint64_t version, const std::vector<uint8_t> &hashKey) MarkRecordAsVacuumDone() argument
[all...]
H A Dmulti_ver_vacuum_executor_impl.h35 int GetVacuumNeedRecordsByVersion(uint64_t version, std::list<MultiVerRecordInfo> &vacuumNeedRecords) override;
38 int GetShadowRecordsOfClearTypeRecord(uint64_t version, const std::vector<uint8_t> &hashKey,
42 int GetShadowRecordsOfNonClearTypeRecord(uint64_t version, const std::vector<uint8_t> &hashKey,
55 int DeleteRecordTotally(uint64_t version, const std::vector<uint8_t> &hashKey) override;
58 int MarkRecordAsVacuumDone(uint64_t version, const std::vector<uint8_t> &hashKey) override;
/foundation/ai/ai_engine/services/server/server_executor/include/
H A Dengine_manager.h35 long long version; member
37 EngineKey(const std::string &aid, long long version) : aid(aid), version(version) in EngineKey()
46 if (aid == another.aid && version < another.version) { in operator <()
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/
H A Dmod.rs109 .version(request.inner.version)
250 /// Sets the maximum allowed TLS version for connections.
266 pub fn max_tls_version(self, version: TlsVersion) -> Self { in max_tls_version()
267 Self(self.0.max_tls_version(version)) in max_tls_version()
270 /// Sets the minimum required TLS version for connections.
286 pub fn min_tls_version(self, version: TlsVersion) -> Self { in min_tls_version()
287 Self(self.0.min_tls_version(version)) in min_tls_version()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_database_upgrader.h43 int GetDatabaseVersion(int &version) const override;
44 int SetDatabaseVersion(int version) override;
45 int UpgradeFromDatabaseVersion(int version) override;
46 void SetUpgradeSqls(int version, std::vector<std::string> &sqls, bool &isCreateUpgradeFile) const;
47 void InitTimeForUpgrade(int version);
53 static int GetDbVersion(const std::string &dbPath, const OpenDbProperties &option, int &version);
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/
H A Dnapi_rdb_error.h36 #define RDB_NAPI_ASSERT_BASE_FROMV9(env, assertion, error, retVal, version) \
40 LOG_ERROR("throw error: error message is empty,version= %{public}d", version); \
44 if (((version) > (APIVERSION_8)) || (((error)->GetCode()) == (401))) { \
45 LOG_ERROR("throw error: code = %{public}d , message = %{public}s, version= %{public}d", \
46 (error)->GetCode(), (error)->GetMessage().c_str(), version); \
50 LOG_ERROR("nothrow error: code = %{public}d , message = %{public}s, version= %{public}d", \
51 (error)->GetCode(), (error)->GetMessage().c_str(), version); \
57 #define RDB_NAPI_ASSERT_FROMV9(env, assertion, error, version) \
58 RDB_NAPI_ASSERT_BASE_FROMV9(env, assertion, error, nullptr, version)
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/free_install/
H A Ddispatch_info.cpp28 const char* JSON_KEY_VERSION = "version";
34 {JSON_KEY_VERSION, dispatcherInfo.version} in to_json()
45 dispatcherInfo.version, in from_json()
55 version = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
61 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(version)); in Marshalling()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/
H A Ddirectory_config.cpp21 SetValue(node[GET_NAME(version)], version); in Marshal()
30 GetValue(node, GET_NAME(version), version); in Unmarshal()

Completed in 11 milliseconds

12345678910>>...30