Home
last modified time | relevance | path

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

/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp138 std::shared_ptr<CarPowerPolicyServer> CarPowerPolicyServer::sCarPowerPolicyServer = nullptr; member in android::frameworks::automotive::powerpolicy::CarPowerPolicyServer
336 if (sCarPowerPolicyServer != nullptr) { in startService()
345 sCarPowerPolicyServer = server; in startService()
347 return sCarPowerPolicyServer; in startService()
351 if (sCarPowerPolicyServer != nullptr) { in terminateService()
352 sCarPowerPolicyServer->terminate(); in terminateService()
353 sCarPowerPolicyServer = nullptr; in terminateService()
DCarPowerPolicyServer.h336 static std::shared_ptr<CarPowerPolicyServer> sCarPowerPolicyServer;