/test/xts/acts/kernel_lite/kernelcmsis_hal/src/ |
H A D | cmsis_timer_func_test.c | 77 osTimerId_t id; variable 79 id = osTimerNew((osTimerFunc_t)CmsisTimerFunc001, osTimerOnce, &value, NULL); 80 TEST_ASSERT_NOT_NULL(id); variable 81 (void)osTimerDelete(id); 92 osTimerId_t id; variable 94 id = osTimerNew((osTimerFunc_t)CmsisTimerFunc001, osTimerPeriodic, &value, NULL); 95 TEST_ASSERT_NOT_NULL(id); variable 96 (void)osTimerDelete(id); 107 osTimerId_t id; variable 109 id 110 TEST_ASSERT_NULL(id); global() variable 121 osTimerId_t id; global() variable 124 TEST_ASSERT_NULL(id); global() variable 135 osTimerId_t id; global() variable 138 TEST_ASSERT_NULL(id); global() variable 150 osTimerId_t id; global() variable 154 TEST_ASSERT_NOT_NULL(id); global() variable 168 osTimerId_t id; global() variable 172 TEST_ASSERT_NOT_NULL(id); global() variable 186 osTimerId_t id; global() variable 191 TEST_ASSERT_NOT_NULL(id); global() variable 208 osTimerId_t id; global() variable 213 TEST_ASSERT_NOT_NULL(id); global() variable 230 osTimerId_t id; global() variable 233 TEST_ASSERT_NOT_NULL(id); global() variable 247 osTimerId_t id; global() variable 250 TEST_ASSERT_NOT_NULL(id); global() variable 277 osTimerId_t id; global() variable 280 TEST_ASSERT_NOT_NULL(id); global() variable 295 osTimerId_t id; global() variable 298 TEST_ASSERT_NOT_NULL(id); global() variable 313 osTimerId_t id; global() variable 317 TEST_ASSERT_NOT_NULL(id); global() variable 333 osTimerId_t id; global() variable 337 TEST_ASSERT_NOT_NULL(id); global() variable 365 osTimerId_t id; global() variable 369 TEST_ASSERT_NOT_NULL(id); global() variable 386 osTimerId_t id; global() variable 390 TEST_ASSERT_NOT_NULL(id); global() variable 407 osTimerId_t id; global() variable 410 TEST_ASSERT_NOT_NULL(id); global() variable 426 osTimerId_t id; global() variable 429 TEST_ASSERT_NOT_NULL(id); global() variable 457 osTimerId_t id; global() variable 460 TEST_ASSERT_NOT_NULL(id); global() variable 475 osTimerId_t id; global() variable 479 TEST_ASSERT_NOT_NULL(id); global() variable 495 osTimerId_t id; global() variable 499 TEST_ASSERT_NOT_NULL(id); global() variable 502 osTimerStop(id); global() variable 517 osTimerId_t id; global() variable 521 TEST_ASSERT_NOT_NULL(id); global() variable 524 osTimerDelete(id); global() variable 537 osTimerId_t id; global() variable 540 TEST_ASSERT_NOT_NULL(id); global() variable 555 osTimerId_t id; global() variable 559 TEST_ASSERT_NOT_NULL(id); global() variable 575 osTimerId_t id; global() variable 579 TEST_ASSERT_NOT_NULL(id); global() variable 582 osTimerStop(id); global() variable 597 osTimerId_t id; global() variable 601 TEST_ASSERT_NOT_NULL(id); global() variable 604 osTimerDelete(id); global() variable [all...] |
H A D | cmsis_task_func_test.c | 118 osThreadId_t id; in CmsisThreadCreat004Func001() local 129 id = osThreadNew((osThreadFunc_t)CmsisThreadCreat004Func002, NULL, &attr); in CmsisThreadCreat004Func001() 130 TEST_ASSERT_NOT_NULL(id); in CmsisThreadCreat004Func001() 160 static void WaitThreadExit(osThreadId_t id, UINT16 const *exitFlag) in WaitThreadExit() argument 162 UINT32 uwRet = osThreadSetPriority(id, osPriorityAboveNormal6); in WaitThreadExit() 163 printf("WaitThreadExit id = %d, uwRet = %d\n", id, uwRet); in WaitThreadExit() 168 printf("WaitThreadExit id = %d, loop = %d\n", id, loop++); in WaitThreadExit() 281 osThreadId_t id; in CmsisThreadYieldFunc001() local 307 osThreadId_t id; CmsisThreadYieldFunc003() local 344 osThreadId_t id; CmsisThreadResumeFunc001() local 387 osThreadId_t id; CmsisThreadGetCountFunc001() local 424 osThreadId_t id; global() variable 437 TEST_ASSERT_NULL(id); global() variable 439 TEST_ASSERT_NULL(id); global() variable 441 TEST_ASSERT_NULL(id); global() variable 452 osThreadId_t id; global() variable 464 TEST_ASSERT_NOT_NULL(id); global() variable 472 TEST_ASSERT_NOT_NULL(id); global() variable 482 osThreadId_t id; global() variable 494 TEST_ASSERT_NOT_NULL(id); global() variable 505 TEST_ASSERT_NOT_NULL(id); global() variable 517 osThreadId_t id; global() variable 528 TEST_ASSERT_NOT_NULL(id); global() variable 540 osThreadId_t id; global() variable 552 TEST_ASSERT_NOT_NULL(id); global() variable 569 osThreadId_t id; global() variable 580 TEST_ASSERT_NULL(id); global() variable 590 osThreadId_t id; global() variable 601 TEST_ASSERT_NULL(id); global() variable 611 osThreadId_t id; global() variable 622 TEST_ASSERT_NULL(id); global() variable 632 osThreadId_t id; global() variable 644 TEST_ASSERT_NOT_NULL(id); global() variable 655 osThreadId_t id; global() variable 667 TEST_ASSERT_NOT_NULL(id); global() variable 678 osThreadId_t id; global() variable 690 TEST_ASSERT_NOT_NULL(id); global() variable 701 osThreadId_t id; global() variable 713 TEST_ASSERT_NOT_NULL(id); global() variable 724 osThreadId_t id; global() variable 736 TEST_ASSERT_NOT_NULL(id); global() variable 747 osThreadId_t id; global() variable 759 TEST_ASSERT_NOT_NULL(id); global() variable 770 osThreadId_t id; global() variable 782 TEST_ASSERT_NOT_NULL(id); global() variable 793 osThreadId_t id; global() variable 805 TEST_ASSERT_NOT_NULL(id); global() variable 816 osThreadId_t id; global() variable 827 TEST_ASSERT_NULL(id); global() variable 837 osThreadId_t id; global() variable 848 TEST_ASSERT_NULL(id); global() variable 858 osThreadId_t id; global() variable 869 TEST_ASSERT_NULL(id); global() variable 879 osThreadId_t id; global() variable 891 TEST_ASSERT_NULL(id); global() variable 901 osThreadId_t id; global() variable 913 TEST_ASSERT_NULL(id); global() variable 923 osThreadId_t id; global() variable 935 TEST_ASSERT_NULL(id); global() variable 945 osThreadId_t id; global() variable 957 TEST_ASSERT_NULL(id); global() variable 967 osThreadId_t id; global() variable 979 TEST_ASSERT_NULL(id); global() variable 989 osThreadId_t id; global() variable 1001 TEST_ASSERT_NULL(id); global() variable 1011 osThreadId_t id; global() variable 1014 TEST_ASSERT_NULL(id); global() variable 1024 osThreadId_t id; global() variable 1037 TEST_ASSERT_NOT_NULL(id); global() variable 1049 osThreadId_t id; global() variable 1060 TEST_ASSERT_NOT_NULL(id); global() variable 1071 osThreadId_t id; global() variable 1084 TEST_ASSERT_NOT_NULL(id); global() variable 1111 osThreadId_t id; global() variable 1123 TEST_ASSERT_NOT_NULL(id); global() variable 1135 osThreadId_t id; global() variable 1147 TEST_ASSERT_NOT_NULL(id); global() variable 1159 osThreadId_t id; global() variable 1171 TEST_ASSERT_NOT_NULL(id); global() variable 1183 osThreadId_t id; global() variable 1195 TEST_ASSERT_NOT_NULL(id); global() variable 1207 osThreadId_t id; global() variable 1219 TEST_ASSERT_NOT_NULL(id); global() variable 1231 osThreadId_t id; global() variable 1243 TEST_ASSERT_NOT_NULL(id); global() variable 1254 osThreadId_t id; global() variable 1266 TEST_ASSERT_NOT_NULL(id); global() variable 1277 osThreadId_t id; global() variable 1289 TEST_ASSERT_NOT_NULL(id); global() variable 1311 osThreadId_t id; global() variable 1325 TEST_ASSERT_NOT_NULL(id); global() variable 1350 osThreadId_t id; global() variable 1365 TEST_ASSERT_NOT_NULL(id); global() variable 1375 osThreadId_t id; global() variable 1390 TEST_ASSERT_NOT_NULL(id); global() variable 1400 osThreadId_t id; global() variable 1415 TEST_ASSERT_NOT_NULL(id); global() variable 1425 osThreadId_t id; global() variable 1440 TEST_ASSERT_NOT_NULL(id); global() variable 1450 osThreadId_t id; global() variable 1465 TEST_ASSERT_NOT_NULL(id); global() variable 1475 osThreadId_t id; global() variable 1489 TEST_ASSERT_NOT_NULL(id); global() variable 1499 osThreadId_t id; global() variable 1513 TEST_ASSERT_NOT_NULL(id); global() variable 1523 osThreadId_t id; global() variable 1537 TEST_ASSERT_NOT_NULL(id); global() variable 1547 osThreadId_t id; global() variable 1557 TEST_ASSERT_NOT_NULL(id); global() variable 1567 osThreadId_t id; global() variable 1580 TEST_ASSERT_NOT_NULL(id); global() variable 1590 osThreadId_t id; global() variable 1602 TEST_ASSERT_NOT_NULL(id); global() variable 1614 osThreadId_t id; global() variable 1624 TEST_ASSERT_NOT_NULL(id); global() variable 1646 osThreadId_t id; global() variable 1658 TEST_ASSERT_NOT_NULL(id); global() variable 1669 osThreadId_t id; global() variable 1681 TEST_ASSERT_NOT_NULL(id); global() variable 1692 osThreadId_t id; global() variable 1704 TEST_ASSERT_NOT_NULL(id); global() variable 1715 osThreadId_t id; global() variable 1727 TEST_ASSERT_NOT_NULL(id); global() variable 1738 osThreadId_t id; global() variable 1750 TEST_ASSERT_NOT_NULL(id); global() variable 1761 osThreadId_t id; global() variable 1773 TEST_ASSERT_NOT_NULL(id); global() variable 1783 osThreadId_t id; global() variable 1795 TEST_ASSERT_NOT_NULL(id); global() variable 1805 osThreadId_t id; global() variable 1817 TEST_ASSERT_NOT_NULL(id); global() variable 1839 osThreadId_t id; global() variable 1851 TEST_ASSERT_NOT_NULL(id); global() variable 1863 osThreadId_t id; global() variable 1875 TEST_ASSERT_NOT_NULL(id); global() variable 1887 osThreadId_t id; global() variable 1899 TEST_ASSERT_NOT_NULL(id); global() variable 1911 osThreadId_t id; global() variable 1923 TEST_ASSERT_NOT_NULL(id); global() variable 1935 osThreadId_t id; global() variable 1947 TEST_ASSERT_NOT_NULL(id); global() variable 1958 osThreadId_t id; global() variable 1970 TEST_ASSERT_NOT_NULL(id); global() variable 1981 osThreadId_t id; global() variable 1993 TEST_ASSERT_NOT_NULL(id); global() variable 2029 osThreadId_t id; global() variable 2042 TEST_ASSERT_NOT_NULL(id); global() variable 2053 osThreadId_t id; global() variable 2066 TEST_ASSERT_NOT_NULL(id); global() variable 2077 osThreadId_t id; global() variable 2090 TEST_ASSERT_NOT_NULL(id); global() variable 2101 osThreadId_t id; global() variable 2114 TEST_ASSERT_NOT_NULL(id); global() variable 2125 osThreadId_t id; global() variable 2138 TEST_ASSERT_NOT_NULL(id); global() variable 2149 osThreadId_t id; global() variable 2162 TEST_ASSERT_NOT_NULL(id); global() variable 2173 osThreadId_t id; global() variable 2186 TEST_ASSERT_NOT_NULL(id); global() variable 2222 osThreadId_t id; global() variable 2235 TEST_ASSERT_NOT_NULL(id); global() variable 2250 osThreadId_t id; global() variable 2263 TEST_ASSERT_NOT_NULL(id); global() variable 2278 osThreadId_t id; global() variable 2291 TEST_ASSERT_NOT_NULL(id); global() variable 2306 osThreadId_t id; global() variable 2319 TEST_ASSERT_NOT_NULL(id); global() variable 2334 osThreadId_t id; global() variable 2347 TEST_ASSERT_NOT_NULL(id); global() variable 2361 osThreadId_t id; global() variable 2374 TEST_ASSERT_NOT_NULL(id); global() variable 2388 osThreadId_t id; global() variable 2401 TEST_ASSERT_NOT_NULL(id); global() variable 2427 osThreadId_t id; global() variable 2439 TEST_ASSERT_NOT_NULL(id); global() variable 2450 osThreadId_t id; global() variable 2462 TEST_ASSERT_NOT_NULL(id); global() variable 2473 osThreadId_t id; global() variable 2485 TEST_ASSERT_NOT_NULL(id); global() variable 2496 osThreadId_t id; global() variable 2508 TEST_ASSERT_NOT_NULL(id); global() variable 2519 osThreadId_t id; global() variable 2531 TEST_ASSERT_NOT_NULL(id); global() variable 2542 osThreadId_t id; global() variable 2554 TEST_ASSERT_NOT_NULL(id); global() variable 2565 osThreadId_t id; global() variable 2577 TEST_ASSERT_NOT_NULL(id); global() variable 2613 osThreadId_t id; global() variable 2626 TEST_ASSERT_NOT_NULL(id); global() variable 2637 osThreadId_t id; global() variable 2650 TEST_ASSERT_NOT_NULL(id); global() variable 2661 osThreadId_t id; global() variable 2674 TEST_ASSERT_NOT_NULL(id); global() variable 2685 osThreadId_t id; global() variable 2698 TEST_ASSERT_NOT_NULL(id); global() variable 2709 osThreadId_t id; global() variable 2722 TEST_ASSERT_NOT_NULL(id); global() variable 2733 osThreadId_t id; global() variable 2746 TEST_ASSERT_NOT_NULL(id); global() variable 2757 osThreadId_t id; global() variable 2770 TEST_ASSERT_NOT_NULL(id); global() variable 2781 osThreadId_t id; global() variable 2794 TEST_ASSERT_NOT_NULL(id); global() variable 2844 osThreadId_t id; global() variable 2856 TEST_ASSERT_NOT_NULL(id); global() variable 2868 osThreadId_t id; global() variable 2880 TEST_ASSERT_NOT_NULL(id); global() variable 2892 osThreadId_t id; global() variable 2904 TEST_ASSERT_NOT_NULL(id); global() variable 2916 osThreadId_t id; global() variable 2928 TEST_ASSERT_NOT_NULL(id); global() variable 2940 osThreadId_t id; global() variable 2952 TEST_ASSERT_NOT_NULL(id); global() variable 2963 osThreadId_t id; global() variable 2975 TEST_ASSERT_NOT_NULL(id); global() variable 2986 osThreadId_t id; global() variable 2998 TEST_ASSERT_NOT_NULL(id); global() variable 3066 osThreadId_t id; global() variable 3080 TEST_ASSERT_NOT_NULL(id); global() variable [all...] |
H A D | cmsis_task_pri_func_test.c | 94 osThreadId_t id; variable 104 id = osThreadNew((osThreadFunc_t)CmsisThreadGetPriorityFunc001, NULL, &attr); 106 TEST_ASSERT_NOT_NULL(id); variable 141 osThreadId_t id; variable 151 id = osThreadNew((osThreadFunc_t)CmsisThreadGetPriorityFunc001, NULL, &attr); 153 TEST_ASSERT_NOT_NULL(id); variable 163 osThreadId_t id; variable 173 id = osThreadNew((osThreadFunc_t)CmsisThreadGetPriorityFunc001, NULL, &attr); 175 TEST_ASSERT_NOT_NULL(id); variable 185 osThreadId_t id; variable 197 TEST_ASSERT_NOT_NULL(id); global() variable 207 osThreadId_t id; global() variable 219 TEST_ASSERT_NOT_NULL(id); global() variable 229 osThreadId_t id; global() variable 240 TEST_ASSERT_NOT_NULL(id); global() variable 250 osThreadId_t id; global() variable 261 TEST_ASSERT_NOT_NULL(id); global() variable 271 osThreadId_t id; global() variable 282 TEST_ASSERT_NOT_NULL(id); global() variable 317 osThreadId_t id; global() variable 329 TEST_ASSERT_NOT_NULL(id); global() variable 339 osThreadId_t id; global() variable 351 TEST_ASSERT_NOT_NULL(id); global() variable 361 osThreadId_t id; global() variable 373 TEST_ASSERT_NOT_NULL(id); global() variable 383 osThreadId_t id; global() variable 395 TEST_ASSERT_NOT_NULL(id); global() variable 405 osThreadId_t id; global() variable 417 TEST_ASSERT_NOT_NULL(id); global() variable 427 osThreadId_t id; global() variable 439 TEST_ASSERT_NOT_NULL(id); global() variable 449 osThreadId_t id; global() variable 461 TEST_ASSERT_NOT_NULL(id); global() variable 471 osThreadId_t id; global() variable 483 TEST_ASSERT_NOT_NULL(id); global() variable 493 osThreadId_t id; global() variable 505 TEST_ASSERT_NOT_NULL(id); global() variable 515 osThreadId_t id; global() variable 527 TEST_ASSERT_NOT_NULL(id); global() variable 537 osThreadId_t id; global() variable 549 TEST_ASSERT_NOT_NULL(id); global() variable 559 osThreadId_t id; global() variable 571 TEST_ASSERT_NOT_NULL(id); global() variable 581 osThreadId_t id; global() variable 593 TEST_ASSERT_NOT_NULL(id); global() variable 603 osThreadId_t id; global() variable 615 TEST_ASSERT_NOT_NULL(id); global() variable 625 osThreadId_t id; global() variable 637 TEST_ASSERT_NOT_NULL(id); global() variable 647 osThreadId_t id; global() variable 659 TEST_ASSERT_NOT_NULL(id); global() variable 669 osThreadId_t id; global() variable 681 TEST_ASSERT_NOT_NULL(id); global() variable 691 osThreadId_t id; global() variable 703 TEST_ASSERT_NOT_NULL(id); global() variable 713 osThreadId_t id; global() variable 725 TEST_ASSERT_NOT_NULL(id); global() variable 735 osThreadId_t id; global() variable 747 TEST_ASSERT_NOT_NULL(id); global() variable 757 osThreadId_t id; global() variable 769 TEST_ASSERT_NOT_NULL(id); global() variable 779 osThreadId_t id; global() variable 791 TEST_ASSERT_NOT_NULL(id); global() variable 801 osThreadId_t id; global() variable 813 TEST_ASSERT_NOT_NULL(id); global() variable 823 osThreadId_t id; global() variable 835 TEST_ASSERT_NOT_NULL(id); global() variable 845 osThreadId_t id; global() variable 857 TEST_ASSERT_NOT_NULL(id); global() variable 867 osThreadId_t id; global() variable 879 TEST_ASSERT_NOT_NULL(id); global() variable 889 osThreadId_t id; global() variable 901 TEST_ASSERT_NOT_NULL(id); global() variable 911 osThreadId_t id; global() variable 923 TEST_ASSERT_NOT_NULL(id); global() variable 933 osThreadId_t id; global() variable 945 TEST_ASSERT_NOT_NULL(id); global() variable 955 osThreadId_t id; global() variable 967 TEST_ASSERT_NOT_NULL(id); global() variable 977 osThreadId_t id; global() variable 989 TEST_ASSERT_NOT_NULL(id); global() variable 999 osThreadId_t id; global() variable 1011 TEST_ASSERT_NOT_NULL(id); global() variable 1021 osThreadId_t id; global() variable 1033 TEST_ASSERT_NOT_NULL(id); global() variable 1043 osThreadId_t id; global() variable 1055 TEST_ASSERT_NOT_NULL(id); global() variable 1065 osThreadId_t id; global() variable 1077 TEST_ASSERT_NOT_NULL(id); global() variable 1087 osThreadId_t id; global() variable 1099 TEST_ASSERT_NOT_NULL(id); global() variable 1109 osThreadId_t id; global() variable 1121 TEST_ASSERT_NOT_NULL(id); global() variable 1131 osThreadId_t id; global() variable 1143 TEST_ASSERT_NOT_NULL(id); global() variable 1153 osThreadId_t id; global() variable 1165 TEST_ASSERT_NOT_NULL(id); global() variable 1175 osThreadId_t id; global() variable 1187 TEST_ASSERT_NOT_NULL(id); global() variable 1197 osThreadId_t id; global() variable 1209 TEST_ASSERT_NOT_NULL(id); global() variable 1219 osThreadId_t id; global() variable 1231 TEST_ASSERT_NOT_NULL(id); global() variable 1241 osThreadId_t id; global() variable 1253 TEST_ASSERT_NOT_NULL(id); global() variable 1263 osThreadId_t id; global() variable 1275 TEST_ASSERT_NOT_NULL(id); global() variable 1285 osThreadId_t id; global() variable 1297 TEST_ASSERT_NOT_NULL(id); global() variable 1307 osThreadId_t id; global() variable 1319 TEST_ASSERT_NOT_NULL(id); global() variable 1329 osThreadId_t id; global() variable 1341 TEST_ASSERT_NOT_NULL(id); global() variable 1351 osThreadId_t id; global() variable 1363 TEST_ASSERT_NOT_NULL(id); global() variable 1373 osThreadId_t id; global() variable 1385 TEST_ASSERT_NOT_NULL(id); global() variable 1395 osThreadId_t id; global() variable 1407 TEST_ASSERT_NOT_NULL(id); global() variable 1417 osThreadId_t id; global() variable 1429 TEST_ASSERT_NOT_NULL(id); global() variable 1439 osThreadId_t id; global() variable 1451 TEST_ASSERT_NOT_NULL(id); global() variable 1461 osThreadId_t id; global() variable 1473 TEST_ASSERT_NOT_NULL(id); global() variable 1483 osThreadId_t id; global() variable 1495 TEST_ASSERT_NOT_NULL(id); global() variable 1505 osThreadId_t id; global() variable 1517 TEST_ASSERT_NOT_NULL(id); global() variable 1527 osThreadId_t id; global() variable 1539 TEST_ASSERT_NOT_NULL(id); global() variable 1549 osThreadId_t id; global() variable 1561 TEST_ASSERT_NOT_NULL(id); global() variable [all...] |
/test/xts/acts/sensors/sensor/sensor_cpp_standard/ |
H A D | sensor_native_test.cpp | 173 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); in HWTEST_F() local 174 ret = OH_SensorSubscriptionId_SetType(id, SENSOR_ID); in HWTEST_F() 181 ret = OH_Sensor_Subscribe(id, attr, g_user); in HWTEST_F() 185 ret = OH_Sensor_Unsubscribe(id, g_user); in HWTEST_F() 187 if (id != nullptr) { in HWTEST_F() 188 OH_Sensor_DestroySubscriptionId(id); in HWTEST_F() 203 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); in HWTEST_F() local 204 int32_t ret = OH_SensorSubscriptionId_SetType(id, SENSOR_ID); in HWTEST_F() 211 ret = OH_Sensor_Subscribe(id, attr, nullptr); in HWTEST_F() 213 if (id ! in HWTEST_F() 250 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 282 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 313 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 360 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 392 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 423 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 470 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 492 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 532 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 583 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 612 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 641 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local 684 Sensor_SubscriptionId *id = OH_Sensor_CreateSubscriptionId(); HWTEST_F() local [all...] |
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/ |
H A D | resource_manager_test.cpp | 96 int id = GetResId(name, ResType::STRING); in TestStringById() local 97 ASSERT_TRUE(id > 0); in TestStringById() 98 rState = rm->GetStringById(id, outValue); in TestStringById() 123 int id = GetResId("eat_apple", ResType::PLURALS); in TestPluralStringById() local 125 ret = rm->GetPluralStringByIdFormat(outValue, id, quantity, quantity); in TestPluralStringById() 127 ret = rm->GetPluralStringById(id, quantity, outValue); in TestPluralStringById() 486 int id = GetResId(name, ResType::STRING); in HWTEST_F() local 487 ASSERT_TRUE(id > 0); in HWTEST_F() 489 RState state = rm->GetStringFormatById(outValue, id, 101); in HWTEST_F() 547 int id; in HWTEST_F() local 626 int id; HWTEST_F() local 646 int id; HWTEST_F() local 666 int id; HWTEST_F() local 961 int id = GetResId("app_theme", ResType::THEME); HWTEST_F() local 1029 int id = GetResId("boolean_1", ResType::BOOLEAN); HWTEST_F() local 1103 int id = GetResId("integer_1", ResType::INTEGER); HWTEST_F() local 1177 int id = GetResId("width_appBar_backButton_touchTarget", ResType::FLOAT); HWTEST_F() local 1251 int id = GetResId("intarray_1", ResType::INTARRAY); HWTEST_F() local 1321 int id = GetResId("divider_color", ResType::COLOR); HWTEST_F() local 1400 int id = GetResId("test_common", ResType::PROF); HWTEST_F() local 1476 int id = GetResId("icon", ResType::MEDIA); HWTEST_F() local 1553 int id = GetResId("integer_1", ResType::INTEGER); HWTEST_F() local 1633 int id; HWTEST_F() local [all...] |
H A D | res_desc_test.cpp | 69 int id; in HWTEST_F() local 72 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); in HWTEST_F() 75 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); in HWTEST_F() 78 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); in HWTEST_F() 81 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); in HWTEST_F() 84 EXPECT_TRUE(!IdItem::IsRef(str, resType, id)); in HWTEST_F() 87 EXPECT_TRUE(IdItem::IsRef(str, resType, id)); in HWTEST_F() 89 EXPECT_EQ(123456, id); in HWTEST_F() 91 EXPECT_TRUE(IdItem::IsRef(str, resType, id)); in HWTEST_F() 93 EXPECT_EQ(100001, id); in HWTEST_F() [all...] |
H A D | resource_manager_performance_test.cpp | 223 int id = GetResId(name[i], ResType::STRING); in HWTEST_F() local 224 ASSERT_TRUE(id > 0); in HWTEST_F() 225 ids.push_back(static_cast<uint32_t>(id)); in HWTEST_F() 320 int id = GetResId(name[i], ResType::STRING); in HWTEST_F() local 321 ASSERT_TRUE(id > 0); in HWTEST_F() 322 ids.push_back(static_cast<uint32_t>(id)); in HWTEST_F() 383 int id = GetResId("size", ResType::STRINGARRAY); in HWTEST_F() local 384 ASSERT_TRUE(id > 0); in HWTEST_F() 389 rm->GetStringArrayById(id, outValue); in HWTEST_F() 442 int id in HWTEST_F() local 506 int id = GetResId("eat_apple", ResType::PLURALS); HWTEST_F() local 569 int id = GetResId("eat_apple", ResType::PLURALS); HWTEST_F() local 630 int id = GetResId("app_theme", ResType::THEME); HWTEST_F() local 685 int id = GetResId("boolean_1", ResType::BOOLEAN); HWTEST_F() local 740 int id = GetResId("integer_1", ResType::INTEGER); HWTEST_F() local 795 int id = GetResId("width_appBar_backButton_touchTarget", ResType::FLOAT); HWTEST_F() local 850 int id = GetResId("intarray_1", ResType::INTARRAY); HWTEST_F() local 905 int id = GetResId("divider_color", ResType::COLOR); HWTEST_F() local 960 int id = GetResId("test_common", ResType::PROF); HWTEST_F() local 1015 int id = GetResId("icon", ResType::MEDIA); HWTEST_F() local [all...] |
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
H A D | native_xcomponent.cpp | 42 LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Callback", "OnSurfaceCreatedCB: Unable to get XComponent id"); in OnSurfaceCreatedCB() 46 std::string id(idStr); in OnSurfaceCreatedCB() 47 auto render = NativeXComponent::GetInstance(id); in OnSurfaceCreatedCB() 71 LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Callback", "OnSurfaceChangedCB: Unable to get XComponent id"); in OnSurfaceChangedCB() 75 std::string id(idStr); in OnSurfaceChangedCB() 76 auto render = NativeXComponent::GetInstance(id); in OnSurfaceChangedCB() 95 LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Callback", "OnSurfaceDestroyedCB: Unable to get XComponent id"); in OnSurfaceDestroyedCB() 99 std::string id(idStr); in OnSurfaceDestroyedCB() 100 NativeXComponent::Release(id); in OnSurfaceDestroyedCB() 116 LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Callback", "DispatchTouchEventCB: Unable to get XComponent id"); in DispatchTouchEventCB() 236 NativeXcomponent(std::string& id) NativeXcomponent() argument 242 GetInstance(std::string& id) GetInstance() argument 318 Release(std::string& id) Release() argument [all...] |
H A D | plugin_render.cpp | 62 std::string id(idStr); in OnSurfaceCreatedCB() 63 auto render = PluginRender::GetInstance(id); in OnSurfaceCreatedCB() 66 PluginRender::GetInstance(id)->InterfaceDesignTest(component); in OnSurfaceCreatedCB() 79 std::string id(idStr); in OnSurfaceChangedCB() 80 auto render = PluginRender::GetInstance(id); in OnSurfaceChangedCB() 94 std::string id(idStr); in OnSurfaceDestroyedCB() 95 auto render = PluginRender::GetInstance(id); in OnSurfaceDestroyedCB() 109 std::string id(idStr); in DispatchTouchEventCB() 110 auto render = PluginRender::GetInstance(id); in DispatchTouchEventCB() 124 std::string id(idSt in DispatchMouseEventCB() 129 PluginRender(std::string& id) PluginRender() argument 143 GetInstance(std::string& id) GetInstance() argument [all...] |
/test/xts/acts/account/OsAccountTest_js/entry/src/ohosTest/js/test/ |
H A D | OsAccount.test.js | 21 id: '12345', 26 id: '12345', 38 * @tc.name Test query the distribruted id by callback. 44 console.log("====>test query distribtued id start"); 52 expect(distributedInfo.id !== 'ohosAnonymousUid').assertTrue() 53 let uid = distributedInfo.id 58 expect(distributedInfo.id).assertEqual(uid) 63 console.log("====>test query distribtued id end"); 112 expect(data.id).assertEqual('ohosAnonymousUid') 136 expect(data.id) [all...] |
H A D | ActsDSGetSet.test.js | 21 id: '12345', 26 id: '12345', 46 console.log("====>ActsDADeviceId_0100 test query distribtued id start"); 54 expect(distributedInfo.id !== 'ohosAnonymousUid').assertTrue() 55 let uid = distributedInfo.id 60 expect(distributedInfo.id).assertEqual(uid) 64 console.log("====>test query distribtued id end"); 104 expect(data.id).assertEqual('ohosAnonymousUid') 125 expect(data.id).assertEqual('ohosAnonymousUid') 144 expect(data.id) [all...] |
/test/xts/acts/security_lite/huks/liteos_m_adapter/ |
H A D | hks_cipher_test.c | 62 osThreadId_t id; in HksCipherTestSetUp() local 72 id = osThreadNew((osThreadFunc_t)ExecHksInitialize, NULL, &attr); in HksCipherTestSetUp() 192 osThreadId_t id; in LITE_TEST_CASE() local 202 id = osThreadNew((osThreadFunc_t)ExecHksCipherTest001, NULL, &attr); in LITE_TEST_CASE() 211 osThreadId_t id; in LITE_TEST_CASE() local 221 id = osThreadNew((osThreadFunc_t)ExecHksCipherTest002, NULL, &attr); in LITE_TEST_CASE() 229 osThreadId_t id; in LITE_TEST_CASE() local 239 id = osThreadNew((osThreadFunc_t)ExecHksCipherTest003, NULL, &attr); in LITE_TEST_CASE() 246 osThreadId_t id; in LITE_TEST_CASE() local 256 id in LITE_TEST_CASE() 263 osThreadId_t id; LITE_TEST_CASE() local 280 osThreadId_t id; LITE_TEST_CASE() local 297 osThreadId_t id; LITE_TEST_CASE() local 314 osThreadId_t id; LITE_TEST_CASE() local 331 osThreadId_t id; LITE_TEST_CASE() local 348 osThreadId_t id; LITE_TEST_CASE() local 365 osThreadId_t id; LITE_TEST_CASE() local 382 osThreadId_t id; LITE_TEST_CASE() local [all...] |
H A D | hks_others_test.c | 57 osThreadId_t id; in HksOthersTestSetUp() local 67 id = osThreadNew((osThreadFunc_t)ExecHksInitialize, NULL, &attr); in HksOthersTestSetUp() 162 osThreadId_t id; in LITE_TEST_CASE() local 172 id = osThreadNew((osThreadFunc_t)ExcHksOthersTest001, NULL, &attr); in LITE_TEST_CASE() 184 osThreadId_t id; in LITE_TEST_CASE() local 194 id = osThreadNew((osThreadFunc_t)ExcHksOthersTest002, NULL, &attr); in LITE_TEST_CASE() 206 osThreadId_t id; in LITE_TEST_CASE() local 216 id = osThreadNew((osThreadFunc_t)ExcHksOthersTest003, NULL, &attr); in LITE_TEST_CASE() 228 osThreadId_t id; in LITE_TEST_CASE() local 238 id in LITE_TEST_CASE() 250 osThreadId_t id; LITE_TEST_CASE() local 272 osThreadId_t id; LITE_TEST_CASE() local 294 osThreadId_t id; LITE_TEST_CASE() local 316 osThreadId_t id; LITE_TEST_CASE() local [all...] |
H A D | hks_curve25519_test.c | 59 osThreadId_t id; in HksCurve25519TestSetUp() local 69 id = osThreadNew((osThreadFunc_t)ExecHksInitialize, NULL, &attr); in HksCurve25519TestSetUp() 124 osThreadId_t id; in LITE_TEST_CASE() local 134 id = osThreadNew((osThreadFunc_t)LocalHksCurve25519Test001, NULL, &attr); in LITE_TEST_CASE() 146 osThreadId_t id; in LITE_TEST_CASE() local 156 id = osThreadNew((osThreadFunc_t)LocalHksCurve25519Test002, NULL, &attr); in LITE_TEST_CASE() 168 osThreadId_t id; in LITE_TEST_CASE() local 178 id = osThreadNew((osThreadFunc_t)LocalHksCurve25519Test003, NULL, &attr); in LITE_TEST_CASE() 190 osThreadId_t id; in LITE_TEST_CASE() local 200 id in LITE_TEST_CASE() [all...] |
H A D | hks_aes_test.c | 54 osThreadId_t id; in HksAesTestSetUp() local 64 id = osThreadNew((osThreadFunc_t)ExecHksInitialize, NULL, &attr); in HksAesTestSetUp() 126 osThreadId_t id; in LITE_TEST_CASE() local 136 id = osThreadNew((osThreadFunc_t)ExecHksAesTest001, NULL, &attr); in LITE_TEST_CASE() 148 osThreadId_t id; in LITE_TEST_CASE() local 158 id = osThreadNew((osThreadFunc_t)ExecHksAesTest002, NULL, &attr); in LITE_TEST_CASE() 170 osThreadId_t id; in LITE_TEST_CASE() local 180 id = osThreadNew((osThreadFunc_t)ExecHksAesTest003, NULL, &attr); in LITE_TEST_CASE() 195 osThreadId_t id; in LITE_TEST_CASE() local 205 id in LITE_TEST_CASE() [all...] |
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/ |
H A D | plugin_manager.cpp | 115 std::string id(idStr); in Export() 118 context->SetNativeXComponent(id, nativeXComponent); in Export() 119 auto render = context->GetRender(id); in Export() 128 void PluginManager::SetNativeXComponent(std::string& id, OH_NativeXComponent* nativeXComponent) in SetNativeXComponent() argument 130 if (nativeXComponentMap_.find(id) == nativeXComponentMap_.end()) { in SetNativeXComponent() 131 nativeXComponentMap_[id] = nativeXComponent; in SetNativeXComponent() 133 if (nativeXComponentMap_[id] != nativeXComponent) { in SetNativeXComponent() 134 nativeXComponentMap_[id] = nativeXComponent; in SetNativeXComponent() 139 OH_NativeXComponent* PluginManager::GetNativeXComponent(std::string& id) in GetNativeXComponent() argument 141 if (nativeXComponentMap_.find(id) in GetNativeXComponent() 148 GetRender(std::string& id) GetRender() argument [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/manager/ |
H A D | plugin_manager.cpp | 108 std::string id(idStr); in Export() 111 context->SetNativeXComponent(id, nativeXComponent); in Export() 115 void PluginManager::SetNativeXComponent(std::string &id, OH_NativeXComponent *nativeXComponent) in SetNativeXComponent() argument 121 if (nativeXComponentMap_.find(id) == nativeXComponentMap_.end()) { in SetNativeXComponent() 122 nativeXComponentMap_[id] = nativeXComponent; in SetNativeXComponent() 126 if (nativeXComponentMap_[id] != nativeXComponent) { in SetNativeXComponent() 127 OH_NativeXComponent *tmp = nativeXComponentMap_[id]; in SetNativeXComponent() 130 nativeXComponentMap_[id] = nativeXComponent; in SetNativeXComponent() 134 OH_NativeXComponent *PluginManager::GetNativeXComponent(std::string &id) in GetNativeXComponent() argument 136 if (nativeXComponentMap_.find(id) in GetNativeXComponent() [all...] |
/test/xts/acts/arkui/ace_c_arkui_test_api13/entry/src/main/cpp/manager/ |
H A D | plugin_manager.cpp | 108 std::string id(idStr); in Export() 111 context->SetNativeXComponent(id, nativeXComponent); in Export() 115 void PluginManager::SetNativeXComponent(std::string &id, OH_NativeXComponent *nativeXComponent) in SetNativeXComponent() argument 121 if (nativeXComponentMap_.find(id) == nativeXComponentMap_.end()) { in SetNativeXComponent() 122 nativeXComponentMap_[id] = nativeXComponent; in SetNativeXComponent() 126 if (nativeXComponentMap_[id] != nativeXComponent) { in SetNativeXComponent() 127 OH_NativeXComponent *tmp = nativeXComponentMap_[id]; in SetNativeXComponent() 130 nativeXComponentMap_[id] = nativeXComponent; in SetNativeXComponent() 134 OH_NativeXComponent *PluginManager::GetNativeXComponent(std::string &id) in GetNativeXComponent() argument 136 if (nativeXComponentMap_.find(id) in GetNativeXComponent() [all...] |
/test/xts/hats/hdf/display/composer/common/ |
H A D | hdi_test_device.cpp | 58 std::shared_ptr<HdiTestDisplay> HdiTestDevice::GetDisplayFromId(uint32_t id) in GetDisplayFromId() argument 60 auto iter = displays_.find(id); in GetDisplayFromId() 62 id)); in GetDisplayFromId() 63 return displays_[id]; in GetDisplayFromId() 66 std::shared_ptr<HdiTestDisplay> HdiTestDevice::FindDisplayOrCreate(uint32_t id) in FindDisplayOrCreate() argument 69 std::shared_ptr<HdiTestDisplay> display = GetDisplayFromId(id); in FindDisplayOrCreate() 73 display = std::make_shared<HdiTestDisplay>(id, displayDevice_); in FindDisplayOrCreate() 76 displays_.emplace(id, display); in FindDisplayOrCreate() 77 displayIds_.push_back(id); in FindDisplayOrCreate()
|
/test/testfwk/arkxtest/jsunit/src/ |
H A D | core.js | 56 serviceObj[service.id] = service; 74 eventObj[event.id] = event; 115 this.addService('suite', new SuiteService({id: 'default'})); 116 this.addService('spec', new SpecService({id: 'default'})); 117 this.addService('expect', new ExpectService({id: 'default'})); 118 this.addService('report', new ReportService({id: 'default'})); 119 this.addService('config', new ConfigService({id: 'default'})); 120 this.registerEvent('task', new TaskEvent({id: 'default', coreContext: this})); 121 this.registerEvent('suite', new SuiteEvent({id: 'default', coreContext: this})); 122 this.registerEvent('spec', new SpecEvent({id [all...] |
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/ |
H A D | RelationalStoreAssetResultSetJsunit.test.js | 24 const CREATE_TABLE_TEST = "CREATE TABLE IF NOT EXISTS test (" + "id INTEGER PRIMARY KEY AUTOINCREMENT, " +
168 const id = resultSet.getLong(resultSet.getColumnIndex("id"))
170 console.log(TAG + "id=" + id + ", data1=" + data1);
179 console.log(TAG + "id=" + id + ", data2=" + data2);
210 const id = resultSet.getLong(resultSet.getColumnIndex("id"))
212 console.log(TAG + "id [all...] |
H A D | RelationalStoreInsertJsunit.test.js | 23 const CREATE_TABLE_TEST = "CREATE TABLE IF NOT EXISTS test (" + "id INTEGER PRIMARY KEY AUTOINCREMENT, " + "name TEXT NOT NULL, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
25 const CREATE_TABLE = " (" + "id INTEGER PRIMARY KEY AUTOINCREMENT, " + "name TEXT NOT NULL, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
102 const id = resultSet.getLong(resultSet.getColumnIndex("id"))
107 console.info(TAG + "id=" + id + ", name=" + name + ", age=" + age + ", salary=" + salary + ", blobType=" + blobType);
108 expect(1).assertEqual(id);
256 const id = resultSet.getLong(resultSet.getColumnIndex("id"))
261 console.info(TAG + "id [all...] |
/test/xts/acts/distributeddatamgr/relationalStoretest/RdbJstest/hap/entry/src/ohosTest/js/test/ |
H A D | RdbstoreInsertJsunit.test.js | 20 const CREATE_TABLE_TEST = "CREATE TABLE IF NOT EXISTS test (" + "id INTEGER PRIMARY KEY AUTOINCREMENT, " + "name TEXT NOT NULL, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
22 const CREATE_TABLE = " (" + "id INTEGER PRIMARY KEY AUTOINCREMENT, " + "name TEXT NOT NULL, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
100 const id = resultSet.getLong(resultSet.getColumnIndex("id"))
105 console.info(TAG + "id=" + id + ", name=" + name + ", age=" + age + ", salary=" + salary + ", blobType=" + blobType);
106 expect(1).assertEqual(id);
249 const id = resultSet.getLong(resultSet.getColumnIndex("id"))
254 console.info(TAG + "id [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | semndk.cpp | 31 static const int id = 's';
in Semop() local 33 key_t k = ftok(path, id);
in Semop() 46 static const int id = 's';
in Semtimedop() local 48 key_t k = ftok(path, id);
in Semtimedop() 67 static const int id = 's';
in Semctl() local 68 key_t k = ftok(path, id);
in Semctl() 88 static const int id = 's';
in Semget() local 89 key_t k = ftok(path, id);
in Semget()
|
H A D | shmndk.cpp | 37 static const int id = 'h';
in Shmget() local 39 shmid = shmget(ftok(path, id), VALUE100, IPC_CREAT | TEST_MODE);
in Shmget() 48 static const int id = 'h';
in Shmdt() local 52 k = ftok(path, id);
in Shmdt() 63 static const int id = 'h';
in Shmctl() local 64 int shmid = shmget(ftok(path, id), VALUE100, IPC_CREAT | TEST_MODE);
in Shmctl() 73 static const int id = 'h';
in Shmat() local 77 k = ftok(path, id);
in Shmat()
|