Home
last modified time | relevance | path

Searched defs:rate (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRateEstimatorTest.java52 final float rate = mEstimator.getRate(mTestStartTime - 1000L); in testRunningTimeBackwardDoesntExplodeGet() local
66 final float rate = mEstimator.getRate(mTestStartTime); in testInstantaneousEventsDontExplodeGet() local
75 final float rate = mEstimator.getRate(nextEventTime); in testInstantaneousBurstIsEstimatedUnderTwoPercent() local
84 final float rate = mEstimator.getRate(nextEventTime); in testCompactBurstIsEstimatedUnderTwoPercent() local
93 final float rate = mEstimator.getRate(nextEventTime); in testSustained1000HzBurstIsEstimatedOverNinetyPercent() local
102 final float rate = mEstimator.getRate(nextEventTime); in testSustained100HzBurstIsEstimatedOverNinetyPercent() local
112 final float rate = mEstimator.getRate(nextEventTime + 5000L); // five seconds later in testRecoverQuicklyAfterSustainedBurst() local
121 final float rate = mEstimator.getRate(nextEventTime); in testEstimateShouldNotOvershoot() local
127 final float rate = mEstimator.getRate(mTestStartTime); in testGetRateWithoutUpdate() local
134 final float rate = mEstimator.getRate(mTestStartTime+1); in testGetRateWithOneUpdate() local
/frameworks/wilhelm/src/itf/
DIPlaybackRate.cpp22 static SLresult IPlaybackRate_SetRate(SLPlaybackRateItf self, SLpermille rate) in IPlaybackRate_SetRate()
62 SLpermille rate = thiz->mRate; in IPlaybackRate_GetRate() local
128 SLpermille rate, SLuint32 *pCapabilities) in IPlaybackRate_GetCapabilitiesOfRate()
DIRatePitch.cpp22 static SLresult IRatePitch_SetRate(SLRatePitchItf self, SLpermille rate) in IRatePitch_SetRate()
49 SLpermille rate = thiz->mRate; in IRatePitch_GetRate() local
DIVisualization.cpp23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) in IVisualization_RegisterVisualizationCallback()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java79 int rate) { in AmbientSensor()
142 private static void validateArguments(Handler handler, SensorManager sensorManager, int rate) { in validateArguments()
250 int rate) { in AmbientBrightnessSensor()
329 @NonNull SensorManager sensorManager, String name, int rate) { in AmbientColorTemperatureSensor()
DDisplayWhiteBalanceFactory.java146 final int rate = resources.getInteger( in createBrightnessSensor() local
160 final int rate = resources.getInteger( in createColorTemperatureSensor() local
/frameworks/base/core/java/android/view/
DOrientationListener.java58 public OrientationListener(Context context, int rate) { in OrientationListener()
67 OrientationEventListenerInternal(Context context, int rate) { in OrientationEventListenerInternal()
/frameworks/base/services/core/java/com/android/server/display/
DRampAnimator.java88 boolean setAnimationTarget(float targetLinear, float rate, boolean ignoreAnimationLimits) { in setAnimationTarget()
93 private boolean setAnimationTarget(float targetLinear, float rate, in setAnimationTarget()
251 public boolean animateTo(float linearFirstTarget, float linearSecondTarget, float rate, in animateTo()
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/1/android/frameworks/sensorservice/
DIDirectReportChannel.aidl22 int configure(in int sensorHandle, in android.hardware.sensors.ISensors.RateLevel rate); in configure()
/frameworks/hardware/interfaces/sensorservice/aidl/android/frameworks/sensorservice/
DIDirectReportChannel.aidl40 int configure(in int sensorHandle, in RateLevel rate); in configure()
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/current/android/frameworks/sensorservice/
DIDirectReportChannel.aidl22 int configure(in int sensorHandle, in android.hardware.sensors.ISensors.RateLevel rate); in configure()
/frameworks/av/media/libstagefright/
DMediaSync.cpp247 void MediaSync::updatePlaybackRate_l(float rate) { in updatePlaybackRate_l()
363 status_t MediaSync::setVideoFrameRateHint(float rate) { in setVideoFrameRateHint()
426 status_t MediaSync::setPlaybackSettings(const AudioPlaybackRate &rate) { in setPlaybackSettings()
437 status_t MediaSync::setPlaybackSettings_l(const AudioPlaybackRate &rate) { in setPlaybackSettings_l()
461 void MediaSync::getPlaybackSettings(AudioPlaybackRate *rate) { in getPlaybackSettings()
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp57 bool checkRate(float *rate) in checkRate()
118 int32_t priority, int32_t loop, float rate, int32_t playerIId) in play()
224 void SoundPool::setRate(int32_t streamID, float rate) in setRate()
DStream.cpp104 void Stream::setRate(int32_t streamID, float rate) in setRate()
157 float leftVolume, float rightVolume, int32_t priority, int32_t loop, float rate) in setPlay()
276 float leftVolume, float rightVolume, int32_t priority, int32_t loop, float rate, in play_l()
/frameworks/native/services/sensorservice/aidl/
DDirectReportChannel.cpp32 int32_t sensorHandle, ::aidl::android::hardware::sensors::ISensors::RateLevel rate, in configure()
/frameworks/native/services/sensorservice/hidl/
DDirectReportChannel.cpp34 Return<void> DirectReportChannel::configure(int32_t sensorHandle, RateLevel rate, in configure()
/frameworks/base/core/java/com/android/internal/jank/
DDisplayRefreshRate.java73 long rate = Math.round(1e9 / frameIntervalNs); in getRefreshRate() local
/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp81 status_t JMediaSync::setPlaybackParams(const AudioPlaybackRate& rate) { in setPlaybackParams()
85 void JMediaSync::getPlaybackParams(AudioPlaybackRate* rate /* nonnull */) { in getPlaybackParams()
97 status_t JMediaSync::setVideoFrameRateHint(float rate) { in setVideoFrameRateHint()
331 AudioPlaybackRate rate; in android_media_MediaSync_setPlaybackParams() local
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java139 float rate = newState == PlaybackState.STATE_PLAYING ? 1 : 0; in updateState() local
186 float rate = 0; in onStateChanged() local
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp82 for (const auto rate : samplingRates) { in pickSamplingRate() local
100 for (const auto rate : samplingRates) { in pickSamplingRate() local
/frameworks/av/cmds/stagefright/
DAudioPlayer.cpp410 status_t AudioPlayer::setPlaybackRate(const AudioPlaybackRate &rate) { in setPlaybackRate()
420 status_t AudioPlayer::getPlaybackRate(AudioPlaybackRate *rate /* nonnull */) { in getPlaybackRate()
/frameworks/wilhelm/tests/mimeUri/
DslesTestSlowDownUri.cpp71 SLpermille minRate, maxRate, stepSize, rate = 1000; in PlayEventCallback() local
290 SLpermille rate = 1234; in TestSlowDownUri() local
/frameworks/av/include/media/
DMediaPlayerInterface.h212 virtual status_t setPlaybackSettings(const AudioPlaybackRate& rate) { in setPlaybackSettings()
219 virtual status_t getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */) { in getPlaybackSettings()
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h212 virtual status_t setPlaybackSettings(const AudioPlaybackRate& rate) { in setPlaybackSettings()
219 virtual status_t getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */) { in getPlaybackSettings()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerUtils.java117 public static boolean shouldSamplePackageForAtom(String packageName, float rate) { in shouldSamplePackageForAtom()

1234