/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | DrawCountDown.java | 40 DrawCountDown counter = new DrawCountDown(targetView, countFrames, in countDownDraws() local 43 sPendingCallbacks.add(counter); in countDownDraws() 45 targetView.getViewTreeObserver().addOnPreDrawListener(counter); in countDownDraws() 50 for (DrawCountDown counter : sPendingCallbacks) { in cancelPending() 51 counter.mTargetView.getViewTreeObserver().removeOnPreDrawListener(counter); in cancelPending()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/util/ |
D | DrawCountDown.java | 40 DrawCountDown counter = new DrawCountDown(targetView, countFrames, in countDownDraws() local 43 sPendingCallbacks.add(counter); in countDownDraws() 45 targetView.getViewTreeObserver().addOnPreDrawListener(counter); in countDownDraws() 50 for (DrawCountDown counter : sPendingCallbacks) { in cancelPending() 51 counter.mTargetView.getViewTreeObserver().removeOnPreDrawListener(counter); in cancelPending()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/ |
D | T_monitor_enter_1.smali | 19 .field public counter:I 28 iput v0, v1, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I 36 iget v1, v7, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I 41 iget v2, v7, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I 46 iput v1, v7, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I 52 iput v5, v7, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I 60 iput v5, v7, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I
|
D | T_monitor_enter_1.java | 20 public int counter = 0; field in T_monitor_enter_1 24 int a = counter; in run() 26 counter = ++a; in run()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ExtendedCameraCharacteristicsTest.java | 149 int counter = 0; in testAvailableStreamConfigs() local 155 mAllCameraIds[counter]), config); in testAvailableStreamConfigs() 164 Log.i(TAG, "Camera " + mAllCameraIds[counter] + in testAvailableStreamConfigs() 176 mAllCameraIds[counter]), outputFormats, ImageFormat.YUV_420_888); in testAvailableStreamConfigs() 180 mAllCameraIds[counter]), outputFormats, ImageFormat.Y8); in testAvailableStreamConfigs() 183 mAllCameraIds[counter]), outputFormats, ImageFormat.JPEG); in testAvailableStreamConfigs() 193 ImageFormat.YUV_420_888, mAllCameraIds[counter])); in testAvailableStreamConfigs() 197 ImageFormat.Y8, mAllCameraIds[counter])); in testAvailableStreamConfigs() 209 … assertNotNull("Can't get lens facing info for camera id: " + mAllCameraIds[counter], lensFacing); in testAvailableStreamConfigs() 234 ImageFormat.JPEG, mAllCameraIds[counter]), jpegSizes, in testAvailableStreamConfigs() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | HandoverTest.java | 142 TestUtils.InvokeCounter counter = in testOutgoingHandoverRequestValid() local 145 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOutgoingHandoverRequestValid() 151 PhoneAccountHandle fromHandle = (PhoneAccountHandle) counter.getArgs(0)[0]; in testOutgoingHandoverRequestValid() 154 ConnectionRequest request = (ConnectionRequest) counter.getArgs(0)[1]; in testOutgoingHandoverRequestValid() 184 TestUtils.InvokeCounter counter = in testIncomingHandoverRequestValid() local 187 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testIncomingHandoverRequestValid() 193 PhoneAccountHandle fromHandle = (PhoneAccountHandle) counter.getArgs(0)[0]; in testIncomingHandoverRequestValid() 196 ConnectionRequest request = (ConnectionRequest) counter.getArgs(0)[1]; in testIncomingHandoverRequestValid()
|
D | ExternalCallTest.java | 85 final TestUtils.InvokeCounter counter = mConnection.getInvokeCounter( in testPullExternalCall() local 88 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testPullExternalCall() 100 final TestUtils.InvokeCounter counter = mConnection.getInvokeCounter( in testNonPullableExternalCall() local 104 counter.waitForCount(0, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testNonPullableExternalCall()
|
D | CallDetailsTest.java | 545 final InvokeCounter counter = mConnection.getInvokeCounter( in testCallPutExtras() local 548 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallPutExtras() 567 final InvokeCounter counter = setupCallExtras(); in testCallRemoveExtras() local 571 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras() 581 counter.waitForCount(3, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras() 598 final InvokeCounter counter = setupCallExtras(); in testCallRemoveExtras2() local 602 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras2() 617 final InvokeCounter counter = mConnection.getInvokeCounter( in setupCallExtras() local 620 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in setupCallExtras() 630 return counter; in setupCallExtras() [all …]
|
D | SelfManagedConnectionServiceTest.java | 423 TestUtils.InvokeCounter counter = connection.getCallAudioStateChangedInvokeCounter(); in testAudioRoute() local 424 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute() 425 CallAudioState callAudioState = (CallAudioState) counter.getArgs(0)[0]; in testAudioRoute() 440 counter.clearArgs(); in testAudioRoute() 442 counter.waitForPredicate(new Predicate<CallAudioState>() { in testAudioRoute() 449 counter.clearArgs(); in testAudioRoute() 451 counter.waitForPredicate(new Predicate<CallAudioState>() { in testAudioRoute()
|
D | ExtendedInCallServiceTest.java | 588 final InvokeCounter counter = connection.getInvokeCounter(MockConnection.ON_SILENCE); in testSilenceRinger() local 597 counter.waitForCount(1); in testSilenceRinger() 621 final InvokeCounter counter = connection.getInvokeCounter(MockConnection.ON_POST_DIAL_WAIT); in testOnPostDialWaitAndContinue() local 624 counter.waitForCount(1); in testOnPostDialWaitAndContinue() 625 assertTrue((Boolean) counter.getArgs(0)[0]); in testOnPostDialWaitAndContinue() 628 counter.waitForCount(2); in testOnPostDialWaitAndContinue() 629 assertFalse((Boolean) counter.getArgs(1)[0]); in testOnPostDialWaitAndContinue()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | TestLocalInteractionActivity.java | 38 void startLocalInteraction(CountDownLatch counter) { in startLocalInteraction() argument 42 mStarted = counter; in startLocalInteraction() 54 void stopLocalInteraction(CountDownLatch counter) { in stopLocalInteraction() argument 55 mStopped = counter; in stopLocalInteraction()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 149 int counter = 0; in testAnimationOnLayer() local 159 counter++; in testAnimationOnLayer() 164 "screenshot_" + counter); in testAnimationOnLayer() 166 "screenshot_" + (counter - 1)); in testAnimationOnLayer() 179 assertTrue(counter >= 5); in testAnimationOnLayer() 313 for (int counter = 0; counter < 10; counter++) { in testInfiniteAVD() 321 "inf_avd_screenshot_" + mLayerType + "_" + counter); in testInfiniteAVD() 323 "inf_avd_screenshot_" + mLayerType + "_" + (counter - 1)); in testInfiniteAVD() 328 counter++; in testInfiniteAVD()
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 23 import static android.atrace.cts.AtraceDeviceTestList.counter; 171 for (Counter counter : processModel.getCounters()) { in findCounter() 172 if (name.equals(counter.getName())) { in findCounter() 173 return counter; in findCounter() 210 TraceResult result = traceSingleTest(counter); in testCounter() 217 Counter counter = findCounter(process, "AtraceDeviceTest::counter"); in testCounter() local 218 assertNotNull(counter); in testCounter() 219 List<CounterValue> values = counter.getEvents(); in testCounter()
|
D | AtraceDeviceTestList.java | 24 counter, enumConstant
|
/cts/tests/tests/simpleperf/CtsSimpleperfDebuggableApp/com/android/simpleperf/debuggable/ |
D | MainActivity.java | 38 volatile int counter = 0; in createBusyThread() 44 counter++; in createBusyThread()
|
/cts/tests/tests/simpleperf/CtsSimpleperfProfileableApp/com/android/simpleperf/profileable/ |
D | MainActivity.java | 38 volatile int counter = 0; in createBusyThread() 44 counter++; in createBusyThread()
|
/cts/hostsidetests/atrace/AtraceTestApp/jni/ |
D | CtsTrace.cpp | 35 static void counter(JNIEnv*, jclass) { in counter() function 46 { "counter", "()V", (void*) counter },
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 203 WallpaperManager.OnColorsChangedListener counter = (colors, whichWp) -> latch.countDown(); in addRemoveOnColorsChangedListenerTest_onlyInvokeAdded() local 211 mWallpaperManager.addOnColorsChangedListener(counter, mHandler); in addRemoveOnColorsChangedListenerTest_onlyInvokeAdded() 221 mWallpaperManager.removeOnColorsChangedListener(counter); in addRemoveOnColorsChangedListenerTest_onlyInvokeAdded() 340 WallpaperManager.OnColorsChangedListener counter = (colors, whichWp) -> { in verifyColorListenerInvoked() local 362 mWallpaperManager.addOnColorsChangedListener(counter, mHandler); in verifyColorListenerInvoked() 375 mWallpaperManager.removeOnColorsChangedListener(counter); in verifyColorListenerInvoked() 389 WallpaperManager.OnColorsChangedListener counter = (colors, whichWp) -> { in verifyColorListenerInvokedClearing() local 394 mWallpaperManager.addOnColorsChangedListener(counter, mHandler); in verifyColorListenerInvokedClearing() 407 mWallpaperManager.removeOnColorsChangedListener(counter); in verifyColorListenerInvokedClearing()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraIntentsActivity.java | 603 for (int counter = 0; counter < NUM_STAGES; counter++) { in onClick() 604 String combination = getStageString(counter) + "\n"; in onClick() 606 if(counter < stageIndex) { in onClick() 612 if(counter == stageIndex) { in onClick() 622 if(counter > stageIndex) { in onClick() 628 counter++; in onClick()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | CodecUtils.java | 161 int counter = 0; in readBinaryCounterFromBitmap() local 165 counter |= (1 << i); in readBinaryCounterFromBitmap() 168 return counter; in readBinaryCounterFromBitmap()
|
/cts/hostsidetests/atrace/AtraceTestApp/src/com/android/cts/atracetestapp/ |
D | AtraceDeviceTests.java | 83 public void counter() { in counter() method in AtraceDeviceTests 90 AtraceNdkMethods.counter(); in counter()
|
D | AtraceNdkMethods.java | 23 public static native void counter(); in counter() method in AtraceNdkMethods
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapTests.java | 107 RtOnlyFrameCounter counter = new RtOnlyFrameCounter(); in testChangeDuringRtAnimation() local 137 getActivity().getWindow().addOnFrameMetricsAvailableListener(counter, handler); in testChangeDuringRtAnimation() 143 getActivity().getWindow().removeOnFrameMetricsAvailableListener(counter); in testChangeDuringRtAnimation() 151 Assert.assertTrue(counter.isLargeEnough()); in testChangeDuringRtAnimation()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | DeviceAtomTestCase.java | 297 int counter = 1; in waitForStatsServiceStart() local 303 Thread.sleep(Math.min(200 * counter, 2_000)); in waitForStatsServiceStart() 304 counter++; in waitForStatsServiceStart()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 301 int counter = 0; in onClick() local 311 if(counter < stageIndex) { in onClick() 317 if(counter == stageIndex) { in onClick() 327 if(counter > stageIndex) { in onClick() 333 counter++; in onClick()
|