Searched refs:toneType (Results 1 – 4 of 4) sorted by relevance
860 public boolean startTone(int toneType) { in startTone() argument861 return startTone(toneType, -1); in startTone()871 public native boolean startTone(int toneType, int durationMs); in startTone() argument
42 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jin… in android_media_ToneGenerator_startTone() argument52 return lpToneGen->startTone((ToneGenerator::tone_type) toneType, durationMs); in android_media_ToneGenerator_startTone()
161 bool startTone(tone_type toneType, int durationMs = -1);319 tone_type getToneForRegion(tone_type toneType);
1095 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { in startTone() argument1099 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() argument1696 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 …]