Home
last modified time | relevance | path

Searched refs:stepCount (Results 1 – 19 of 19) sorted by relevance

/aosp12/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp382 if (stepCount == 0 || mIsShutdown) { in releaseBuffer()
393 mUnreleased -= stepCount; in releaseBuffer()
880 if (stepCount == 0 || mIsShutdown) { in releaseBuffer()
891 mUnreleased -= stepCount; in releaseBuffer()
901 cblk->mServer += stepCount; in releaseBuffer()
902 mReleased += stepCount; in releaseBuffer()
1204 if (stepCount == 0) { in releaseBuffer()
1210 mUnreleased -= stepCount; in releaseBuffer()
1232 mFramesReady -= stepCount; in releaseBuffer()
1236 cblk->mServer += stepCount; in releaseBuffer()
[all …]
H A DAudioRecord.cpp1092 size_t stepCount = audioBuffer->size / mFrameSize; in releaseBuffer() local
1093 if (stepCount == 0) { in releaseBuffer()
1098 buffer.mFrameCount = stepCount; in releaseBuffer()
H A DAudioTrack.cpp2176 size_t stepCount = audioBuffer->size / mFrameSize; in releaseBuffer() local
2177 if (stepCount == 0) { in releaseBuffer()
2182 buffer.mFrameCount = stepCount; in releaseBuffer()
2192 mReleased += stepCount; in releaseBuffer()
/aosp12/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java227 int stepCount) { in dragViewToBottom() argument
228 dragViewToBottom(test, test.getActivity(), v, stepCount); in dragViewToBottom()
240 int stepCount) { in dragViewToBottom() argument
255 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom()
467 dragViewToTop((InstrumentationTestCase) test, v, stepCount); in dragViewToTop()
498 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop()
761 float fromY, float toY, int stepCount) { in drag() argument
776 float toY, int stepCount) { in drag() argument
785 float yStep = (toY - fromY) / stepCount; in drag()
786 float xStep = (toX - fromX) / stepCount; in drag()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/
H A DRampToStepAdapter.java77 int stepCount = (int) (ramp.getDuration() + mStepDuration - 1) / mStepDuration; in apply() local
78 for (int i = 0; i < stepCount - 1; i++) { in apply()
79 float pos = (float) i / stepCount; in apply()
85 int duration = (int) ramp.getDuration() - mStepDuration * (stepCount - 1); in apply()
H A DRampDownAdapter.java190 int stepCount = (int) Math.min(duration, mRampDownDuration) / mStepDuration; in createStepsDown() local
191 float amplitudeStep = amplitude / stepCount; in createStepsDown()
193 for (int i = 1; i < stepCount; i++) { in createStepsDown()
196 int remainingDuration = (int) duration - mStepDuration * (stepCount - 1); in createStepsDown()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
H A DBackgroundScanScheduler.java200 int stepCount = 0; in createBucketSettings() local
230 stepCount = setting.stepCount; in createBucketSettings()
239 bucketSettings.step_count = stepCount; in createBucketSettings()
562 settings.stepCount = originalSettings.stepCount; in cloneScanSettings()
H A DWifiScanningServiceImpl.java1716 if (settings.stepCount < 1) { in addBackgroundScanRequest()
1717 loge("Failing scan request because stepCount is " + settings.stepCount in addBackgroundScanRequest()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DScanTestUtil.java89 int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
96 request.stepCount = stepCount; in createRequest()
/aosp12/hardware/interfaces/sensors/1.0/default/
H A Dconvert.cpp152 dst->u.stepCount = src.u64.step_counter; in convertFromSensorEvent()
286 dst->u64.step_counter = src.u.stepCount; in convertToSensorEvent()
/aosp12/hardware/google/camera/common/sensor_listener/
H A Dgoog_sensor_sync.cc92 return event.sensor_event.u.stepCount; in ExtractAocEventCounter()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DWifiScanner.java429 public int stepCount; field in WifiScanner.ScanSettings
549 dest.writeInt(stepCount); in writeToParcel()
583 settings.stepCount = in.readInt();
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationThreadTest.java971 int stepCount = totalDuration / stepDuration; in vibrate_withWaveform_totalVibrationTimeRespected() local
972 long[] timings = new long[stepCount]; in vibrate_withWaveform_totalVibrationTimeRespected()
973 int[] amplitudes = new int[stepCount]; in vibrate_withWaveform_totalVibrationTimeRespected()
/aosp12/hardware/invensense/65xx/libsensors_iio/
H A DMPLSensor.cpp5897 uint64_t stepCount = 0; in readDmpPedometerEvents() local
5920 if (fscanf(fp, "%lld\n", &stepCount) < 0 || fclose(fp) < 0) { in readDmpPedometerEvents()
5926 if (stepCount == mLastStepCount) { in readDmpPedometerEvents()
5931 temp.data[0] = (float)stepCount; in readDmpPedometerEvents()
5933 temp.u64.step_counter = stepCount; in readDmpPedometerEvents()
5935 mLastStepCount = stepCount; in readDmpPedometerEvents()
/aosp12/hardware/invensense/6515/libsensors_iio/
H A DMPLSensor.cpp6443 uint64_t stepCount; local
6451 if (fscanf(fp, "%lld\n", &stepCount) < 0) {
6464 if (stepCount == mLastStepCount) {
6468 mLastStepCount = stepCount;
/aosp12/frameworks/base/core/java/android/os/
H A DBatteryStats.java1473 int stepCount = mNumStepDurations; in addLevelSteps() local
1487 stepCount += numStepLevels; in addLevelSteps()
1488 if (stepCount > steps.length) { in addLevelSteps()
1489 stepCount = steps.length; in addLevelSteps()
1492 mNumStepDurations = stepCount; in addLevelSteps()
/aosp12/frameworks/av/services/audioflinger/
H A DThreads.cpp8819 int32_t stepCount = static_cast<int32_t>(buffer->frameCount); in releaseBuffer() local
8820 if (stepCount == 0) { in releaseBuffer()
8823 ALOG_ASSERT(stepCount <= mRsmpInUnrel); in releaseBuffer()
8824 mRsmpInUnrel -= stepCount; in releaseBuffer()
8825 mRsmpInFront = audio_utils::safe_add_overflow(mRsmpInFront, stepCount); in releaseBuffer()
/aosp12/hardware/interfaces/sensors/1.0/
H A Dtypes.hal1218 uint64_t stepCount;
/aosp12/packages/modules/Wifi/framework/api/
H A Dsystem-current.txt879 field @Deprecated public int stepCount;