/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | PhoneStateListenerTest.java | 46 private PhoneStateListener mListener; field in PhoneStateListenerTest 62 if (mListener != null) { in tearDown() 64 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE); in tearDown() 93 mListener = new PhoneStateListener() { in testOnServiceStateChanged() 102 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SERVICE_STATE); in testOnServiceStateChanged() 130 mListener = new PhoneStateListener() { in testOnSignalStrengthChanged() 139 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTH); in testOnSignalStrengthChanged() 167 mListener = new PhoneStateListener() { in testOnSignalStrengthsChanged() 176 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); in testOnSignalStrengthsChanged() 215 mListener = new PhoneStateListener() { in testOnMessageWaitingIndicatorChanged() [all …]
|
D | CellLocationTest.java | 36 private PhoneStateListener mListener; field in CellLocationTest 50 if (mListener != null) { in tearDown() 52 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE); in tearDown() 82 mListener = new PhoneStateListener() { in testCellLocation() 91 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_CELL_LOCATION); in testCellLocation()
|
D | SubscriptionManagerTest.java | 33 private SubscriptionManager.OnSubscriptionsChangedListener mListener; field in SubscriptionManagerTest 48 if (mListener != null) { in tearDown() 50 mSubscriptionManager.removeOnSubscriptionsChangedListener(mListener); in tearDown()
|
D | TelephonyManagerTest.java | 44 private PhoneStateListener mListener; field in TelephonyManagerTest 58 if (mListener != null) { in tearDown() 60 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE); in tearDown() 81 mListener = new PhoneStateListener() { in testListen() 92 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_CELL_LOCATION); in testListen() 110 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE); in testListen() 113 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE); in testListen()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerListenerTest.java | 31 private CountingClipChangedListener mListener; field in ClipboardManagerListenerTest 41 mListener = new CountingClipChangedListener(); in setUp() 45 mActivity.addPrimaryClipChangedListener(mListener); in testListener() 54 mActivity.removePrimaryClipChangedListener(mListener); in testListener() 63 return expectedCount == mListener.getCount(); in assertClipChangedCount() 70 assertEquals(expectedCount, mListener.getCount()); in assertNoClipChange()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | TestCase.java | 59 private TestCaseListener mListener; field in TestCase 79 mListener = listener; in start() 85 mListener.onTestStarted(); in start() 89 mListener.onTestFailed(mContext.getString(R.string.p2p_setup_error)); in start() 95 mListener.onTestSuccess(); in start() 97 mListener.onTestFailed(getReason()); in start() 101 mListener.onTestFailed( in start() 166 mListener.onTestMsgReceived(mContext.getString(id)); in notifyTestMsg()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GestureDetectorTest.java | 39 private MockOnGestureListener mListener; field in GestureDetectorTest 56 mListener = mActivity.getListener(); in setUp() 110 mGestureDetector.setContextClickListener(mListener); in testOnSetContextClickListener() 113 assertSame(mButtonPressPrimaryMotionEvent, mListener.getPreviousContextClickEvent()); in testOnSetContextClickListener() 118 mListener.onContextClick(mButtonPressPrimaryMotionEvent); in testOnContextClick() 120 assertSame(mButtonPressPrimaryMotionEvent, mListener.getPreviousContextClickEvent()); in testOnContextClick() 125 assertSame(mButtonPressSecondaryMotionEvent, mListener.getPreviousContextClickEvent()); in testOnContextClick() 132 assertSame(mButtonPressPrimaryMotionEvent, mListener.getPreviousContextClickEvent()); in testOnGenericMotionEvent()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | SurfaceTextureGLSurfaceView.java | 30 private final OnSurfaceChangedListener mListener; field in SurfaceTextureGLSurfaceView 39 mListener = listener; in SurfaceTextureGLSurfaceView() 56 if (mListener != null) { in surfaceDestroyed() 58 mListener.onSurfaceDestroyed(); in surfaceDestroyed()
|
D | SurfaceTextureRenderer.java | 90 private final OnSurfaceChangedListener mListener; field in SurfaceTextureRenderer 93 mListener = listener; in SurfaceTextureRenderer() 231 if (mListener != null) { in onSurfaceCreated() 232 mListener.onSurfaceCreated(); in onSurfaceCreated()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
D | BlockingInputAllocation.java | 41 private final OnBufferAvailableListener mListener; field in BlockingInputAllocation 95 mListener.waitForBuffer(); in waitForBufferAndReceive() 114 while (mListener.isBufferPending()) { in receiveLatestAvailableBuffers() 115 mListener.waitForBuffer(); in receiveLatestAvailableBuffers() 159 mListener = new OnBufferAvailableListener(); in BlockingInputAllocation() 160 mAllocation.setOnBufferAvailableListener(mListener); in BlockingInputAllocation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | AccelerometerTestActivity.java | 43 private SensorEventListener mListener; field in AccelerometerTestActivity 53 mListener = renderer; in onCreate() 65 mSensorManager.unregisterListener(mListener); in onPause() 73 mSensorManager.registerListener(mListener, mSensorManager.getSensorList( in onResume()
|
D | RotationVectorTestActivity.java | 53 private SensorEventListener mListener; field in RotationVectorTestActivity 179 mListener = renderer; in onCreate() 187 mSensorManager.unregisterListener(mListener); in onPause() 201 .registerListener(mListener, sensor, SensorManager.SENSOR_DELAY_GAME); in onResume()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 49 MockOnDrawableLoadedListener mListener; field in IconTest 99 mListener = new MockOnDrawableLoadedListener(); in testLoadDrawableAsync() 103 mIcon.loadDrawableAsync(mActivity, mListener, new Handler()); in testLoadDrawableAsync() 108 assertEquals(1, mListener.getLoadedCount()); in testLoadDrawableAsync()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorPeer.java | 50 private FutureCloseListener mListener; field in ParcelFileDescriptorPeer 93 mListener = new FutureCloseListener(); in setupFile() 97 ParcelFileDescriptor.MODE_READ_WRITE, handler, mListener); in setupFile() 195 return String.valueOf(mListener.get()); in checkListener()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 58 private NoopCameraListener mListener; field in CameraManagerTest 71 mListener = new NoopCameraListener(); in setContext() 470 mCameraManager.unregisterAvailabilityCallback(mListener); in testCameraManagerListener() 471 mCameraManager.registerAvailabilityCallback(mListener, mHandler); in testCameraManagerListener() 472 mCameraManager.registerAvailabilityCallback(mListener, mHandler); in testCameraManagerListener() 473 mCameraManager.unregisterAvailabilityCallback(mListener); in testCameraManagerListener() 474 mCameraManager.unregisterAvailabilityCallback(mListener); in testCameraManagerListener()
|
D | ImageReaderTest.java | 82 private SimpleImageListener mListener; field in ImageReaderTest 669 mListener = new SimpleImageListener(); in invalidAccessTestAfterClose() 670 createDefaultImageReader(availableSizes[0], FORMAT, MAX_NUM_IMAGES, mListener); in invalidAccessTestAfterClose() 677 mListener.waitForAnyImageAvailable(CAPTURE_WAIT_TIMEOUT_MS); in invalidAccessTestAfterClose() 700 mListener = new SimpleImageListener(); in bufferFormatTestByCamera() 701 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatTestByCamera() 745 mListener = new SimpleImageListener(); in bufferFormatLongProcessingTimeTestByCamera() 746 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatLongProcessingTimeTestByCamera() 769 mListener.waitForAnyImageAvailable(CAPTURE_WAIT_TIMEOUT_MS); in bufferFormatLongProcessingTimeTestByCamera() 886 assertNotNull("Image listener is null", mListener); in validateImage() [all …]
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 50 private final RenderCompletionListener mListener; field in PlanetsRenderer 128 mListener = listener; in PlanetsRenderer() 246 if (mListener != null) { in onEglSwapBuffers() 247 mListener.onRenderCompletion(fps, numTriangles, mFrameInterval); in onEglSwapBuffers()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | DeqpTestRunner.java | 563 private TestInstanceResultListener mListener; field in DeqpTestRunner.InstrumentationParser 573 mListener = listener; in InstrumentationParser() 592 mListener.handleStatus(mValues); in processNewLines() 635 mListener.handleStatus(mValues); in done()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |