Home
last modified time | relevance | path

Searched refs:SilentModeHandler (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DSilentModeHandlerUnitTest.java67 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSilentModeHwStateMonitoring()
83 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testRebootForForcedSilentMode()
97 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testRebootForForcedNonSilentMode()
111 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testUpdateKernelSilentMode()
163 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSetSilentMode_toForced()
174 handler.setSilentMode(expectedSilentMode ? SilentModeHandler.SILENT_MODE_FORCED_SILENT in testSetSilentMode_toForced()
175 : SilentModeHandler.SILENT_MODE_FORCED_NON_SILENT); in testSetSilentMode_toForced()
183 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSetSilentMode_toNonForced()
189 handler.setSilentMode(SilentModeHandler.SILENT_MODE_NON_FORCED); in testSetSilentMode_toNonForced()
215 private void assertSilentMode(SilentModeHandler handler, boolean expectedMode) in assertSilentMode()
/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.cpp66 SilentModeHandler::SilentModeHandler(ISilentModeChangeHandler* handler) : in SilentModeHandler() function in android::frameworks::automotive::powerpolicy::SilentModeHandler
75 void SilentModeHandler::init() { in init()
92 void SilentModeHandler::release() { in release()
96 bool SilentModeHandler::isSilentMode() { in isSilentMode()
101 void SilentModeHandler::stopMonitoringSilentModeHwState(bool shouldWaitThread) { in stopMonitoringSilentModeHwState()
113 Result<void> SilentModeHandler::dump(int fd, const Vector<String16>& /*args*/) { in dump()
130 void SilentModeHandler::startMonitoringSilentModeHwState() { in startMonitoringSilentModeHwState()
192 void SilentModeHandler::handleSilentModeHwStateChange() { in handleSilentModeHwStateChange()
216 void SilentModeHandler::handleSilentModeChange(bool silent) { in handleSilentModeChange()
226 Result<void> SilentModeHandler::enableBootAnimation(bool enabled) { in enableBootAnimation()
[all …]
DSilentModeHandler.h53 class SilentModeHandler final {
55 explicit SilentModeHandler(ISilentModeChangeHandler* server);
DCarPowerPolicyServer.h220 SilentModeHandler mSilentModeHandler;
/packages/services/Car/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp49 bool waitForSilentMode(SilentModeHandler* handler, bool expectedSilentMode) { in waitForSilentMode()
69 explicit SilentModeHandlerPeer(SilentModeHandler* handler) : mHandler(handler) {} in SilentModeHandlerPeer()
99 SilentModeHandler* mHandler;
128 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
145 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
161 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
176 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java46 final class SilentModeHandler { class
51 private static final String TAG = CarLog.tagFor(SilentModeHandler.class);
76 SilentModeHandler(@NonNull CarPowerManagementService service, in SilentModeHandler() method in SilentModeHandler
DCarPowerManagementService.java101 SilentModeHandler.SILENT_MODE_FORCED_SILENT;
103 SilentModeHandler.SILENT_MODE_FORCED_NON_SILENT;
104 public static final String SILENT_MODE_NON_FORCED = SilentModeHandler.SILENT_MODE_NON_FORCED;
234 private final SilentModeHandler mSilentModeHandler;
301 mSilentModeHandler = new SilentModeHandler(this, silentModeHwStatePath, in CarPowerManagementService()
/packages/services/Car/cpp/powerpolicy/server/
DAndroid.bp47 "src/SilentModeHandler.cpp",