Home
last modified time | relevance | path

Searched refs:isSilentMode (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp133 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
139 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
149 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
154 ASSERT_FALSE(handler.isSilentMode()) << "When booting with forced non-silent mode, silent mode " in TEST_F()
184 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
189 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
202 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
207 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
221 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
226 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DSilentModeHandlerUnitTest.java92 assertWithMessage("Silent mode").that(handler.isSilentMode()).isTrue(); in testRebootForForcedSilentMode()
96 assertWithMessage("Silent mode in forced mode").that(handler.isSilentMode()).isTrue(); in testRebootForForcedSilentMode()
106 assertWithMessage("Silent mode").that(handler.isSilentMode()).isFalse(); in testRebootForForcedNonSilentMode()
110 assertWithMessage("Silent mode in forced mode").that(handler.isSilentMode()).isFalse(); in testRebootForForcedNonSilentMode()
180 boolean currentSilentMode = handler.isSilentMode(); in testStopSilentModeHwStateMonitoring()
248 if (handler.isSilentMode() == expectedMode in assertSilentMode()
/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.h67 bool isSilentMode();
DSilentModeHandler.cpp132 bool SilentModeHandler::isSilentMode() { in isSilentMode() function in android::frameworks::automotive::powerpolicy::SilentModeHandler
DCarPowerPolicyServer.cpp631 const bool useForce = !mSilentModeHandler.isSilentMode(); in applyPowerPolicyPerPowerStateChangeAsync()
/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java188 boolean isSilentMode() { in isSilentMode() method in SilentModeHandler
DCarPowerManagementService.java978 if (!mSilentModeHandler.isSilentMode()) { in handleWaitForVhal()
1056 if (!mSilentModeHandler.isSilentMode()) { in handleOn()