Home
last modified time | relevance | path

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

12

/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()
DTransitionDrawableTest.java85 mTransitionDrawable.setCallback(cb); in testStartTransition()
113 mTransitionDrawable.setCallback(cb); in testResetTransition()
139 mTransitionDrawable.setCallback(cb); in testReverseTransition()
DColorStateListDrawableTest.java177 mDrawable.setCallback(callback); in testInvalidationCallbackProxy()
193 mDrawable.setCallback(callback); in testScheduleCallbackProxy()
205 mDrawable.setCallback(callback); in testUnscheduleCallbackProxy()
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()
DDrawableTest.java624 mockDrawable.setCallback(mockCallback); in testInvalidateSelf()
693 mockDrawable.setCallback(mockCallback); in testScheduleSelf()
709 mockDrawable.setCallback(mockCallback); in testAccessCallback()
712 mockDrawable.setCallback(null); in testAccessCallback()
785 mockDrawable.setCallback(mockCallback); in testUnscheduleSelf()
/cts/tests/tests/media/src/android/media/cts/
DSdkMediaCodec.java143 public void setCallback(Callback mCallback) { in setCallback() method in SdkMediaCodec
144 mCodec.setCallback(mCallback); in setCallback()
DMediaButtonReceiverService.java35 public synchronized static void setCallback(Consumer<KeyEvent> callback) { in setCallback() method in MediaButtonReceiverService
DMediaButtonBroadcastReceiver.java42 public synchronized static void setCallback(Consumer<KeyEvent> callback) { in setCallback() method in MediaButtonBroadcastReceiver
DMediaCodecWrapper.java74 void setCallback(Callback mCallback); in setCallback() method
DMediaSessionTest.java332 MediaButtonBroadcastReceiver.setCallback((keyEvent) -> { in testSetMediaButtonReceiver_broadcastReceiver()
350 MediaButtonBroadcastReceiver.setCallback(null); in testSetMediaButtonReceiver_broadcastReceiver()
377 MediaButtonReceiverService.setCallback((keyEvent) -> { in testSetMediaButtonReceiver_service()
395 MediaButtonReceiverService.setCallback(null); in testSetMediaButtonReceiver_service()
445 MediaButtonBroadcastReceiver.setCallback((keyEvent) -> { in testSetMediaButtonBroadcastReceiver_broadcastReceiver()
463 MediaButtonBroadcastReceiver.setCallback(null); in testSetMediaButtonBroadcastReceiver_broadcastReceiver()
547 mSession.setCallback(sessionCallback, new Handler(Looper.getMainLooper())); in testCallbackOnMediaButtonEvent()
660 mSession.setCallback(sessionCallback, mHandler); in testSetCallbackWithNull()
668 mSession.setCallback(null, mHandler); in testSetCallbackWithNull()
DMediaSyncTest.java246 mMediaSync.setCallback(new MediaSync.Callback() { in runCheckAudioBuffer()
305 mMediaSync.setCallback(new MediaSync.Callback() { in runFlush()
503 mMediaSync.setCallback(new MediaSync.Callback() { in runPlayAV()
657 mDecoder.setCallback(this, mHandler); in setup()
DMediaActivityTest.java218 mSession.setCallback(new MediaSession.Callback() { in testMediaKey_whileSessionAlive()
238 mSession.setCallback(new MediaSession.Callback() { in testMediaKey_whileSessionReleased()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
DVisualVoicemailServiceActivity.java79 CtsVisualVoicemailService.setCallback(mCallback); in onCreate()
135 CtsVisualVoicemailService.setCallback(null); in onDestroy()
DCtsVisualVoicemailService.java40 public static void setCallback(Callback callback) { in setCallback() method in CtsVisualVoicemailService
/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
DBroadcastsTest.java96 MyReceiver.setCallback((intent) -> callback.accept(intent)); in testNonSupportedBroadcastsNotDelivered_manifestReceiver()
/cts/tests/tests/packagewatchdog/src/android/packagewatchdog/cts/
DExplicitHealthCheckServiceTest.java57 mExplicitHealthCheckService.setCallback(callback); in testNotifyHealthCheckPassed()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java172 mWindow.setCallback(mWindowCallback); in testOpFlags()
236 mWindow.setCallback(mWindowCallback); in testAccessAttributes()
536 window.setCallback(mWindowCallback); in testSetDefaultWindowFormat()
560 mWindow.setCallback(mWindowCallback); in testSetGravity()
580 mWindow.setCallback(mWindowCallback); in testSetLayout()
599 mWindow.setCallback(mWindowCallback); in testSetType()
637 mWindow.setCallback(mWindowCallback); in testSetWindowAnimations()
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DMockEuiccService.java50 static void setCallback(IMockEuiccServiceCallback callback) { in setCallback() method in MockEuiccService
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DOboeRecorder.cpp55 builder.setCallback(this); in setupStream()
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java110 mTvView.setCallback(mCallback); in setUp()

12