Home
last modified time | relevance | path

Searched refs:HEARTBEAT_VALUE (Results 1 - 9 of 9) sorted by relevance

/ide/tools/previewer/test/unittest/util/
H A DSharedDataTest.cpp29 SharedData<uint8_t>(SharedDataType::HEARTBEAT_VALUE, g_intValue, g_intMinValue, g_intMaxValue); in TEST()
30 EXPECT_EQ(SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE), g_intValue); in TEST()
31 EXPECT_TRUE(SharedData<uint8_t>::IsValid(SharedDataType::HEARTBEAT_VALUE, g_intMinValue)); in TEST()
32 EXPECT_TRUE(SharedData<uint8_t>::IsValid(SharedDataType::HEARTBEAT_VALUE, g_intMaxValue)); in TEST()
41 SharedData<uint8_t>(SharedDataType::HEARTBEAT_VALUE, g_intValue, g_intMinValue, g_intMaxValue); in TEST()
43 SharedData<uint8_t>::SetData(SharedDataType::HEARTBEAT_VALUE, newValue); in TEST()
44 EXPECT_EQ(SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE), newValue); in TEST()
49 SharedData<uint8_t>(SharedDataType::HEARTBEAT_VALUE, g_intValue, g_intMinValue, g_intMaxValue); in TEST()
53 SharedData<uint8_t>::AppendNotify(SharedDataType::HEARTBEAT_VALUE, func, curThreadId); in TEST()
56 SharedData<uint8_t>::SetData(SharedDataType::HEARTBEAT_VALUE, newValu in TEST()
[all...]
/ide/tools/previewer/mock/lite/
H A DSensorModuleImpl.cpp34 return SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE); in GetHeartRate()
/ide/tools/previewer/util/
H A DSharedDataManager.h32 HEARTBEAT_VALUE, member in SharedDataType
/ide/tools/previewer/test/unittest/mock_lite/
H A DSensorModuleImplTest.cpp35 SharedData<uint8_t>(SharedDataType::HEARTBEAT_VALUE, g_heartBeatVal, 0, 255); // 255 is max value in SetUpTestCase()
/ide/tools/previewer/
H A DThinPreviewer.cpp73 SharedData<uint8_t>(SharedDataType::HEARTBEAT_VALUE, 80, 0, 255); in InitSharedData()
/ide/tools/previewer/jsapp/lite/
H A DJsAppImpl.cpp167 SharedData<uint8_t>::AppendNotify(SharedDataType::HEARTBEAT_VALUE, TimerTaskHandler::CheckHeartRateChanged, in ThreadCallBack()
/ide/tools/previewer/test/unittest/cli/
H A DCommandLineInterfaceTest.cpp258 SharedData<uint8_t>(SharedDataType::HEARTBEAT_VALUE, 80, 0, 255); in InitSharedData()
306 EXPECT_EQ(SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE), 100); in TEST()
H A DCommandLineTest.cpp55 SharedData<uint8_t>(SharedDataType::HEARTBEAT_VALUE, 80, 0, 255); in SetUpTestCase()
1182 uint8_t mode = SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE); in TEST_F()
1189 mode = SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE); in TEST_F()
1196 mode = SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE); in TEST_F()
1203 mode = SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE); in TEST_F()
1214 uint8_t mode = SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE); in TEST_F()
/ide/tools/previewer/cli/
H A DCommandLine.cpp1091 result.Add("HeartRate", SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE)); in RunGet()
1098 SharedData<uint8_t>::SetData(SharedDataType::HEARTBEAT_VALUE, in RunSet()
1119 if (!SharedData<uint8_t>::IsValid(SharedDataType::HEARTBEAT_VALUE, temp)) { in IsSetArgValid()

Completed in 16 milliseconds