Searched refs:tone (Results 1 - 12 of 12) 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.java370 // parse tone duration
901 Tone tone = null;
914 tone = Tone.fromInt(toneVal);
925 // Assign the tone message text to empty string, if alpha identifier
926 // data is null. If no alpha identifier tlv is present, then tone
930 // parse tone duration
945 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:__anon500
/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.java138 * @param toneToPlay The tone to play on disconnect, as defined in {@link ToneGenerator}.
196 * Returns the tone to play when disconnected.
198 * @return the tone as defined in {@link ToneGenerator} to play when disconnected.
211 int tone = source.readInt();
212 return new DisconnectCause(code, label, description, reason, tone);
/frameworks/base/core/java/com/android/internal/accessibility/
H A DAccessibilityShortcutController.java198 // Play a notification tone
199 final Ringtone tone =
201 if (tone != null) {
202 tone.setAudioAttributes(new AudioAttributes.Builder()
205 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.h162 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
310 // Thread used for tone playback and to send audio config commands to audio flinger
311 // For tone playback, using a separate thread is necessary to avoid deadlock with mLock because
312 // startTone() and stopTone() are normally called with mLock locked and requesting a tone start
320 // commands for tone AudioCommand
384 // descriptor for requested tone playback event
411 ToneGenerator::tone_type mType; // tone type (START_TONE only)
481 ToneGenerator *mpToneGenerator; // the tone generator
556 // request the playback of a tone on the specified stream: used for instance to replace notification sounds when playing
558 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_
[all...]
H A DAudioPolicyService.cpp73 // start tone playback thread
680 ALOGV("AudioCommandThread() processing start tone %d on stream %d",
689 ALOGV("AudioCommandThread() processing stop tone");
912 ALOGV("AudioCommandThread() adding tone start type %d, stream %d", type, stream);
920 ALOGV("AudioCommandThread() adding tone stop");
1333 int AudioPolicyService::startTone(audio_policy_tone_t tone, argument
1336 if (tone != AUDIO_POLICY_TONE_IN_CALL_NOTIFICATION) {
1337 ALOGE("startTone: illegal tone requested (%d)", tone);
1340 ALOGE("startTone: illegal stream (%d) requested for tone
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h327 // request the playback of a tone on the specified stream: used for instance to replace notification sounds when playing
329 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream) = 0;
/frameworks/base/core/proto/android/providers/settings/
H A Dglobal.proto326 optional SettingProto tone = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];

Completed in 267 milliseconds