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.java110 Tone tone, Duration duration, boolean vibrate) {
113 mSettings = new ToneSettings(duration, tone, vibrate);
109 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
H A DCommandParamsFactory.java358 // parse tone duration
884 Tone tone = null;
897 tone = Tone.fromInt(toneVal);
909 // parse tone duration
924 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:__anon506
/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.java130 * @param toneToPlay The tone to play on disconnect, as defined in {@link ToneGenerator}.
188 * Returns the tone to play when disconnected.
190 * @return the tone as defined in {@link ToneGenerator} to play when disconnected.
203 int tone = source.readInt();
204 return new DisconnectCause(code, label, description, reason, tone);
/frameworks/base/services/core/java/com/android/server/policy/
H A DAccessibilityShortcutController.java140 // Play a notification tone
141 final Ringtone tone =
143 if (tone != null) {
144 tone.setAudioAttributes(new AudioAttributes.Builder()
147 tone.play();
/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/service/
H A DAudioPolicyClientImpl.cpp158 status_t AudioPolicyService::AudioPolicyClient::startTone(audio_policy_tone_t tone, argument
161 return mAudioPolicyService->startTone(tone, stream);
H A DAudioPolicyService.cpp66 // start tone playback thread
414 ALOGV("AudioCommandThread() processing start tone %d on stream %d",
423 ALOGV("AudioCommandThread() processing stop tone");
646 ALOGV("AudioCommandThread() adding tone start type %d, stream %d", type, stream);
654 ALOGV("AudioCommandThread() adding tone stop");
1068 int AudioPolicyService::startTone(audio_policy_tone_t tone, argument
1071 if (tone != AUDIO_POLICY_TONE_IN_CALL_NOTIFICATION) {
1072 ALOGE("startTone: illegal tone requested (%d)", tone);
1075 ALOGE("startTone: illegal stream (%d) requested for tone
[all...]
H A DAudioPolicyService.h164 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
241 // Thread used for tone playback and to send audio config commands to audio flinger
242 // For tone playback, using a separate thread is necessary to avoid deadlock with mLock because
243 // startTone() and stopTone() are normally called with mLock locked and requesting a tone start
251 // commands for tone AudioCommand
316 // descriptor for requested tone playback event
343 ToneGenerator::tone_type mType; // tone type (START_TONE only)
414 ToneGenerator *mpToneGenerator; // the tone generator
489 // request the playback of a tone on the specified stream: used for instance to replace notification sounds when playing
491 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h316 // request the playback of a tone on the specified stream: used for instance to replace notification sounds when playing
318 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream) = 0;

Completed in 3863 milliseconds