Home
last modified time | relevance | path

Searched refs:silentMode (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java135 boolean silentMode; in init()
138 silentMode = mSilentModeByHwState; in init()
141 updateKernelSilentMode(silentMode); in init()
143 mService.notifySilentModeChange(silentMode); in init()
217 void setSilentMode(String silentMode) { in setSilentMode() argument
218 switch (silentMode) { in setSilentMode()
229 Slogf.w(TAG, "Unsupported silent mode: %s", silentMode); in setSilentMode()
233 private void switchToForcedMode(boolean silentMode) { in switchToForcedMode() argument
240 if (mSilentModeByHwState != silentMode) { in switchToForcedMode()
241 mSilentModeByHwState = silentMode; in switchToForcedMode()
[all …]
DCarPowerManagementService.java3701 public void setSilentMode(String silentMode) { in setSilentMode() argument
3703 mSilentModeHandler.setSilentMode(silentMode); in setSilentMode()
3711 daemon.setSilentMode(silentMode); in setSilentMode()
3714 + "mode(%s)", silentMode); in setSilentMode()
3722 Slogf.i(TAG, "Set the new silent mode(%s) to CPPD", silentMode); in setSilentMode()
/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.cpp147 ScopedAStatus SilentModeHandler::setSilentMode(const std::string& silentMode) { in setSilentMode() argument
148 if (kSilentModeToType.count(silentMode) == 0) { in setSilentMode()
152 silentMode.c_str()) in setSilentMode()
155 int32_t silentModeType = kSilentModeToType.at(silentMode); in setSilentMode()
DSilentModeHandler.h71 ndk::ScopedAStatus setSilentMode(const std::string& silentMode);
DCarPowerPolicyServer.cpp315 ScopedAStatus CarPowerPolicyDelegate::setSilentMode(const std::string& silentMode) { in setSilentMode() argument
316 return runWithService([silentMode](CarPowerPolicyServer* service) in setSilentMode()
317 -> ScopedAStatus { return service->setSilentMode(silentMode); }, in setSilentMode()
641 ScopedAStatus CarPowerPolicyServer::setSilentMode(const std::string& silentMode) { in setSilentMode() argument
646 if (auto ret = mSilentModeHandler.setSilentMode(silentMode); !ret.isOk()) { in setSilentMode()
647 ALOGW("Failed to set Silent Mode(%s)", silentMode.c_str()); in setSilentMode()
DCarPowerPolicyServer.h154 ndk::ScopedAStatus setSilentMode(const std::string& silentMode) override;
227 ndk::ScopedAStatus setSilentMode(const std::string& silentMode);
/packages/services/Car/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp90 ScopedAStatus setSilentMode(const std::string& silentMode) { in setSilentMode() argument
91 return mHandler->setSilentMode(silentMode); in setSilentMode()
/packages/services/Car/cpp/powerpolicy/aidl/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl152 void setSilentMode(in @utf8InCpp String silentMode); in setSilentMode() argument
/packages/services/Car/cpp/powerpolicy/aidl/aidl_api/android.automotive.powerpolicy.delegate/1/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl43 void setSilentMode(in @utf8InCpp String silentMode); in setSilentMode() argument
/packages/services/Car/cpp/powerpolicy/aidl/aidl_api/android.automotive.powerpolicy.delegate/current/android/automotive/powerpolicy/internal/
DICarPowerPolicyDelegate.aidl43 void setSilentMode(in @utf8InCpp String silentMode); in setSilentMode() argument