Home
last modified time | relevance | path

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

/base/powermgr/battery_lite/services/src/
H A Dbattery_device.c31 static IBattery g_device; variable
201 g_device.GetSoc = g_batteryFeatureHandle->GetSoc; in GetBatteryDeviceMethods()
202 g_device.GetChargingStatus = g_batteryFeatureHandle->GetChargingStatus; in GetBatteryDeviceMethods()
203 g_device.GetHealthStatus = g_batteryFeatureHandle->GetHealthStatus; in GetBatteryDeviceMethods()
204 g_device.GetPluggedType = g_batteryFeatureHandle->GetPluggedType; in GetBatteryDeviceMethods()
205 g_device.GetVoltage = g_batteryFeatureHandle->GetVoltage; in GetBatteryDeviceMethods()
206 g_device.GetTechnology = g_batteryFeatureHandle->GetTechnology; in GetBatteryDeviceMethods()
207 g_device.GetTemperature = g_batteryFeatureHandle->GetTemperature; in GetBatteryDeviceMethods()
208 g_device.TurnOnLed = g_batteryFeatureHandle->TurnOnLed; in GetBatteryDeviceMethods()
209 g_device in GetBatteryDeviceMethods()
[all...]
/base/msdp/device_status/test/unittest/intention/cooperate/src/
H A Dcooperate_plugin_test.cpp2578 std::shared_ptr<IDevice> g_device = std::make_shared<Device>(VREMOTE_NETWORKID); in HWTEST_F() local
2579 g_context->inputDevMgr_.AddRemoteInputDevice(LOCAL_NETWORKID, g_device); in HWTEST_F()
2580 g_context->inputDevMgr_.AddRemoteInputDevice(LOCAL_NETWORKID, g_device); in HWTEST_F()
2581 ASSERT_NO_FATAL_FAILURE(g_context->inputDevMgr_.RemoveRemoteInputDevice(LOCAL_NETWORKID, g_device)); in HWTEST_F()
2582 g_context->inputDevMgr_.AddRemoteInputDevice(LOCAL_NETWORKID, g_device); in HWTEST_F()
2586 g_context->inputDevMgr_.AddRemoteInputDevice(LOCAL_NETWORKID, g_device); in HWTEST_F()
2589 ASSERT_NO_FATAL_FAILURE(g_context->inputDevMgr_.SerializeDevice(g_device, packet)); in HWTEST_F()
2590 g_device = nullptr; in HWTEST_F()
2602 std::shared_ptr<IDevice> g_device = std::make_shared<Device>(VREMOTE_NETWORKID); in HWTEST_F() local
2604 int32_t ret = g_context->dsoftbus_.DeserializeDevice(g_device, pkt in HWTEST_F()
2623 std::shared_ptr<IDevice> g_device = std::make_shared<Device>(VREMOTE_NETWORKID); HWTEST_F() local
2644 std::shared_ptr<IDevice> g_device = std::make_shared<Device>(VREMOTE_NETWORKID); HWTEST_F() local
[all...]

Completed in 5 milliseconds