Home
last modified time | relevance | path

Searched refs:gInstanceName (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/health/2.0/utils/libhealthservice/
DHealthServiceCommon.cpp40 static std::string gInstanceName; variable
47 LOG(INFO) << LOG_TAG << gInstanceName << " Hal is starting up..."; in healthd_mode_service_2_0_init()
53 LOG(ERROR) << LOG_TAG << gInstanceName << ": Register for binder events failed"; in healthd_mode_service_2_0_init()
57 CHECK_EQ(service->registerAsService(gInstanceName), android::OK) in healthd_mode_service_2_0_init()
58 << LOG_TAG << gInstanceName << ": Failed to register HAL"; in healthd_mode_service_2_0_init()
60 LOG(INFO) << LOG_TAG << gInstanceName << ": Hal init done"; in healthd_mode_service_2_0_init()
86 gInstanceName = instance; in health_service_main()
87 if (gInstanceName.empty()) { in health_service_main()
88 gInstanceName = "default"; in health_service_main()
91 LOG(INFO) << LOG_TAG << gInstanceName << ": Hal starting main loop..."; in health_service_main()
/hardware/interfaces/health/2.1/default/
Dservice.cpp27 static constexpr const char* gInstanceName = "default"; variable
31 IHealth::castFrom(IHealth_2_0::getService(gInstanceName, true /* getStub */)); in main()
34 << gInstanceName; in main()
35 sp<BinderHealth> binder = new BinderHealth(gInstanceName, passthrough); in main()