Home
last modified time | relevance | path

Searched refs:values (Results 1 - 25 of 246) sorted by relevance

12345678910

/base/update/updateservice/services/firmware/data/db/src/
H A Dfirmware_task_operator.cpp43 NativeRdb::ValuesBucket values; in UpdateProgressByTaskId() local
44 values.PutInt(COLUMN_TASK_STATUS, CAST_INT(status)); in UpdateProgressByTaskId()
45 values.PutInt(COLUMN_TASK_PROGRESS, progress); in UpdateProgressByTaskId()
46 return UpdateByTaskId(taskId, values); in UpdateProgressByTaskId()
51 NativeRdb::ValuesBucket values; in UpdateErrMsgByTaskId() local
52 values.PutInt(COLUMN_TASK_ERROR_CODE, errorCode); in UpdateErrMsgByTaskId()
53 values.PutString(COLUMN_TASK_ERROR_MSG, errorMsg); in UpdateErrMsgByTaskId()
54 return UpdateByTaskId(taskId, values); in UpdateErrMsgByTaskId()
59 NativeRdb::ValuesBucket values; in UpdateDownloadTaskIdByTaskId() local
60 values in UpdateDownloadTaskIdByTaskId()
67 NativeRdb::ValuesBucket values; UpdateCombinationTypeByTaskId() local
74 NativeRdb::ValuesBucket values; UpdateDownloadModeByTaskId() local
81 NativeRdb::ValuesBucket values; UpdateDownloadAllowNetworkByTaskId() local
88 NativeRdb::ValuesBucket values; UpdateDownloadOrderByTaskId() local
96 NativeRdb::ValuesBucket values; UpdateDownloadOptionByTaskId() local
105 NativeRdb::ValuesBucket values; UpdateUpgradeModeByTaskId() local
112 NativeRdb::ValuesBucket values; UpdateUpgradeOrderByTaskId() local
117 UpdateByTaskId(const std::string &taskId, const NativeRdb::ValuesBucket &values) UpdateByTaskId() argument
[all...]
H A Dfirmware_component_operator.cpp24 NativeRdb::ValuesBucket values; in UpdateProgressByUrl() local
25 values.PutInt(COLUMN_COMPONENT_STATUS, CAST_INT(status)); in UpdateProgressByUrl()
26 values.PutInt(COLUMN_COMPONENT_PROGRESS, progress); in UpdateProgressByUrl()
30 return TableBaseOperator::Update(values, predicates); in UpdateProgressByUrl()
35 NativeRdb::ValuesBucket values; in UpdateUrlByVersionId() local
36 values.PutString(COLUMN_COMPONENT_DOWNLOAD_URL, url); in UpdateUrlByVersionId()
40 return TableBaseOperator::Update(values, predicates); in UpdateUrlByVersionId()
/base/security/access_token/services/privacymanager/src/record/
H A Dpermission_record.cpp23 void PermissionRecord::TranslationIntoGenericValues(const PermissionRecord& record, GenericValues& values) in TranslationIntoGenericValues() argument
25 values.Put(PrivacyFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(record.tokenId)); in TranslationIntoGenericValues()
26 values.Put(PrivacyFiledConst::FIELD_OP_CODE, record.opCode); in TranslationIntoGenericValues()
27 values.Put(PrivacyFiledConst::FIELD_STATUS, record.status); in TranslationIntoGenericValues()
28 values.Put(PrivacyFiledConst::FIELD_TIMESTAMP, record.timestamp); in TranslationIntoGenericValues()
29 values.Put(PrivacyFiledConst::FIELD_ACCESS_DURATION, record.accessDuration); in TranslationIntoGenericValues()
30 values.Put(PrivacyFiledConst::FIELD_USED_TYPE, record.type); in TranslationIntoGenericValues()
31 values.Put(PrivacyFiledConst::FIELD_ACCESS_COUNT, record.accessCount); in TranslationIntoGenericValues()
32 values.Put(PrivacyFiledConst::FIELD_REJECT_COUNT, record.rejectCount); in TranslationIntoGenericValues()
33 values in TranslationIntoGenericValues()
36 TranslationIntoPermissionRecord(const GenericValues& values, PermissionRecord& record) TranslationIntoPermissionRecord() argument
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/column/
H A Dcolumn_foregroundblurstyle_test.cpp27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle001() local
28 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestColumnForegroundBlurStyle001()
39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle002() local
40 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestColumnForegroundBlurStyle002()
51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle003() local
52 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestColumnForegroundBlurStyle003()
63 ArkUI_NumberValue values[] in TestColumnForegroundBlurStyle004() local
75 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle005() local
87 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle006() local
99 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle007() local
111 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle008() local
123 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle009() local
135 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle010() local
147 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle011() local
159 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle012() local
171 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle013() local
183 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle014() local
195 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestColumnForegroundBlurStyle015() local
207 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestColumnForegroundBlurStyle016() local
219 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestColumnForegroundBlurStyle017() local
231 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestColumnForegroundBlurStyle018() local
243 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestColumnForegroundBlurStyle019() local
255 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestColumnForegroundBlurStyle020() local
267 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestColumnForegroundBlurStyle021() local
279 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle022() local
291 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle023() local
303 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle024() local
315 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle025() local
327 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle026() local
339 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle027() local
351 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle028() local
363 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle029() local
375 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle030() local
387 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle031() local
400 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, TestColumnForegroundBlurStyle032() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/
H A Dcommonattrs_foregroundblurstyle_test.cpp27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle001() local
28 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle001()
39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle002() local
40 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle002()
51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle003() local
52 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle003()
63 ArkUI_NumberValue values[] in TestCommonAttrsForegroundBlurStyle004() local
75 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle005() local
87 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle006() local
99 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle007() local
111 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle008() local
123 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle009() local
135 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle010() local
147 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle011() local
159 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle012() local
171 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle013() local
183 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle014() local
195 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle015() local
207 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle016() local
219 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle017() local
231 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle018() local
243 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle019() local
255 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle020() local
267 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle021() local
279 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle022() local
291 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle023() local
303 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle024() local
315 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle025() local
327 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle026() local
339 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle027() local
351 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle028() local
363 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle029() local
375 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle030() local
387 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle031() local
400 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, TestCommonAttrsForegroundBlurStyle032() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customcomponent/
H A Dcustomcomponent_foregroundblurstyle_test.cpp27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle001() local
28 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentForegroundBlurStyle001()
39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle002() local
40 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentForegroundBlurStyle002()
51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle003() local
52 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentForegroundBlurStyle003()
63 ArkUI_NumberValue values[] in TestCustomComponentForegroundBlurStyle004() local
75 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle005() local
87 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle006() local
99 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle007() local
111 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle008() local
123 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle009() local
135 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle010() local
147 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle011() local
159 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle012() local
171 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle013() local
183 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle014() local
195 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle015() local
207 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle016() local
219 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle017() local
231 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle018() local
243 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle019() local
255 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle020() local
267 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle021() local
279 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle022() local
291 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle023() local
303 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle024() local
315 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle025() local
327 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle026() local
339 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle027() local
351 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle028() local
363 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle029() local
375 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle030() local
387 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle031() local
400 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, TestCustomComponentForegroundBlurStyle032() local
[all...]
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
H A Dhks_base_check_test.cpp67 struct ParamsValues values; in HWTEST_F() local
69 values.mode = param; in HWTEST_F()
70 int32_t ret = HksCheckCipherMaterialParams(HKS_ALG_SM4, &values, nullptr); in HWTEST_F()
82 struct ParamsValues values; in HWTEST_F() local
84 values.mode = param; in HWTEST_F()
85 int32_t ret = HksCheckCipherData(0, HKS_ALG_SM4, &values, nullptr, nullptr); in HWTEST_F()
121 struct ParamsValues values; in HWTEST_F() local
123 values.purpose = purParam; in HWTEST_F()
125 values.mode = modeParam; in HWTEST_F()
127 values in HWTEST_F()
178 struct ParamsValues values; HWTEST_F() local
193 struct ParamsValues values; HWTEST_F() local
208 struct ParamsValues values; HWTEST_F() local
223 struct ParamsValues values; HWTEST_F() local
240 struct ParamsValues values; HWTEST_F() local
287 struct ParamsValues values; HWTEST_F() local
313 struct ParamsValues values; HWTEST_F() local
367 struct ParamsValues values; HWTEST_F() local
[all...]
H A Dhks_check_paramset_test.cpp242 ParamsValues values = { in HWTEST_F() local
246 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F()
251 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F()
256 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F()
261 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F()
286 ParamsValues values = { in HWTEST_F() local
291 int32_t ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F()
296 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F()
301 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F()
305 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, in HWTEST_F()
329 ParamsValues values = { HWTEST_F() local
390 ParamsValues values = { HWTEST_F() local
445 ParamsValues values = { HWTEST_F() local
[all...]
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dglobal_test.cpp134 char *values = nullptr; in HWTEST_F() local
135 int32_t ret = GLOBAL_GetValueByName("app_name", FormatFullPath(g_resFilePath).c_str(), &values); in HWTEST_F()
136 // when ret != OK , values has been freed. in HWTEST_F()
138 EXPECT_EQ(std::string("App Name"), values); in HWTEST_F()
139 free(values); in HWTEST_F()
150 char *values = nullptr; in HWTEST_F() local
153 int32_t ret = GLOBAL_GetValueById(static_cast<uint32_t>(id), FormatFullPath(g_resFilePath).c_str(), &values); in HWTEST_F()
154 // when ret != OK , values has been freed. in HWTEST_F()
156 EXPECT_EQ(std::string("App Name"), values); in HWTEST_F()
157 free(values); in HWTEST_F()
168 char *values = nullptr; HWTEST_F() local
[all...]
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Darm_exidx_test.cpp67 uint32_t values[] = {0x1, 0x1}; in HWTEST_F() local
68 uintptr_t entryOffset = (uintptr_t)(&values[0]); in HWTEST_F()
86 uint32_t values[] = {0x7fff2340, 0x80c0c0c0}; in HWTEST_F() local
87 uintptr_t entryOffset = (uintptr_t)(&values[0]); in HWTEST_F()
167 uint32_t values[] = {0x7fff2340, 0x00001111, 0x810010b0}; in HWTEST_F() local
168 uintptr_t entryOffset = (uintptr_t)(&values[0]); in HWTEST_F()
187 uint32_t values[] = {0x7fff2340, 0x00001111, 0x810041b0}; in HWTEST_F() local
188 uintptr_t entryOffset = (uintptr_t)(&values[0]); in HWTEST_F()
207 uint32_t values[] = {0x7fff2340, 0x00001111, 0x81008000}; in HWTEST_F() local
208 uintptr_t entryOffset = (uintptr_t)(&values[ in HWTEST_F()
228 uint32_t values[] = {0x7fff2340, 0x00001111, 0x81008811}; HWTEST_F() local
251 uint32_t values[] = {0x7fff2340, 0x00001111, 0x81009db0}; HWTEST_F() local
274 uint32_t values[] = {0x7fff2340, 0x00001111, 0x81009bb0}; HWTEST_F() local
297 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100a7b0}; HWTEST_F() local
322 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100afb0}; HWTEST_F() local
349 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100b0b0}; HWTEST_F() local
371 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100b100}; HWTEST_F() local
396 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100b108}; HWTEST_F() local
417 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100b208}; HWTEST_F() local
438 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100b302}; HWTEST_F() local
460 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100b9b0}; HWTEST_F() local
489 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100c1b0}; HWTEST_F() local
543 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100c801}; HWTEST_F() local
577 uint32_t values[] = {0x7fff2340, 0x00001111, 0x8100d1b0}; HWTEST_F() local
[all...]
/base/telephony/core_service/test/unittest/utils_vcard_gtest/
H A Dcontact_data_branch_test.cpp67 std::vector<std::string> values; in HWTEST_F() local
70 contact->HandleName(values, parasMap); in HWTEST_F()
74 contact->HandleName(values, parasMap); in HWTEST_F()
76 values.push_back("testValue1"); in HWTEST_F()
77 values.push_back("testValue2"); in HWTEST_F()
78 values.push_back("testValue3"); in HWTEST_F()
79 ASSERT_NE(values.size(), 0); in HWTEST_F()
80 contact->HandleName(values, parasMap); in HWTEST_F()
82 values.push_back("testValue4"); in HWTEST_F()
83 values in HWTEST_F()
163 std::vector<std::string> values; HWTEST_F() local
[all...]
/base/sensors/sensor/vibration_convert/core/utils/src/
H A Dutils.cpp74 std::vector<double> TransposeMatrix(size_t rows, const std::vector<double> &values) in TransposeMatrix() argument
77 size_t valuesSize = values.size(); in TransposeMatrix()
92 dst[j * rows + i] = values[index++]; in TransposeMatrix()
131 std::vector<int32_t> NormalizePercentage(const std::vector<double> &values) in NormalizePercentage() argument
134 double minValue = *min_element(values.begin(), values.end()); in NormalizePercentage()
135 double maxValue = *max_element(values.begin(), values.end()); in NormalizePercentage()
142 for (size_t i = 0; i < values.size(); i++) { in NormalizePercentage()
143 norm.push_back(static_cast<int32_t>(round((values[ in NormalizePercentage()
148 NormalizePercentageMin(const std::vector<double> &values) NormalizePercentageMin() argument
171 NormalizePercentageRange(const std::vector<double> &values, double minValue, double maxValue) NormalizePercentageRange() argument
195 ProcessSilence(const std::vector<double> &values, const std::vector<bool> &voiceFlag, const std::vector<int32_t> &volumeData, std::vector<double> &invalidValues) ProcessSilence() argument
[all...]
/test/xts/acts/graphic/acts_drawing_native/
H A DDrawingNativeMatrixTestPart2.cpp220 float values[9]; in HWTEST_F() local
221 OH_Drawing_MatrixGetAll(c, values); in HWTEST_F()
222 EXPECT_EQ(values[0], 1); in HWTEST_F()
274 float values[9]; in HWTEST_F() local
275 OH_Drawing_MatrixGetAll(c, values); in HWTEST_F()
276 EXPECT_EQ(values[0], 1); in HWTEST_F()
277 EXPECT_EQ(values[1], 0); in HWTEST_F()
278 EXPECT_EQ(values[2], 0); in HWTEST_F()
279 EXPECT_EQ(values[3], 0); in HWTEST_F()
280 EXPECT_EQ(values[ in HWTEST_F()
347 float values[9]; HWTEST_F() local
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store_strategy.cpp29 NativeRdb::ValuesBucket &values, const bool oldVersion) in AppendValuesBucket()
31 values.PutInt(ReminderBaseTable::REMINDER_ID, reminder->GetReminderId()); in AppendValuesBucket()
32 values.PutString(ReminderBaseTable::PACKAGE_NAME, reminder->GetBundleName()); in AppendValuesBucket()
33 values.PutInt(ReminderBaseTable::USER_ID, reminder->GetUserId()); in AppendValuesBucket()
34 values.PutInt(ReminderBaseTable::UID, reminder->GetUid()); in AppendValuesBucket()
35 values.PutString(ReminderBaseTable::SYSTEM_APP, reminder->IsSystemApp() ? "true" : "false"); in AppendValuesBucket()
36 values.PutInt(ReminderBaseTable::REMINDER_TYPE, static_cast<int32_t>(reminder->GetReminderType())); in AppendValuesBucket()
37 values.PutLong(ReminderBaseTable::REMINDER_TIME, reminder->GetReminderTimeInMilli()); in AppendValuesBucket()
38 values.PutLong(ReminderBaseTable::TRIGGER_TIME, reminder->GetTriggerTimeInMilli()); in AppendValuesBucket()
39 values in AppendValuesBucket()
28 AppendValuesBucket(const sptr<ReminderRequest>& reminder, NativeRdb::ValuesBucket &values, const bool oldVersion) AppendValuesBucket() argument
372 AppendValuesBucket(const sptr<ReminderRequest>& reminder, NativeRdb::ValuesBucket& values) AppendValuesBucket() argument
412 AppendValuesBucket(const sptr<ReminderRequest>& reminder, NativeRdb::ValuesBucket& values) AppendValuesBucket() argument
475 AppendValuesBucket(const sptr<ReminderRequest>& reminder, NativeRdb::ValuesBucket& values) AppendValuesBucket() argument
[all...]
/base/sensors/sensor/vibration_convert/core/algorithm/onset/src/
H A Donset.cpp74 std::vector<double> Onset::MatrixDiff(size_t valueCols, const std::vector<double> &values) in MatrixDiff() argument
76 if ((valueCols == 0) || (values.empty())) { in MatrixDiff()
80 size_t valueRows = values.size() / valueCols; in MatrixDiff()
84 result.push_back(values[(i + 1) * valueRows + j] - values[i * valueRows + j]); in MatrixDiff()
90 std::optional<double> Onset::Median(const std::vector<double> &values) in Median() argument
92 if (values.empty()) { in Median()
93 SEN_HILOGE("values is empty"); in Median()
96 std::vector<double> result = values; in Median()
102 std::optional<double> Onset::Mean(const std::vector<double> &values) in Mean() argument
113 PowerDB(const std::vector<double> &values) PowerDB() argument
[all...]
/base/telephony/telephony_data/sim/src/
H A Drdb_sim_helper.cpp92 NativeRdb::ValuesBucket values; in SetDefaultCardByType() local
95 values.PutInt(SimData::IS_MAIN_CARD, 1); in SetDefaultCardByType()
99 values.PutInt(SimData::IS_VOICE_CARD, 1); in SetDefaultCardByType()
103 values.PutInt(SimData::IS_MESSAGE_CARD, 1); in SetDefaultCardByType()
107 values.PutInt(SimData::IS_CELLULAR_DATA_CARD, 1); in SetDefaultCardByType()
116 result = Update(changedRows, TABLE_SIM_INFO, values, whereClause); in SetDefaultCardByType()
128 NativeRdb::ValuesBucket values; in UpdateCardStateByType() local
133 values.PutInt(SimData::IS_MAIN_CARD, updateState); in UpdateCardStateByType()
139 values.PutInt(SimData::IS_VOICE_CARD, updateState); in UpdateCardStateByType()
145 values in UpdateCardStateByType()
[all...]
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/
H A Dglobal_test.cpp134 char *values = nullptr; in HWTEST_F() local
135 int32_t ret = GLOBAL_GetValueByName("app_name", FormatFullPath(g_resFilePath).c_str(), &values); in HWTEST_F()
136 // when ret != OK , values has been freed. in HWTEST_F()
138 EXPECT_EQ(std::string("App Name"), values); in HWTEST_F()
139 free(values); in HWTEST_F()
150 char *values = nullptr; in HWTEST_F() local
153 int32_t ret = GLOBAL_GetValueById(static_cast<uint32_t>(id), FormatFullPath(g_resFilePath).c_str(), &values); in HWTEST_F()
154 // when ret != OK , values has been freed. in HWTEST_F()
156 EXPECT_EQ(std::string("App Name"), values); in HWTEST_F()
157 free(values); in HWTEST_F()
[all...]
/base/update/updateservice/services/core/ability/sqlite/core/include/
H A Dtable_base_operator.h37 bool Insert(const std::vector<T> &values) final;
45 bool Update(const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate);
47 int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicate) final;
67 std::vector<T> values{value}; in Insert()
68 return Insert(values); in Insert()
72 bool TableBaseOperator<Table, T>::Insert(const std::vector<T> &values) in Insert() argument
76 table_->BuildDbValues(values, dbValues); in Insert()
142 const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicates) in Update()
145 return Update(changedRows, values, predicates); in Update()
150 int &changedRows, const NativeRdb::ValuesBucket &values, cons in Update()
141 Update( const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicates) Update() argument
149 Update( int &changedRows, const NativeRdb::ValuesBucket &values, const NativeRdb::RdbPredicates &predicates) Update() argument
[all...]
/base/location/frameworks/location_common/common/source/
H A Dcommon_hisysevent.cpp57 std::vector<std::string> values; in WriteLocationInnerEvent() local
63 values.push_back(x); in WriteLocationInnerEvent()
67 HookUtils::ExecuteHookWhenReportInnerInfo(event, names, values); in WriteLocationInnerEvent()
70 void WriteLocationInnerEvent(const int event, std::vector<std::string> names, std::vector<std::string>& values) in WriteLocationInnerEvent() argument
72 HookUtils::ExecuteHookWhenReportInnerInfo(event, names, values); in WriteLocationInnerEvent()
/base/hiviewdfx/hilog_lite/frameworks/mini/
H A Dhiview_output_log.c224 if (len > 0 && ReadFromCache(&g_logCache, (uint8 *)&(logContent.values), len) != len) { in OutputLogRealtime()
256 if (len > 0 && ReadFromCache(&g_logCache, (uint8 *)&(logContent.values), len) != len) { in OutputLog2TextFile()
463 fmtStr, logContentPtr->values[valueIndex]); in LogValuesFmt()
522 logContentPtr->values[0]); in LogDebugValuesFmt()
526 logContentPtr->values[0], logContentPtr->values[1]); in LogDebugValuesFmt()
530 logContentPtr->values[0], logContentPtr->values[1], logContentPtr->values[LOG_MULTI_PARA_2]); in LogDebugValuesFmt()
534 logContentPtr->values[ in LogDebugValuesFmt()
[all...]
/base/usb/usb_manager/services/native/src/
H A Dusb_right_db_helper.cpp99 ValuesBucket values; in AddRightRecord() local
100 values.Clear(); in AddRightRecord()
101 values.PutInt("uid", info.uid); in AddRightRecord()
102 values.PutLong("installTime", info.installTime); in AddRightRecord()
103 values.PutLong("updateTime", info.updateTime); in AddRightRecord()
104 values.PutLong("requestTime", info.requestTime); in AddRightRecord()
105 values.PutLong("validPeriod", info.validPeriod); in AddRightRecord()
106 values.PutString("deviceName", deviceName); in AddRightRecord()
107 values.PutString("bundleName", bundleName); in AddRightRecord()
113 ret = rightDatabase_->Insert(values); in AddRightRecord()
286 ValuesBucket values; UpdateRightRecord() local
634 ValuesBucket values; AddOrUpdateRightRecordEx() local
[all...]
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
H A Dmap_string_serializer.cpp72 std::vector<std::string> values; in GetPolicy() local
77 if (!data.ReadStringVector(&values)) { in GetPolicy()
78 EDMLOGE("MapStringSerializer::read map values fail."); in GetPolicy()
81 if (keys.size() != values.size()) { in GetPolicy()
85 result.insert(std::make_pair(keys.at(i), values.at(i))); in GetPolicy()
93 std::vector<std::string> values; in WritePolicy() local
96 values.push_back(item.second); in WritePolicy()
98 return reply.WriteStringVector(keys) && reply.WriteStringVector(values); in WritePolicy()
/test/xts/hats/hdf/display/buffer/benchmark/
H A Ddisplay_buffer_benchmark_test.cpp86 std::vector<uint8_t> values(2880, 0); in BENCHMARK_F()
87 ret = g_gralloc->SetMetadata(*g_bufferHandle, key, values); in BENCHMARK_F()
104 std::vector<uint8_t> values(2880, 0); in BENCHMARK_F()
105 ret = g_gralloc->SetMetadata(*g_bufferHandle, key, values); in BENCHMARK_F()
126 std::vector<uint8_t> values(2880, 0); in BENCHMARK_F()
127 ret = g_gralloc->SetMetadata(*g_bufferHandle, key, values); in BENCHMARK_F()
146 std::vector<uint8_t> values(2880, 0); in BENCHMARK_F()
147 ret = g_gralloc->SetMetadata(*g_bufferHandle, key, values); in BENCHMARK_F()
/base/hiviewdfx/hiview/base/event_raw/encoded/
H A Draw_data_builder_json_parser.cpp335 const std::vector<std::string>& values) in BuilderAppendStringArrayValue()
340 builder_->AppendValue(key, values); in BuilderAppendStringArrayValue()
344 const std::vector<std::string>& values) in BuilderAppendIntArrayValue()
349 if (any_of(values.begin(), values.end(), [] (auto& item) { in BuilderAppendIntArrayValue()
352 BuilderAppendFloatingArrayValue(key, values); in BuilderAppendIntArrayValue()
355 if (any_of(values.begin(), values.end(), [] (auto& item) { in BuilderAppendIntArrayValue()
360 for (auto value : values) { in BuilderAppendIntArrayValue()
372 for (auto value : values) { in BuilderAppendIntArrayValue()
334 BuilderAppendStringArrayValue(const std::string& key, const std::vector<std::string>& values) BuilderAppendStringArrayValue() argument
343 BuilderAppendIntArrayValue(const std::string& key, const std::vector<std::string>& values) BuilderAppendIntArrayValue() argument
379 BuilderAppendFloatingArrayValue(const std::string& key, const std::vector<std::string>& values) BuilderAppendFloatingArrayValue() argument
[all...]
/base/telephony/core_service/utils/vcard/src/
H A Dvcard_raw_data.cpp38 void VCardRawData::SetValues(const std::vector<std::string> &values) in SetValues() argument
40 values_ = values; in SetValues()
43 void VCardRawData::AppendValues(const std::vector<std::string> &values) in AppendValues() argument
45 values_.insert(values_.end(), values.begin(), values.end()); in AppendValues()

Completed in 14 milliseconds

12345678910