Searched refs:tone (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/cat/
H A DToneSettings.java28 public Tone tone; field in class:ToneSettings
31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) { argument
33 this.tone = tone;
39 tone = in.readParcelable(null);
49 dest.writeParcelable(tone, 0);
H A DCommandParams.java83 Tone tone, Duration duration, boolean vibrate) {
86 this.settings = new ToneSettings(duration, tone, vibrate);
82 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
H A DCommandParamsFactory.java298 // parse tone duration
764 Tone tone = null;
777 tone = Tone.fromInt(toneVal);
789 // parse tone duration
804 mCmdParams = new PlayToneParams(cmdDet, textMsg, tone, duration, vibrate);
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/
H A Dvad1.h115 /* Note that each of the following three variables (vadreg, pitch and tone)
120 Word16 tone; /* flags for tone detection */ member in struct:__anon634
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp707 tone: flags indicating presence of a tone
778 /* if fullband pitch or tone have been detected for a while, initialize stat_count */
780 ((Word16)(st->tone & 0x7c00) == 0x7c00))
1735 state->tone = 0;
1958 Purpose : Set tone flag if pitch gain is high. This is used to detect
1960 Inputs : tone: flags indicating presence of a tone
1961 Outputs : tone: flags indicating presence of a tone
[all...]
/frameworks/base/services/audioflinger/
H A DAudioPolicyService.h133 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
143 // Thread used for tone playback and to send audio config commands to audio flinger
144 // For tone playback, using a separate thread is necessary to avoid deadlock with mLock because startTone()
145 // and stopTone() are normally called with mLock locked and requesting a tone start or stop will cause
153 // commands for tone AudioCommand
180 // descriptor for requested tone playback event
199 int mType; // tone type (START_TONE only)
224 ToneGenerator *mpToneGenerator; // the tone generator
281 sp <AudioCommandThread> mTonePlaybackThread; // tone playback thread
H A DAudioPolicyService.cpp76 // start tone playback thread
675 LOGV("AudioCommandThread() processing start tone %d on stream %d",
686 LOGV("AudioCommandThread() processing stop tone");
796 LOGV("AudioCommandThread() adding tone start type %d, stream %d", type, stream);
808 LOGV("AudioCommandThread() adding tone stop");
1027 int AudioPolicyService::startTone(audio_policy_tone_t tone, argument
1030 if (tone != AUDIO_POLICY_TONE_IN_CALL_NOTIFICATION)
1031 LOGE("startTone: illegal tone requested (%d)", tone);
1033 LOGE("startTone: illegal stream (%d) requested for tone
1481 aps_start_tone(void *service, audio_policy_tone_t tone, audio_stream_type_t stream) argument
[all...]

Completed in 443 milliseconds