HomeSort by relevance Sort by last modified time
    Searched refs:g_svc (Results 1 - 2 of 2) sorted by null

  /external/perfetto/src/android_internal/
health_hal.cc 30 android::sp<IHealth> g_svc; member in namespace:perfetto::android_internal::__anon35793
33 g_svc = ::android::hardware::health::V2_0::get_health_service();
40 if (!g_svc)
43 if (!g_svc)
58 g_svc->getChargeCounter([&res, value](Result hal_res, int32_t hal_value) {
65 g_svc->getCapacity([&res, value](Result hal_res, int64_t hal_value) {
72 g_svc->getCurrentNow([&res, value](Result hal_res, int32_t hal_value) {
79 g_svc->getCurrentAverage(
88 g_svc.clear();
power_stats_hal.cc 37 android::sp<IPowerStats> g_svc; member in namespace:perfetto::android_internal::__anon35794
40 if (!g_svc)
41 g_svc = IPowerStats::getService();
43 return g_svc != nullptr;
77 Return<void> ret = g_svc->getRailInfo(rails_cb);
105 Return<void> ret = g_svc->getEnergyData(hidl_vec<uint32_t>(), energy_cb);

Completed in 2244 milliseconds