Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 25 of 142) sorted by relevance

123456

/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/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/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/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/mediastress/src/android/mediastress/cts/
DSurfaceTextureGLSurfaceView.java32 public SurfaceTextureGLSurfaceView(Context context, OnSurfaceChangedListener listener) { in SurfaceTextureGLSurfaceView()
37 OnSurfaceChangedListener listener) { in SurfaceTextureGLSurfaceView()
43 private void init(OnSurfaceChangedListener listener) { in init()
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java85 final MockOnGlobalFocusChangeListener listener = new MockOnGlobalFocusChangeListener(); in testAddOnGlobalFocusChangeListener() local
110 MockOnGlobalLayoutListener listener = new MockOnGlobalLayoutListener(); in testAddOnGlobalLayoutListener() local
121 MockOnPreDrawListener listener = new MockOnPreDrawListener(); in testAddOnPreDrawListener() local
136 final MockOnTouchModeChangeListener listener = new MockOnTouchModeChangeListener(); in testAddOnTouchModeChangeListener() local
160 MockOnGlobalLayoutListener listener = new MockOnGlobalLayoutListener(); in testDispatchOnGlobalLayout() local
171 MockOnPreDrawListener listener = new MockOnPreDrawListener(); in testDispatchOnPreDraw() local
189 MockOnGlobalLayoutListener listener = new MockOnGlobalLayoutListener(); in testRemoveGlobalOnLayoutListener() local
215 final MockOnGlobalFocusChangeListener listener = new MockOnGlobalFocusChangeListener(); in testRemoveOnGlobalFocusChangeListener() local
255 MockOnPreDrawListener listener = new MockOnPreDrawListener(); in testRemoveOnPreDrawListener() local
275 MockOnTouchModeChangeListener listener = new MockOnTouchModeChangeListener(); in testRemoveOnTouchModeChangeListener() local
[all …]
DOrientationListenerTest.java45 MockOrientationListener listener = new MockOrientationListener(mContext); in testRegisterationOfOrientationListener() local
61 MockOrientationListener listener = new MockOrientationListener(mContext); in testOnSensorChanged() local
78 MockOrientationListener listener = new MockOrientationListener(mContext); in testOnOrientationChanged() local
DOrientationEventListenerTest.java37 MockOrientationEventListener listener = new MockOrientationEventListener(mContext); in testEnableAndDisable() local
47 MockOrientationEventListener listener = new MockOrientationEventListener(mContext); in testCanDetectOrientation() local
DViewStubTest.java77 MockOnInflateListener listener = new MockOnInflateListener(); in testSetVisibility() local
136 final MockOnInflateListener listener = new MockOnInflateListener(); in testSetOnInflateListener() local
174 final MockOnInflateListener listener = new MockOnInflateListener(); in testInflate() local
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCamera2Focuser.java94 AutoFocusListener listener, CameraCharacteristics staticInfo, Handler handler) in Camera2Focuser()
218 CaptureCallback listener = createCaptureListener(); in cancelAutoFocus() local
219 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in cancelAutoFocus() local
220 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus() local
255 CaptureCallback listener = createCaptureListener(); in startAutoFocusLocked() local
256 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in startAutoFocusLocked() local
257 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked() local
279 CaptureCallback listener = createCaptureListener(); in startAutoFocusFullActiveLocked() local
280 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked() local
281 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked() local
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerActivity.java38 public synchronized void addPrimaryClipChangedListener(OnPrimaryClipChangedListener listener) { in addPrimaryClipChangedListener()
42 … public synchronized void removePrimaryClipChangedListener(OnPrimaryClipChangedListener listener) { in removePrimaryClipChangedListener()
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java78 MockOnHierarchyChangeListener listener = new MockOnHierarchyChangeListener(); in testSetOnHierarchyChangeListener() local
119 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testInternalCheckedStateTracker() local
166 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testClearCheck() local
203 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testCheck() local
248 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testSetOnCheckedChangeListener() local
353 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testOnFinishInflate() local
449 private void assertHaveNotCalledOnCheckedChanged(MockOnCheckedChangeListener listener) { in assertHaveNotCalledOnCheckedChanged()
454 private void assertHasCalledOnCheckedChanged(MockOnCheckedChangeListener listener) { in assertHasCalledOnCheckedChanged()
459 private void assertOnCheckedChangedParams(MockOnCheckedChangeListener listener, int time, in assertOnCheckedChangedParams()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DTestSensorManager.java72 public void registerListener(TestSensorEventListener listener) { in registerListener()
99 TestSensorEventListener listener, in registerListener()
139 TestSensorEventListener listener, in registerListener()
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DSingleTestNgTestExecutor.java51 SingleTestNGTestRunListener listener = new SingleTestNGTestRunListener(); in execute() local
71 SingleTestNGTestRunListener listener) { in createTestNG()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java59 AccessibilityStateChangeListener listener = new AccessibilityStateChangeListener() { in testAddAndRemoveAccessibilityStateChangeListener() local
71 TouchExplorationStateChangeListener listener = new TouchExplorationStateChangeListener() { in testAddAndRemoveTouchExplorationStateChangeListener() local
197 AccessibilityStateChangeListener listener = new AccessibilityStateChangeListener() { in waitForAccessibilityEnabled() local
220 TouchExplorationStateChangeListener listener = new TouchExplorationStateChangeListener() { in waitForTouchExplorationEnabled() local
/cts/tests/tests/location/src/android/location/cts/
DTestLocationManager.java51 public void removeLocationUpdates(LocationListener listener) { in removeLocationUpdates()
122 public void addGpsStatusListener(final GpsStatus.Listener listener) { in addGpsStatusListener()
140 public void removeGpsStatusListener(GpsStatus.Listener listener) { in removeGpsStatusListener()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java139 CaptureCallback listener, Handler handler) throws Exception { in startCapture()
189 protected void openDevice(String cameraId, BlockingStateCallback listener) throws Exception { in openDevice()
244 protected void closeDevice(String cameraId, BlockingStateCallback listener) { in closeDevice()
281 ImageReader.OnImageAvailableListener listener) throws Exception { in createDefaultImageReader()
301 ImageReader.OnImageAvailableListener listener) throws Exception { in createImageReader()
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionManagerTest.java55 MediaSessionManager.OnActiveSessionsChangedListener listener in testAddOnActiveSessionsListener() local
DRemoteControllerTest.java56 static OnClientUpdateListener listener = new OnClientUpdateListener() { field in RemoteControllerTest
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java84 TestListener listener = new DalvikTestListener(); in main() local
106 private static void collectTests(TestSuite suite, TestListener listener, in collectTests()
113 collectTests((TestSuite) test, listener, includes, excludes); in collectTests() local
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DOwnerChangedBroadcastTest.java48 OnSharedPreferenceChangeListener listener = new OnSharedPreferenceChangeListener() { in testOwnerChangedBroadcastReceived() local
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DIntentSenderActivity.java102 public void addPrimaryClipChangedListener(OnPrimaryClipChangedListener listener) { in addPrimaryClipChangedListener()
107 OnPrimaryClipChangedListener listener) { in removePrimaryClipChangedListener()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsSurfaceView.java27 RenderCompletionListener listener) { in PlanetsSurfaceView()
/cts/tests/tests/widget/src/android/widget/cts/util/
DViewTestUtils.java51 final OnDrawListener listener = new OnDrawListener() { in runOnMainAndDrawSync() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DGoTestCase.java46 ActionListenerTest listener = new ActionListenerTest(); in executeTest() local

123456