Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DSilentModeHandlerUnitTest.java71 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSilentModeHwStateMonitoring()
87 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testRebootForForcedSilentMode()
101 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testRebootForForcedNonSilentMode()
115 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testUpdateKernelSilentMode()
171 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testStopSilentModeHwStateMonitoring()
189 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSetSilentMode_toForced()
200 handler.setSilentMode(expectedSilentMode ? SilentModeHandler.SILENT_MODE_FORCED_SILENT in testSetSilentMode_toForced()
201 : SilentModeHandler.SILENT_MODE_FORCED_NON_SILENT); in testSetSilentMode_toForced()
209 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSetSilentMode_toNonForced()
215 handler.setSilentMode(SilentModeHandler.SILENT_MODE_NON_FORCED); in testSetSilentMode_toNonForced()
[all …]
DCarPowerManagementServiceUnitTest.java1894 mService.setSilentMode(SilentModeHandler.SILENT_MODE_FORCED_SILENT); in testPowerPolicyOnSilentBoot_powerPolicyRefactorFlagDisabled()
1904 mService.setSilentMode(SilentModeHandler.SILENT_MODE_FORCED_NON_SILENT); in testPowerPolicyOnSilentBoot_powerPolicyRefactorFlagDisabled()
1915 mService.setSilentMode(SilentModeHandler.SILENT_MODE_FORCED_SILENT); in testPowerPolicyOnSilentBoot_powerPolicyRefactorFlagEnabled()
1925 mService.setSilentMode(SilentModeHandler.SILENT_MODE_FORCED_NON_SILENT); in testPowerPolicyOnSilentBoot_powerPolicyRefactorFlagEnabled()
/packages/services/Car/cpp/powerpolicy/server/src/
DSilentModeHandler.cpp95 SilentModeHandler::SilentModeHandler(ISilentModeChangeHandler* handler) : in SilentModeHandler() function in android::frameworks::automotive::powerpolicy::SilentModeHandler
102 void SilentModeHandler::init() { in init()
128 void SilentModeHandler::release() { in release()
132 bool SilentModeHandler::isSilentMode() { in isSilentMode()
137 void SilentModeHandler::stopMonitoringSilentModeHwState() { in stopMonitoringSilentModeHwState()
147 ScopedAStatus SilentModeHandler::setSilentMode(const std::string& silentMode) { in setSilentMode()
170 Result<void> SilentModeHandler::dump(int fd, const Vector<String16>& /*args*/) { in dump()
193 void SilentModeHandler::startMonitoringSilentModeHwState() { in startMonitoringSilentModeHwState()
236 void SilentModeHandler::handleSilentModeHwStateChange() { in handleSilentModeHwStateChange()
260 void SilentModeHandler::handleSilentModeChange(bool silent) { in handleSilentModeChange()
[all …]
DSilentModeHandler.h58 class SilentModeHandler final {
60 explicit SilentModeHandler(ISilentModeChangeHandler* server);
DCarPowerPolicyServer.h343 SilentModeHandler mSilentModeHandler;
/packages/services/Car/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp61 explicit SilentModeHandlerPeer(SilentModeHandler* handler) : mHandler(handler) {} in SilentModeHandlerPeer()
95 SilentModeHandler* mHandler;
128 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
144 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
159 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
176 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
194 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
212 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
231 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F()
/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java54 final class SilentModeHandler { class
59 private static final String TAG = CarLog.tagFor(SilentModeHandler.class);
100 SilentModeHandler(@NonNull CarPowerManagementService service, FeatureFlags featureFlags, in SilentModeHandler() method in SilentModeHandler
DCarPowerManagementService.java148 SilentModeHandler.SILENT_MODE_FORCED_SILENT;
150 SilentModeHandler.SILENT_MODE_FORCED_NON_SILENT;
151 public static final String SILENT_MODE_NON_FORCED = SilentModeHandler.SILENT_MODE_NON_FORCED;
339 private final SilentModeHandler mSilentModeHandler;
575 mSilentModeHandler = new SilentModeHandler(this, mFeatureFlags, in CarPowerManagementService()
/packages/services/Car/cpp/powerpolicy/server/
DAndroid.bp59 "src/SilentModeHandler.cpp",