Home
last modified time | relevance | path

Searched refs:endId (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hitrace/test/unittest/common/native/
Dhitracec_test.cpp210 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);
Dhitracecpp_test.cpp194 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));