Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp344 size_t stepCount = buffer->mFrameCount; in releaseBuffer() local
345 if (stepCount == 0 || mIsShutdown) { in releaseBuffer()
352 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount), in releaseBuffer()
355 __func__, stepCount, mUnreleased, mFrameCount, getBufferSizeInFrames()); in releaseBuffer()
356 mUnreleased -= stepCount; in releaseBuffer()
361 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); in releaseBuffer()
364 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); in releaseBuffer()
841 size_t stepCount = buffer->mFrameCount; in releaseBuffer() local
842 if (stepCount == 0 || mIsShutdown) { in releaseBuffer()
849 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount), in releaseBuffer()
[all …]
DAudioRecord.cpp988 size_t stepCount = audioBuffer->size / mFrameSize; in releaseBuffer() local
989 if (stepCount == 0) { in releaseBuffer()
994 buffer.mFrameCount = stepCount; in releaseBuffer()
DAudioTrack.cpp1745 size_t stepCount = audioBuffer->size / mFrameSize; in releaseBuffer() local
1746 if (stepCount == 0) { in releaseBuffer()
1751 buffer.mFrameCount = stepCount; in releaseBuffer()
1761 mReleased += stepCount; in releaseBuffer()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java211 int stepCount) { in dragViewToBottom() argument
212 dragViewToBottom(test, test.getActivity(), v, stepCount); in dragViewToBottom()
224 int stepCount) { in dragViewToBottom() argument
237 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom()
448 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v, int stepCount) { in dragViewToTop() argument
449 dragViewToTop((InstrumentationTestCase) test, v, stepCount); in dragViewToTop() local
469 public static void dragViewToTop(InstrumentationTestCase test, View v, int stepCount) { in dragViewToTop() argument
480 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop()
743 float fromY, float toY, int stepCount) { in drag() argument
744 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); in drag() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
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()
DWifiScanningServiceImpl.java1342 if (settings.stepCount < 1) { in addBackgroundScanRequest()
1343 loge("Failing scan request because stepCount is " + settings.stepCount in addBackgroundScanRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java79 int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
86 request.stepCount = stepCount; in createRequest()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java243 public int stepCount; field in WifiScanner.ScanSettings
287 dest.writeInt(stepCount); in writeToParcel()
323 settings.stepCount = in.readInt();
/frameworks/av/services/audioflinger/
DThreads.cpp8063 int32_t stepCount = static_cast<int32_t>(buffer->frameCount); in releaseBuffer() local
8064 if (stepCount == 0) { in releaseBuffer()
8067 ALOG_ASSERT(stepCount <= mRsmpInUnrel); in releaseBuffer()
8068 mRsmpInUnrel -= stepCount; in releaseBuffer()
8069 mRsmpInFront = audio_utils::safe_add_overflow(mRsmpInFront, stepCount); in releaseBuffer()
/frameworks/base/core/java/android/os/
DBatteryStats.java1391 int stepCount = mNumStepDurations; in addLevelSteps() local
1405 stepCount += numStepLevels; in addLevelSteps()
1406 if (stepCount > steps.length) { in addLevelSteps()
1407 stepCount = steps.length; in addLevelSteps()
1410 mNumStepDurations = stepCount; in addLevelSteps()
/frameworks/base/api/
Dsystem-current.txt5560 field public int stepCount;
/frameworks/base/non-updatable-api/
Dsystem-current.txt5466 field public int stepCount;