/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | TransitionDrawableTest.java | 83 Drawable.Callback cb = mock(Drawable.Callback.class); in testStartTransition() local 84 mTransitionDrawable.setCallback(cb); in testStartTransition() 88 verify(cb, times(1)).invalidateDrawable(any()); in testStartTransition() 93 reset(cb); in testStartTransition() 95 verify(cb, times(1)).invalidateDrawable(any()); in testStartTransition() 100 reset(cb); in testStartTransition() 102 verify(cb, times(1)).invalidateDrawable(any()); in testStartTransition() 111 Drawable.Callback cb = mock(Drawable.Callback.class); in testResetTransition() local 112 mTransitionDrawable.setCallback(cb); in testResetTransition() 116 verify(cb, times(1)).invalidateDrawable(any()); in testResetTransition() [all …]
|
D | AnimatedImageDrawableTest.java | 166 Callback cb = new Callback(drawable); in testRegisterWithoutLooper() local 167 drawable.registerAnimationCallback(cb); in testRegisterWithoutLooper() 176 Callback cb = new Callback(drawable); in testRegisterCallback() local 177 drawable.registerAnimationCallback(cb); in testRegisterCallback() 178 assertTrue(drawable.unregisterAnimationCallback(cb)); in testRegisterCallback() 181 assertFalse(drawable.unregisterAnimationCallback(cb)); in testRegisterCallback() 201 for (Callback cb : callbacks) { in testClearCallbacks() 202 drawable.registerAnimationCallback(cb); in testClearCallbacks() 208 for (Callback cb : callbacks) { in testClearCallbacks() 210 assertFalse(drawable.unregisterAnimationCallback(cb)); in testClearCallbacks() [all …]
|
D | DrawableWrapperTest.java | 100 Drawable.Callback cb = mock(Drawable.Callback.class); in testInvalidateDrawable() local 101 wrapper.setCallback(cb); in testInvalidateDrawable() 103 verify(cb, times(1)).invalidateDrawable(any()); in testInvalidateDrawable() 105 reset(cb); in testInvalidateDrawable() 107 verify(cb, times(1)).invalidateDrawable(any()); in testInvalidateDrawable() 109 reset(cb); in testInvalidateDrawable() 112 verify(cb, never()).invalidateDrawable(any()); in testInvalidateDrawable() 120 Drawable.Callback cb = mock(Drawable.Callback.class); in testScheduleDrawable() local 121 wrapper.setCallback(cb); in testScheduleDrawable() 123 verify(cb, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable() [all …]
|
D | RippleDrawableTest.java | 128 Drawable.Callback cb = mock(Drawable.Callback.class); in testSetColor() local 130 dr.setCallback(cb); in testSetColor() 133 verify(cb, times(1)).invalidateDrawable(dr); in testSetColor()
|
D | LayerDrawableTest.java | 348 Drawable.Callback cb = mock(Drawable.Callback.class); in testInvalidateDrawable() local 349 layerDrawable.setCallback(cb); in testInvalidateDrawable() 351 verify(cb, times(1)).invalidateDrawable(any()); in testInvalidateDrawable() 353 reset(cb); in testInvalidateDrawable() 355 verify(cb, times(1)).invalidateDrawable(any()); in testInvalidateDrawable() 357 reset(cb); in testInvalidateDrawable() 360 verify(cb, never()).invalidateDrawable(any()); in testInvalidateDrawable() 368 Drawable.Callback cb = mock(Drawable.Callback.class); in testScheduleDrawable() local 369 layerDrawable.setCallback(cb); in testScheduleDrawable() 371 verify(cb, times(1)).scheduleDrawable(any(), any(), anyLong()); in testScheduleDrawable() [all …]
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ColorUtils.java | 50 final float cb = (V - b) / vtemp; in hue() local 53 H = cb - cg; in hue() 55 H = 2 + cr - cb; in hue()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | redefine.cpp | 134 jvmtiEventCallbacks cb; in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() local 135 memset(&cb, 0, sizeof(cb)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() 136 cb.ClassFileLoadHook = CommonClassFileLoadHookRetransformable; in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() 137 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetEventCallbacks(&cb, sizeof(cb)))) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent()
|
/cts/hostsidetests/devicepolicy/app/PrintingApp/src/com/android/cts/devicepolicy/printingapp/ |
D | PrintActivity.java | 66 CancellationSignal signal, PrintDocumentAdapter.LayoutResultCallback cb, in onStart() 73 PrintDocumentAdapter.WriteResultCallback cb) { in onStart()
|
/cts/tests/tests/view/jni/ |
D | android_view_cts_ChoreographerNativeTest.cpp | 52 Callback* cb = static_cast<Callback*>(data); in frameCallback() local 53 cb->count++; in frameCallback() 54 cb->frameTime = std::chrono::nanoseconds{frameTimeNanos}; in frameCallback()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockSyncAdapter.java | 81 public void onUnsyncableAccount(ISyncAdapterUnsyncableAccountCallback cb) in onUnsyncableAccount() argument 83 cb.onUnsyncableAccountDone(true); in onUnsyncableAccount()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationVerifier.java | 198 public LocationVerifier(PassFailLog cb, LocationManager locationManager, in LocationVerifier() argument 206 mCb = cb; in LocationVerifier()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerTest.java | 53 final Callback cb = new Callback() { in testConstructor() local 63 new Handler(cb); in testConstructor() 69 new Handler(Looper.getMainLooper(), cb); in testConstructor() local
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 167 final CameraDevice.StateCallback cb = new CameraDevice.StateCallback() { in testCameraState() local 194 cam.openCamera(cameraIds[0], cb, handler); in testCameraState()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | AllocationTest.java | 317 float cb = yuvData[1] & 0xFF; // U channel in convertPixelYuvToRgb() local 322 float g = y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128); in convertPixelYuvToRgb() 323 float b = y + 1.772f * (cb - 128); in convertPixelYuvToRgb()
|
D | ImageReaderTest.java | 645 float cb = cbRow[cbPix] & 0xFF; in convertPixelYuvToRgba() local 651 Math.min(COLOR_RANGE, y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128))); in convertPixelYuvToRgba() 652 int b = (int) Math.max(0.0f, Math.min(COLOR_RANGE, y + 1.772f * (cb - 128))); in convertPixelYuvToRgba()
|
/cts/tests/tests/security/res/raw/ |
D | openssl_heartbleed_test_cert.pem | 77 c2:fa:9c:be:c3:da:76:2b:cb:4e:65:4d:b6:98:80:5d:66:d7:
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaControllerTest.java | 565 public void onCommand(String command, Bundle extras, ResultReceiver cb) { in onCommand() argument 570 mCommandCallback = cb; in onCommand()
|
D | MediaController2Test.java | 604 SessionCommand2 customCommand, Bundle args, ResultReceiver cb) { in testSendCustomCommand() 605 super.onCustomCommand(session, controller, customCommand, args, cb); in testSendCustomCommand() 609 assertNull(cb); in testSendCustomCommand()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_wide/d/ |
D | T_iget_wide_4.dfh | 9 // parsed: offset 12, len 20: signature : 2608...94cb
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 2267 JNIEnv* env, jstring jOutPath, AImageReader_ImageCallback cb) { in nativeImageReaderTestBase() argument 2315 AImageReader_ImageListener readerCb { &readerListener, cb }; in nativeImageReaderTestBase()
|
/cts/tests/tests/media/assets/ |
D | fileSequence1.ts | 1492 �*\���ZT���R&�7����������U#��)oG�Řڍ����[O}[�+cbX~ˀM��}����,�#u����Y;��������S�e�v<]�N5�… 2819 �7�<�s������Qz���'mK�ST*#�t���>�u�~ ,��L|\6���cb��r�b�:%x�U*XV��ƍ�A���qX�����c�*7�����…
|
D | segment000001.ts | 1159 �*\���ZT���R&�7����������U#��)oG�Řڍ����[O}[�+cbX~ˀM��}����,�#u����Y;��������SG�e�v<]… 2565 �7�<�s������Qz���'mK�ST*#�t���>�u�~ ,��L|\6���cb��r�b�:%xG�U*XV��ƍ�A���qX�����c�*7��…
|
D | segment000000.ts | 4860 �=Ù���|}����y�+$I��j��UUV�#g����U��5��\ˠI��ނs~V���Q�T�m��}��f=���D��cb���^eb͆ν����;���%��…
|
/cts/tests/tests/media/res/raw/ |
D | testmp3_3.raw | 1 …P2d8KY2Bhp5+wAbHrU6vQTcw2/pSnUvIqEMGX8eihOSm+D3zPl/V7UT6+xG0ke3Kh7AMRZX7fs+cb+tMQU1FMy45N//6cAQ9Dg…
|