Searched defs:toneType (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_media_ToneGenerator.cpp41 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jint durationMs) { argument
51 return lpToneGen->startTone((ToneGenerator::tone_type) toneType, durationMs);
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp872 // toneType: Type of tone generated (values in enum tone_type)
881 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { argument
885 if ((toneType < 0) || (toneType >= NUM_TONES))
900 toneType = getToneForRegion(toneType);
901 mpNewToneDesc = &sToneDescriptors[toneType];
1437 ToneGenerator::tone_type ToneGenerator::getToneForRegion(tone_type toneType) { argument
1440 if (mRegion == CEPT || toneType < FIRST_SUP_TONE || toneType > LAST_SUP_TON
[all...]
/frameworks/base/media/java/android/media/
H A DToneGenerator.java31 /* Values for toneType parameter of ToneGenerator() constructor */
747 * @param toneType The type of tone generated chosen from the following list:
849 public boolean startTone(int toneType) { argument
850 return startTone(toneType, -1);
855 * @param toneType The type of tone generated @see {@link #startTone(int)}.
860 public native boolean startTone(int toneType, int durationMs); argument

Completed in 73 milliseconds