/test/xts/acts/startup_lite/syspara_hal/src/ |
H A D | parameter_reli_test.c | 60 const char* value1 = GetDeviceType(); variable 61 AssertNotEmpty(value1); variable 66 TEST_ASSERT_EQUAL_STRING(value1, value2); 77 const char* value1 = GetManufacture(); variable 78 AssertNotEmpty(value1); variable 83 TEST_ASSERT_EQUAL_STRING(value1, value2); 94 const char* value1 = GetBrand(); variable 95 AssertNotEmpty(value1); variable 100 TEST_ASSERT_EQUAL_STRING(value1, value2); 111 const char* value1 variable 112 AssertNotEmpty(value1); global() variable 128 const char* value1 = GetProductSeries(); global() variable 129 AssertNotEmpty(value1); global() variable 145 const char* value1 = GetProductModel(); global() variable 146 AssertNotEmpty(value1); global() variable 162 const char* value1 = GetHardwareModel(); global() variable 163 AssertNotEmpty(value1); global() variable 179 const char* value1 = GetHardwareProfile(); global() variable 180 AssertNotEmpty(value1); global() variable 196 const char* value1 = GetSerial(); global() variable 216 const char* value1 = GetOSFullName(); global() variable 217 AssertNotEmpty(value1); global() variable 233 const char* value1 = GetDisplayVersion(); global() variable 234 AssertNotEmpty(value1); global() variable 250 const char* value1 = GetBootloaderVersion(); global() variable 251 AssertNotEmpty(value1); global() variable 267 const char* value1 = GetSecurityPatchTag(); global() variable 268 AssertNotEmpty(value1); global() variable 284 const char* value1 = GetAbiList(); global() variable 285 AssertNotEmpty(value1); global() variable 301 int value1 = GetFirstApiVersion(); global() variable 302 TEST_ASSERT_NOT_NULL(&value1); global() variable 319 const char* value1 = GetIncrementalVersion(); global() variable 320 AssertNotEmpty(value1); global() variable 336 const char* value1 = GetVersionId(); global() variable 337 AssertNotEmpty(value1); global() variable 353 const char* value1 = GetBuildType(); global() variable 354 AssertNotEmpty(value1); global() variable 370 const char* value1 = GetBuildUser(); global() variable 371 AssertNotEmpty(value1); global() variable 387 const char* value1 = GetBuildHost(); global() variable 388 AssertNotEmpty(value1); global() variable 404 const char* value1 = GetBuildTime(); global() variable 405 AssertNotEmpty(value1); global() variable 421 const char* value1 = GetBuildRootHash(); global() variable 422 TEST_ASSERT_NOT_NULL(value1); global() variable 438 const char* value1 = GetSoftwareModel(); global() variable 439 AssertNotEmpty(value1); global() variable 455 int value1 = GetSdkApiVersion(); global() variable 456 TEST_ASSERT_NOT_NULL(&value1); global() variable [all...] |
H A D | parameter_func_test.c | 135 char value1[] = "set with key = 31"; variable 136 ret = SetParameter(key1, value1); 207 char value1[] = "set with key = 32"; variable 208 ret = SetParameter(key1, value1); 288 char value1[] = variable 291 ret = SetParameter(key1, value1); 450 char value1[MAX_LEN] = {0}; variable 452 ret = GetParameter(key1, g_defSysParam, value1, MAX_LEN); 454 TEST_ASSERT_EQUAL_STRING(rightVal1, value1); 699 char value1[MAX_LE variable [all...] |
/test/xts/acts/distributeddatamgr_lite/dbm_kv_store_hal/src/ |
H A D | dbm_kv_store_func_test.c | 96 } value, value1; in PutKVs() local 120 memset_s(&value1, sizeof(value1), 0, sizeof(value1)); in PutKVs() 122 status = DBM_Get(g_KVStoreHandle, keytemp, &value1, sizeof(value1), &realValLen); in PutKVs() 125 TEST_ASSERT_EQUAL_INT(sizeof(value1), realValLen); in PutKVs() 126 TEST_ASSERT_EQUAL_INT(value1.num, value.num); in PutKVs() 127 TEST_ASSERT_EQUAL_STRING(value1.content, value.content); in PutKVs() 128 TEST_ASSERT_EQUAL_MEMORY(&value1, in PutKVs() 149 } value, value1; GetKVs() local 610 } value, value1; global() variable 643 } value, value1; global() variable 676 } value, value1, value2; global() variable 740 } value, value1; global() variable 870 char value1[] = "Two tigers Two tigers two tiger running so fast \\ global() variable [all...] |
/test/xts/acts/startup_lite/syspara_posix/src/ |
H A D | ParameterTest.cpp | 97 char value1[] = "set with key = 31"; in HWTEST_F() local 98 ret = SetParameter(key1, value1); in HWTEST_F() 146 char value1[] = "set with key = 96"; in HWTEST_F() local 147 ret = SetParameter(key1, value1); in HWTEST_F() 181 char value1[] = "abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuv11"; in HWTEST_F() local 182 ret = SetParameter(key1, value1); in HWTEST_F() 238 char value1[StartUpLite::MAX_LEN] = {0}; in HWTEST_F() local 239 ret = GetParameter(key1, defSysParam.c_str(), value1, StartUpLite::MAX_LEN); in HWTEST_F() 241 value1[MAX_LEN - 1] = '\0'; in HWTEST_F() 242 EXPECT_STREQ(value1, rightVal in HWTEST_F() 292 char value1[StartUpLite::MAX_LEN] = {0}; HWTEST_F() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/system/ |
H A D | system_ColorFontChange_test.cpp | 36 ArkUI_NumberValue value1[] = {200};
in testRegisterSystemColorModeChangeEvent_001() local 37 ArkUI_AttributeItem item1 = {value1, 1};
in testRegisterSystemColorModeChangeEvent_001() 91 ArkUI_NumberValue value1[] = {200};
in testUnregisterSystemColorModeChangeEvent_002() local 92 ArkUI_AttributeItem item1 = {value1, 1};
in testUnregisterSystemColorModeChangeEvent_002() 141 ArkUI_NumberValue value1[] = {100};
in testRegisterSystemFontStyleChangeEvent_003() local 142 ArkUI_AttributeItem item1 = {value1, 1};
in testRegisterSystemFontStyleChangeEvent_003() 183 ArkUI_NumberValue value1[] = {100};
in testUnregisterSystemFontStyleChangeEvent_004() local 184 ArkUI_AttributeItem item1 = {value1, 1};
in testUnregisterSystemFontStyleChangeEvent_004() 228 ArkUI_NumberValue value1[] = {100};
in testSystemFontStyleEvent_GetFontSizeScale_005() local 229 ArkUI_AttributeItem item1 = {value1, in testSystemFontStyleEvent_GetFontSizeScale_005() 267 ArkUI_NumberValue value1[] = {100}; testSystemFontStyleEvent_GetFontWeightScale_006() local [all...] |
/test/xts/acts/distributeddatamgr_lite/kv_store_hal/src/ |
H A D | kvstore_func_test.c | 490 char value1[] = "Two tigers Two tigers two tiger running so fast \ variable 492 ret = UtilsSetValue(key, value1); 501 TEST_ASSERT_EQUAL_STRING(value1, temp); 599 char value1[] = "Two tigers,Two tigers,two tiger,running so fast"; variable 600 ret = UtilsSetValue(key, value1); 605 TEST_ASSERT_EQUAL_STRING(value1, temp); 613 TEST_ASSERT_EQUAL_STRING(value1, temp); 797 char value1[] = "Two tigers Two tigers two tiger running so fast \ variable 807 ret = SetKVFiles(INVALID_KEY_NUM, key, value1); 812 ret = ReadKVFiles(INVALID_KEY_NUM, key, value1); [all...] |
/test/xts/acts/arkui/ace_c_arkui_test_api13/entry/src/main/cpp/customproperty/ |
H A D | custom_property_test.cpp | 53 ArkUI_NumberValue value1[] = {720}; in testAddCustomProperty001() local 54 ArkUI_AttributeItem item1 = {value1, 1}; in testAddCustomProperty001() 96 ArkUI_NumberValue value1[] = {720}; in testRemoveCustomProperty002() local 97 ArkUI_AttributeItem item1 = {value1, 1}; in testRemoveCustomProperty002()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customproperty/ |
H A D | custom_property_test.cpp | 53 ArkUI_NumberValue value1[] = {720}; in testAddCustomProperty001() local 54 ArkUI_AttributeItem item1 = {value1, 1}; in testAddCustomProperty001() 96 ArkUI_NumberValue value1[] = {720}; in testRemoveCustomProperty002() local 97 ArkUI_AttributeItem item1 = {value1, 1}; in testRemoveCustomProperty002()
|
/test/xts/acts/ability/crossplatform/ability_runtime/actscontexttest/src/main/cpp/ |
H A D | hello.cpp | 35 double value1;
in Add() local 36 napi_get_value_double(env, args[1], &value1);
in Add() 39 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkcompiler/esmodule/esmodule_ohostest/entry/src/ohosTest/cpp/ |
H A D | hello.cpp | 34 double value1;
in Add() local 35 napi_get_value_double(env, args[1], &value1);
in Add() 38 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkcompiler/esmodule/esmodule_ohostestlib/entry/src/main/cpp/ |
H A D | hello.cpp | 34 double value1;
in Add() local 35 napi_get_value_double(env, args[1], &value1);
in Add() 38 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkcompiler/arkts_module_test/basic_scenario/entry/src/main/cpp/ |
H A D | napi_init.cpp | 35 double value1;
in Add() local 36 napi_get_value_double(env, args[1], &value1);
in Add() 39 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkcompiler/arkts_module_test/basic_scenario/library/src/main/cpp/ |
H A D | napi_init.cpp | 35 double value1;
in Add() local 36 napi_get_value_double(env, args[1], &value1);
in Add() 39 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/appbuild/cmake_test/ohos_app_demo_test/entry/src/main/cpp/ |
H A D | hello.cpp | 34 double value1;
in Add() local 35 napi_get_value_double(env, args[1], &value1);
in Add() 38 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkcompiler/esmodule/esmodule_dynamicimport/entry/src/main/cpp/ |
H A D | hello.cpp | 35 double value1; in Add() local 36 napi_get_value_double(env, args[1], &value1); in Add() 39 napi_create_double(env, value0 + value1, &sum); in Add()
|
/test/xts/acts/arkcompiler/esmodule/esmodule_entry/entry/src/main/cpp/ |
H A D | hello.cpp | 34 double value1;
in Add() local 35 napi_get_value_double(env, args[1], &value1);
in Add() 38 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkcompiler/arkts_module_test/basic_scenario/library2/src/main/cpp/ |
H A D | napi_init.cpp | 35 double value1;
in Add() local 36 napi_get_value_double(env, args[1], &value1);
in Add() 39 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkui/ace_ets_web_dev_cloudservice_webController_group/ace_ets_web_dev_cloudservice_webController_group_eleven/entry/src/main/cpp/ |
H A D | napi_init.cpp | 33 double value1;
in Add() local 34 napi_get_value_double(env, args[1], &value1);
in Add() 37 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkui/ace_ets_web_dev_cloudservice_webController_group/ace_ets_web_dev_cloudservice_webController_group_thirteen/entry/src/main/cpp/ |
H A D | napi_init.cpp | 33 double value1;
in Add() local 34 napi_get_value_double(env, args[1], &value1);
in Add() 37 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/ |
H A D | hello.cpp | 35 double value1;
in Add() local 36 napi_get_value_double(env, args[1], &value1);
in Add() 39 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/arkui/ace_ets_web_dev_cloudservice_webController_group/ace_ets_web_dev_cloudservice_webController_group_twelve/entry/src/main/cpp/ |
H A D | napi_init.cpp | 33 double value1;
in Add() local 34 napi_get_value_double(env, args[1], &value1);
in Add() 37 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/demo/hvigor_sample/demo_ndk_stage/entry/src/main/cpp/ |
H A D | hello.cpp | 28 double value1;
in Add() local 29 napi_get_value_double(env, args[1], &value1);
in Add() 31 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/demo/hvigor_sample/demo_ndk_fa_js/entry/src/main/cpp/ |
H A D | hello.cpp | 28 double value1;
in Add() local 29 napi_get_value_double(env, args[1], &value1);
in Add() 31 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/demo/hvigor_sample/demo_ndk_fa_ets/entry/src/main/cpp/ |
H A D | hello.cpp | 28 double value1;
in Add() local 29 napi_get_value_double(env, args[1], &value1);
in Add() 31 napi_create_double(env, value0 + value1, &sum);
in Add()
|
/test/xts/acts/distributeddatamgr_lite/kv_store_posix/src/ |
H A D | KvStoreTest.cpp | 466 char value1[] = "Two tigers,Two tigers,two tiger,running so fast"; in HWTEST_F() local 467 int ret = UtilsSetValue(key, value1); in HWTEST_F() 472 EXPECT_STREQ(value1, temp); in HWTEST_F() 517 char value1[] = "Two tigers,Two tigers,two tiger,running so fast"; in HWTEST_F() local 518 int ret = UtilsSetValue(key, value1); in HWTEST_F() 523 EXPECT_STREQ(value1, temp); in HWTEST_F() 531 EXPECT_STREQ(value1, temp); in HWTEST_F()
|