Searched refs:intf (Results 1 – 7 of 7) sorted by relevance
50 BatteryInterface *intf = GetBatteryInterface(); in GetBatSoc() local51 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetBatSoc()52 ret = intf->GetBatSocFunc((IUnknown *)intf); in GetBatSoc()60 BatteryInterface *intf = GetBatteryInterface(); in GetChargingStatus() local61 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetChargingStatus()62 state = intf->GetChargingStatusFunc((IUnknown *)intf); in GetChargingStatus()70 BatteryInterface *intf = GetBatteryInterface(); in GetHealthStatus() local71 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetHealthStatus()72 state = intf->GetHealthStatusFunc((IUnknown *)intf); in GetHealthStatus()80 BatteryInterface *intf = GetBatteryInterface(); in GetPluggedType() local[all …]
69 PowerManageInterface *intf = GetPowerManageInterface(); in AcquireRunningLockEntry() local70 if ((intf != NULL) && (intf->AcquireRunningLockEntryFunc != NULL)) { in AcquireRunningLockEntry()71 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()79 PowerManageInterface *intf = GetPowerManageInterface(); in ReleaseRunningLockEntry() local80 if ((intf != NULL) && (intf->ReleaseRunningLockEntryFunc != NULL)) { in ReleaseRunningLockEntry()81 ret = intf->ReleaseRunningLockEntryFunc((IUnknown *)intf, entry); in ReleaseRunningLockEntry()89 PowerManageInterface *intf = GetPowerManageInterface(); in IsAnyRunningLockHolding() local90 if ((intf != NULL) && (intf->IsAnyRunningLockHoldingFunc != NULL)) { in IsAnyRunningLockHolding()91 ret = intf->IsAnyRunningLockHoldingFunc((IUnknown *)intf); in IsAnyRunningLockHolding()98 PowerManageInterface *intf = GetPowerManageInterface(); in SuspendDevice() local[all …]
246 BatteryProxyInterface *intf = GetBatteryInterface(); in GetBatSoc() local248 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetBatSoc()249 ret = intf->GetBatSocFunc((IUnknown *)intf); in GetBatSoc()257 BatteryProxyInterface *intf = GetBatteryInterface(); in GetChargingStatus() local258 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetChargingStatus()259 state = intf->GetChargingStatusFunc((IUnknown *)intf); in GetChargingStatus()267 BatteryProxyInterface *intf = GetBatteryInterface(); in GetHealthStatus() local268 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetHealthStatus()269 state = intf->GetHealthStatusFunc((IUnknown *)intf); in GetHealthStatus()277 BatteryProxyInterface *intf = GetBatteryInterface(); in GetPluggedType() local[all …]
213 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in AcquireRunningLockEntry() local214 if ((intf != NULL) && (intf->AcquireRunningLockEntryFunc != NULL)) { in AcquireRunningLockEntry()215 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()223 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in ReleaseRunningLockEntry() local224 if ((intf != NULL) && (intf->ReleaseRunningLockEntryFunc != NULL)) { in ReleaseRunningLockEntry()225 ret = intf->ReleaseRunningLockEntryFunc((IUnknown *)intf, entry); in ReleaseRunningLockEntry()233 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in IsAnyRunningLockHolding() local234 if ((intf != NULL) && (intf->IsAnyRunningLockHoldingFunc != NULL)) { in IsAnyRunningLockHolding()235 ret = intf->IsAnyRunningLockHoldingFunc((IUnknown *)intf); in IsAnyRunningLockHolding()268 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in SuspendDevice() local[all …]
130 ScreenSaverProxyInterface *intf = GetScreenSaverProxyInterface(); in SetScreenSaverState() local131 if ((intf != NULL) && (intf->SetScreenSaverStateFunc != NULL)) { in SetScreenSaverState()132 ret = intf->SetScreenSaverStateFunc((IUnknown *)intf, enable); in SetScreenSaverState()
170 for (auto &intf : interfaces_) { in ToJson()171 interfaces.append(intf.ToJson()); in ToJson()