Home
last modified time | relevance | path

Searched refs:ToneGenerator (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSignalToneUtil.java20 import android.media.ToneGenerator;
111 IS95_CONST_IR_SIG_ISDN_NORMAL), ToneGenerator.TONE_CDMA_CALL_SIGNAL_ISDN_NORMAL); in signalParamHash()
115 ToneGenerator.TONE_CDMA_CALL_SIGNAL_ISDN_INTERGROUP); in signalParamHash()
118 IS95_CONST_IR_SIG_ISDN_SP_PRI), ToneGenerator.TONE_CDMA_CALL_SIGNAL_ISDN_SP_PRI); in signalParamHash()
121 IS95_CONST_IR_SIG_ISDN_PAT_3), ToneGenerator.TONE_CDMA_CALL_SIGNAL_ISDN_PAT3); in signalParamHash()
124 IS95_CONST_IR_SIG_ISDN_PING), ToneGenerator.TONE_CDMA_CALL_SIGNAL_ISDN_PING_RING); in signalParamHash()
127 IS95_CONST_IR_SIG_ISDN_PAT_5), ToneGenerator.TONE_CDMA_CALL_SIGNAL_ISDN_PAT5); in signalParamHash()
130 IS95_CONST_IR_SIG_ISDN_PAT_6), ToneGenerator.TONE_CDMA_CALL_SIGNAL_ISDN_PAT6); in signalParamHash()
133 IS95_CONST_IR_SIG_ISDN_PAT_7), ToneGenerator.TONE_CDMA_CALL_SIGNAL_ISDN_PAT7); in signalParamHash()
136 IS95_CONST_IR_SIG_ISDN_OFF), ToneGenerator.TONE_CDMA_SIGNAL_OFF); in signalParamHash()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DTonesAutoTest.java23 import android.media.ToneGenerator;
36 ToneGenerator toneGen; in tonesDtmfTest()
40 toneGen = new ToneGenerator(AudioManager.STREAM_MUSIC, 100); in tonesDtmfTest()
42 for (type = ToneGenerator.TONE_DTMF_0; type <= ToneGenerator.TONE_DTMF_D; type++) { in tonesDtmfTest()
60 ToneGenerator toneGen; in tonesSupervisoryTest()
64 toneGen = new ToneGenerator(AudioManager.STREAM_MUSIC, 100); in tonesSupervisoryTest()
66 for (type = ToneGenerator.TONE_SUP_DIAL; in tonesSupervisoryTest()
67 type <= ToneGenerator.TONE_SUP_RINGTONE; type++) { in tonesSupervisoryTest()
78 for (type = ToneGenerator.TONE_SUP_INTERCEPT; in tonesSupervisoryTest()
79 type <= ToneGenerator.TONE_SUP_PIP; type++) { in tonesSupervisoryTest()
[all …]
/frameworks/av/media/libmedia/
DToneGenerator.cpp30 const ToneGenerator::ToneDescriptor ToneGenerator::sToneDescriptors[] = {
31 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 941, 0 }, 0, 0},
33 .repeatCnt = ToneGenerator::TONEGEN_INF,
35 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 697, 0 }, 0, 0 },
37 .repeatCnt = ToneGenerator::TONEGEN_INF,
39 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 697, 0 }, 0, 0 },
41 .repeatCnt = ToneGenerator::TONEGEN_INF,
43 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1477, 697, 0 }, 0, 0 },
45 .repeatCnt = ToneGenerator::TONEGEN_INF,
47 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 770, 0 }, 0, 0 },
[all …]
DAndroid.mk58 ToneGenerator.cpp \
/frameworks/base/core/jni/
Dandroid_media_ToneGenerator.cpp44 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, in android_media_ToneGenerator_startTone()
51 return lpToneGen->startTone((ToneGenerator::tone_type) toneType, durationMs); in android_media_ToneGenerator_startTone()
57 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, in android_media_ToneGenerator_stopTone()
69 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, in android_media_ToneGenerator_getAudioSessionId()
79 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, in android_media_ToneGenerator_release()
90ToneGenerator *lpToneGen = new ToneGenerator((audio_stream_type_t) streamType, AudioSystem::linear… in android_media_ToneGenerator_native_setup()
115 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, in android_media_ToneGenerator_native_finalize()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSignalToneUtilTest.java18 import android.media.ToneGenerator;
33 assertEquals(ToneGenerator.TONE_CDMA_LOW_L, audioToneResult); in testSignalToneUtil()
39 assertEquals(ToneGenerator.TONE_CDMA_DIAL_TONE_LITE, audioToneResult); in testSignalToneUtil()
47 assertEquals(ToneGenerator.TONE_CDMA_DIAL_TONE_LITE, audioToneResult); in testSignalToneUtil()
52 assertEquals(ToneGenerator.TONE_CDMA_DIAL_TONE_LITE, audioToneResult); in testSignalToneUtil()
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java21 import android.media.ToneGenerator;
92 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
102 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
114 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
/frameworks/av/include/media/
DToneGenerator.h29 class ToneGenerator {
155 ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava = false);
156 ~ToneGenerator();
/frameworks/base/media/java/android/media/
DToneGenerator.java28 public class ToneGenerator class
745 public ToneGenerator(int streamType, int volume) { in ToneGenerator() method in ToneGenerator
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h283 void startToneCommand(ToneGenerator::tone_type type,
347 ToneGenerator::tone_type mType; // tone type (START_TONE only)
418 ToneGenerator *mpToneGenerator; // the tone generator
DAudioPolicyService.cpp480 mpToneGenerator = new ToneGenerator(data->mStream, 1.0); in threadLoop()
700 void AudioPolicyService::AudioCommandThread::startToneCommand(ToneGenerator::tone_type type, in startToneCommand()
1129 mTonePlaybackThread->startToneCommand(ToneGenerator::TONE_SUP_CALL_WAITING, in startTone()
/frameworks/base/
Dpreloaded-classes1463 android.media.ToneGenerator
Dcompiled-classes-phone2527 android.media.ToneGenerator
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15705 public class ToneGenerator {
15706 ctor public ToneGenerator(int, int);
/frameworks/base/api/
Dcurrent.txt21734 public class ToneGenerator {
21735 ctor public ToneGenerator(int, int);
Dtest-current.txt21803 public class ToneGenerator {
21804 ctor public ToneGenerator(int, int);
Dsystem-current.txt23256 public class ToneGenerator {
23257 ctor public ToneGenerator(int, int);