Home
last modified time | relevance | path

Searched refs:Callback (Results 1 – 25 of 89) sorted by relevance

1234

/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java64 private static Callback sTuneCallback = null;
65 private static Callback sOverlayViewCallback = null;
66 private static Callback sBroadcastCallback = null;
67 private static Callback sUnblockContentCallback = null;
68 private static Callback sSelectTrackCallback = null;
69 private static Callback sSetCaptionEnabledCallback = null;
71 private static Callback sResumeAfterPauseCallback = null;
72 private static Callback sPositionTrackingCallback = null;
73 private static Callback sRewindCallback = null;
74 private static Callback sFastForwardCallback = null;
[all …]
/cts/tests/tests/location/src/android/location/cts/
DGnssNavigationMessageCallbackTest.java22 private static class MockCallback extends GnssNavigationMessage.Callback {
26 GnssNavigationMessage.Callback callback = new MockCallback(); in testAllMethodsExist()
30 callback.onStatusChanged(GnssNavigationMessage.Callback.STATUS_READY); in testAllMethodsExist()
DTestGnssNavigationMessageListener.java32 class TestGnssNavigationMessageListener extends GnssNavigationMessage.Callback {
62 if (mStatus != GnssNavigationMessage.Callback.STATUS_READY) { in onStatusChanged()
87 case GnssNavigationMessage.Callback.STATUS_NOT_SUPPORTED: in verifyState()
91 case GnssNavigationMessage.Callback.STATUS_READY: in verifyState()
93 case GnssNavigationMessage.Callback.STATUS_LOCATION_DISABLED: in verifyState()
DTestLocationManager.java63 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) { in registerGnssMeasurementCallback()
80 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback, in registerGnssMeasurementCallback()
98 public void unregisterGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) { in unregisterGnssMeasurementCallback()
192 GnssNavigationMessage.Callback callback) { in registerGnssNavigationMessageCallback()
205 GnssNavigationMessage.Callback callback, Handler handler) { in registerGnssNavigationMessageCallback()
215 public void unregisterGnssNavigationMessageCallback(GnssNavigationMessage.Callback callback) { in unregisterGnssNavigationMessageCallback()
226 public boolean registerGnssStatusCallback(GnssStatus.Callback callback) { in registerGnssStatusCallback()
237 public void unregisterGnssStatusCallback(GnssStatus.Callback callback) { in unregisterGnssStatusCallback()
DGnssMeasurementsEventCallbackTest.java24 private static class MockCallback extends GnssMeasurementsEvent.Callback {
28 GnssMeasurementsEvent.Callback callback = new MockCallback(); in testAllMethodsExist()
35 callback.onStatusChanged(GnssMeasurementsEvent.Callback.STATUS_READY); in testAllMethodsExist()
DGnssStatusCallbackTest.java22 private static class MockCallback extends GnssStatus.Callback {
26 GnssStatus.Callback callback = new MockCallback(); in testAllMethodsExist()
DTestGnssMeasurementListener.java35 class TestGnssMeasurementListener extends GnssMeasurementsEvent.Callback {
149 case GnssMeasurementsEvent.Callback.STATUS_NOT_SUPPORTED: in verifyStatus()
158 case GnssMeasurementsEvent.Callback.STATUS_READY: in verifyStatus()
160 case GnssMeasurementsEvent.Callback.STATUS_LOCATION_DISABLED: in verifyStatus()
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java170 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_StateChange()
172 callback = new RemoteConnection.Callback() { in testRemoteConnectionCallbacks_StateChange()
196 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_RingbackRequest()
198 callback = new RemoteConnection.Callback() { in testRemoteConnectionCallbacks_RingbackRequest()
222 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionCapabilities()
224 callback = new RemoteConnection.Callback() { in testRemoteConnectionCallbacks_ConnectionCapabilities()
251 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionProperties()
253 callback = new RemoteConnection.Callback() { in testRemoteConnectionCallbacks_ConnectionProperties()
281 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_PostDialWait()
283 callback = new RemoteConnection.Callback() { in testRemoteConnectionCallbacks_PostDialWait()
[all …]
DRemoteConferenceTest.java210 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_StateChange()
212 callback = new RemoteConference.Callback() { in testRemoteConferenceCallbacks_StateChange()
236 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Disconnect()
238 callback = new RemoteConference.Callback() { in testRemoteConferenceCallbacks_Disconnect()
263 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionAdd()
265 callback = new RemoteConference.Callback() { in testRemoteConferenceCallbacks_ConnectionAdd()
294 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionRemove()
296 callback = new RemoteConference.Callback() { in testRemoteConferenceCallbacks_ConnectionRemove()
326 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionCapabilities()
328 callback = new RemoteConference.Callback() { in testRemoteConferenceCallbacks_ConnectionCapabilities()
[all …]
/cts/tests/tests/view/jni/
Dandroid_view_cts_ChoreographerNativeTest.cpp45 struct Callback { struct
52 Callback* cb = static_cast<Callback*>(data); in frameCallback() argument
91 Callback* cb1 = new Callback(); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
92 Callback* cb2 = new Callback(); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
126 Callback* cb1 = new Callback(); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java138 private static class Callback extends Animatable2Callback { class in AnimatedImageDrawableTest
141 public Callback(Drawable d) { in Callback() method in AnimatedImageDrawableTest.Callback
166 Callback cb = new Callback(drawable); in testRegisterWithoutLooper()
176 Callback cb = new Callback(drawable); in testRegisterCallback()
189 Callback[] callbacks = new Callback[] { in testClearCallbacks()
190 new Callback(drawable), in testClearCallbacks()
191 new Callback(drawable), in testClearCallbacks()
192 new Callback(drawable), in testClearCallbacks()
193 new Callback(drawable), in testClearCallbacks()
194 new Callback(drawable), in testClearCallbacks()
[all …]
DTransitionDrawableTest.java83 Drawable.Callback cb = mock(Drawable.Callback.class); in testStartTransition()
111 Drawable.Callback cb = mock(Drawable.Callback.class); in testResetTransition()
137 Drawable.Callback cb = mock(Drawable.Callback.class); in testReverseTransition()
DClipDrawableTest.java221 Drawable.Callback callback = mock(Drawable.Callback.class); in testInvalidateDrawable()
270 Drawable.Callback callback = mock(Drawable.Callback.class); in testOnLevelChange()
313 Drawable.Callback callback = mock(Drawable.Callback.class); in testScheduleDrawable()
372 Drawable.Callback callback = mock(Drawable.Callback.class); in testUnscheduleDrawable()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainRecognitionService.java36 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
41 protected void onCancel(Callback listener) { in onCancel()
46 protected void onStopListening(Callback listener) { in onStopListening()
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
DMainRecognitionService.java36 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
41 protected void onCancel(Callback listener) { in onCancel()
46 protected void onStopListening(Callback listener) { in onStopListening()
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DMainRecognitionService.java36 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
41 protected void onCancel(Callback listener) { in onCancel()
46 protected void onStopListening(Callback listener) { in onStopListening()
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/
DMainRecognitionService.java36 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
41 protected void onCancel(Callback listener) { in onCancel()
46 protected void onStopListening(Callback listener) { in onStopListening()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerSpoofingTest.java82 final LauncherApps.Callback c0_1 = mock(LauncherApps.Callback.class); in testSpoofingLauncher()
83 final LauncherApps.Callback c0_2 = mock(LauncherApps.Callback.class); in testSpoofingLauncher()
84 final LauncherApps.Callback c0_3 = mock(LauncherApps.Callback.class); in testSpoofingLauncher()
DShortcutManagerSpoofDetectionTest.java89 final LauncherApps.Callback c = mock(LauncherApps.Callback.class); in testLauncherSpoofing()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
DCtsVisualVoicemailService.java29 public abstract static class Callback { class in CtsVisualVoicemailService
38 private static Callback sCallback;
40 public static void setCallback(Callback callback) { in setCallback()
DVisualVoicemailServiceActivity.java30 import com.android.cts.verifier.voicemail.CtsVisualVoicemailService.Callback;
57 private Callback mCallback = new Callback() {
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecWrapper.java21 import android.media.MediaCodec.Callback;
71 void setCallback(Callback mCallback); in setCallback()
DSdkMediaCodec.java21 import android.media.MediaCodec.Callback;
137 public void setCallback(Callback mCallback) { in setCallback()
/cts/tests/app/src/android/app/cts/
DActivityActionModeTest.java39 private ActionMode.Callback mCallback;
47 mCallback = mock(ActionMode.Callback.class); in setUp()
/cts/tests/tests/widget/src/android/widget/cts/
DVideoView2Test.java159 final MediaController.Callback mockControllerCallback = in testPlayVideo()
160 mock(MediaController.Callback.class); in testPlayVideo()
184 final MediaController.Callback mockControllerCallback = in testPlayVideoOnTextureView()
185 mock(MediaController.Callback.class); in testPlayVideoOnTextureView()

1234