/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionListenerProxy.java | 29 private ISipSessionListener mListener; field in SipSessionListenerProxy 32 mListener = listener; in setListener() 36 return mListener; in getListener() 48 if (mListener == null) return; in onCalling() 53 mListener.onCalling(session); in onCalling() 64 if (mListener == null) return; in onRinging() 69 mListener.onRinging(session, caller, sessionDescription); in onRinging() 79 if (mListener == null) return; in onRingingBack() 84 mListener.onRingingBack(session); in onRingingBack() 95 if (mListener == null) return; in onCallEstablished() [all …]
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | ImsCallSession.java | 450 private Listener mListener; field in ImsCallSession 664 mListener = listener; in setListener() 1050 if (mListener != null) { in callSessionProgressing() 1051 mListener.callSessionProgressing(ImsCallSession.this, profile); in callSessionProgressing() 1058 if (mListener != null) { in callSessionStarted() 1059 mListener.callSessionStarted(ImsCallSession.this, profile); in callSessionStarted() 1066 if (mListener != null) { in callSessionStartFailed() 1067 mListener.callSessionStartFailed(ImsCallSession.this, reasonInfo); in callSessionStartFailed() 1074 if (mListener != null) { in callSessionTerminated() 1075 mListener.callSessionTerminated(ImsCallSession.this, reasonInfo); in callSessionTerminated() [all …]
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipSession.java | 237 private Listener mListener; field in SipSession 350 mListener = listener; in setListener() 468 if (mListener != null) { in createListener() 469 mListener.onCalling(SipSession.this); in createListener() 476 if (mListener != null) { in createListener() 477 mListener.onRinging(SipSession.this, caller, in createListener() 484 if (mListener != null) { in createListener() 485 mListener.onRingingBack(SipSession.this); in createListener() 492 if (mListener != null) { in createListener() 493 mListener.onCallEstablished(SipSession.this, in createListener() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterSurfaceView.java | 35 private SurfaceHolder.Callback mListener; field in FilterSurfaceView 56 } else if (mListener != null && mListener != listener) { in bindToListener() 59 + "filter " + mListener + " attached already!"); in bindToListener() 63 mListener = listener; in bindToListener() 78 mListener.surfaceCreated(getHolder()); in bindToListener() 82 mListener.surfaceChanged(getHolder(), mFormat, mWidth, mHeight); in bindToListener() 88 mListener = null; in unbind() 109 if (mListener != null) { in surfaceCreated() 110 mListener.surfaceCreated(holder); in surfaceCreated() 126 if (mListener != null) { in surfaceChanged() [all …]
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
D | AccessibilityManagerCompat.java | 74 AccessibilityStateChangeListener mListener; field in AccessibilityManagerCompat.AccessibilityStateChangeListenerWrapper 78 mListener = listener; in AccessibilityStateChangeListenerWrapper() 83 return mListener.hashCode(); in hashCode() 96 return mListener.equals(other.mListener); in equals() 101 mListener.onAccessibilityStateChanged(enabled); in onAccessibilityStateChanged() 197 final TouchExplorationStateChangeListener mListener; field in AccessibilityManagerCompat.TouchExplorationStateChangeListenerWrapper 201 mListener = listener; in TouchExplorationStateChangeListenerWrapper() 206 return mListener.hashCode(); in hashCode() 219 return mListener.equals(other.mListener); in equals() 224 mListener.onTouchExplorationStateChanged(enabled); in onTouchExplorationStateChanged()
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
D | TransitionFragment.java | 44 private Transition.TransitionListener mListener = mock(Transition.TransitionListener.class); field in TransitionFragment 53 enterTransition.addListener(mListener); in TransitionFragment() 54 sharedElementEnter.addListener(mListener); in TransitionFragment() 55 reenterTransition.addListener(mListener); in TransitionFragment() 56 exitTransition.addListener(mListener); in TransitionFragment() 57 returnTransition.addListener(mListener); in TransitionFragment() 58 sharedElementReturn.addListener(mListener); in TransitionFragment() 71 verify(mListener, within(300)).onTransitionEnd((Transition) any()); in waitForTransition() 72 reset(mListener); in waitForTransition() 77 verify(mListener, never()).onTransitionStart((Transition) any()); in waitForNoTransition()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | AsyncSensorManagerTest.java | 43 private SensorEventListener mListener; field in AsyncSensorManagerTest 51 mListener = mock(SensorEventListener.class); in setUp() 56 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in registerListenerImpl() 62 verify(mListener).onSensorChanged(any()); in registerListenerImpl() 67 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in unregisterListenerImpl_withNullSensor() 68 mAsyncSensorManager.unregisterListener(mListener); in unregisterListenerImpl_withNullSensor() 74 verifyNoMoreInteractions(mListener); in unregisterListenerImpl_withNullSensor() 79 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in unregisterListenerImpl_withSensor() 80 mAsyncSensorManager.unregisterListener(mListener, mSensor.getSensor()); in unregisterListenerImpl_withSensor() 86 verifyNoMoreInteractions(mListener); in unregisterListenerImpl_withSensor()
|
/frameworks/layoutlib/bridge/src/android/animation/ |
D | AnimationThread.java | 70 private final IAnimationListener mListener; field in AnimationThread 76 mListener = listener; in AnimationThread() 106 mListener.done(result); in run() 113 if (mListener.isCanceled()) { in run() 135 if (mListener.isCanceled()) { in run() 142 mListener.done(result); in run() 150 if (mListener.isCanceled()) { in run() 156 mListener.onNewFrame(session); in run() 161 } while (mListener.isCanceled() == false && mQueue.size() > 0); in run() 163 mListener.done(Status.SUCCESS.createResult()); in run() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ObservableArrayMapTest.java | 35 private OnMapChangedCallback mListener = new OnMapChangedCallback() { field in ObservableArrayMapTest 56 mObservable.addOnMapChangedCallback(mListener); in testAddListener() 63 mObservable.removeOnMapChangedCallback(mListener); in testRemoveListener() 65 mObservable.addOnMapChangedCallback(mListener); in testRemoveListener() 68 mObservable.removeOnMapChangedCallback(mListener); in testRemoveListener() 73 mObservable.removeOnMapChangedCallback(mListener); in testRemoveListener() 79 mObservable.addOnMapChangedCallback(mListener); in testClear() 92 mObservable.addOnMapChangedCallback(mListener); in testPut() 114 mObservable.addOnMapChangedCallback(mListener); in testPutAll() 130 mObservable.addOnMapChangedCallback(mListener); in testPutAllSimpleArrayMap() [all …]
|
D | ObservableArrayListTest.java | 42 private OnListChangedCallback mListener = new OnListChangedCallback() { field in ObservableArrayListTest 111 mObservable.addOnListChangedCallback(mListener); in testAddListener() 118 mObservable.removeOnListChangedCallback(mListener); in testRemoveListener() 120 mObservable.addOnListChangedCallback(mListener); in testRemoveListener() 123 mObservable.removeOnListChangedCallback(mListener); in testRemoveListener() 128 mObservable.removeOnListChangedCallback(mListener); in testRemoveListener() 156 mObservable.addOnListChangedCallback(mListener); in testAdd() 168 mObservable.addOnListChangedCallback(mListener); in testInsert() 190 mObservable.addOnListChangedCallback(mListener); in testAddAll() 207 mObservable.addOnListChangedCallback(mListener); in testInsertAll() [all …]
|
/frameworks/base/obex/javax/obex/ |
D | ServerSession.java | 58 private ServerRequestHandler mListener; field in ServerSession 80 mListener = handler; in ServerSession() 176 code = mListener.onAbort(request, reply); in handleAbortRequest() 197 ServerOperation op = new ServerOperation(this, mInput, type, mMaxPacketLength, mListener); in handlePutRequest() 202 response = validateResponseCode(mListener in handlePutRequest() 205 response = validateResponseCode(mListener.onPut(op)); in handlePutRequest() 243 ServerOperation op = new ServerOperation(this, mInput, type, mMaxPacketLength, mListener); in handleGetRequest() 245 int response = validateResponseCode(mListener.onGet(op)); in handleGetRequest() 328 if (mListener.getConnectionId() != -1 && request.mConnectionID != null) { in handleSetPathRequest() 329 mListener.setConnectionId(ObexHelper.convertToLong(request.mConnectionID)); in handleSetPathRequest() [all …]
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerController.java | 50 private Listener mListener; field in PlayerController 73 mListener = listener; in setListener() 75 if (mListener != null) { in setListener() 77 mListener.onConnectionStateChange( in setListener() 170 if (mListener != null) { 171 mListener.onConnectionStateChange(STATE_DISCONNECTED); 195 if (mListener != null) { 196 mListener.onConnectionStateChange(STATE_CONNECTED); 198 mListener.onPlaybackStateChange(mController.getPlaybackState()); 211 if (mListener != null) { in onPlaybackStateChanged() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | ToggleSliderView.java | 36 private Listener mListener; field in ToggleSliderView 93 if (mListener != null) { in onAttachedToWindow() 94 mListener.onInit(this); in onAttachedToWindow() 99 mListener = l; in setOnChangedListener() 143 if (mListener != null) { 144 mListener.onChanged( 157 if (mListener != null) { 158 mListener.onChanged( 167 if (mListener != null) { 168 mListener.onChanged(ToggleSliderView.this, mTracking, mToggle.isChecked(), [all …]
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
D | Camera2CaptureCallbackForwarder.java | 32 private CaptureCallback mListener; field in Camera2CaptureCallbackForwarder 36 mListener = listener; in Camera2CaptureCallbackForwarder() 46 mListener.onCaptureCompleted(session, request, result); in onCaptureCompleted() 56 mListener.onCaptureFailed(session, request, failure); in onCaptureFailed() 67 mListener.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed() 76 mListener.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted() 86 mListener.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted() 96 mListener.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 71 @Mock SoftApManager.Listener mListener; field in SoftApManagerTest 115 mListener, in createSoftApManager() 164 mListener, in startSoftApDefaultConfigFailedToLoad() 173 verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApDefaultConfigFailedToLoad() 184 verify(mListener, never()).onStateChanged(anyInt(), anyInt()); in stopWhenNotStarted() 192 InOrder order = inOrder(mListener); in stopWhenStarted() 198 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in stopWhenStarted() 199 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted() 208 InOrder order = inOrder(mListener); in handlesWificondInterfaceDeath() 209 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in handlesWificondInterfaceDeath() [all …]
|
/frameworks/base/core/java/android/speech/ |
D | RecognitionService.java | 82 dispatchStartListening(args.mIntent, args.mListener, args.mCallingUid); 129 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchStopListening() 143 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchCancel() 159 public final IRecognitionListener mListener; field in RecognitionService.StartListeningArgs 164 this.mListener = listener; in StartListeningArgs() 233 private final IRecognitionListener mListener; field in RecognitionService.Callback 237 mListener = listener; in Callback() 246 mListener.onBeginningOfSpeech(); in beginningOfSpeech() 257 mListener.onBufferReceived(buffer); in bufferReceived() 264 mListener.onEndOfSpeech(); in endOfSpeech() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | CallbackFilter.java | 36 private FilterContext.OnFrameReceivedListener mListener; field in CallbackFilter 50 private FilterContext.OnFrameReceivedListener mListener; field in CallbackFilter.CallbackRunnable 53 mListener = listener; in CallbackRunnable() 60 mListener.onFrameReceived(mFilter, mFrame, mUserData); in run() 83 if (mListener != null) { in process() 86 … CallbackRunnable uiRunnable = new CallbackRunnable(mListener, this, input, mUserData); in process() 91 mListener.onFrameReceived(this, input, mUserData); in process()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | BottomScrollViewTest.java | 39 private TestBottomScrollListener mListener; field in BottomScrollViewTest 43 mListener = new TestBottomScrollListener(); in setUp() 49 assertTrue("Scroll should not be required", mListener.mScrolledToBottom); in testNoNeedScroll() 55 assertFalse("Scroll should be required", mListener.mScrolledToBottom); in testNeedScroll() 62 assertFalse("Scroll should be required", mListener.mScrolledToBottom); in testScrollToBottom() 65 assertTrue("Should already be scrolled to bottom", mListener.mScrolledToBottom); in testScrollToBottom() 77 bottomScrollView.setBottomScrollListener(mListener); in createScrollView()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | ViewPropertyAnimatorCompatSet.java | 43 ViewPropertyAnimatorListener mListener; field in ViewPropertyAnimatorCompatSet 75 if (mListener != null) { in start() 114 mListener = listener; in setListener() 130 if (mListener != null) { 131 mListener.onAnimationStart(null); 144 if (mListener != null) { 145 mListener.onAnimationEnd(null);
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsEcbm.java | 89 private ImsEcbmStateListener mListener; field in ImsEcbm.ImsEcbmListenerProxy 92 mListener = listener; in ImsEcbmListenerProxy() 99 if (mListener != null) { in enteredECBM() 100 mListener.onECBMEntered(); in enteredECBM() 108 if (mListener != null) { in exitedECBM() 109 mListener.onECBMExited(); in exitedECBM()
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
D | Loader.java | 36 OnLoadCompleteListener<D> mListener; field in Loader 125 if (mListener != null) { in deliverResult() 126 mListener.onLoadComplete(this, data); in deliverResult() 164 if (mListener != null) { in registerListener() 167 mListener = listener; in registerListener() 177 if (mListener == null) { in unregisterListener() 180 if (mListener != listener) { in unregisterListener() 183 mListener = null; in unregisterListener() 523 writer.print(" mListener="); writer.println(mListener); in dump()
|
/frameworks/base/core/java/android/content/ |
D | Loader.java | 54 OnLoadCompleteListener<D> mListener; field in Loader 143 if (mListener != null) { in deliverResult() 144 mListener.onLoadComplete(this, data); in deliverResult() 182 if (mListener != null) { in registerListener() 185 mListener = listener; in registerListener() 195 if (mListener == null) { in unregisterListener() 198 if (mListener != listener) { in unregisterListener() 201 mListener = null; in unregisterListener() 541 writer.print(" mListener="); writer.println(mListener); in dump()
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallback.java | 33 private final OnResultListener mListener; field in RemoteCallback 45 mListener = listener; in RemoteCallback() 56 mListener = null; in RemoteCallback() 64 if (mListener != null) { in sendResult() 69 mListener.onResult(result); in sendResult() 73 mListener.onResult(result); in sendResult()
|
/frameworks/base/core/java/android/print/ |
D | PrintServiceRecommendationsLoader.java | 43 private PrintManager.PrintServiceRecommendationsChangeListener mListener; field in PrintServiceRecommendationsLoader 74 mListener = new PrintManager.PrintServiceRecommendationsChangeListener() { in onStartLoading() 81 mPrintManager.addPrintServiceRecommendationsChangeListener(mListener, null); in onStartLoading() 89 if (mListener != null) { in onStopLoading() 90 mPrintManager.removePrintServiceRecommendationsChangeListener(mListener); in onStopLoading() 91 mListener = null; in onStopLoading()
|
/frameworks/support/transition/tests/src/android/support/transition/ |
D | BaseTransitionTest.java | 41 Transition.TransitionListener mListener; field in BaseTransitionTest 50 mListener = mock(Transition.TransitionListener.class); in setUp() 51 mTransition.addListener(mListener); in setUp() 59 verify(mListener, timeout(3000)).onTransitionStart(any(Transition.class)); in waitForStart() 63 verify(mListener, timeout(3000)).onTransitionEnd(any(Transition.class)); in waitForEnd() 107 mTransition.removeListener(mListener); in resetListener() 108 mListener = mock(Transition.TransitionListener.class); in resetListener() 109 mTransition.addListener(mListener); in resetListener()
|