/base/security/device_auth/services/frameworks/src/module/ |
D | version_util.c | 35 int32_t StringToVersion(const char* verStr, VersionStruct* version) in StringToVersion() argument 37 CHECK_PTR_RETURN_ERROR_CODE(version, "version"); in StringToVersion() 59 version->first = (uint32_t)strtoul(subVer, NULL, DEC); in StringToVersion() 65 version->second = (uint32_t)strtoul(subVer, NULL, DEC); in StringToVersion() 71 version->third = (uint32_t)strtoul(subVer, NULL, DEC); in StringToVersion() 81 int32_t VersionToString(const VersionStruct *version, char *verStr, uint32_t len) in VersionToString() argument 83 CHECK_PTR_RETURN_ERROR_CODE(version, "version"); in VersionToString() 87 …if (sprintf_s(tmpStr, TMP_VERSION_STR_LEN, "%u.%u.%u", version->first, version->second, version->t… in VersionToString() 105 int32_t AddSingleVersionToJson(CJson *jsonObj, const VersionStruct *version) in AddSingleVersionToJson() argument 108 CHECK_PTR_RETURN_ERROR_CODE(version, "version"); in AddSingleVersionToJson() [all …]
|
/base/security/device_security_level/services/dslm/ |
D | dslm_core_defines.h | 42 uint32_t version; member 69 static inline uint8_t VersionToMajor(uint32_t version) in VersionToMajor() argument 72 return (version & 0xFF0000U) >> 16U; in VersionToMajor() 75 static inline uint8_t VersionToMinor(uint32_t version) in VersionToMinor() argument 78 return (version & 0xFF00U) >> 8U; in VersionToMinor() 81 static inline uint8_t VersionToPatch(uint32_t version) in VersionToPatch() argument 84 return version & 0xFF; in VersionToPatch()
|
D | dslm_inner_process.c | 85 uint32_t version = 0; in VerifyDeviceInfoResponse() local 90 ret = ParseDeviceSecInfoResponse(buff, &nonce, &version, &cred); in VerifyDeviceInfoResponse() 95 device->version = version; in VerifyDeviceInfoResponse()
|
/base/global/timezone/tool/update_tool/ |
D | download_iana.py | 30 version = file.readline().strip() 31 return version 34 def try_download(file_type, try_version, save_path, version): argument 35 if try_version == version: 54 def download(file_type, save_path, version): argument 65 version) 91 version = find_current_version(version_file_path) 93 print('current version is ' + version) 99 file_name = download(file_type, download_path, version) 105 try_download(file_type, new_version, download_path, version)
|
/base/security/device_auth/services/frameworks/inc/module/ |
D | version_util.h | 32 int32_t VersionToString(const VersionStruct *version, char *verStr, uint32_t len); 33 int32_t StringToVersion(const char* verStr, VersionStruct* version); 35 int32_t AddSingleVersionToJson(CJson *jsonObj, const VersionStruct *version); 36 int32_t GetSingleVersionFromJson(const CJson* jsonObj, VersionStruct *version); 37 void InitGroupAndModuleVersion(VersionStruct *version);
|
/base/security/access_token/services/common/database/src/ |
D | sqlite_helper.cpp | 27 SqliteHelper::SqliteHelper(const std::string& dbName, const std::string& dbPath, int32_t version) in SqliteHelper() argument 28 : dbName_(dbName), dbPath_(dbPath), currentVersion_(version), db_(nullptr) in SqliteHelper() 49 int32_t version = GetVersion(); in Open() local 50 if (version == currentVersion_) { in Open() 55 if (version == 0) { in Open() 58 if (version < currentVersion_) { in Open() 160 int32_t version = 0; in GetVersion() local 162 version = statement.GetColumnInt(0); in GetVersion() 164 ACCESSTOKEN_LOG_INFO(LABEL, "version: %{public}d", version); in GetVersion() 165 return version; in GetVersion()
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | provision_verify_test.cpp | 34 "version-name": "1.0.0", 39 "version-code": 2, 40 "version-name": "1.1.0", 59 "version-code": 2, 60 "version-name": "2.0.0", 79 "version-code": 2, 80 "version-name": "2.0.0", 99 "version-code": 3, 100 "version-name": "3.0.0", 125 "version-code": 6, [all …]
|
D | hap_verify_result_test.cpp | 124 int version = hapVerifyResult.GetVersion(); variable 125 ASSERT_TRUE(version == targetVersion);
|
/base/security/device_auth/services/authenticators/src/account_unrelated/ |
D | das_version_util.c | 78 CJson* version = CreateJson(); in AddVersionToJson() local 79 if (version == NULL) { in AddVersionToJson() 83 if (AddStringToJson(version, FIELD_MIN_VERSION, minStr) != HC_SUCCESS) { in AddVersionToJson() 85 FreeJson(version); in AddVersionToJson() 88 if (AddStringToJson(version, FIELD_CURRENT_VERSION, maxStr) != HC_SUCCESS) { in AddVersionToJson() 90 FreeJson(version); in AddVersionToJson() 93 if (AddObjToJson(jsonObj, FIELD_VERSION, version) != HC_SUCCESS) { in AddVersionToJson() 95 FreeJson(version); in AddVersionToJson() 98 FreeJson(version); in AddVersionToJson()
|
/base/security/huks/interfaces/kits/napi/src/v8/ |
D | huks_napi_get_sdk_version.cpp | 51 napi_value version = nullptr; in HuksNapiGetSdkVersion() local 53 NAPI_AUTO_LENGTH, &version)); in HuksNapiGetSdkVersion() 56 return version; in HuksNapiGetSdkVersion()
|
/base/telephony/sms_mms/frameworks/js/napi/include/ |
D | napi_mms.h | 82 uint16_t version; member 90 uint16_t version = DEFAULT_ERROR; member 109 uint16_t version; member 121 uint16_t version; member 129 uint16_t version; member 145 uint16_t version; member 154 uint16_t version; member 158 uint16_t version; member 167 uint16_t version; member
|
/base/telephony/sms_mms/interfaces/kits/js/ |
D | @ohos.telephony.sms.d.ts | 392 version: MmsVersionType; property 413 version: MmsVersionType; property 427 version: MmsVersionType; property 441 version: MmsVersionType; property 455 version: MmsVersionType; property 472 version: MmsVersionType; property 485 version: MmsVersionType; property 493 version: MmsVersionType; property 506 version: MmsVersionType; property
|
/base/security/appverify/interfaces/innerkits/appverify/src/interfaces/ |
D | hap_verify_result.cpp | 24 : version(0), publicKeys(), signatures(), pkcs7SignBlock(), in HapVerifyResult() 35 return version; in GetVersion() 40 version = signatureVersion; in SetVersion()
|
/base/security/device_auth/services/key_agree_sdk/src/ |
D | key_agree_session.c | 120 static int32_t StringToVersion(const char* verStr, VersionStruct* version) in StringToVersion() argument 122 CHECK_PTR_RETURN_ERROR_CODE(version, "version"); in StringToVersion() 142 version->first = (uint64_t)strtoul(subVer, NULL, DEC); in StringToVersion() 147 version->second = (uint64_t)strtoul(subVer, NULL, DEC); in StringToVersion() 152 version->third = (uint64_t)strtoul(subVer, NULL, DEC); in StringToVersion() 161 static int32_t VersionToString(const VersionStruct *version, char *verStr, uint32_t len) in VersionToString() argument 163 CHECK_PTR_RETURN_ERROR_CODE(version, "version"); in VersionToString() 168 version->first, version->second, version->third) <= 0) { in VersionToString() 184 void GetMaxVersion(uint64_t algInProtocol, VersionStruct *version) in GetMaxVersion() argument 186 version->first = MAJOR_VERSION_NO; in GetMaxVersion() [all …]
|
/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/include/ |
D | app_usage_event_factory.h | 26 …AppUsageInfo(const std::string& package, const std::string& version, int64_t usage, const std::str… in AppUsageInfo() 27 : package_(package), version_(version), usage_(usage), date_(date) in AppUsageInfo()
|
/base/update/update_app/ |
D | README.md | 10 The update app runs on the OHOS and provides an interactive GUI for users to perform version update… 20 4. Obtain the version information after a version update.
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | log_data.h | 30 uint16_t version : 3; member 70 : len(0), version(msg.version), type(msg.type), level(msg.level), tag_len(msg.tag_len), in HilogData()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/include/ |
D | app_centraldirectory.h | 53 unsigned int version; member 82 int version; member
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/ |
D | sensor_event_callback.cpp | 35 .version = event.version, in OnDataEvent()
|
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/ |
D | asy_token_manager.c | 56 const char *version = GetStringFromJson(pkInfoJson, FIELD_VERSION); in GeneratePkInfoFromJson() local 57 if (version == NULL) { in GeneratePkInfoFromJson() 61 if (memcpy_s(info->version.val, info->version.length, version, HcStrlen(version) + 1) != EOK) { in GeneratePkInfoFromJson() 65 info->version.length = HcStrlen(version) + 1; in GeneratePkInfoFromJson() 336 static Algorithm GetVerifyAlg(const char *version) in GetVerifyAlg() argument 338 (void)version; in GetVerifyAlg() 474 const char *version = GetStringFromJson(pkInfoJson, FIELD_VERSION); in DoImportServerPkAndVerify() local 475 if (version == NULL) { in DoImportServerPkAndVerify() 481 Algorithm alg = GetVerifyAlg(version); in DoImportServerPkAndVerify() 583 if (memcpy_s(desInfo->version.val, desInfo->version.length, in GeneratePkInfoFromInfo() [all …]
|
/base/startup/init/services/etc/param/ |
D | ohos.para | 30 const.product.bootloader.version=bootloader 32 const.product.software.version=OpenHarmony 3.2.14.6 33 const.product.incremental.version=default
|
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/ |
D | sensor_event_callback.cpp | 42 .version = event.version, in OnDataEvent()
|
/base/security/device_security_level/common/include/ |
D | dslm_cred.h | 42 char version[CRED_INFO_VERSION_LEN]; // the cred version member 57 uint32_t version; member
|
/base/security/huks/services/huks_standard/huks_engine/main/core/include/ |
D | hks_rkc_rw.h | 65 uint16_t version; /* version */ member 85 uint16_t version; /* the version of root key component */ member
|
/base/update/updater/interfaces/kits/include/package/ |
D | package.h | 92 char *version; member 124 const char *version, const uint8_t *digest, size_t size);
|