/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/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/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/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/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 | 271 private int mCount = DEFAULT_COUNT; field in AbsSpinnerTest.MockSpinnerAdapter 279 return mCount; in getCount() 283 mCount = count; in setCount()
|
D | AbsListView_ScrollTest.java | 632 private final int mCount; 637 mCount = count; 643 return mCount;
|
D | GridViewTest.java | 704 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/ |
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 | 46 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/content/src/android/content/cts/ |
D | ClipboardManagerListenerTest.java | 76 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/ |
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/media/src/android/media/cts/ |
D | AudioHelper.java | 131 ++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()
|
D | MediaCodecTest.java | 2237 public int mCount; // either 0 or 1 if the buffer has been delivered field in MediaCodecTest.PcmAudioBufferStream 2265 mCount = 0; in PcmAudioBufferStream() 2275 if (mCount < 1 /* only one buffer */) { in read() 2276 ++mCount; in read()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BinderTest.java | 140 private int mCount; field in BinderTest.MockServiceConnection 168 mCount++; in onServiceConnected() 171 if (mCount == 1) { in onServiceConnected() 178 if (mCount == 2) { in onServiceConnected()
|
D | MessageQueueTest.java | 830 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/app/src/android/app/cts/ |
D | ServiceTest.java | 153 private int mCount; field in ServiceTest.TestConnection 186 mCount++; in onServiceConnected() 188 if (mCount == 1) { in onServiceConnected() 195 if (mCount == 2) { in onServiceConnected()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 1423 final int mCount; 1429 mCount = count; 1455 return value == mCount; 1457 return value > mCount; 1459 return value < mCount;
|