Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 8 of 8) sorted by relevance

/base/hiviewdfx/hitrace/test/unittest/common/native/
Dhitracec_test.cpp96 HiTraceIdStruct getId = HiTraceGetId(); variable
97 EXPECT_EQ(1, HiTraceIsValid(&getId));
98 EXPECT_EQ(chainId, HiTraceGetChainId(&getId));
99 EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, HiTraceGetFlags(&getId));
100 EXPECT_EQ(spanId, HiTraceGetSpanId(&getId));
101 EXPECT_EQ(parentSpanId, HiTraceGetParentSpanId(&getId));
102 PRINT_ID(&getId);
110 getId = HiTraceGetId();
111 EXPECT_EQ(1, HiTraceIsValid(&getId));
112 EXPECT_EQ(chainId, HiTraceGetChainId(&getId));
[all …]
Dhitracecpp_test.cpp88 HiTraceId getId = HiTrace::GetId(); variable
89 EXPECT_EQ(1, getId.IsValid());
90 EXPECT_EQ(CHAIN_ID, getId.GetChainId());
91 EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, getId.GetFlags());
92 EXPECT_EQ(SPAN_ID, getId.GetSpanId());
93 EXPECT_EQ(PARENT_SPAN_ID, getId.GetParentSpanId());
98 getId = HiTrace::GetId();
99 EXPECT_EQ(1, getId.IsValid());
100 EXPECT_EQ(CHAIN_ID, getId.GetChainId());
101 EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, getId.GetFlags());
[all …]
/base/miscservices/wallpaper/interfaces/kits/jskits/
D@ohos.wallpaper.d.ts52 function getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
53 function getId(wallpaperType: WallpaperType): Promise<number>;
/base/miscservices/inputmethod/services/include/
Dkeyboard_type.h40 int32_t getId() const;
/base/miscservices/inputmethod/unitest/src/
Dinput_method_ability_test.cpp140 EXPECT_TRUE(deserialization->getId() == def_value);
/base/miscservices/inputmethod/services/src/
Dkeyboard_type.cpp145 int32_t KeyboardType::getId() const in getId() function in OHOS::MiscServices::KeyboardType
/base/miscservices/wallpaper/
DREADME.md41 …418"><a name="p12832214151418"></a><a name="p12832214151418"></a>function getId(wallpaperType: Wal…
DREADME_ZH.md47 …418"><a name="p12832214151418"></a><a name="p12832214151418"></a>function getId(wallpaperType: Wal…