Home
last modified time | relevance | path

Searched refs:mSoundTriggerMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java54 private final int mSoundTriggerMode; field in BatterySaverPolicyConfig
77 mSoundTriggerMode = Math.max(PowerManager.MIN_SOUND_TRIGGER_MODE, in BatterySaverPolicyConfig()
78 Math.min(in.mSoundTriggerMode, PowerManager.MAX_SOUND_TRIGGER_MODE)); in BatterySaverPolicyConfig()
113 mSoundTriggerMode = Math.max(PowerManager.MIN_SOUND_TRIGGER_MODE, in BatterySaverPolicyConfig()
163 dest.writeInt(mSoundTriggerMode); in writeToParcel()
189 + "soundtrigger_mode=" + mSoundTriggerMode + "," in toString()
252 return mSoundTriggerMode; in getSoundTriggerMode()
262 return mSoundTriggerMode == PowerManager.SOUND_TRIGGER_MODE_ALL_DISABLED; in getDisableSoundTrigger()
339 private int mSoundTriggerMode = PowerManager.SOUND_TRIGGER_MODE_ALL_ENABLED; field in BatterySaverPolicyConfig.Builder
373 mSoundTriggerMode = batterySaverPolicyConfig.getSoundTriggerMode(); in Builder()
[all …]
DPowerSaveState.java45 soundTriggerMode = builder.mSoundTriggerMode; in PowerSaveState()
76 private int mSoundTriggerMode = PowerManager.SOUND_TRIGGER_MODE_ALL_ENABLED; field in PowerSaveState.Builder
92 mSoundTriggerMode = mode; in setSoundTriggerMode()
/frameworks/native/services/powermanager/include/android/
DPowerSaveState.h42 mSoundTriggerMode(soundTriggerMode), in mBatterySaverEnabled()
49 SoundTriggerMode getSoundTriggerMode() const { return mSoundTriggerMode; } in getSoundTriggerMode()
69 SoundTriggerMode mSoundTriggerMode; member
DBatterySaverPolicyConfig.h72 mSoundTriggerMode(soundTriggerMode) { in mAdjustBrightnessFactor()
96 mSoundTriggerMode == bsp.mSoundTriggerMode;
139 SoundTriggerMode mSoundTriggerMode; member
/frameworks/native/services/powermanager/
DPowerSaveState.cpp34 ?: parcel->readInt32(reinterpret_cast<int32_t *>(&mSoundTriggerMode)) in readFromParcel()
47 ?: parcel->writeInt32(static_cast<int32_t>(mSoundTriggerMode)) in writeToParcel()
DBatterySaverPolicyConfig.cpp67 ?: parcel->readInt32(reinterpret_cast<int32_t *>(&mSoundTriggerMode)); in readFromParcel()
109 ?: parcel->writeInt32(static_cast<int32_t>(mSoundTriggerMode)); in writeToParcel()