Lines Matching refs:mSoundPlayer
2667 if (SOUND_SHUTTER == kind && mSoundPlayer[SOUND_SHUTTER] == NULL) { in loadSoundLocked()
2668 mSoundPlayer[SOUND_SHUTTER] = newMediaPlayer("/product/media/audio/ui/camera_click.ogg"); in loadSoundLocked()
2669 if (mSoundPlayer[SOUND_SHUTTER] == nullptr) { in loadSoundLocked()
2670 mSoundPlayer[SOUND_SHUTTER] = newMediaPlayer("/system/media/audio/ui/camera_click.ogg"); in loadSoundLocked()
2672 } else if (SOUND_RECORDING_START == kind && mSoundPlayer[SOUND_RECORDING_START] == NULL) { in loadSoundLocked()
2673 … mSoundPlayer[SOUND_RECORDING_START] = newMediaPlayer("/product/media/audio/ui/VideoRecord.ogg"); in loadSoundLocked()
2674 if (mSoundPlayer[SOUND_RECORDING_START] == nullptr) { in loadSoundLocked()
2675 mSoundPlayer[SOUND_RECORDING_START] = in loadSoundLocked()
2678 } else if (SOUND_RECORDING_STOP == kind && mSoundPlayer[SOUND_RECORDING_STOP] == NULL) { in loadSoundLocked()
2679 … mSoundPlayer[SOUND_RECORDING_STOP] = newMediaPlayer("/product/media/audio/ui/VideoStop.ogg"); in loadSoundLocked()
2680 if (mSoundPlayer[SOUND_RECORDING_STOP] == nullptr) { in loadSoundLocked()
2681 … mSoundPlayer[SOUND_RECORDING_STOP] = newMediaPlayer("/system/media/audio/ui/VideoStop.ogg"); in loadSoundLocked()
2692 if (mSoundPlayer[i] != 0) { in decreaseSoundRef()
2693 mSoundPlayer[i]->disconnect(); in decreaseSoundRef()
2694 mSoundPlayer[i].clear(); in decreaseSoundRef()
2705 sp<MediaPlayer> player = mSoundPlayer[kind]; in playSound()