Home
last modified time | relevance | path

Searched refs:g_capacity (Results 1 - 2 of 2) sorted by relevance

/base/sensors/miscdevice/services/miscdevice_service/src/
H A Dmiscdevice_service.cpp68 VibratorCapacity g_capacity; member
243 if (vibratorHdiConnection_.GetVibratorCapacity(g_capacity) != ERR_OK) { in InitInterface()
503 if (!(g_capacity.isSupportHdHaptic || g_capacity.isSupportPresetMapping || g_capacity.isSupportTimeDelay)) { in PlayVibratorCustom()
531 if (g_capacity.isSupportHdHaptic) { in PlayVibratorCustom()
533 } else if (g_capacity.isSupportPresetMapping) { in PlayVibratorCustom()
535 } else if (g_capacity.isSupportTimeDelay) { in PlayVibratorCustom()
688 if (g_capacity.isSupportHdHaptic) { in PlayPattern()
697 } else if (g_capacity in PlayPattern()
[all...]
/base/powermgr/battery_manager/test/systemtest/src/
H A Dbattery_event_system_test.cpp51 int32_t g_capacity = -1; member
254 g_capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultCapacity); in OnReceiveEvent()
621 EXPECT_EQ(g_capacity, capacity); in HWTEST_F()
633 EXPECT_EQ(g_capacity, capacity); in HWTEST_F()
643 EXPECT_EQ(g_capacity, capacity); in HWTEST_F()
655 EXPECT_EQ(g_capacity, BatterySrvClient::GetInstance().GetCapacity()); in HWTEST_F()

Completed in 3 milliseconds