/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/tests/tests/telecom/src/android/telecom/cts/ |
D | ExternalCallTest.java | 86 final TestUtils.InvokeCounter counter = mExternalConnection.getInvokeCounter( in testPullExternalCall() local 89 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testPullExternalCall() 107 final TestUtils.InvokeCounter counter = mExternalConnection.getInvokeCounter( in testNonPullableExternalCall() local 111 counter.waitForCount(5000L/*mS*/); in testNonPullableExternalCall() 112 assertEquals(0, counter.getInvokeCount()); in testNonPullableExternalCall() 156 final TestUtils.InvokeCounter counter = mExternalConnection.getInvokeCounter( in testTryToPullCallWhileInEmergencyCall() local 161 counter.waitForCount(5000L /*mS*/); in testTryToPullCallWhileInEmergencyCall() 162 assertEquals(0, counter.getInvokeCount()); in testTryToPullCallWhileInEmergencyCall() 194 final TestUtils.InvokeCounter counter = mExternalConnection.getInvokeCounter( in testExternalCallAndPullCall() local 197 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testExternalCallAndPullCall()
|
D | HandoverTest.java | 156 TestUtils.InvokeCounter counter = in testOutgoingHandoverRequestValid() local 159 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOutgoingHandoverRequestValid() 165 PhoneAccountHandle fromHandle = (PhoneAccountHandle) counter.getArgs(0)[0]; in testOutgoingHandoverRequestValid() 168 ConnectionRequest request = (ConnectionRequest) counter.getArgs(0)[1]; in testOutgoingHandoverRequestValid() 199 TestUtils.InvokeCounter counter = in testIncomingHandoverRequestValid() local 202 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testIncomingHandoverRequestValid() 208 PhoneAccountHandle fromHandle = (PhoneAccountHandle) counter.getArgs(0)[0]; in testIncomingHandoverRequestValid() 211 ConnectionRequest request = (ConnectionRequest) counter.getArgs(0)[1]; in testIncomingHandoverRequestValid()
|
D | CallDetailsTest.java | 842 final InvokeCounter counter = mConnection.getInvokeCounter( in testCallPutExtras() local 845 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallPutExtras() 864 final InvokeCounter counter = setupCallExtras(); in testCallRemoveExtras() local 868 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras() 878 counter.waitForCount(3, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras() 895 final InvokeCounter counter = setupCallExtras(); in testCallRemoveExtras2() local 899 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras2() 914 final InvokeCounter counter = mConnection.getInvokeCounter( in setupCallExtras() local 917 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in setupCallExtras() 927 return counter; in setupCallExtras() [all …]
|
D | CallDiagnosticServiceTest.java | 233 final TestUtils.InvokeCounter counter = mConnection.getInvokeCounter( in testSendD2DMessage() local 235 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSendD2DMessage() 237 String event = (String) (counter.getArgs(0)[0]); in testSendD2DMessage() 238 Bundle extras = (Bundle) (counter.getArgs(0)[1]); in testSendD2DMessage()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/ |
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()
|
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
|
/cts/tests/tests/voiceinteraction/localvoiceinteraction/src/android/voiceinteraction/cts/localvoiceinteraction/ |
D | TestLocalInteractionActivity.java | 40 void startLocalInteraction(CountDownLatch counter) { in startLocalInteraction() argument 44 mStarted = counter; in startLocalInteraction() 68 void stopLocalInteraction(CountDownLatch counter) { in stopLocalInteraction() argument 69 mStopped = counter; in stopLocalInteraction()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 156 int counter = 0; in testAnimationOnLayer() local 166 counter++; in testAnimationOnLayer() 171 "screenshot_" + counter); in testAnimationOnLayer() 173 "screenshot_" + (counter - 1)); in testAnimationOnLayer() 186 assertTrue(counter >= 5); in testAnimationOnLayer() 317 for (int counter = 0; counter < 10; counter++) { in testInfiniteAVD() 325 "inf_avd_screenshot_" + mLayerType + "_" + counter); in testInfiniteAVD() 327 "inf_avd_screenshot_" + mLayerType + "_" + (counter - 1)); in testInfiniteAVD() 332 counter++; in testInfiniteAVD()
|
/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/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 23 import static android.atrace.cts.AtraceDeviceTestList.counter; 172 for (Counter counter : processModel.getCounters()) { in findCounter() 173 if (name.equals(counter.getName())) { in findCounter() 174 return counter; in findCounter() 212 TraceResult result = traceSingleTest(counter); in testCounter() 219 Counter counter = findCounter(process, "AtraceDeviceTest::counter"); in testCounter() local 220 assertNotNull(counter); in testCounter() 221 List<CounterValue> values = counter.getEvents(); in testCounter()
|
D | AtraceDeviceTestList.java | 24 counter, enumConstant
|
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/ |
D | CtsGpuProfilingDataTest.java | 242 for (GpuCounterEvent.GpuCounter counter : gpuCounterEvent.getCountersList()) { in testProfilingDataProducersAvailable() 245 if ((counter.hasIntValue() && counter.getIntValue() > 0) in testProfilingDataProducersAvailable() 246 || (counter.hasDoubleValue() && counter.getDoubleValue() > 0.0)) { in testProfilingDataProducersAvailable()
|
/cts/hostsidetests/atrace/AtraceTestApp/src/com/android/cts/atracetestapp/ |
D | AtraceNdkMethods.java | 23 public static native void counter(); in counter() method in AtraceNdkMethods
|
D | AtraceDeviceTests.java | 83 public void counter() { in counter() method in AtraceDeviceTests 90 AtraceNdkMethods.counter(); in counter()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapTests.java | 135 RtOnlyFrameCounter counter = new RtOnlyFrameCounter(); in testChangeDuringRtAnimation() local 154 counter.mOnCountChanged = (Integer count) -> { in testChangeDuringRtAnimation() 162 getActivity().getWindow().addOnFrameMetricsAvailableListener(counter, handler); in testChangeDuringRtAnimation() 168 getActivity().getWindow().removeOnFrameMetricsAvailableListener(counter); in testChangeDuringRtAnimation() 176 Assert.assertTrue(counter.isLargeEnough()); in testChangeDuringRtAnimation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraIntentsActivity.java | 681 for (int counter = 0; counter < NUM_STAGES; counter++) { in onClick() 682 String combination = getStageString(counter) + "\n"; in onClick() 684 if(counter < stageIndex) { in onClick() 690 if(counter == stageIndex) { in onClick() 700 if(counter > stageIndex) { in onClick() 706 counter++; in onClick()
|
/cts/apps/CameraITS/tests/scene7/ |
D | test_multi_camera_switch.py | 412 counter = 0 # counter for the index of crossover point result 416 counter += 1 438 img_uw_file = file_list[counter-2] 439 capture_result_uw = capture_results[counter-2] 441 img_w_file = file_list[counter-1] 442 capture_result_w = capture_results[counter-1]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0490/ |
D | poc.cpp | 362 int counter = 0; in poc_write_kernel() local 367 if(counter++ % 8 == 0){ in poc_write_kernel() 373 ALOGE("non zero = %d", counter); in poc_write_kernel()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | CodecUtils.java | 156 int counter = 0; in readBinaryCounterFromBitmap() local 160 counter |= (1 << i); in readBinaryCounterFromBitmap() 163 return counter; in readBinaryCounterFromBitmap()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 242 BroadcastCounter counter = new BroadcastCounter(PackageInstaller.ACTION_SESSION_COMMITTED); in testInstallStagedApk_Commit() local 248 counter.assertNoBroadcastReceived(); in testInstallStagedApk_Commit() 253 BroadcastCounter counter = new BroadcastCounter(PackageInstaller.ACTION_SESSION_COMMITTED); in testInstallStagedApk_VerifyPostReboot() local 257 counter.assertNoBroadcastReceived(); in testInstallStagedApk_VerifyPostReboot() 272 BroadcastCounter counter = new BroadcastCounter(PackageInstaller.ACTION_SESSION_COMMITTED); in testInstallMultipleStagedApks_Commit() local 281 counter.assertNoBroadcastReceived(); in testInstallMultipleStagedApks_Commit() 286 BroadcastCounter counter = new BroadcastCounter(PackageInstaller.ACTION_SESSION_COMMITTED); in testInstallMultipleStagedApks_VerifyPostReboot() local 291 counter.assertNoBroadcastReceived(); in testInstallMultipleStagedApks_VerifyPostReboot() 358 BroadcastCounter counter = new BroadcastCounter(PackageInstaller.ACTION_SESSION_UPDATED); in testNoSessionUpdatedBroadcastSentForStagedSessionAbandon() local 368 counter.assertNoBroadcastReceived(); in testNoSessionUpdatedBroadcastSentForStagedSessionAbandon() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | GearSelectionTestActivity.java | 153 public void setSupportedGearCounter(int counter) { in setSupportedGearCounter() argument 154 mCountDownLatch = new CountDownLatch(counter); in setSupportedGearCounter()
|