HomeSort by relevance Sort by last modified time
    Searched refs:tone (Results 1 - 25 of 48) sorted by null

1 2

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
ToneSettings.java 28 public Tone tone; field in class:ToneSettings
31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) {
33 this.tone = tone;
39 tone = in.readParcelable(null);
51 dest.writeParcelable(tone, 0);
CommandParams.java 110 Tone tone, Duration duration, boolean vibrate) {
113 mSettings = new ToneSettings(duration, tone, vibrate);
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
InCallTonePlayer.java 34 * allows one tone to be played at a time.
61 * @return {@code true} if a tone is currently playing, {@code false} otherwise.
68 * Plays the given tone in a background thread.
70 * @param tone the tone to play.
71 * @throws IllegalStateException if a tone is already playing.
72 * @throws IllegalArgumentException if the tone is invalid.
74 public void play(int tone) {
76 throw new IllegalStateException("Tone already playing");
78 final ToneGeneratorInfo info = getToneGeneratorInfo(tone);
147 public final int tone; field in class:InCallTonePlayer.ToneGeneratorInfo
    [all...]
  /packages/apps/Stk/src/com/android/stk/
TonePlayer.java 23 import com.android.internal.telephony.cat.Tone;
30 private static final HashMap<Tone, Integer> mToneMap = new HashMap<Tone, Integer>();
33 // Map STK tone ids to the system tone ids.
34 mToneMap.put(Tone.DIAL, ToneGenerator.TONE_SUP_DIAL);
35 mToneMap.put(Tone.BUSY, ToneGenerator.TONE_SUP_BUSY);
36 mToneMap.put(Tone.CONGESTION, ToneGenerator.TONE_SUP_CONGESTION);
37 mToneMap.put(Tone.RADIO_PATH_ACK, ToneGenerator.TONE_SUP_RADIO_ACK);
38 mToneMap.put(Tone.RADIO_PATH_NOT_AVAILABLE, ToneGenerator.TONE_SUP_RADIO_NOTAVAIL)
    [all...]
ToneDialog.java 35 * Activity used for PLAY TONE command.
64 // Message id to signal tone duration timeout.
87 CatLog.d(LOG_TAG, "onCreate - null tone text");
98 // Start playing tone and vibration
106 player.play(settings.tone);
163 settings = intent.getParcelableExtra("TONE");
  /external/webrtc/talk/app/webrtc/
dtmfsenderinterface.h 45 // Triggered when DTMF |tone| is sent.
46 // If |tone| is empty that means the DtmfSender has sent out all the given
48 virtual void OnToneChange(const std::string& tone) = 0;
89 // Returns the current tone duration value in ms.
94 // Returns the current value of the between-tone gap in ms.
dtmfsender.cc 47 // | 0--9 | 0--9 | tone | yes |
48 // | * | 10 | tone | yes |
49 // | # | 11 | tone | yes |
50 // | A--D | 12--15 | tone | yes |
53 // 2 seconds before processing the next tone. We use -1 as its code.
67 bool GetDtmfCode(char tone, int* code) {
69 char event = toupper(tone);
195 // Get the first DTMF tone from the tone buffer. Unrecognized characters will
207 char tone = tones_[first_tone_pos] local
    [all...]
dtmfsender_unittest.cc 53 void OnToneChange(const std::string& tone) override {
54 LOG(LS_VERBOSE) << "FakeDtmfObserver::OnToneChange '" << tone << "'.";
55 tones_.push_back(tone);
56 if (tone.empty()) {
168 char tone = *it; local
170 webrtc::GetDtmfCode(tone, &code);
171 if (tone == ',') {
265 // Wait until the first tone got sent.
268 // Insert with another tone buffer.
286 // Wait until the first tone got sent
    [all...]
dtmfsender.h 58 // The |duration| indicates the length of the DTMF tone in ms.
135 bool GetDtmfCode(char tone, int* code);
  /external/icu/icu4c/source/layout/
ThaiShaping.cpp 63 LEUnicode ThaiShaping::lowerRightTone(LEUnicode tone, le_uint8 glyphSet)
72 if (tone >= CH_MAITAIKHU && tone <= CH_NIKHAHIT) {
73 return lowerRightTones[glyphSet][tone - CH_MAITAIKHU];
76 return tone;
79 LEUnicode ThaiShaping::lowerLeftTone(LEUnicode tone, le_uint8 glyphSet)
88 if (tone >= CH_MAITAIKHU && tone <= CH_NIKHAHIT) {
89 return lowerLeftTones[glyphSet][tone - CH_MAITAIKHU];
92 return tone;
    [all...]
ThaiShaping.h 94 static LEUnicode lowerRightTone(LEUnicode tone, le_uint8 glyphSet);
95 static LEUnicode lowerLeftTone(LEUnicode tone, le_uint8 glyphSet);
96 static LEUnicode upperLeftTone(LEUnicode tone, le_uint8 glyphSet);
  /packages/services/Telecomm/src/com/android/server/telecom/
DtmfLocalTonePlayer.java 33 * check the "play local tones" setting and (2) the length of time we keep the tone generator, this
38 /** Generator used to actually play the tone. */
62 * Starts playing the dtmf tone specified by c.
76 Log.d(this, "starting local tone: %c.", c);
77 int tone = getMappedTone(c); local
78 if (tone != ToneGenerator.TONE_UNKNOWN) {
79 mToneGenerator.startTone(tone, -1 /* toneDuration */);
86 * Stops any currently playing dtmf tone.
99 Log.d(this, "stopping local tone.");
138 // Do a stopTone() in case the sessions ends before we are told to stop the tone
    [all...]
InCallTonePlayer.java 27 * Play a call-related tone (ringback, busy signal, etc.) through ToneGenerator. To use, create an
28 * instance using InCallTonePlayer.Factory (passing in the TONE_* constant for the tone you want)
29 * and start() it. Implemented on top of {@link Thread} so that the tone plays in its own thread.
51 public InCallTonePlayer createPlayer(int tone) {
52 return new InCallTonePlayer(tone, mCallAudioManager,
78 // Buffer time (in msec) to add on to the tone timeout value. Needed mainly when the timeout
79 // value for a tone is exact duration of the tone itself.
82 // The tone state.
99 /** The ID of the tone to play. *
    [all...]
  /external/libvorbis/lib/
Makefile.am 29 EXTRA_PROGRAMS = barkmel tone psytune
33 tone_SOURCES = tone.c
psy.h 136 float *tone,
mapping0.c 372 float *tone = _vorbis_block_alloc(vb,n/2*sizeof(*tone)); local
442 vector. This includes tone masking, peak limiting and ATH */
446 tone,
453 _analysis_output("toneL",seq,tone,n/2,1,0,0);
455 _analysis_output("toneR",seq,tone,n/2,1,0,0);
457 _analysis_output("tone",seq,tone,n/2,1,0,0);
461 /* third step; we offset the noise vectors, overlay tone
473 tone,
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/common/include/
vad1.h 115 /* Note that each of the following three variables (vadreg, pitch and tone)
120 Word16 tone; /* flags for tone detection */ member in struct:__anon27635
  /frameworks/base/telecomm/java/android/telecom/
DisconnectCause.java 122 * @param toneToPlay The tone to play on disconnect, as defined in {@link ToneGenerator}.
180 * Returns the tone to play when disconnected.
182 * @return the tone as defined in {@link ToneGenerator} to play when disconnected.
195 int tone = source.readInt();
196 return new DisconnectCause(code, label, description, reason, tone);
296 + " Tone: (" + mToneToPlay + ") ]";
  /hardware/libhardware_legacy/audio/
AudioPolicyCompatClient.h 72 virtual status_t startTone(ToneGenerator::tone_type tone, AudioSystem::stream_type stream);
AudioPolicyCompatClient.cpp 129 status_t AudioPolicyCompatClient::startTone(ToneGenerator::tone_type tone,
  /packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
ApplicationSettingsActivity.java 177 final Ringtone tone = RingtoneManager.getRingtone(mRingtonePreference.getContext(), local
180 if (tone != null) {
181 ringtoneName = tone.getTitle(mRingtonePreference.getContext());
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
vad1.cpp 707 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))
    [all...]
  /frameworks/av/services/audiopolicy/service/
AudioPolicyClientImpl.cpp 158 status_t AudioPolicyService::AudioPolicyClient::startTone(audio_policy_tone_t tone,
161 return mAudioPolicyService->startTone(tone, stream);
  /hardware/libhardware/include/hardware/
bt_hf.h 125 * tone contains the dtmf character to be sent
127 typedef void (* bthf_dtmf_cmd_callback)(char tone, bt_bdaddr_t *bd_addr);
  /hardware/libhardware_legacy/include/hardware_legacy/
AudioPolicyInterface.h 240 // request the playback of a tone on the specified stream: used for instance to replace notification sounds when playing
242 virtual status_t startTone(ToneGenerator::tone_type tone, AudioSystem::stream_type stream) = 0;

Completed in 1180 milliseconds

1 2