Home
last modified time | relevance | path

Searched refs:kValueSilentMode (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp84 WriteStringToFd(isSilent ? kValueSilentMode : kValueNonSilentMode, in updateSilentModeHwState()
183 ASSERT_EQ(handlerPeer.readKernelSilentMode(), kValueSilentMode) in TEST_F()
/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.cpp205 oldSilentMode = std::exchange(mSilentModeByHwState, Trim(buf) == kValueSilentMode); in handleSilentModeHwStateChange()
246 if (const auto& value = silent ? kValueSilentMode : kValueNonSilentMode; in updateKernelSilentMode()
DSilentModeHandler.h37 inline constexpr const char* kValueSilentMode = "1"; variable