Searched refs:startTone (Results 1 - 11 of 11) 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/service/
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 DAudioPolicyService.h168 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
247 // startTone() and stopTone() are normally called with mLock locked and requesting a tone start
495 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream);
H A DAudioPolicyClientImplLegacy.cpp298 return audioPolicyService->startTone(tone, stream);
H A DAudioPolicyService.cpp481 mpToneGenerator->startTone(data->mType);
1119 int AudioPolicyService::startTone(audio_policy_tone_t tone, function in class:android::AudioPolicyService
1123 ALOGE("startTone: illegal tone requested (%d)", tone);
1126 ALOGE("startTone: illegal stream (%d) requested for tone %d", stream,
/frameworks/av/include/media/
H A DToneGenerator.h158 bool startTone(tone_type toneType, int durationMs = -1);
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h308 virtual status_t startTone(audio_policy_tone_t tone, audio_stream_type_t stream) = 0;
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp883 // Method: ToneGenerator::startTone()
897 bool ToneGenerator::startTone(tone_type toneType, int durationMs) { function in class:android::ToneGenerator
910 ALOGV("startTone: try to re-init AudioTrack");
916 ALOGV("startTone");
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp5120 mpClientInterface->startTone(AUDIO_POLICY_TONE_IN_CALL_NOTIFICATION,

Completed in 297 milliseconds