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

/frameworks/opt/telephony/src/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);
51 dest.writeParcelable(tone, 0);
H A DCommandParams.java90 Tone tone, Duration duration, boolean vibrate) {
93 mSettings = new ToneSettings(duration, tone, vibrate);
89 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
H A DCommandParamsFactory.java314 // parse tone duration
753 Tone tone = null;
766 tone = Tone.fromInt(toneVal);
778 // parse tone duration
793 mCmdParams = new PlayToneParams(cmdDet, textMsg, tone, duration, vibrate);
/frameworks/av/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:__anon585
/frameworks/av/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/av/services/audioflinger/
H A DAudioPolicyService.cpp68 // start tone playback thread
683 ALOGV("AudioCommandThread() processing start tone %d on stream %d",
693 ALOGV("AudioCommandThread() processing stop tone");
803 ALOGV("AudioCommandThread() adding tone start type %d, stream %d", type, stream);
814 ALOGV("AudioCommandThread() adding tone stop");
1032 int AudioPolicyService::startTone(audio_policy_tone_t tone, argument
1035 if (tone != AUDIO_POLICY_TONE_IN_CALL_NOTIFICATION)
1036 ALOGE("startTone: illegal tone requested (%d)", tone);
1038 ALOGE("startTone: illegal stream (%d) requested for tone
1530 aps_start_tone(void *service, audio_policy_tone_t tone, audio_stream_type_t stream) argument
[all...]
H A DAudioPolicyService.h135 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
145 // Thread used for tone playback and to send audio config commands to audio flinger
146 // For tone playback, using a separate thread is necessary to avoid deadlock with mLock because
147 // startTone() and stopTone() are normally called with mLock locked and requesting a tone start
155 // commands for tone AudioCommand
185 // descriptor for requested tone playback event
204 ToneGenerator::tone_type mType; // tone type (START_TONE only)
229 ToneGenerator *mpToneGenerator; // the tone generator
315 sp<AudioCommandThread> mTonePlaybackThread; // tone playback thread

Completed in 1138 milliseconds