Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
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()
755 size_t stepCount = buffer->mFrameCount; in releaseBuffer() local
756 if (stepCount == 0 || mIsShutdown) { in releaseBuffer()
763 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); in releaseBuffer()
764 mUnreleased -= stepCount; in releaseBuffer()
[all …]
DAudioRecord.cpp861 size_t stepCount = audioBuffer->size / mFrameSize; in releaseBuffer() local
862 if (stepCount == 0) { in releaseBuffer()
867 buffer.mFrameCount = stepCount; in releaseBuffer()
DAudioTrack.cpp1719 size_t stepCount = audioBuffer->size / mFrameSize; in releaseBuffer() local
1720 if (stepCount == 0) { in releaseBuffer()
1725 buffer.mFrameCount = stepCount; in releaseBuffer()
1729 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.java168 public static void dragViewToTop(Instrumentation inst, View v, int stepCount) { in dragViewToTop() argument
179 drag(inst, x, x, fromY, toY, stepCount); in dragViewToTop()
265 float toY, int stepCount) { in drag() argument
272 float yStep = (toY - fromY) / stepCount; in drag()
273 float xStep = (toX - fromX) / stepCount; in drag()
278 for (int i = 0; i < stepCount; ++i) { in drag()
/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.java1194 if (settings.stepCount < 1) { in addBackgroundScanRequest()
1195 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.java220 public int stepCount; field in WifiScanner.ScanSettings
240 dest.writeInt(stepCount); in writeToParcel()
273 settings.stepCount = in.readInt();
/frameworks/base/core/java/android/os/
DBatteryStats.java1075 int stepCount = mNumStepDurations; in addLevelSteps() local
1089 stepCount += numStepLevels; in addLevelSteps()
1090 if (stepCount > steps.length) { in addLevelSteps()
1091 stepCount = steps.length; in addLevelSteps()
1094 mNumStepDurations = stepCount; in addLevelSteps()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java2275 int stepCount) throws Throwable { in drag() argument
2282 float yStep = (toY - fromY) / stepCount; in drag()
2283 float xStep = (toX - fromX) / stepCount; in drag()
2288 for (int i = 0; i < stepCount; ++i) { in drag()
/frameworks/av/services/audioflinger/
DThreads.cpp7064 size_t stepCount = buffer->frameCount; in releaseBuffer() local
7065 if (stepCount == 0) { in releaseBuffer()
7068 ALOG_ASSERT(stepCount <= mRsmpInUnrel); in releaseBuffer()
7069 mRsmpInUnrel -= stepCount; in releaseBuffer()
7070 mRsmpInFront += stepCount; in releaseBuffer()
/frameworks/base/api/
Dsystem-current.txt29275 field public int stepCount;