/frameworks/av/media/libaudioclient/ |
H A D | AudioTrackShared.cpp | 340 size_t stepCount = buffer->mFrameCount; local 341 if (stepCount == 0 || mIsShutdown) { 348 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); 349 mUnreleased -= stepCount; 354 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); 357 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); 755 size_t stepCount = buffer->mFrameCount; local 756 if (stepCount == 0 || mIsShutdown) { 763 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); 764 mUnreleased -= stepCount; [all...] |
H A D | AudioRecord.cpp | 861 size_t stepCount = audioBuffer->size / mFrameSize; local 862 if (stepCount == 0) { 867 buffer.mFrameCount = stepCount;
|
H A D | AudioTrack.cpp | 1719 size_t stepCount = audioBuffer->size / mFrameSize; local 1720 if (stepCount == 0) { 1725 buffer.mFrameCount = stepCount; 1729 mReleased += stepCount;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 203 * @param stepCount How many move steps to include in the drag 211 int stepCount) { 212 dragViewToBottom(test, test.getActivity(), v, stepCount); 221 * @param stepCount How many move steps to include in the drag 224 int stepCount) { 237 drag(test, x, x, fromY, toY, stepCount); 441 * @param stepCount How many move steps to include in the drag 448 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v, int stepCount) { argument 449 dragViewToTop((InstrumentationTestCase) test, v, stepCount); 467 * @param stepCount Ho 210 dragViewToBottom(ActivityInstrumentationTestCase test, View v, int stepCount) argument 223 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, int stepCount) argument 469 dragViewToTop(InstrumentationTestCase test, View v, int stepCount) argument 742 drag(ActivityInstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument 757 drag(InstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
H A D | TouchUtils.java | 168 public static void dragViewToTop(Instrumentation inst, View v, int stepCount) { argument 179 drag(inst, x, x, fromY, toY, stepCount); 265 float toY, int stepCount) { 272 float yStep = (toY - fromY) / stepCount; 273 float xStep = (toX - fromX) / stepCount; 278 for (int i = 0; i < stepCount; ++i) { 264 drag(Instrumentation inst, float fromX, float toX, float fromY, float toY, int stepCount) argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | BackgroundScanScheduler.java | 200 int stepCount = 0; 230 stepCount = setting.stepCount; 239 bucketSettings.step_count = stepCount; 562 settings.stepCount = originalSettings.stepCount;
|
H A D | WifiScanningServiceImpl.java | 1194 if (settings.stepCount < 1) { 1195 loge("Failing scan request because stepCount is " + settings.stepCount
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ScanTestUtil.java | 72 int stepCount, int batch, int bssidsPerScan, int reportEvents) { 78 request.stepCount = stepCount; 71 createRequest(int band, int period, int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) argument
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiScanner.java | 212 * exponentially as per formula: actual_period(N) = period * (2 ^ (N/stepCount)) 220 public int stepCount; field in class:WifiScanner.ScanSettings 240 dest.writeInt(stepCount); 273 settings.stepCount = in.readInt();
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewLayoutTest.java | 2275 int stepCount) throws Throwable { 2282 float yStep = (toY - fromY) / stepCount; 2283 float xStep = (toX - fromX) / stepCount; 2288 for (int i = 0; i < stepCount; ++i) { 2274 drag(ViewGroup view, float fromX, float toX, float fromY, float toY, int stepCount) argument
|
/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 7064 size_t stepCount = buffer->frameCount; local 7065 if (stepCount == 0) { 7068 ALOG_ASSERT(stepCount <= mRsmpInUnrel); 7069 mRsmpInUnrel -= stepCount; 7070 mRsmpInFront += stepCount;
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 1075 int stepCount = mNumStepDurations; 1089 stepCount += numStepLevels; 1090 if (stepCount > steps.length) { 1091 stepCount = steps.length; 1094 mNumStepDurations = stepCount;
|