Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DToneGenerator.java855 public boolean startTone(int toneType) { in startTone() argument
856 return startTone(toneType, -1); in startTone()
866 public native boolean startTone(int toneType, int durationMs); in startTone() argument
/frameworks/base/core/jni/
Dandroid_media_ToneGenerator.cpp41 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jin… in android_media_ToneGenerator_startTone() argument
51 return lpToneGen->startTone((ToneGenerator::tone_type) toneType, durationMs); in android_media_ToneGenerator_startTone()
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1029 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { in startTone() argument
1033 if (toneType >= NUM_TONES) in startTone()
1036 toneType = getToneForRegion(toneType); in startTone()
1037 if (toneType == TONE_CDMA_SIGNAL_OFF) { in startTone()
1048 ALOGV("startTone toneType %d", toneType); in startTone()
1053 mpNewToneDesc = &sToneDescriptors[toneType]; in startTone()
1620 ToneGenerator::tone_type ToneGenerator::getToneForRegion(tone_type toneType) { in getToneForRegion() argument
1623 if (mRegion == CEPT || toneType < FIRST_SUP_TONE || toneType > LAST_SUP_TONE) { in getToneForRegion()
1624 regionTone = toneType; in getToneForRegion()
1626 regionTone = (tone_type) sToneMappingTable[mRegion][toneType - FIRST_SUP_TONE]; in getToneForRegion()
[all …]
/frameworks/av/include/media/
DToneGenerator.h158 bool startTone(tone_type toneType, int durationMs = -1);
306 tone_type getToneForRegion(tone_type toneType);
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h158 bool startTone(tone_type toneType, int durationMs = -1);
306 tone_type getToneForRegion(tone_type toneType);