Home
last modified time | relevance | path

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

/packages/services/Car/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp52 if (handler->isSilentMode() == expectedSilentMode) { in waitForSilentMode()
150 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
156 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
166 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
171 ASSERT_FALSE(handler.isSilentMode()) << "When booting with forced non-silent mode, silent mode " in TEST_F()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DSilentModeHandlerUnitTest.java88 assertWithMessage("Silent mode").that(handler.isSilentMode()).isTrue(); in testRebootForForcedSilentMode()
92 assertWithMessage("Silent mode in forced mode").that(handler.isSilentMode()).isTrue(); in testRebootForForcedSilentMode()
102 assertWithMessage("Silent mode").that(handler.isSilentMode()).isFalse(); in testRebootForForcedNonSilentMode()
106 assertWithMessage("Silent mode in forced mode").that(handler.isSilentMode()).isFalse(); in testRebootForForcedNonSilentMode()
220 if (handler.isSilentMode() == expectedMode && contents.equals(expectedValue)) { in assertSilentMode()
/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.h62 bool isSilentMode();
DSilentModeHandler.cpp96 bool SilentModeHandler::isSilentMode() { in isSilentMode() function in android::frameworks::automotive::powerpolicy::SilentModeHandler
/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java137 boolean isSilentMode() { in isSilentMode() method in SilentModeHandler
DCarPowerManagementService.java538 if (!mSilentModeHandler.isSilentMode() && isPreemptive) { in handleOn()