Home
last modified time | relevance | path

Searched refs:g_state (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dplugin.cpp42 MetaObjectLib* g_state = nullptr; member
45 constexpr CORE_NS::InterfaceTypeInfo INTERFACE = { &g_state, IMetaObjectLib::UID, "Meta Object Lib", nullptr,
55 if (g_state == nullptr) { in RegisterInterfaces()
56 g_state = new MetaObjectLib; in RegisterInterfaces()
61 g_state->Initialize(); in RegisterInterfaces()
63 return g_state; in RegisterInterfaces()
67 if (token != g_state) { in UnregisterInterfaces()
70 if (g_state) { in UnregisterInterfaces()
71 g_state->Uninitialize(); in UnregisterInterfaces()
73 delete g_state; in UnregisterInterfaces()
[all...]
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_video_unit_test.cpp33 static int8_t g_state = 0; member
42 EXPECT_EQ(g_state, STATE_REWIND);
47 EXPECT_EQ(g_state, STATE_PAUSE);
52 EXPECT_EQ(g_state, STATE_PLAY);
57 EXPECT_EQ(g_state, STATE_STOP);
62 EXPECT_EQ(g_state, STATE_ERROR);
67 EXPECT_EQ(g_state, STATE_COMPLETE);
72 EXPECT_EQ(g_state, STATE_INFO);
77 EXPECT_EQ(g_state, STATE_RESIZE);
197 g_state in HWTEST_F()
[all...]
/foundation/communication/nfc/services/src/tag/
H A Dbt_connection_manager.cpp71 uint8_t g_state = 0; member
208 g_state = 0; in OnFinish()
407 InfoLog("NextActionInit: g_state: %{public}d", g_state); in NextActionInit()
408 if (g_state == STATE_WAITING_FOR_BT_ENABLE) { in NextActionInit()
411 if (g_state == STATE_INIT) { in NextActionInit()
424 g_state = STATE_INIT_COMPLETE; in NextActionInit()
546 InfoLog("NextActionConnect: state: %{public}d, pairState: %{public}d", g_state, pairState); in NextActionConnect()
547 switch (g_state) { in NextActionConnect()
550 g_state in NextActionConnect()
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/ble/phone/
H A Dble_auth_channel_phone_test.cpp41 bool g_state = false; member
125 } while (!g_state); in Wait()
127 g_state = false; in Wait()
132 g_state = true; in Start()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/ble/board/
H A Dble_auth_channel_test.cpp47 bool g_state = false; member
159 } while (!g_state); in Wait()
161 g_state = false; in Wait()
166 g_state = true; in Start()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/
H A Dtrans_tdc_sdk_test.c44 static bool g_state = true; variable
249 } while (!g_state); in Wait()
251 g_state = false; in Wait()
256 g_state = true; in Start()
/foundation/distributedhardware/device_manager/test/commonfuzztest/dmauthmanager_fuzzer/
H A Ddm_auth_manager_fuzzer.cpp47 int32_t g_state = 1; member
99 g_authManager->SetReasonAndFinish(g_reason, g_state); in DmAuthManagerFuzzTest()

Completed in 5 milliseconds