/frameworks/base/core/jni/ |
D | android_hardware_SerialPort.cpp | 36 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/ |
D | VelocityControl.cpp | 74 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/ |
D | track_test_output_v1.0_ref_walleye.txt | 7 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/java/com/android/internal/os/ |
D | CpuPowerCalculator.java | 41 for (int speed = 0; speed < speedsForCluster; speed++) { in calculateApp() 42 final long timeUs = u.getTimeAtCpuSpeed(cluster, speed, statsType); in calculateApp() 44 mProfile.getAveragePowerForCpuCore(cluster, speed); in calculateApp() 47 + speed + " timeUs=" + timeUs + " power=" in calculateApp()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsCpuTimesTest.java | 236 for (int speed = 0; speed < clusterSpeedTimesMs[cluster].length; ++speed) { in testUpdateClusterSpeedTimes() 237 assertEquals("Uid=" + testUids[i] + ", cluster=" + cluster + ", speed=" + speed, in testUpdateClusterSpeedTimes() 238 cpuTimeUs[i] * clusterSpeedTimesMs[cluster][speed] in testUpdateClusterSpeedTimes() 240 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testUpdateClusterSpeedTimes() 663 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 664 assertEquals("Unexpected time at cluster=" + cluster + ", speed=" + speed, in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 666 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 706 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 707 assertEquals("Unexpected time at cluster=" + cluster + ", speed=" + speed, in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 709 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | SerialPort.java | 55 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { in open() argument 56 native_open(pfd.getFileDescriptor(), speed); in open() local 125 private native void native_open(FileDescriptor pfd, int speed) throws IOException; in native_open() argument
|
D | SerialManager.java | 71 public SerialPort openSerialPort(String name, int speed) throws IOException { in openSerialPort() argument 76 port.open(pfd, speed); in openSerialPort()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | AccelerationClassifier.java | 83 float speed = distance / duration; in addPoint() local 92 maxSpeedRatio = Math.max(maxSpeedRatio, speed / previousSpeed); in addPoint() 95 previousSpeed = speed; in addPoint()
|
/frameworks/base/media/jni/ |
D | android_media_PlaybackParams.h | 36 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/widget/ |
D | ZoomControls.java | 75 public void setZoomSpeed(long speed) { in setZoomSpeed() argument 76 mZoomIn.setZoomSpeed(speed); in setZoomSpeed() 77 mZoomOut.setZoomSpeed(speed); in setZoomSpeed()
|
D | ZoomButton.java | 85 public void setZoomSpeed(long speed) { in setZoomSpeed() argument 86 mZoomSpeed = speed; in setZoomSpeed()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 781 int speed = DEFAULT_POINTER_SPEED; in getPointerSpeed() local 783 speed = Settings.System.getInt(context.getContentResolver(), in getPointerSpeed() 787 return speed; in getPointerSpeed() 802 public void setPointerSpeed(Context context, int speed) { in setPointerSpeed() argument 803 if (speed < MIN_POINTER_SPEED || speed > MAX_POINTER_SPEED) { in setPointerSpeed() 808 Settings.System.POINTER_SPEED, speed); in setPointerSpeed() local 822 public void tryPointerSpeed(int speed) { in tryPointerSpeed() argument 823 if (speed < MIN_POINTER_SPEED || speed > MAX_POINTER_SPEED) { in tryPointerSpeed() 828 mIm.tryPointerSpeed(speed); in tryPointerSpeed()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | Utils.java | 332 @Speed int speed = scoredNetwork.calculateBadge(scanResult.level); in getAverageSpeedFromScanResults() local 333 if (speed != SPEED_NONE) { in getAverageSpeedFromScanResults() 335 totalSpeed += speed; in getAverageSpeedFromScanResults() 357 private static int roundToClosestSpeedEnum(int speed) { in roundToClosestSpeedEnum() argument 358 if (speed == SPEED_NONE) { in roundToClosestSpeedEnum() 360 } else if (speed < (SPEED_SLOW + SPEED_MODERATE) / 2) { in roundToClosestSpeedEnum() 362 } else if (speed < (SPEED_MODERATE + SPEED_FAST) / 2) { in roundToClosestSpeedEnum() 364 } else if (speed < (SPEED_FAST + SPEED_VERY_FAST) / 2) { in roundToClosestSpeedEnum() 469 @Speed int speed = wifiEntry.getSpeed(); in getSpeedDescription() local 470 switch (speed) { in getSpeedDescription()
|
/frameworks/base/startop/scripts/app_startup/ |
D | force_compiler_filter | 107 if [[ $arg_compiler_filter == speed-profile ]]; then 119 if [[ $compiler_filter == speed-profile ]]; then
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioResamplerPublic.h | 105 float speed) { in sourceFramesNeededWithTimestretch() argument 109 return required * (double)speed + 1 + 1; // accounting for rounding dependencies in sourceFramesNeededWithTimestretch()
|
/frameworks/av/include/media/ |
D | AudioResamplerPublic.h | 105 float speed) { in sourceFramesNeededWithTimestretch() argument 109 return required * (double)speed + 1 + 1; // accounting for rounding dependencies in sourceFramesNeededWithTimestretch()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 169 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/ |
D | I3DDoppler.cpp | 43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) in I3DDoppler_SetVelocitySpherical() argument 51 thiz->mVelocitySpherical.mSpeed = speed; in I3DDoppler_SetVelocitySpherical()
|
/frameworks/base/media/java/android/media/ |
D | PlaybackParams.java | 219 public PlaybackParams setSpeed(float speed) { in setSpeed() argument 220 mSpeed = speed; in setSpeed()
|
D | RemoteController.java | 175 long currentPosMs, float speed); in onClientPlaybackStateUpdate() argument 680 PlaybackInfo(int state, long stateChangeTimeMs, long currentPosMs, float speed) { in PlaybackInfo() argument 684 mSpeed = speed; in PlaybackInfo()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerEntry.java | 233 Float speed = getNullableFloat(cursor, SPEED); in createEntry() local 234 if (speed != null) { in createEntry() 235 location.setSpeed(speed); in createEntry()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 191 int speed = getSpecificApSpeed(result, accessPoint.getScoredNetworkCache()); in verboseScanResultSummary() local 192 if (speed != AccessPoint.Speed.NONE) { in verboseScanResultSummary() 194 .append(accessPoint.getSpeedLabel(speed)); in verboseScanResultSummary()
|
D | AccessPoint.java | 638 int speed = timedScore.getScore().calculateBadge(mRssi); in generateAverageSpeedForSsid() local 639 if (speed != Speed.NONE) { in generateAverageSpeedForSsid() 641 totalSpeed += speed; in generateAverageSpeedForSsid() 644 int speed = count == 0 ? Speed.NONE : totalSpeed / count; in generateAverageSpeedForSsid() local 646 Log.i(TAG, String.format("%s generated fallback speed is: %d", getSsidStr(), speed)); in generateAverageSpeedForSsid() 648 return roundToClosestSpeedEnum(speed); in generateAverageSpeedForSsid() 1583 private static int roundToClosestSpeedEnum(int speed) { in roundToClosestSpeedEnum() argument 1584 if (speed < Speed.SLOW) { in roundToClosestSpeedEnum() 1586 } else if (speed < (Speed.SLOW + Speed.MODERATE) / 2) { in roundToClosestSpeedEnum() 1588 } else if (speed < (Speed.MODERATE + Speed.FAST) / 2) { in roundToClosestSpeedEnum() [all …]
|
D | TestAccessPointBuilder.java | 156 public TestAccessPointBuilder setSpeed(int speed) { in setSpeed() argument 157 mSpeed = speed; in setSpeed()
|
/frameworks/base/apct-tests/perftests/textclassifier/ |
D | run.sh | 4 adb shell cmd package compile -m speed -f com.android.perftests.textclassifier
|