Home
last modified time | relevance | path

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

/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp1112 std::shared_ptr<IVhalClient> vhalService = IVhalClient::tryCreate(); in connectToVhalHelper() local
1113 if (vhalService == nullptr) { in connectToVhalHelper()
1126 vhalService->addOnBinderDiedCallback( in connectToVhalHelper()
1131 mVhalService = vhalService; in connectToVhalHelper()
1220 std::shared_ptr<IVhalClient> vhalService; in subscribeToProperty() local
1227 vhalService = mVhalService; in subscribeToProperty()
1231 vhalService->getValueSync(*vhalService->createHalPropValue(prop)); in subscribeToProperty()
1254 std::shared_ptr<IVhalClient> vhalService; in notifyVhalNewPowerPolicy() local
1260 vhalService = mVhalService; in notifyVhalNewPowerPolicy()
1262 std::unique_ptr<IHalPropValue> propValue = vhalService->createHalPropValue(prop); in notifyVhalNewPowerPolicy()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp1057 std::shared_ptr<IVhalClient> vhalService; in updateVhal() local
1065 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() local
1113 vhalService = mVhalService; in queryVhalProperties()
1120 if (auto result = vhalService->getPropConfigs({static_cast<int32_t>(propId)}); in queryVhalProperties()