Home
last modified time | relevance | path

Searched refs:listeners (Results 1 – 7 of 7) sorted by relevance

/cts/common/device-side/nativetesthelper/jni/
Dgtest_wrapper.cpp178 auto& listeners = ::testing::UnitTest::GetInstance()->listeners(); in Java_com_android_gtestrunner_GtestRunner_nInitialize() local
179 delete listeners.Release(listeners.default_result_printer()); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
262 auto& listeners = ::testing::UnitTest::GetInstance()->listeners(); in Java_com_android_gtestrunner_GtestRunner_nRun() local
264 listeners.Append(&junitListener); in Java_com_android_gtestrunner_GtestRunner_nRun()
266 listeners.Release(&junitListener); in Java_com_android_gtestrunner_GtestRunner_nRun()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java481 String listeners = Secure.getString(getContentResolver(), in test() local
483 if (listeners != null && listeners.contains(LISTENER_PATH)) { in test()
523 String listeners = Secure.getString(getContentResolver(), in test() local
525 if (listeners != null && listeners.contains(LISTENER_PATH)) { in test()
DNotificationListenerVerifierActivity.java921 String listeners = Secure.getString(getContentResolver(), in test() local
923 if (listeners == null || !listeners.contains(LISTENER_PATH)) { in test()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java126 final MyListener[] listeners = new MyListener[animators.length]; in verifySequentialPlayOrder() local
129 listeners[i] = new MyListener(); in verifySequentialPlayOrder()
132 listeners[i] = new MyListener() { in verifySequentialPlayOrder()
137 assertTrue(listeners[current - 1].mEndIsCalled); in verifySequentialPlayOrder()
141 animators[i].addListener(listeners[i]); in verifySequentialPlayOrder()
167 for (int i = 0; i < listeners.length; i++) { in verifySequentialPlayOrder()
168 assertTrue(listeners[i].mEndIsCalled); in verifySequentialPlayOrder()
174 listeners[i] = new MyListener(); in verifySequentialPlayOrder()
177 listeners[i] = new MyListener() { in verifySequentialPlayOrder()
182 assertTrue(listeners[current + 1].mEndIsCalled); in verifySequentialPlayOrder()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionTest.java484 Animator.AnimatorListener listener = transition.listeners.get(redSquare); in testInterpolator()
541 Animator.AnimatorListener listener = transition.listeners.get(redSquare); in testPropagation()
641 Animator.AnimatorListener listener = transition.listeners.get(redSquare); in testStartDelay()
741 public HashMap<View, Animator.AnimatorListener> listeners = new HashMap<>(); field in TransitionTest.CaptureAnimatorTransition
761 listeners.put(view, listener); in setupAnimator()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java644 List<CameraTestUtils.SimpleImageReaderListener> listeners = in captureSingleRawShot() local
646 listeners.add(captureListener); in captureSingleRawShot()
648 listeners); in captureSingleRawShot()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java848 OnPartialImageListener[] listeners = new OnPartialImageListener[] { in testGetOnPartialImageListener() local
860 for (OnPartialImageListener l : listeners) { in testGetOnPartialImageListener()