Searched refs:endId (Results 1 – 2 of 2) sorted by relevance
/base/hiviewdfx/hitrace/test/unittest/common/native/ |
D | hitracec_test.cpp | 210 HiTraceIdStruct endId = HiTraceGetId(); variable 211 EXPECT_EQ(0, HiTraceIsValid(&endId)); 212 PRINT_ID(&endId); 247 HiTraceIdStruct endId = HiTraceGetId(); variable 248 EXPECT_EQ(1, HiTraceIsValid(&endId)); 249 EXPECT_EQ(HiTraceGetChainId(&endId), HiTraceGetChainId(&beginId)); 250 EXPECT_EQ(1, HiTraceIsFlagEnabled(&endId, HITRACE_FLAG_INCLUDE_ASYNC)); 251 EXPECT_EQ(0, HiTraceIsFlagEnabled(&endId, HITRACE_FLAG_TP_INFO)); 252 PRINT_ID(&endId);
|
D | hitracecpp_test.cpp | 194 HiTraceId endId = HiTrace::GetId(); variable 195 EXPECT_EQ(0, endId.IsValid()); 228 HiTraceId endId = HiTrace::GetId(); variable 229 EXPECT_EQ(1, endId.IsValid()); 230 EXPECT_EQ(endId.GetChainId(), beginId.GetChainId()); 231 EXPECT_EQ(1, endId.IsFlagEnabled(HITRACE_FLAG_INCLUDE_ASYNC)); 232 EXPECT_EQ(0, endId.IsFlagEnabled(HITRACE_FLAG_TP_INFO));
|