Home
last modified time | relevance | path

Searched refs:setCallback (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/media/src/android/media/cts/
DSdkMediaCodec.java137 public void setCallback(Callback mCallback) { in setCallback() method in SdkMediaCodec
138 mCodec.setCallback(mCallback); in setCallback()
DMediaCodecWrapper.java71 void setCallback(Callback mCallback); in setCallback() method
DMediaSyncTest.java248 mMediaSync.setCallback(new MediaSync.Callback() { in runCheckAudioBuffer()
307 mMediaSync.setCallback(new MediaSync.Callback() { in runFlush()
502 mMediaSync.setCallback(new MediaSync.Callback() { in runPlayAV()
656 mDecoder.setCallback(this, mHandler); in setup()
DMediaSessionManagerTest.java160 session.setCallback(callback, handler); in testSetOnMediaKeyListener()
228 session.setCallback(callback, handler); in testRemoteUserInfo()
DNdkMediaCodec.java237 public void setCallback(Callback mCallback) { in setCallback() method in NdkMediaCodec
DMediaSessionTest.java328 mSession.setCallback(sessionCallback, new Handler(Looper.getMainLooper())); in testCallbackOnMediaButtonEvent()
446 mSession.setCallback(sessionCallback, mHandler); in testSetCallbackWithNull()
454 mSession.setCallback(null, mHandler); in testSetCallbackWithNull()
DResourceManagerTestActivityBase.java166 codec.setCallback(mCallback); in allocateCodecs()
DVideoEncoderTest.java99 decoder.setCallback(new MediaCodec.Callback() { in play()
256 mDecoder.setCallback(this); in initCodecsAndConfigureEncoder()
257 mEncoder.setCallback(this); in initCodecsAndConfigureEncoder()
DMediaControllerTest.java58 mSession.setCallback(mCallback, mHandler); in setUp()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRotateDrawableTest.java181 mRotateDrawable.setCallback(callback); in testInvalidateDrawable()
190 mRotateDrawable.setCallback(null); in testInvalidateDrawable()
199 mRotateDrawable.setCallback(callback); in testScheduleDrawable()
208 mRotateDrawable.setCallback(null); in testScheduleDrawable()
217 mRotateDrawable.setCallback(callback); in testUnscheduleDrawable()
226 mRotateDrawable.setCallback(null); in testUnscheduleDrawable()
DDrawableWrapperTest.java101 wrapper.setCallback(cb); in testInvalidateDrawable()
110 wrapper.setCallback(null); in testInvalidateDrawable()
121 wrapper.setCallback(cb); in testScheduleDrawable()
130 wrapper.setCallback(null); in testScheduleDrawable()
141 wrapper.setCallback(cb); in testUnscheduleDrawable()
150 wrapper.setCallback(null); in testUnscheduleDrawable()
DTransitionDrawableTest.java84 mTransitionDrawable.setCallback(cb); in testStartTransition()
112 mTransitionDrawable.setCallback(cb); in testResetTransition()
138 mTransitionDrawable.setCallback(cb); in testReverseTransition()
DScaleDrawableTest.java93 scaleDrawable.setCallback(callback); in testInvalidateDrawable()
102 scaleDrawable.setCallback(null); in testInvalidateDrawable()
114 scaleDrawable.setCallback(callback); in testScheduleDrawable()
123 scaleDrawable.setCallback(null); in testScheduleDrawable()
135 scaleDrawable.setCallback(callback); in testUnscheduleDrawable()
144 scaleDrawable.setCallback(null); in testUnscheduleDrawable()
DClipDrawableTest.java222 clipDrawable.setCallback(callback); in testInvalidateDrawable()
271 mockClipDrawable.setCallback(callback); in testOnLevelChange()
314 clipDrawable.setCallback(callback); in testScheduleDrawable()
373 clipDrawable.setCallback(callback); in testUnscheduleDrawable()
DDrawableContainerTest.java581 mDrawableContainer.setCallback(null); in testInvalidateDrawable()
586 mDrawableContainer.setCallback(callback); in testInvalidateDrawable()
614 mDrawableContainer.setCallback(null); in testScheduleDrawable()
619 mDrawableContainer.setCallback(callback); in testScheduleDrawable()
648 mDrawableContainer.setCallback(null); in testUnscheduleDrawable()
653 mDrawableContainer.setCallback(callback); in testUnscheduleDrawable()
DDrawableTest.java553 mockDrawable.setCallback(mockCallback); in testInvalidateSelf()
622 mockDrawable.setCallback(mockCallback); in testScheduleSelf()
638 mockDrawable.setCallback(mockCallback); in testAccessCallback()
641 mockDrawable.setCallback(null); in testAccessCallback()
714 mockDrawable.setCallback(mockCallback); in testUnscheduleSelf()
DRippleDrawableTest.java130 dr.setCallback(cb); in testSetColor()
DLayerDrawableTest.java349 layerDrawable.setCallback(cb); in testInvalidateDrawable()
358 layerDrawable.setCallback(null); in testInvalidateDrawable()
369 layerDrawable.setCallback(cb); in testScheduleDrawable()
378 layerDrawable.setCallback(null); in testScheduleDrawable()
389 layerDrawable.setCallback(cb); in testUnscheduleDrawable()
398 layerDrawable.setCallback(null); in testUnscheduleDrawable()
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/
DMyReceiver.java40 public static void setCallback(Consumer<Intent> callback) { in setCallback() method in MyReceiver
DBroadcastsTest.java95 MyReceiver.setCallback((intent) -> callback.accept(intent)); in testNonSupportedBroadcastsNotDelivered_manifestReceiver()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
DCtsVisualVoicemailService.java40 public static void setCallback(Callback callback) { in setCallback() method in CtsVisualVoicemailService
DVisualVoicemailServiceActivity.java79 CtsVisualVoicemailService.setCallback(mCallback); in onCreate()
135 CtsVisualVoicemailService.setCallback(null); in onDestroy()
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java163 mWindow.setCallback(mWindowCallback); in testOpFlags()
227 mWindow.setCallback(mWindowCallback); in testAccessAttributes()
527 window.setCallback(mWindowCallback); in testSetDefaultWindowFormat()
551 mWindow.setCallback(mWindowCallback); in testSetGravity()
571 mWindow.setCallback(mWindowCallback); in testSetLayout()
590 mWindow.setCallback(mWindowCallback); in testSetType()
628 mWindow.setCallback(mWindowCallback); in testSetWindowAnimations()
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java108 mTvView.setCallback(mCallback); in setUp()
DTvViewTest.java188 mTvView.setCallback(mCallback); in setUp()

12