Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/base/core/jni/
Dandroid_hardware_SerialPort.cpp36 android_hardware_SerialPort_open(JNIEnv *env, jobject thiz, jobject fileDescriptor, jint speed) in android_hardware_SerialPort_open() argument
38 switch (speed) { in android_hardware_SerialPort_open()
40 speed = B50; in android_hardware_SerialPort_open()
43 speed = B75; in android_hardware_SerialPort_open()
46 speed = B110; in android_hardware_SerialPort_open()
49 speed = B134; in android_hardware_SerialPort_open()
52 speed = B150; in android_hardware_SerialPort_open()
55 speed = B200; in android_hardware_SerialPort_open()
58 speed = B300; in android_hardware_SerialPort_open()
61 speed = B600; in android_hardware_SerialPort_open()
[all …]
/frameworks/native/libs/input/
DVelocityControl.cpp74 float speed = hypotf(vx, vy) * scale; in move() local
75 if (speed >= mParameters.highThreshold) { in move()
78 } else if (speed > mParameters.lowThreshold) { in move()
81 scale *= 1 + (speed - mParameters.lowThreshold) in move()
91 vx, vy, speed, scale / mParameters.scale); in move()
/frameworks/av/media/libaudioclient/tests/
Dtrack_test_output_v1.0_ref_walleye.txt7 sample rate(48000), original sample rate(48000), speed(1.000000)
18 sample rate(24000), original sample rate(24000), speed(1.000000)
29 sample rate(16000), original sample rate(16000), speed(1.000000)
40 sample rate(8000), original sample rate(8000), speed(1.000000)
51 sample rate(44100), original sample rate(44100), speed(1.000000)
62 sample rate(22050), original sample rate(22050), speed(1.000000)
73 sample rate(11025), original sample rate(11025), speed(1.000000)
84 sample rate(48000), original sample rate(48000), speed(1.000000)
95 sample rate(48000), original sample rate(48000), speed(1.000000)
106 sample rate(48000), original sample rate(48000), speed(1.000000)
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java241 for (int speed = 0; speed < clusterSpeedTimesMs[cluster].length; ++speed) { in testUpdateClusterSpeedTimes()
242 assertEquals("Uid=" + testUids[i] + ", cluster=" + cluster + ", speed=" + speed, in testUpdateClusterSpeedTimes()
243 cpuTimeUs[i] * clusterSpeedTimesMs[cluster][speed] in testUpdateClusterSpeedTimes()
245 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testUpdateClusterSpeedTimes()
666 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
667 assertEquals("Unexpected time at cluster=" + cluster + ", speed=" + speed, in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
669 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
709 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
710 assertEquals("Unexpected time at cluster=" + cluster + ", speed=" + speed, in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
712 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
[all …]
/frameworks/base/media/jni/
Dandroid_media_PlaybackParams.h36 jfieldID speed; member
59 speed = env->GetFieldID(clazz, "mSpeed", "F"); in init()
84 audioRate.mSpeed = env->GetFloatField(params, fields.speed); in fillFromJobject()
103 env->SetFloatField(params, fields.speed, (jfloat)audioRate.mSpeed); in asJobject()
/frameworks/base/core/java/android/hardware/
DSerialPort.java56 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { in open() argument
57 native_open(pfd.getFileDescriptor(), speed); in open() local
126 private native void native_open(FileDescriptor pfd, int speed) throws IOException; in native_open() argument
DSerialManager.java72 public SerialPort openSerialPort(String name, int speed) throws IOException { in openSerialPort() argument
77 port.open(pfd, speed); in openSerialPort()
/frameworks/base/core/java/com/android/internal/os/
DSystemServicePowerCalculator.java54 for (int speed = 0; speed < numSpeeds; speed++) { in SystemServicePowerCalculator()
56 powerProfile.getAveragePowerForCpuCore(cluster, speed)); in SystemServicePowerCalculator()
DCpuPowerCalculator.java84 for (int speed = 0; speed < speedsForCluster; speed++) { in CpuPowerCalculator()
86 profile.getAveragePowerForCpuCore(cluster, speed)); in CpuPowerCalculator()
87 mPerCpuFreqPowerEstimatorsByCluster[cluster][speed] = estimator; in CpuPowerCalculator()
/frameworks/base/core/java/android/widget/
DZoomControls.java75 public void setZoomSpeed(long speed) { in setZoomSpeed() argument
76 mZoomIn.setZoomSpeed(speed); in setZoomSpeed()
77 mZoomOut.setZoomSpeed(speed); in setZoomSpeed()
DZoomButton.java85 public void setZoomSpeed(long speed) { in setZoomSpeed() argument
86 mZoomSpeed = speed; in setZoomSpeed()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResamplerPublic.h105 float speed) { in sourceFramesNeededWithTimestretch() argument
109 return required * (double)speed + 1 + 1; // accounting for rounding dependencies in sourceFramesNeededWithTimestretch()
/frameworks/av/include/media/
DAudioResamplerPublic.h105 float speed) { in sourceFramesNeededWithTimestretch() argument
109 return required * (double)speed + 1 + 1; // accounting for rounding dependencies in sourceFramesNeededWithTimestretch()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioPlaybackRate.aidl32 float speed;
DCreateTrackRequest.aidl38 float speed;
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java169 double speed = MIN_NUMBER_OF_SURFACES * 1000.0 / (time2 - time1); in measureAllocationScore() local
170 score.mMedian += speed / MEASURE_ALLOCATION_CYCLES; in measureAllocationScore()
172 score.mMin = speed; in measureAllocationScore()
173 score.mMax = speed; in measureAllocationScore()
175 score.mMin = Math.min(score.mMin, speed); in measureAllocationScore()
176 score.mMax = Math.max(score.mMax, speed); in measureAllocationScore()
/frameworks/wilhelm/src/itf/
DI3DDoppler.cpp43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) in I3DDoppler_SetVelocitySpherical() argument
51 thiz->mVelocitySpherical.mSpeed = speed; in I3DDoppler_SetVelocitySpherical()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java904 int speed = DEFAULT_POINTER_SPEED; in getPointerSpeed() local
906 speed = Settings.System.getInt(context.getContentResolver(), in getPointerSpeed()
910 return speed; in getPointerSpeed()
925 public void setPointerSpeed(Context context, int speed) { in setPointerSpeed() argument
926 if (speed < MIN_POINTER_SPEED || speed > MAX_POINTER_SPEED) { in setPointerSpeed()
931 Settings.System.POINTER_SPEED, speed); in setPointerSpeed() local
945 public void tryPointerSpeed(int speed) { in tryPointerSpeed() argument
946 if (speed < MIN_POINTER_SPEED || speed > MAX_POINTER_SPEED) { in tryPointerSpeed()
951 mIm.tryPointerSpeed(speed); in tryPointerSpeed()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java233 Float speed = getNullableFloat(cursor, SPEED); in createEntry() local
234 if (speed != null) { in createEntry()
235 location.setSpeed(speed); in createEntry()
/frameworks/base/media/java/android/media/
DPlaybackParams.java219 public PlaybackParams setSpeed(float speed) { in setSpeed() argument
220 mSpeed = speed; in setSpeed()
DRemoteController.java176 long currentPosMs, float speed); in onClientPlaybackStateUpdate() argument
681 PlaybackInfo(int state, long stateChangeTimeMs, long currentPosMs, float speed) { in PlaybackInfo() argument
685 mSpeed = speed; in PlaybackInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java649 int speed = timedScore.getScore().calculateBadge(mRssi); in generateAverageSpeedForSsid() local
650 if (speed != Speed.NONE) { in generateAverageSpeedForSsid()
652 totalSpeed += speed; in generateAverageSpeedForSsid()
655 int speed = count == 0 ? Speed.NONE : totalSpeed / count; in generateAverageSpeedForSsid() local
657 Log.i(TAG, String.format("%s generated fallback speed is: %d", getSsidStr(), speed)); in generateAverageSpeedForSsid()
659 return roundToClosestSpeedEnum(speed); in generateAverageSpeedForSsid()
1596 private static int roundToClosestSpeedEnum(int speed) { in roundToClosestSpeedEnum() argument
1597 if (speed < Speed.SLOW) { in roundToClosestSpeedEnum()
1599 } else if (speed < (Speed.SLOW + Speed.MODERATE) / 2) { in roundToClosestSpeedEnum()
1601 } else if (speed < (Speed.MODERATE + Speed.FAST) / 2) { in roundToClosestSpeedEnum()
[all …]
DTestAccessPointBuilder.java156 public TestAccessPointBuilder setSpeed(int speed) { in setSpeed() argument
157 mSpeed = speed; in setSpeed()
DWifiUtils.java282 int speed = getSpecificApSpeed(result, accessPoint.getScoredNetworkCache()); in verboseScanResultSummary() local
283 if (speed != AccessPoint.Speed.NONE) { in verboseScanResultSummary()
285 .append(accessPoint.getSpeedLabel(speed)); in verboseScanResultSummary()
/frameworks/base/apct-tests/perftests/textclassifier/
Drun.sh4 adb shell cmd package compile -m speed -f com.android.perftests.textclassifier

1234