Searched refs:startTone (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DTonesAutoTest.java43 if (toneGen.startTone(type)) {
68 if (toneGen.startTone(type)) {
80 if (toneGen.startTone(type)) {
104 if (toneGen.startTone(type)) {
129 if (toneGen1.startTone(ToneGenerator.TONE_DTMF_1)) {
131 if (toneGen2.startTone(ToneGenerator.TONE_DTMF_2)) {
159 if (toneGen.startTone(type)) {
/frameworks/base/media/java/android/media/
H A DToneGenerator.java855 public boolean startTone(int toneType) { method in class:ToneGenerator
856 return startTone(toneType, -1);
861 * @param toneType The type of tone generated @see {@link #startTone(int)}.
864 * is equivalent to calling {@link #startTone(int)}.
866 public native boolean startTone(int toneType, int durationMs); method in class:ToneGenerator
/frameworks/base/core/jni/
H A Dandroid_media_ToneGenerator.cpp51 return lpToneGen->startTone((ToneGenerator::tone_type) toneType, durationMs);
127 { "startTone", "(II)Z", (void *)android_media_ToneGenerator_startTone },
/frameworks/av/services/audiopolicy/
H A DAudioPolicyClientImpl.cpp158 status_t AudioPolicyService::AudioPolicyClient::startTone(audio_policy_tone_t tone, function in class:android::AudioPolicyService::AudioPolicyClient
161 return mAudioPolicyService->startTone(tone, stream);
H A DAudioPolicyInterface.h293 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream) = 0;
H A DAudioPolicyService.h160 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
220 // startTone() and stopTone() are normally called with mLock locked and requesting a tone start
443 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
H A DAudioPolicyClientImplLegacy.cpp297 return audioPolicyService->startTone(tone, stream);
H A DAudioPolicyService.cpp406 mpToneGenerator->startTone(data->mType);
962 int AudioPolicyService::startTone(audio_policy_tone_t tone, function in class:android::AudioPolicyService
966 ALOGE("startTone: illegal tone requested (%d)", tone);
969 ALOGE("startTone: illegal stream (%d) requested for tone %d", stream,
H A DAudioPolicyManager.cpp5881 mpClientInterface->startTone(AUDIO_POLICY_TONE_IN_CALL_NOTIFICATION,
/frameworks/av/include/media/
H A DToneGenerator.h157 bool startTone(tone_type toneType, int durationMs = -1);
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp862 // Method: ToneGenerator::startTone()
876 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { function in class:android::ToneGenerator
889 ALOGV("startTone: try to re-init AudioTrack");
895 ALOGV("startTone");
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumePanel.java1240 toneGen.startTone(ToneGenerator.TONE_PROP_BEEP);

Completed in 169 milliseconds