Home
last modified time | relevance | path

Searched refs:getMaxAmplitude (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/vibrator/src/android/os/
DVibratorInfoTest.java214 assertEquals(0f, profile.getMaxAmplitude(Float.NaN), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero()
215 assertEquals(0f, profile.getMaxAmplitude(100f), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero()
216 assertEquals(0f, profile.getMaxAmplitude(200f), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero()
224 assertEquals(0f, profile.getMaxAmplitude(Float.NaN), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero()
225 assertEquals(0f, profile.getMaxAmplitude(100f), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero()
226 assertEquals(0f, profile.getMaxAmplitude(150f), TEST_TOLERANCE); in testGetMaxAmplitude_emptyProfileReturnsAlwaysZero()
240 assertEquals(1f, profile.getMaxAmplitude(150f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues()
241 assertEquals(0.9f, profile.getMaxAmplitude(175f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues()
242 assertEquals(0.8f, profile.getMaxAmplitude(125f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues()
245 assertEquals(0.8f, profile.getMaxAmplitude(200f), TEST_TOLERANCE); in testGetMaxAmplitude_validProfileReturnsMappedValues()
[all …]
/frameworks/base/services/core/java/com/android/server/vibrator/
DClippingAmplitudeAndFrequencyAdapter.java76 return MathUtils.min(amplitude, mapping.getMaxAmplitude(frequencyHz)); in clampAmplitude()
/frameworks/av/media/libmedia/include/media/
DIMediaRecorder.h60 virtual status_t getMaxAmplitude(int* max) = 0;
DMediaRecorderBase.h66 virtual status_t getMaxAmplitude(int *max) = 0;
Dmediarecorder.h255 status_t getMaxAmplitude(int* max);
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.h69 virtual status_t getMaxAmplitude(int* max);
DMediaRecorderClient.cpp270 status_t MediaRecorderClient::getMaxAmplitude(int* max) in getMaxAmplitude() function in android::MediaRecorderClient
278 return mRecorder->getMaxAmplitude(max); in getMaxAmplitude()
DStagefrightRecorder.h77 virtual status_t getMaxAmplitude(int *max);
DStagefrightRecorder.cpp2533 status_t StagefrightRecorder::getMaxAmplitude(int *max) { in getMaxAmplitude() function in android::StagefrightRecorder
2542 *max = mAudioSourceNode->getMaxAmplitude(); in getMaxAmplitude()
2688 …, SIZE, " Max amplitude: %d\n", mAudioSourceNode == 0? 0: mAudioSourceNode->getMaxAmplitude()); in dump()
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h72 int16_t getMaxAmplitude();
/frameworks/av/media/libmedia/
Dmediarecorder.cpp547 status_t MediaRecorder::getMaxAmplitude(int* max) in getMaxAmplitude() function in android::MediaRecorder
559 status_t ret = mMediaRecorder->getMaxAmplitude(max); in getMaxAmplitude()
DIMediaRecorder.cpp295 status_t getMaxAmplitude(int* max) in getMaxAmplitude() function in android::BpMediaRecorder
566 status_t ret = getMaxAmplitude(&max); in onTransact()
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp241 status_t status = mStfRecorder->getMaxAmplitude(&maxAmplitude); in TEST_F()
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp192 mStfRecorder->getMaxAmplitude(&max); in getConfig()
/frameworks/av/media/libstagefright/
DAudioSource.cpp482 int16_t AudioSource::getMaxAmplitude() { in getMaxAmplitude() function in android::AudioSource
/frameworks/base/core/java/android/os/
DVibratorInfo.java635 public float getMaxAmplitude(float frequencyHz) { in getMaxAmplitude() method in VibratorInfo.FrequencyProfile
/frameworks/base/media/java/android/media/
DMediaRecorder.java1401 public native int getMaxAmplitude() throws IllegalStateException; in getMaxAmplitude() method in MediaRecorder
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp477 …process_media_recorder_call(env, mr->getMaxAmplitude(&result), "java/lang/RuntimeException", "getM… in android_media_MediaRecorder_native_getMaxAmplitude()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp254 jmethodID getMaxAmplitude; member
3047 env->CallFloatMethod(jVibrator.get(), gVibratorMethods.getMaxAmplitude); in android_media_AudioSystem_setVibratorInfos()
3808 gVibratorMethods.getMaxAmplitude = in register_android_media_AudioSystem()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15264 method public int getMaxAmplitude() throws java.lang.IllegalStateException;
/frameworks/base/core/api/
Dcurrent.txt24208 method public int getMaxAmplitude() throws java.lang.IllegalStateException;