Home
last modified time | relevance | path

Searched refs:toneType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DToneGenerator.java860 public boolean startTone(int toneType) { in startTone() argument
861 return startTone(toneType, -1); in startTone()
871 public native boolean startTone(int toneType, int durationMs); in startTone() argument
/frameworks/base/core/jni/
Dandroid_media_ToneGenerator.cpp42 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jin… in android_media_ToneGenerator_startTone() argument
52 return lpToneGen->startTone((ToneGenerator::tone_type) toneType, durationMs); in android_media_ToneGenerator_startTone()
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h161 bool startTone(tone_type toneType, int durationMs = -1);
319 tone_type getToneForRegion(tone_type toneType);
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1095 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { in startTone() argument
1099 if (toneType >= NUM_TONES) in startTone()
1102 toneType = getToneForRegion(toneType); in startTone()
1103 if (toneType == TONE_CDMA_SIGNAL_OFF) { in startTone()
1114 ALOGV("startTone toneType %d", toneType); in startTone()
1119 mpNewToneDesc = &sToneDescriptors[toneType]; in startTone()
1693 ToneGenerator::tone_type ToneGenerator::getToneForRegion(tone_type toneType) { in getToneForRegion() argument
1696 if (mRegion == CEPT || toneType < FIRST_SUP_TONE || toneType > LAST_SUP_TONE) { in getToneForRegion()
1697 regionTone = toneType; in getToneForRegion()
1699 regionTone = (tone_type) sToneMappingTable[mRegion][toneType - FIRST_SUP_TONE]; in getToneForRegion()
[all …]