Searched refs:tone (Results 1 - 11 of 11) 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.java98 Tone tone, Duration duration, boolean vibrate) {
101 mSettings = new ToneSettings(duration, tone, vibrate);
97 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
H A DCommandParamsFactory.java326 // parse tone duration
814 Tone tone = null;
827 tone = Tone.fromInt(toneVal);
839 // parse tone duration
854 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:__anon357
/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.java114 * @param toneToPlay The tone to play on disconnect, as defined in {@link ToneGenerator}.
167 * Returns the tone to play when disconnected.
169 * @return the tone as defined in {@link ToneGenerator} to play when disconnected.
182 int tone = source.readInt();
183 return new DisconnectCause(code, label, description, reason, tone);
/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/audiopolicy/
H A DAudioPolicyClientImpl.cpp158 status_t AudioPolicyService::AudioPolicyClient::startTone(audio_policy_tone_t tone, argument
161 return mAudioPolicyService->startTone(tone, stream);
H A DAudioPolicyClientImplLegacy.cpp292 int aps_start_tone(void *service, audio_policy_tone_t tone, argument
297 return audioPolicyService->startTone(tone, stream);
H A DAudioPolicyService.cpp76 // start tone playback thread
402 ALOGV("AudioCommandThread() processing start tone %d on stream %d",
411 ALOGV("AudioCommandThread() processing stop tone");
597 ALOGV("AudioCommandThread() adding tone start type %d, stream %d", type, stream);
605 ALOGV("AudioCommandThread() adding tone stop");
962 int AudioPolicyService::startTone(audio_policy_tone_t tone, argument
965 if (tone != AUDIO_POLICY_TONE_IN_CALL_NOTIFICATION) {
966 ALOGE("startTone: illegal tone requested (%d)", tone);
969 ALOGE("startTone: illegal stream (%d) requested for tone
[all...]
H A DAudioPolicyInterface.h291 // request the playback of a tone on the specified stream: used for instance to replace notification sounds when playing
293 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream) = 0;
H A DAudioPolicyService.h160 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
218 // Thread used for tone playback and to send audio config commands to audio flinger
219 // For tone playback, using a separate thread is necessary to avoid deadlock with mLock because
220 // startTone() and stopTone() are normally called with mLock locked and requesting a tone start
228 // commands for tone AudioCommand
284 // descriptor for requested tone playback event
311 ToneGenerator::tone_type mType; // tone type (START_TONE only)
366 ToneGenerator *mpToneGenerator; // the tone generator
441 // request the playback of a tone on the specified stream: used for instance to replace notification sounds when playing
443 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_
[all...]

Completed in 4276 milliseconds