/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | ColorCountVerifier.java | 23 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/ |
D | AbstractMeanVerification.java | 28 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()
|
D | FrequencyVerification.java | 48 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()
|
D | MagnitudeVerification.java | 49 private int mCount = 0; field in MagnitudeVerification 93 if (mCount < 1) { in verify() 98 float mean = mSum / mCount; in verify() 124 mCount++; in addSensorEventInternal()
|
D | StandardDeviationVerification.java | 52 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/assist/common/src/android/assist/common/ |
D | AutoResetLatch.java | 27 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/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | ZenModeBroadcastReceiver.java | 39 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/framework/base/windowmanager/util/src/android/server/wm/ |
D | RotationSession.java | 108 () -> mRotationObserver.mCount == 2).setRetryIntervalMs(500)); in set() 117 () -> mRotationObserver.mCount > 0).setRetryIntervalMs(100)); in set() 136 private int mCount; field in RotationSession.SettingsObserver 143 mCount = 0; in observe() 150 mCount = 0; in stopObserver() 157 mCount++; in onChange()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/extensions/util/ |
D | TestValueCountConsumer.java | 40 private int mCount = DEFAULT_COUNT; field in TestValueCountConsumer 55 mCount = count; in setCount() 65 for (int i = 0; i < mCount; i++) { in waitAndGet() 79 for (int i = 0; i < mCount; i++) { in waitAndGetAllValues()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DummyAdapter.java | 24 int mCount; field in DummyAdapter 29 mCount = count; in DummyAdapter() 35 return mCount; in getCount()
|
D | BaseAdapterTest.java | 145 private int mCount = 0; field in BaseAdapterTest.MockBaseAdapter 148 mCount = count; in setCount() 152 return mCount; in getCount()
|
D | AbsSpinnerTest.java | 280 private int mCount = DEFAULT_COUNT; field in AbsSpinnerTest.MockSpinnerAdapter 288 return mCount; in getCount() 292 mCount = count; in setCount()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | LayoutAnimationActivity.java | 27 private int mCount = 1; field in LayoutAnimationActivity 39 newButton.setText("Button:" + LayoutAnimationActivity.this.mCount); in onCreate() 42 LayoutAnimationActivity.this.mCount++; in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerPowerLevelActivity.java | 44 private Map<Integer, Integer> mCount; field in BleScannerPowerLevelActivity 60 mCount = null; in onCreate() 144 if (mCount == null) { 145 mCount = new HashMap<Integer, Integer>(); 147 mCount.put(i, 0); 150 Integer t = mCount.get(powerLevelBit) + 1; 151 mCount.put(powerLevelBit, t);
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | GlesStubActivity.java | 232 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/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 48 private final int mCount; field in GridLayoutAnimCtsActivity.MockGridViewAdapter 51 mCount = count; in MockGridViewAdapter() 73 return mCount; in getCount()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerListenerTest.java | 104 private int mCount = 0; field in ClipboardManagerListenerTest.CountingClipChangedListener 109 mCount++; in onPrimaryClipChanged() 114 return mCount; in getCount()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | AudioHelper.java | 247 ++mCount; in add() 251 if (mCount == 0) { in getAvg() 254 return mSum / mCount; in getAvg() 258 if (mCount == 0) { in getAvgAbs() 261 return mSumAbs / mCount; in getAvgAbs() 268 private int mCount = 0; field in AudioHelper.Statistics 393 private int mCount = 0; field in AudioHelper.TimestampVerifier 425 if (mCount > 0) { // need delta info from previous iteration (skipping first) in add() 463 ++mCount; in add()
|
D | StreamUtils.java | 266 public int mCount; // either 0 or 1 if the buffer has been delivered field in StreamUtils.PcmAudioBufferStream 294 mCount = 0; in PcmAudioBufferStream() 304 if (mCount < 1 /* only one buffer */) { in read() 305 ++mCount; in read()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BinderIntegrationTest.java | 143 private int mCount; field in BinderIntegrationTest.MockServiceConnection 171 mCount++; in onServiceConnected() 174 if (mCount == 1) { in onServiceConnected() 181 if (mCount == 2) { in onServiceConnected()
|
D | IpcDataCacheTest.java | 52 private int mCount = 0; field in IpcDataCacheTest.ServerProxy 56 mCount++; in query() 67 assertEquals(x, mCount); in verify()
|
D | MessageQueueTest.java | 936 int mCount; field in MessageQueueTest.OrderTestHelper 952 if (mCount <= mLastMessage) { in handleMessage() 953 if (msg.what != mCount) { in handleMessage() 954 failure(new RuntimeException("Expected message #" + mCount + ", received #" in handleMessage() 956 } else if (mCount == mLastMessage) { in handleMessage() 960 mCount++; in handleMessage()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapTests.java | 114 private int mCount = 0; in testChangeDuringRtAnimation() field in BitmapTests.RtOnlyFrameCounter 123 mCount++; in testChangeDuringRtAnimation() 125 mOnCountChanged.apply(mCount); in testChangeDuringRtAnimation() 131 return mCount >= 5; in testChangeDuringRtAnimation()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsAnimationControllerTests.java | 950 private int mCount = 0; field in WindowInsetsAnimationControllerTests.LimitedErrorCollector 955 if (mCount < THROW_LIMIT) { in addError() 957 } else if (mCount < LOG_LIMIT) { in addError() 960 mCount++; in addError() 965 if (mCount > THROW_LIMIT) { in verify() 968 new AssertionError((mCount - THROW_LIMIT) + " errors suppressed.")); in verify() 972 (mCount - THROW_LIMIT) + " errors suppressed; " + "additional errors:"); in verify()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityEventTest.java | 189 private int mCount = 0; field in AccessibilityEventTest.ScrollEventFilter 198 mCount += 1; in accept() 200 return mCount >= mTargetCount; in accept() 349 private int mCount; field in AccessibilityEventTest.StateDescriptionEventFilter 359 mCount += 1; in accept() 361 return mCount >= mTargetCount; in accept()
|