Home
last modified time | relevance | path

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

/base/powermgr/battery_lite/frameworks/native/src/mini/
Dbattery_framework.c50 BatteryInterface *intf = GetBatteryInterface(); in GetBatSoc() local
51 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetBatSoc()
52 ret = intf->GetBatSocFunc((IUnknown *)intf); in GetBatSoc()
60 BatteryInterface *intf = GetBatteryInterface(); in GetChargingStatus() local
61 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetChargingStatus()
62 state = intf->GetChargingStatusFunc((IUnknown *)intf); in GetChargingStatus()
70 BatteryInterface *intf = GetBatteryInterface(); in GetHealthStatus() local
71 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetHealthStatus()
72 state = intf->GetHealthStatusFunc((IUnknown *)intf); in GetHealthStatus()
80 BatteryInterface *intf = GetBatteryInterface(); in GetPluggedType() local
[all …]
/base/powermgr/powermgr_lite/frameworks/src/mini/
Dpower_manage.c69 PowerManageInterface *intf = GetPowerManageInterface(); in AcquireRunningLockEntry() local
70 if ((intf != NULL) && (intf->AcquireRunningLockEntryFunc != NULL)) { in AcquireRunningLockEntry()
71 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()
79 PowerManageInterface *intf = GetPowerManageInterface(); in ReleaseRunningLockEntry() local
80 if ((intf != NULL) && (intf->ReleaseRunningLockEntryFunc != NULL)) { in ReleaseRunningLockEntry()
81 ret = intf->ReleaseRunningLockEntryFunc((IUnknown *)intf, entry); in ReleaseRunningLockEntry()
89 PowerManageInterface *intf = GetPowerManageInterface(); in IsAnyRunningLockHolding() local
90 if ((intf != NULL) && (intf->IsAnyRunningLockHoldingFunc != NULL)) { in IsAnyRunningLockHolding()
91 ret = intf->IsAnyRunningLockHoldingFunc((IUnknown *)intf); in IsAnyRunningLockHolding()
98 PowerManageInterface *intf = GetPowerManageInterface(); in SuspendDevice() local
[all …]
/base/powermgr/battery_lite/frameworks/native/src/small/
Dbattery_framework.c246 BatteryProxyInterface *intf = GetBatteryInterface(); in GetBatSoc() local
248 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetBatSoc()
249 ret = intf->GetBatSocFunc((IUnknown *)intf); in GetBatSoc()
257 BatteryProxyInterface *intf = GetBatteryInterface(); in GetChargingStatus() local
258 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetChargingStatus()
259 state = intf->GetChargingStatusFunc((IUnknown *)intf); in GetChargingStatus()
267 BatteryProxyInterface *intf = GetBatteryInterface(); in GetHealthStatus() local
268 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetHealthStatus()
269 state = intf->GetHealthStatusFunc((IUnknown *)intf); in GetHealthStatus()
277 BatteryProxyInterface *intf = GetBatteryInterface(); in GetPluggedType() local
[all …]
/base/powermgr/powermgr_lite/frameworks/src/small/
Dpower_manage.c213 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in AcquireRunningLockEntry() local
214 if ((intf != NULL) && (intf->AcquireRunningLockEntryFunc != NULL)) { in AcquireRunningLockEntry()
215 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()
223 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in ReleaseRunningLockEntry() local
224 if ((intf != NULL) && (intf->ReleaseRunningLockEntryFunc != NULL)) { in ReleaseRunningLockEntry()
225 ret = intf->ReleaseRunningLockEntryFunc((IUnknown *)intf, entry); in ReleaseRunningLockEntry()
233 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in IsAnyRunningLockHolding() local
234 if ((intf != NULL) && (intf->IsAnyRunningLockHoldingFunc != NULL)) { in IsAnyRunningLockHolding()
235 ret = intf->IsAnyRunningLockHoldingFunc((IUnknown *)intf); in IsAnyRunningLockHolding()
268 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in SuspendDevice() local
[all …]
Dpower_screen_saver.c130 ScreenSaverProxyInterface *intf = GetScreenSaverProxyInterface(); in SetScreenSaverState() local
131 if ((intf != NULL) && (intf->SetScreenSaverStateFunc != NULL)) { in SetScreenSaverState()
132 ret = intf->SetScreenSaverStateFunc((IUnknown *)intf, enable); in SetScreenSaverState()
/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_config.h170 for (auto &intf : interfaces_) { in ToJson()
171 interfaces.append(intf.ToJson()); in ToJson()
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz