Home
last modified time | relevance | path

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

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DDeviceStateHandlerTest.java21 import static android.os.PowerManager.SOUND_TRIGGER_MODE_CRITICAL_ONLY;
111 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in onPowerModeChangedCritical_receiveStateChange()
129 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in onPowerModeChangedMultiple_receiveStateChange()
141 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in onPowerModeSameState_noStateChange()
143 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in onPowerModeSameState_noStateChange()
186 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in onBatteryCallbackDuringPhoneWait_receiveStateChangeDelayed()
198 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in onBatteryChangeWhenInPhoneCall_receiveNoStateChange()
207 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in whenBatteryCriticalChangeDuringCallAfterPhoneCall_receiveCriticalStateChange()
222 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in whenBatteryDisableDuringCallAfterPhoneCallBatteryEnable_receiveStateChange()
238 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_CRITICAL_ONLY); in whenPhoneCallDuringBatteryCritical_receiveStateChange()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DDeviceStateHandler.java21 import static android.os.PowerManager.SOUND_TRIGGER_MODE_CRITICAL_ONLY;
189 case SOUND_TRIGGER_MODE_CRITICAL_ONLY -> SoundTriggerDeviceState.CRITICAL; in computeState()
260 case SOUND_TRIGGER_MODE_CRITICAL_ONLY -> "Critical only"; in stateToString()
/frameworks/native/services/powermanager/include/android/
DSoundTriggerMode.h24 CRITICAL_ONLY = IPowerManager::SOUND_TRIGGER_MODE_CRITICAL_ONLY,
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java423 + "=" + PowerManager.SOUND_TRIGGER_MODE_CRITICAL_ONLY, in testUserSettingsOverrideDeviceConfig()
465 assertEquals(PowerManager.SOUND_TRIGGER_MODE_CRITICAL_ONLY, policy.soundTriggerMode); in testUserSettingsOverrideDeviceConfig()
569 PowerManager.SOUND_TRIGGER_MODE_CRITICAL_ONLY) in testDeviceConfig_AdaptiveValues()
588 assertEquals(PowerManager.SOUND_TRIGGER_MODE_CRITICAL_ONLY, policy.soundTriggerMode); in testDeviceConfig_AdaptiveValues()
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java414 PowerManager.SOUND_TRIGGER_MODE_CRITICAL_ONLY, in testPowerSaveStateNativeToJava()
433 PowerManager.SOUND_TRIGGER_MODE_CRITICAL_ONLY, in testSetPowerSaveStateJavaToNative()
/frameworks/base/core/java/android/os/
DPowerManager.java1110 public static final int SOUND_TRIGGER_MODE_CRITICAL_ONLY = 1; field in PowerManager
1130 SOUND_TRIGGER_MODE_CRITICAL_ONLY,
/frameworks/base/core/api/
Dsystem-current.txt11026 field public static final int SOUND_TRIGGER_MODE_CRITICAL_ONLY = 1; // 0x1