Home
last modified time | relevance | path

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

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DDeviceStateHandlerTest.java19 import static android.os.PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED;
119 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in onPowerModeChangedDisabled_receiveStateChange()
127 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in onPowerModeChangedMultiple_receiveStateChange()
131 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in onPowerModeChangedMultiple_receiveStateChange()
137 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in onPowerModeSameState_noStateChange()
139 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in onPowerModeSameState_noStateChange()
218 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in whenBatteryDisableDuringCallAfterPhoneCallBatteryEnable_receiveStateChange()
228 mHandler.onPowerModeChanged(SOUND_TRIGGER_MODE_ALL_DISABLED); in whenPhoneCallDuringBatteryDisable_receiveNoStateChange()
/frameworks/native/services/powermanager/include/android/
DSoundTriggerMode.h25 ALL_DISABLED = IPowerManager::SOUND_TRIGGER_MODE_ALL_DISABLED,
27 MAX = IPowerManager::SOUND_TRIGGER_MODE_ALL_DISABLED,
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DDeviceStateHandler.java19 import static android.os.PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED;
190 case SOUND_TRIGGER_MODE_ALL_DISABLED -> SoundTriggerDeviceState.DISABLE; in computeState()
261 case SOUND_TRIGGER_MODE_ALL_DISABLED -> "All disabled"; in stateToString()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java445 PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED) in testUserSettingsOverrideDeviceConfig()
491 PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED) in testDeviceConfigOverridesDefaults()
512 assertEquals(PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED, in testDeviceConfigOverridesDefaults()
540 PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED) in testDeviceConfig_AdaptiveValues()
/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java262 return mSoundTriggerMode == PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED; in getDisableSoundTrigger()
469 mSoundTriggerMode = PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED; in setDisableSoundTrigger()
DPowerManager.java1117 public static final int SOUND_TRIGGER_MODE_ALL_DISABLED = 2; field in PowerManager
1122 public static final int MAX_SOUND_TRIGGER_MODE = SOUND_TRIGGER_MODE_ALL_DISABLED;
1131 SOUND_TRIGGER_MODE_ALL_DISABLED,
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java419 PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED, in testPowerSaveStateNativeToJava()
438 PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED, in testSetPowerSaveStateJavaToNative()
/frameworks/base/core/api/
Dsystem-current.txt11024 field public static final int SOUND_TRIGGER_MODE_ALL_DISABLED = 2; // 0x2