Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DSoundDoseHelper.java196 private int mMusicActiveMs; field in SoundDoseHelper
618 mMusicActiveMs = MathUtils.constrain( in restoreMusicActiveMs()
728 mMusicActiveMs += (int) (curTimeMs - mLastMusicActiveTimeMs); in onCheckMusicActive()
731 Log.i(TAG, "onCheckMusicActive() mMusicActiveMs: " + mMusicActiveMs); in onCheckMusicActive()
732 if (mMusicActiveMs > UNSAFE_VOLUME_MUSIC_ACTIVE_MS_MAX) { in onCheckMusicActive()
734 mMusicActiveMs = 0; in onCheckMusicActive()
851 pw.print(" mMusicActiveMs="); pw.println(mMusicActiveMs); in dump()
1020 if (mMusicActiveMs == 0) { in updateSafeMediaVolume_l()
1097 mMusicActiveMs = 1; // nonzero = confirmed in setSafeMediaVolumeEnabled()
1115 mAudioHandler.obtainMessage(MSG_PERSIST_MUSIC_ACTIVE_MS, mMusicActiveMs, 0).sendToTarget(); in saveMusicActiveMs()