Searched refs:vhalService (Results 1 – 2 of 2) sorted by relevance
1112 std::shared_ptr<IVhalClient> vhalService = IVhalClient::tryCreate(); in connectToVhalHelper() local1113 if (vhalService == nullptr) { in connectToVhalHelper()1126 vhalService->addOnBinderDiedCallback( in connectToVhalHelper()1131 mVhalService = vhalService; in connectToVhalHelper()1220 std::shared_ptr<IVhalClient> vhalService; in subscribeToProperty() local1227 vhalService = mVhalService; in subscribeToProperty()1231 vhalService->getValueSync(*vhalService->createHalPropValue(prop)); in subscribeToProperty()1254 std::shared_ptr<IVhalClient> vhalService; in notifyVhalNewPowerPolicy() local1260 vhalService = mVhalService; in notifyVhalNewPowerPolicy()1262 std::unique_ptr<IHalPropValue> propValue = vhalService->createHalPropValue(prop); in notifyVhalNewPowerPolicy()[all …]
1057 std::shared_ptr<IVhalClient> vhalService; in updateVhal() local1065 vhalService = mVhalService; in updateVhal()1068 auto halPropValue = vhalService->createHalPropValue(propId); in updateVhal()1072 if (auto result = vhalService->setValueSync(*halPropValue); !result.ok()) { in updateVhal()1110 std::shared_ptr<IVhalClient> vhalService; in queryVhalProperties() local1113 vhalService = mVhalService; in queryVhalProperties()1120 if (auto result = vhalService->getPropConfigs({static_cast<int32_t>(propId)}); in queryVhalProperties()