Home
last modified time | relevance | path

Searched refs:ToneGenerator (Results 1 – 19 of 19) 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/libaudioclient/
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.bp24 "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;
98 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
108 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
120 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/av/media/libaudioclient/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.h279 void startToneCommand(ToneGenerator::tone_type type,
343 ToneGenerator::tone_type mType; // tone type (START_TONE only)
414 ToneGenerator *mpToneGenerator; // the tone generator
DAudioPolicyService.cpp417 mpToneGenerator = new ToneGenerator(data->mStream, 1.0); in threadLoop()
637 void AudioPolicyService::AudioCommandThread::startToneCommand(ToneGenerator::tone_type type, in startToneCommand()
1078 mTonePlaybackThread->startToneCommand(ToneGenerator::TONE_SUP_CALL_WAITING, in startTone()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java99 import android.media.ToneGenerator;
305 private ToneGenerator mInCallToneGenerator;
861 if (relativeToneVolume < ToneGenerator.MIN_VOLUME
862 || relativeToneVolume > ToneGenerator.MAX_VOLUME) {
863 relativeToneVolume = ToneGenerator.MAX_VOLUME;
866 mInCallToneGenerator = new ToneGenerator(
3880 mInCallToneGenerator.startTone(ToneGenerator.TONE_PROP_BEEP2, 1000); in playInCallNotification()
/frameworks/base/
Dpreloaded-classes1671 android.media.ToneGenerator
Dcompiled-classes-phone2649 android.media.ToneGenerator
/frameworks/base/services/
Dprofile-classes1592 Landroid/media/ToneGenerator;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15705 public class ToneGenerator {
15706 ctor public ToneGenerator(int, int);
/frameworks/base/api/
Dcurrent.txt23459 public class ToneGenerator {
23460 ctor public ToneGenerator(int, int);
Dsystem-current.txt25312 public class ToneGenerator {
25313 ctor public ToneGenerator(int, int);