Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DAudioTrackShared.cpp340 size_t stepCount = buffer->mFrameCount; in releaseBuffer() local
341 if (stepCount == 0 || mIsShutdown) { in releaseBuffer()
348 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); in releaseBuffer()
349 mUnreleased -= stepCount; in releaseBuffer()
354 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); in releaseBuffer()
357 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); in releaseBuffer()
739 size_t stepCount = buffer->mFrameCount; in releaseBuffer() local
740 if (stepCount == 0 || mIsShutdown) { in releaseBuffer()
747 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); in releaseBuffer()
748 mUnreleased -= stepCount; in releaseBuffer()
[all …]
DAudioRecord.cpp845 size_t stepCount = audioBuffer->size / mFrameSize; in releaseBuffer() local
846 if (stepCount == 0) { in releaseBuffer()
851 buffer.mFrameCount = stepCount; in releaseBuffer()
DAudioTrack.cpp1686 size_t stepCount = audioBuffer->size / mFrameSize; in releaseBuffer() local
1687 if (stepCount == 0) { in releaseBuffer()
1692 buffer.mFrameCount = stepCount; in releaseBuffer()
1696 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/support/v7/recyclerview/tests/src/android/support/v7/util/
DTouchUtils.java169 public static void dragViewToTop(Instrumentation inst, View v, int stepCount) { in dragViewToTop() argument
180 drag(inst, x, x, fromY, toY, stepCount); in dragViewToTop()
266 float toY, int stepCount) { in drag() argument
273 float yStep = (toY - fromY) / stepCount; in drag()
274 float xStep = (toX - fromX) / stepCount; in drag()
279 for (int i = 0; i < stepCount; ++i) { in drag()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java201 int stepCount = 0; in createBucketSettings() local
231 stepCount = setting.stepCount; in createBucketSettings()
240 bucketSettings.step_count = stepCount; in createBucketSettings()
578 settings.stepCount = originalSettings.stepCount; in cloneScanSettings()
DWifiScanningServiceImpl.java1078 if (settings.stepCount < 1) { in addBackgroundScanRequest()
1079 loge("Failing scan request because stepCount is " + settings.stepCount in addBackgroundScanRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java72 int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
78 request.stepCount = stepCount; in createRequest()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java204 public int stepCount; field in WifiScanner.ScanSettings
224 dest.writeInt(stepCount); in writeToParcel()
250 settings.stepCount = in.readInt();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java1962 int stepCount) throws Throwable { in drag() argument
1969 float yStep = (toY - fromY) / stepCount; in drag()
1970 float xStep = (toX - fromX) / stepCount; in drag()
1975 for (int i = 0; i < stepCount; ++i) { in drag()
/frameworks/base/core/java/android/os/
DBatteryStats.java931 int stepCount = mNumStepDurations; in addLevelSteps() local
945 stepCount += numStepLevels; in addLevelSteps()
946 if (stepCount > steps.length) { in addLevelSteps()
947 stepCount = steps.length; in addLevelSteps()
950 mNumStepDurations = stepCount; in addLevelSteps()
/frameworks/av/services/audioflinger/
DThreads.cpp6733 size_t stepCount = buffer->frameCount; in releaseBuffer() local
6734 if (stepCount == 0) { in releaseBuffer()
6737 ALOG_ASSERT(stepCount <= mRsmpInUnrel); in releaseBuffer()
6738 mRsmpInUnrel -= stepCount; in releaseBuffer()
6739 mRsmpInFront += stepCount; in releaseBuffer()
/frameworks/base/api/
Dsystem-current.txt27007 field public int stepCount;