Home
last modified time | relevance | path

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

/test/xts/hats/hdf/light/liteos/
Dhdf_light_test.cpp29 const struct LightInterface *g_lightDev = nullptr; variable
49 g_lightDev = NewLightInterfaceInstance(); in SetUpTestCase()
50 if (g_lightDev == nullptr) { in SetUpTestCase()
53 int32_t ret = g_lightDev->GetLightInfo(&g_lightInfo, &g_count); in SetUpTestCase()
61 if (g_lightDev != nullptr) { in TearDownTestCase()
63 g_lightDev = nullptr; in TearDownTestCase()
82 ASSERT_NE(nullptr, g_lightDev);
117 int32_t ret = g_lightDev->GetLightInfo(nullptr, &g_count);
119 ret = g_lightDev->GetLightInfo(&g_lightInfo, nullptr);
121 ret = g_lightDev->GetLightInfo(nullptr, nullptr);
[all …]