Home
last modified time | relevance | path

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

123

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRotateDrawableTest.java182 mRotateDrawable.setCallback(callback); in testInvalidateDrawable()
191 mRotateDrawable.setCallback(null); in testInvalidateDrawable()
200 mRotateDrawable.setCallback(callback); in testScheduleDrawable()
209 mRotateDrawable.setCallback(null); in testScheduleDrawable()
218 mRotateDrawable.setCallback(callback); in testUnscheduleDrawable()
227 mRotateDrawable.setCallback(null); in testUnscheduleDrawable()
DDrawableWrapperTest.java104 wrapper.setCallback(cb); in testInvalidateDrawable()
113 wrapper.setCallback(null); in testInvalidateDrawable()
124 wrapper.setCallback(cb); in testScheduleDrawable()
133 wrapper.setCallback(null); in testScheduleDrawable()
144 wrapper.setCallback(cb); in testUnscheduleDrawable()
153 wrapper.setCallback(null); in testUnscheduleDrawable()
DColorStateListDrawableTest.java177 mDrawable.setCallback(callback); in testInvalidationCallbackProxy()
193 mDrawable.setCallback(callback); in testScheduleCallbackProxy()
205 mDrawable.setCallback(callback); in testUnscheduleCallbackProxy()
DTransitionDrawableTest.java85 mTransitionDrawable.setCallback(cb); in testStartTransition()
113 mTransitionDrawable.setCallback(cb); in testResetTransition()
139 mTransitionDrawable.setCallback(cb); in testReverseTransition()
DScaleDrawableTest.java94 scaleDrawable.setCallback(callback); in testInvalidateDrawable()
103 scaleDrawable.setCallback(null); in testInvalidateDrawable()
115 scaleDrawable.setCallback(callback); in testScheduleDrawable()
124 scaleDrawable.setCallback(null); in testScheduleDrawable()
136 scaleDrawable.setCallback(callback); in testUnscheduleDrawable()
145 scaleDrawable.setCallback(null); in testUnscheduleDrawable()
DClipDrawableTest.java223 clipDrawable.setCallback(callback); in testInvalidateDrawable()
272 mockClipDrawable.setCallback(callback); in testOnLevelChange()
315 clipDrawable.setCallback(callback); in testScheduleDrawable()
374 clipDrawable.setCallback(callback); in testUnscheduleDrawable()
DDrawableContainerTest.java593 mDrawableContainer.setCallback(null); in testInvalidateDrawable()
598 mDrawableContainer.setCallback(callback); in testInvalidateDrawable()
626 mDrawableContainer.setCallback(null); in testScheduleDrawable()
631 mDrawableContainer.setCallback(callback); in testScheduleDrawable()
660 mDrawableContainer.setCallback(null); in testUnscheduleDrawable()
665 mDrawableContainer.setCallback(callback); in testUnscheduleDrawable()
/cts/tests/tests/media/common/src/android/media/cts/
DSdkMediaCodec.java144 public void setCallback(Callback mCallback) { in setCallback() method in SdkMediaCodec
145 mCodec.setCallback(mCallback); in setCallback()
DMediaCodecWrapper.java75 void setCallback(Callback mCallback); in setCallback() method
DMediaCodecCryptoAsyncHelper.java235 mediaCodec.setCallback(mediaCallback, new Handler(callbackThread.getLooper())); in runShortClearKeyVideoWithNoCryptoErrorOverride()
353 mediaCodec.setCallback(mediaCallback); in runDecodeShortClearKeyVideo()
508 mediaCodec.setCallback(new MediaCodec.Callback() { in runComponentWithLinearInputUsingBlockModel()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/disapproveime/
DDisapproveInputMethodService.java74 public static void setCallback(DisapproveImeCallback callback) { in setCallback() method in DisapproveInputMethodService
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaButtonBroadcastReceiver.java42 public static synchronized void setCallback(Consumer<KeyEvent> callback) { in setCallback() method in MediaButtonBroadcastReceiver
DMediaButtonReceiverService.java35 public static synchronized void setCallback(Consumer<KeyEvent> callback) { in setCallback() method in MediaButtonReceiverService
DMediaSessionTest.java472 MediaButtonBroadcastReceiver.setCallback((keyEvent) -> { in testSetMediaButtonReceiver_broadcastReceiver()
490 MediaButtonBroadcastReceiver.setCallback(null); in testSetMediaButtonReceiver_broadcastReceiver()
523 MediaButtonReceiverService.setCallback((keyEvent) -> { in testSetMediaButtonReceiver_service()
541 MediaButtonReceiverService.setCallback(null); in testSetMediaButtonReceiver_service()
608 MediaButtonBroadcastReceiver.setCallback((keyEvent) -> { in testSetMediaButtonBroadcastReceiver_broadcastReceiver()
626 MediaButtonBroadcastReceiver.setCallback(null); in testSetMediaButtonBroadcastReceiver_broadcastReceiver()
716 mSession.setCallback(sessionCallback, new Handler(Looper.getMainLooper())); in testCallbackOnMediaButtonEvent()
830 mSession.setCallback(sessionCallback, mHandler); in testSetCallbackWithNull()
838 mSession.setCallback(null, mHandler); in testSetCallbackWithNull()
DMediaActivityTest.java257 mSession.setCallback(new MediaSession.Callback() { in testMediaKey_whileSessionAlive()
277 mSession.setCallback(new MediaSession.Callback() { in testMediaKey_whileSessionReleased()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionActivity.java51 void setCallback(KeyEvent.Callback callback) { in setCallback() method in KeyEventInjectionActivity
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/
DMyReceiver.java41 public static void setCallback(Consumer<Intent> callback) { in setCallback() method in MyReceiver
/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/packagewatchdog/src/android/packagewatchdog/cts/
DExplicitHealthCheckServiceTest.java57 mExplicitHealthCheckService.setCallback(callback); in testNotifyHealthCheckPassed()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecAsyncHandler.java147 codec.setCallback(this); in setCallBack()
149 codec.setCallback(null); in setCallBack()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowTest.java185 mWindow.setCallback(mWindowCallback); in testOpFlags()
204 mWindow.setCallback(mWindowCallback); in testAddSystemFlags()
271 mWindow.setCallback(mWindowCallback); in testAccessAttributes()
571 window.setCallback(mWindowCallback); in testSetDefaultWindowFormat()
595 mWindow.setCallback(mWindowCallback); in testSetGravity()
615 mWindow.setCallback(mWindowCallback); in testSetLayout()
634 mWindow.setCallback(mWindowCallback); in testSetType()
672 mWindow.setCallback(mWindowCallback); in testSetWindowAnimations()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaSyncTest.java247 mMediaSync.setCallback(new MediaSync.Callback() { in runCheckAudioBuffer()
306 mMediaSync.setCallback(new MediaSync.Callback() { in runFlush()
504 mMediaSync.setCallback(new MediaSync.Callback() { in runPlayAV()
658 mDecoder.setCallback(this, mHandler); in setup()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeOnlyTest.java243 videoCodec.setCallback(new MediaCodec.Callback() { in testNonTunneledTrickPlay()
360 videoCodec.setCallback(new MediaCodec.Callback() { in testTunneledTrickPlay()
411 audioCodec.setCallback(new AudioCallback(audioCodec, audioExtractor, audioTrack, done), in testTunneledTrickPlay()
506 videoCodec.setCallback(new MediaCodec.Callback() { in testTunneledPerfectSeek()
549 audioCodec.setCallback(new AudioCallback(audioCodec, audioExtractor, audioTrack, done), in testTunneledPerfectSeek()
/cts/tests/video/src/android/video/cts/
DCodecEncoderPerformanceTestBase.java233 mEncoder.setCallback(new MediaCodec.Callback() { in configureCodec()
266 mDecoder.setCallback(new MediaCodec.Callback() { in configureCodec()

123