Lines Matching refs:handler
61 explicit SilentModeHandlerPeer(SilentModeHandler* handler) : mHandler(handler) {} in SilentModeHandlerPeer() argument
128 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
129 internal::SilentModeHandlerPeer handlerPeer(&handler); in TEST_F()
133 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
139 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
144 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
145 internal::SilentModeHandlerPeer handlerPeer(&handler); 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()
159 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
160 internal::SilentModeHandlerPeer handlerPeer(&handler); in TEST_F()
176 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
177 internal::SilentModeHandlerPeer handlerPeer(&handler); in TEST_F()
184 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
189 ASSERT_TRUE(handler.isSilentMode()) in TEST_F()
194 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
195 internal::SilentModeHandlerPeer handlerPeer(&handler); in TEST_F()
202 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
207 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
212 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
213 internal::SilentModeHandlerPeer handlerPeer(&handler); in TEST_F()
221 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
226 ASSERT_FALSE(handler.isSilentMode()) in TEST_F()
231 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
232 internal::SilentModeHandlerPeer handlerPeer(&handler); in TEST_F()