Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DColorCountVerifier.java23 private int mCount; field in ColorCountVerifier
28 mCount = count; in ColorCountVerifier()
47 if (count != mCount) { in verify()
48 Log.d("ColorCountVerifier", ("Color count mismatch " + count) + " != " + mCount); in verify()
50 return count == mCount; in verify()
/cts/tests/sensor/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
131 if (mCount < 2) { in verify()
137 ((double) (mMaxTimestamp - mMinTimestamp)) / (mCount - 1), TimeUnit.NANOSECONDS); in verify()
172 if (mCount == 0) { in addSensorEventInternal()
183 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/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DZenModeBroadcastReceiver.java39 mCount++; in onReceive()
44 mCount = 0; in reset()
55 while (ms > 0 && mCount < count) { in waitFor()
65 (mCount < count ? "timeout" : "intents") + "."); in waitFor()
69 private int mCount = 0; field in ZenModeBroadcastReceiver
/cts/tests/tests/assist/common/src/android/assist/common/
DAutoResetLatch.java27 private final int mCount; field in AutoResetLatch
35 mCount = count; in AutoResetLatch()
43 mLatch = new CountDownLatch(mCount); in await()
51 mLatch = new CountDownLatch(mCount); in await()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGlesStubActivity.java232 private int mCount; field in GlesStubActivity.IntVectorValue
236 mCount = count; in IntVectorValue()
241 Log.i(LOG_TAG, "Getting : " + this.getName() + " " + mCount); in getValue()
243 return getIntValues(this.getFieldIdValue(), mCount); in getValue()
279 private int mCount; field in GlesStubActivity.FloatVectorValue
283 mCount = count; in FloatVectorValue()
288 Log.i(LOG_TAG, "Getting : " + this.getName() + " " + mCount); in getValue()
290 float[] result = new float[mCount]; in getValue()
301 private int mCount; field in GlesStubActivity.LongVectorValue
305 mCount = count; in LongVectorValue()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerPowerLevelActivity.java46 private Map<Integer, Integer> mCount; field in BleScannerPowerLevelActivity
62 mCount = null; in onCreate()
146 if (mCount == null) {
147 mCount = new HashMap<Integer, Integer>();
149 mCount.put(i, 0);
152 Integer t = mCount.get(powerLevelBit) + 1;
153 mCount.put(powerLevelBit, t);
/cts/tests/tests/widget/src/android/widget/cts/
DDummyAdapter.java24 int mCount; field in DummyAdapter
29 mCount = count; in DummyAdapter()
35 return mCount; in getCount()
DBaseAdapterTest.java145 private int mCount = 0; field in BaseAdapterTest.MockBaseAdapter
148 mCount = count; in setCount()
152 return mCount; in getCount()
DAbsSpinnerTest.java271 private int mCount = DEFAULT_COUNT; field in AbsSpinnerTest.MockSpinnerAdapter
279 return mCount; in getCount()
283 mCount = count; in setCount()
DAbsListView_ScrollTest.java632 private final int mCount;
637 mCount = count;
643 return mCount;
DGridViewTest.java704 private final int mCount; field in GridViewTest.MockGridViewAdapter
707 mCount = count; in MockGridViewAdapter()
725 return mCount; in getCount()
/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.java76 private int mCount = 0; field in ClipboardManagerListenerTest.CountingClipChangedListener
81 mCount++; in onPrimaryClipChanged()
86 return mCount; in getCount()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java48 private final int mCount; field in GridLayoutAnimCtsActivity.MockGridViewAdapter
51 mCount = count; in MockGridViewAdapter()
73 return mCount; in getCount()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java131 ++mCount; in add()
135 if (mCount == 0) { in getAvg()
138 return mSum / mCount; in getAvg()
142 if (mCount == 0) { in getAvgAbs()
145 return mSumAbs / mCount; in getAvgAbs()
152 private int mCount = 0; field in AudioHelper.Statistics
274 private int mCount = 0; field in AudioHelper.TimestampVerifier
302 if (mCount > 0) { // need delta info from previous iteration (skipping first) in add()
340 ++mCount; in add()
DMediaCodecTest.java2250 public int mCount; // either 0 or 1 if the buffer has been delivered field in MediaCodecTest.PcmAudioBufferStream
2278 mCount = 0; in PcmAudioBufferStream()
2288 if (mCount < 1 /* only one buffer */) { in read()
2289 ++mCount; in read()
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java140 private int mCount; field in BinderTest.MockServiceConnection
168 mCount++; in onServiceConnected()
171 if (mCount == 1) { in onServiceConnected()
178 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/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1481 final int mCount;
1487 mCount = count;
1513 return value == mCount;
1515 return value > mCount;
1517 return value < mCount;
/cts/tests/app/src/android/app/cts/
DServiceTest.java156 private int mCount; field in ServiceTest.TestConnection
189 mCount++; in onServiceConnected()
191 if (mCount == 1) { in onServiceConnected()
198 if (mCount == 2) { in onServiceConnected()