Home
last modified time | relevance | path

Searched refs:mListener (Results 1 – 25 of 240) sorted by relevance

12345678910

/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionListenerProxy.java29 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/opt/net/ims/src/java/com/android/ims/internal/
DImsCallSession.java409 private Listener mListener; field in ImsCallSession
623 mListener = listener; in setListener()
957 if (mListener != null) { in callSessionProgressing()
958 mListener.callSessionProgressing(ImsCallSession.this, profile); in callSessionProgressing()
965 if (mListener != null) { in callSessionStarted()
966 mListener.callSessionStarted(ImsCallSession.this, profile); in callSessionStarted()
973 if (mListener != null) { in callSessionStartFailed()
974 mListener.callSessionStartFailed(ImsCallSession.this, reasonInfo); in callSessionStartFailed()
981 if (mListener != null) { in callSessionTerminated()
982 mListener.callSessionTerminated(ImsCallSession.this, reasonInfo); in callSessionTerminated()
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipSession.java237 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/
DFilterSurfaceView.java35 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/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanSessionState.java42 private IWifiNanSessionListener mListener; field in WifiNanSessionState
55 mListener = listener; in WifiNanSessionState()
63 mListener = null; in destroy()
140 if (mListener != null && (mEvents & WifiNanSessionListener.LISTEN_PUBLISH_FAIL) != 0) { in onPublishFail()
141 mListener.onPublishFail(status); in onPublishFail()
151 if (mListener != null in onPublishTerminated()
153 mListener.onPublishTerminated(status); in onPublishTerminated()
168 if (mListener != null in onSubscribeFail()
170 mListener.onSubscribeFail(status); in onSubscribeFail()
180 if (mListener != null in onSubscribeTerminated()
[all …]
DWifiNanClientState.java38 private IWifiNanEventListener mListener; field in WifiNanClientState
47 mListener = listener; in WifiNanClientState()
52 mListener = null; in destroy()
108 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_CONFIG_COMPLETED) != 0) { in onConfigCompleted()
110 mListener.onConfigCompleted(completedConfig); in onConfigCompleted()
118 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_CONFIG_FAILED) != 0) { in onConfigFailed()
120 mListener.onConfigFailed(failedConfig, reason); in onConfigFailed()
128 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_NAN_DOWN) != 0) { in onNanDown()
130 mListener.onNanDown(reason); in onNanDown()
142 if (mListener != null && (mEvents & WifiNanEventListener.LISTEN_IDENTITY_CHANGED) != 0) { in onInterfaceAddressChange()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java67 @Mock SoftApManager.Listener mListener; field in SoftApManagerTest
89 mListener); in setUp()
97 InOrder order = inOrder(mListener); in startSoftApWithoutConfig()
102 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLING, 0); in startSoftApWithoutConfig()
103 order.verify(mListener).onStateChanged( in startSoftApWithoutConfig()
113 verify(mListener, never()).onStateChanged(anyInt(), anyInt()); in stopWhenNotStarted()
121 InOrder order = inOrder(mListener); in stopWhenStarted()
127 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in stopWhenStarted()
128 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted()
133 InOrder order = inOrder(mListener); in startSoftApAndVerifyEnabled()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimationThread.java71 private final IAnimationListener mListener; field in AnimationThread
77 mListener = listener; in AnimationThread()
107 mListener.done(result); in run()
114 if (mListener.isCanceled()) { in run()
136 if (mListener.isCanceled()) { in run()
143 mListener.done(result); in run()
151 if (mListener.isCanceled()) { in run()
157 mListener.onNewFrame(session); in run()
162 } while (mListener.isCanceled() == false && mQueue.size() > 0); in run()
164 mListener.done(Status.SUCCESS.createResult()); in run()
[all …]
/frameworks/support/compat/kitkat/android/support/v4/view/accessibility/
DAccessibilityManagerCompatKitKat.java29 final Object mListener; field in AccessibilityManagerCompatKitKat.TouchExplorationStateChangeListenerWrapper
34 mListener = listener; in TouchExplorationStateChangeListenerWrapper()
40 return mListener == null ? 0 : mListener.hashCode(); in hashCode()
53 return mListener == null ? other.mListener == null : mListener.equals(other.mListener); in equals()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DObservableArrayMapTest.java35 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 …]
DObservableArrayListTest.java42 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/support/compat/ics/android/support/v4/view/accessibility/
DAccessibilityManagerCompatIcs.java32 Object mListener; field in AccessibilityManagerCompatIcs.AccessibilityStateChangeListenerWrapper
37 mListener = listener; in AccessibilityStateChangeListenerWrapper()
43 return mListener == null ? 0 : mListener.hashCode(); in hashCode()
56 return mListener == null ? other.mListener == null : mListener.equals(other.mListener); in equals()
/frameworks/base/obex/javax/obex/
DServerSession.java58 private ServerRequestHandler mListener; field in ServerSession
80 mListener = handler; in ServerSession()
177 code = mListener.onAbort(request, reply); in handleAbortRequest()
198 ServerOperation op = new ServerOperation(this, mInput, type, mMaxPacketLength, mListener); in handlePutRequest()
203 response = validateResponseCode(mListener in handlePutRequest()
206 response = validateResponseCode(mListener.onPut(op)); in handlePutRequest()
244 ServerOperation op = new ServerOperation(this, mInput, type, mMaxPacketLength, mListener); in handleGetRequest()
246 int response = validateResponseCode(mListener.onGet(op)); in handleGetRequest()
329 if (mListener.getConnectionId() != -1 && request.mConnectionID != null) { in handleSetPathRequest()
330 mListener.setConnectionId(ObexHelper.convertToLong(request.mConnectionID)); in handleSetPathRequest()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java50 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/
DToggleSlider.java42 private Listener mListener; field in ToggleSlider
99 if (mListener != null) { in onAttachedToWindow()
100 mListener.onInit(this); in onAttachedToWindow()
105 mListener = l; in setOnChangedListener()
145 if (mListener != null) {
146 mListener.onChanged(
159 if (mListener != null) {
160 mListener.onChanged(
169 if (mListener != null) {
170 mListener.onChanged(ToggleSlider.this, mTracking, mToggle.isChecked(),
[all …]
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2CaptureCallbackForwarder.java32 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/base/core/java/android/speech/
DRecognitionService.java82 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/
DCallbackFilter.java36 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/src/com/android/setupwizardlib/test/
DBottomScrollViewTest.java28 private TestBottomScrollListener mListener; field in BottomScrollViewTest
33 mListener = new TestBottomScrollListener(); in setUp()
39 assertTrue("Scroll should not be required", mListener.scrolledToBottom); in testNoNeedScroll()
45 assertFalse("Scroll should be required", mListener.scrolledToBottom); in testNeedScroll()
52 assertFalse("Scroll should be required", mListener.scrolledToBottom); in testScrollToBottom()
55 assertTrue("Should already be scrolled to bottom", mListener.scrolledToBottom); in testScrollToBottom()
66 bottomScrollView.setBottomScrollListener(mListener); in createScrollView()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DViewPropertyAnimatorCompatSet.java43 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/
DImsEcbm.java85 private ImsEcbmStateListener mListener; field in ImsEcbm.ImsEcbmListenerProxy
88 mListener = listener; in ImsEcbmListenerProxy()
95 if (mListener != null) { in enteredECBM()
96 mListener.onECBMEntered(); in enteredECBM()
104 if (mListener != null) { in exitedECBM()
105 mListener.onECBMExited(); in exitedECBM()
/frameworks/support/core-utils/java/android/support/v4/content/
DLoader.java36 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/
DLoader.java54 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/print/
DPrintServiceRecommendationsLoader.java42 private PrintManager.PrintServiceRecommendationsChangeListener mListener; field in PrintServiceRecommendationsLoader
73 mListener = new PrintManager.PrintServiceRecommendationsChangeListener() { in onStartLoading()
80 mPrintManager.addPrintServiceRecommendationsChangeListener(mListener); in onStartLoading()
88 if (mListener != null) { in onStopLoading()
89 mPrintManager.removePrintServiceRecommendationsChangeListener(mListener); in onStopLoading()
90 mListener = null; in onStopLoading()
/frameworks/base/core/java/android/os/
DRemoteCallback.java33 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()

12345678910