Home
last modified time | relevance | path

Searched refs:mCount (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DAbstractMeanVerification.java28 private int mCount = 0; field in AbstractMeanVerification
42 mCount++; in addSensorEventInternal()
49 return mCount; in getCount()
56 if (mCount < 0) { in getMeans()
62 means[i] = mSums[i] / mCount; in getMeans()
DFrequencyVerification.java48 private int mCount = 0; field in FrequencyVerification
118 if (mCount < 2) { in verify()
124 ((double) (mMaxTimestamp - mMinTimestamp)) / (mCount - 1), TimeUnit.NANOSECONDS); in verify()
159 if (mCount == 0) { in addSensorEventInternal()
170 mCount++; in addSensorEventInternal()
DMagnitudeVerification.java49 private int mCount = 0; field in MagnitudeVerification
93 if (mCount < 1) { in verify()
98 float mean = mSum / mCount; in verify()
124 mCount++; in addSensorEventInternal()
DStandardDeviationVerification.java52 private int mCount = 0; field in StandardDeviationVerification
134 if (mCount < 2) { in verify()
141 stdDevs[i] = (float) Math.sqrt(mM2s[i] / (mCount - 1)); in verify()
201 mCount++; in addSensorEventInternal()
205 mMeans[i] += delta / mCount; in addSensorEventInternal()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationActivity.java27 private int mCount = 1; field in LayoutAnimationActivity
39 newButton.setText("Button:" + LayoutAnimationActivity.this.mCount); in onCreate()
42 LayoutAnimationActivity.this.mCount++; in onCreate()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerTest.java75 private int mCount = 0; field in ClipboardManagerListenerTest.CountingClipChangedListener
80 mCount++; in onPrimaryClipChanged()
85 return mCount; in getCount()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerPowerLevelActivity.java46 private Map<Integer, Integer> mCount; field in BleScannerPowerLevelActivity
82 mCount = null; in onCreate()
166 if (mCount == null) {
167 mCount = new HashMap<Integer, Integer>();
169 mCount.put(i, 0);
173 Integer t = mCount.get(powerLevelBit) + 1;
174 mCount.put(powerLevelBit, t);
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java49 private final int mCount; field in GridLayoutAnimCtsActivity.MockGridViewAdapter
52 mCount = count; in MockGridViewAdapter()
74 return mCount; in getCount()
/cts/tests/tests/widget/src/android/widget/cts/
DBaseAdapterTest.java103 private int mCount = 0; field in BaseAdapterTest.MockBaseAdapter
106 mCount = count; in setCount()
110 return mCount; in getCount()
DAbsSpinnerTest.java274 private int mCount = DEFAULT_COUNT; field in AbsSpinnerTest.MockSpinnerAdapter
282 return mCount; in getCount()
286 mCount = count; in setCount()
DGridViewTest.java655 private final int mCount;
658 mCount = count;
680 return mCount;
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java85 ++mCount; in add()
89 if (mCount == 0) { in getAvg()
92 return mSum / mCount; in getAvg()
96 if (mCount == 0) { in getAvgAbs()
99 return mSumAbs / mCount; in getAvgAbs()
106 private int mCount = 0; field in AudioHelper.Statistics
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java137 private int mCount; field in BinderTest.MockServiceConnection
165 mCount++; in onServiceConnected()
168 if (mCount == 1) { in onServiceConnected()
175 if (mCount == 2) { in onServiceConnected()
DMessageQueueTest.java830 int mCount; field in MessageQueueTest.OrderTestHelper
846 if (mCount <= mLastMessage) { in handleMessage()
847 if (msg.what != mCount) { in handleMessage()
848 failure(new RuntimeException("Expected message #" + mCount + ", received #" in handleMessage()
850 } else if (mCount == mLastMessage) { in handleMessage()
854 mCount++; in handleMessage()
/cts/tests/tests/app/src/android/app/cts/
DServiceTest.java66 private int mCount; field in ServiceTest.TestConnection
93 mCount++; in onServiceConnected()
95 if (mCount == 1) { in onServiceConnected()
102 if (mCount == 2) { in onServiceConnected()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java633 private int mCount; field in KeyEventTest.MockCallback
656 return mCount; in getCount()
680 mCount = count; in onKeyMultiple()