Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/telephony/java/android/telephony/ims/
DImsCallSession.java480 private Listener mListener; field in ImsCallSession
700 mListener = listener; in setListener()
1133 if (mListener != null) { in callSessionProgressing()
1134 mListener.callSessionProgressing(ImsCallSession.this, profile); in callSessionProgressing()
1140 if (mListener != null) { in callSessionInitiated()
1141 mListener.callSessionStarted(ImsCallSession.this, profile); in callSessionInitiated()
1147 if (mListener != null) { in callSessionInitiatedFailed()
1148 mListener.callSessionStartFailed(ImsCallSession.this, reasonInfo); in callSessionInitiatedFailed()
1154 if (mListener != null) { in callSessionTerminated()
1155 mListener.callSessionTerminated(ImsCallSession.this, reasonInfo); in callSessionTerminated()
[all …]
DImsCallSessionListener.java46 private final IImsCallSessionListener mListener; field in ImsCallSessionListener
50 mListener = l; in ImsCallSessionListener()
59 mListener.callSessionProgressing(profile); in callSessionProgressing()
72 mListener.callSessionInitiated(profile); in callSessionInitiated()
86 mListener.callSessionInitiatedFailed(reasonInfo); in callSessionInitiatedFailed()
99 mListener.callSessionTerminated(reasonInfo); in callSessionTerminated()
116 mListener.callSessionHeld(profile); in callSessionHeld()
129 mListener.callSessionHoldFailed(reasonInfo); in callSessionHoldFailed()
142 mListener.callSessionHoldReceived(profile); in callSessionHoldReceived()
156 mListener.callSessionResumed(profile); in callSessionResumed()
[all …]
/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/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/services/tests/wmtests/src/com/android/server/wm/
DPersisterQueueTests.java58 private TestPersisterQueueListener mListener; field in PersisterQueueTests
63 mListener = new TestPersisterQueueListener(); in setUp()
64 mListener.setExpectedOnPreProcessItemCallbackTimes(1); in setUp()
65 mTarget.addListener(mListener); in setUp()
72 mListener.waitForAllExpectedCallbackDone(TIMEOUT_ALLOWANCE)); in setUp()
78 mTarget.removeListener(mListener); in tearDown()
84 assertEquals(1, mListener.mProbablyDoneResults.size()); in testCallCallbackOnStartUp()
86 assertTrue("The last probablyDone must be true.", mListener.mProbablyDoneResults.get(0)); in testCallCallbackOnStartUp()
92 mListener.setExpectedOnPreProcessItemCallbackTimes(1); in testProcessOneItem()
105 mListener.waitForAllExpectedCallbackDone(TIMEOUT_ALLOWANCE)); in testProcessOneItem()
[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/layoutlib/bridge/src/android/animation/
DAnimationThread.java70 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFeatureConnectorTest.java60 FeatureConnector.Listener<ImsManager> mListener; field in FeatureConnectorTest
76 mListener, mExecutor, mHandlerThread.getLooper()); in setUp()
77 mFeatureConnector.mListener = mListener; in setUp()
91 when(mListener.getFeatureManager()).thenReturn(mImsManager); in testConnect()
97 verify(mListener).getFeatureManager(); in testConnect()
99 reset(mListener); in testConnect()
103 when(mListener.getFeatureManager()).thenReturn(mImsManager); in testConnect()
109 verify(mListener, never()).getFeatureManager(); in testConnect()
117 verify(mListener).connectionUnavailable(); in testDisconnect()
129 verify(mListener).connectionReady(anyObject()); in testNotifyStateChanged()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DAsyncSensorManagerTest.java47 private SensorEventListener mListener; field in AsyncSensorManagerTest
57 mListener = mock(SensorEventListener.class); in setUp()
62 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in registerListenerImpl()
68 verify(mListener).onSensorChanged(any()); in registerListenerImpl()
73 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in unregisterListenerImpl_withNullSensor()
74 mAsyncSensorManager.unregisterListener(mListener); in unregisterListenerImpl_withNullSensor()
80 verifyNoMoreInteractions(mListener); in unregisterListenerImpl_withNullSensor()
85 mAsyncSensorManager.registerListener(mListener, mSensor.getSensor(), 100); in unregisterListenerImpl_withSensor()
86 mAsyncSensorManager.unregisterListener(mListener, mSensor.getSensor()); in unregisterListenerImpl_withSensor()
92 verifyNoMoreInteractions(mListener); in unregisterListenerImpl_withSensor()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/util/
DVersionedBroadcastListenerTest.java51 private VersionedBroadcastListener mListener; field in VersionedBroadcastListenerTest
79 mListener = new VersionedBroadcastListener( in setUp()
84 if (mListener != null) { in tearDown()
85 mListener.stopListening(); in tearDown()
86 mListener = null; in tearDown()
98 mListener.startListening(); in testBasicListening()
103 mListener.stopListening(); in testBasicListening()
114 mListener.startListening(); in testBroadcastsBeforeStartAreIgnored()
121 mListener.startListening(); in testBroadcastsAfterStopAreIgnored()
124 mListener.stopListening(); in testBroadcastsAfterStopAreIgnored()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsSmsImplBase.java132 private IImsSmsListener mListener; field in ImsSmsImplBase
143 mListener = listener; in registerSmsListener()
225 if (mListener == null) { in onSmsReceived()
229 mListener.onSmsReceived(token, format, pdu); in onSmsReceived()
260 if (mListener == null) { in onSendSmsResultSuccess()
264 mListener.onSendSmsResult(token, messageRef, SEND_STATUS_OK, in onSendSmsResultSuccess()
294 if (mListener == null) { in onSendSmsResult()
298 mListener.onSendSmsResult(token, messageRef, status, reason, in onSendSmsResult()
328 if (mListener == null) { in onSendSmsResultError()
332 mListener.onSendSmsResult(token, messageRef, status, reason, networkErrorCode); in onSendSmsResultError()
[all …]
DImsEcbmImplBase.java41 private IImsEcbmListener mListener; field in ImsEcbmImplBase
45 mListener = listener;
74 if (mListener != null) { in enteredEcbm()
76 mListener.enteredECBM(); in enteredEcbm()
90 if (mListener != null) { in exitedEcbm()
92 mListener.exitedECBM(); in exitedEcbm()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleDataTest.java88 private BubbleData.Listener mListener; field in BubbleDataTest
135 mBubbleData.setListener(mListener); in testAddBubble()
152 mBubbleData.setListener(mListener); in testRemoveBubble()
176 mBubbleData.setListener(mListener); in test_collapsed_addBubble_atMaxBubbles_expiresOldest()
196 mBubbleData.setListener(mListener); in test_collapsed_addBubble_sortAndGrouping()
229 mBubbleData.setListener(mListener); in test_collapsed_addBubble_sortAndGrouping_withOngoing()
260 mBubbleData.setListener(mListener); in test_collapsed_addBubble_selectionChanges()
292 mBubbleData.setListener(mListener); in test_collapsed_addBubble_noSelectionChanges_withOngoing()
323 mBubbleData.setListener(mListener); in test_collapsed_removeBubble_sortAndGrouping()
343 mBubbleData.setListener(mListener); in test_collapsed_removeOldestBubble_doesNotCallOnOrderChanged()
[all …]
/frameworks/base/obex/javax/obex/
DServerSession.java58 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/
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/
DToggleSliderView.java37 private Listener mListener; field in ToggleSliderView
94 if (mListener != null) { in onAttachedToWindow()
95 mListener.onInit(this); in onAttachedToWindow()
106 mListener = l; in setOnChangedListener()
155 if (mListener != null) {
156 mListener.onChanged(
169 if (mListener != null) {
170 mListener.onChanged(
179 if (mListener != null) {
180 mListener.onChanged(ToggleSliderView.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()
243 private final IRecognitionListener mListener; field in RecognitionService.Callback
247 mListener = listener; in Callback()
256 mListener.onBeginningOfSpeech(); in beginningOfSpeech()
267 mListener.onBufferReceived(buffer); in bufferReceived()
274 mListener.onEndOfSpeech(); in endOfSpeech()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java65 private NotificationListener mListener; field in NotificationListenerTest
80 mListener = new NotificationListener(mContext); in setUp()
87 mListener.onNotificationPosted(mSbn, mRanking); in testNotificationAddCallsAddNotification()
95 mListener.onNotificationPosted(mSbn, mRanking); in testNotificationUpdateCallsUpdateNotification()
102 mListener.onNotificationRemoved(mSbn, mRanking); in testNotificationRemovalCallsRemoveNotification()
109 mListener.onNotificationRankingUpdate(mRanking); in testRankingUpdateCallsNotificationRankingUpdate()
119 mListener.addNotificationSettingsListener(settingsListener); in testOnConnectReadStatusBarSetting()
123 mListener.onListenerConnected(); in testOnConnectReadStatusBarSetting()
132 mListener.addNotificationSettingsListener(settingsListener); in testOnStatusBarIconsBehaviorChanged()
134 mListener.onSilentStatusBarIconsVisibilityChanged(true); in testOnStatusBarIconsBehaviorChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationPrototypeController.java66 private OnPrototypeChangedListener mListener; field in NavigationPrototypeController
83 mListener = listener; in setOnPrototypeChangedListener()
110 if (!selfChange && mListener != null) { in onChange()
116 mListener.onGestureRemap(mActionMap); in onChange()
118 mListener.onBackButtonVisibilityChanged( in onChange()
121 mListener.onHomeButtonVisibilityChanged(!hideHomeButton()); in onChange()
123 mListener.onColorAdaptChanged( in onChange()
126 mListener.onHomeHandleVisiblilityChanged(showHomeHandle()); in onChange()
128 mListener.onAssistantGestureEnabled(isAssistantGestureEnabled()); in onChange()
212 if (mListener != null) { in onConfigurationChanged()
[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/base/services/core/java/com/android/server/wm/
DWindowContainerController.java40 final I mListener; field in WindowContainerController
43 mListener = listener; in WindowContainerController()
55 if (mContainer != null && mListener != null) { in setContainer()
56 mListener.registerConfigurationChangeListener(this); in setContainer()
69 if (mListener != null) { in removeContainer()
70 mListener.unregisterConfigurationChangeListener(this); in removeContainer()
/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/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DBottomScrollViewTest.java37 private TestBottomScrollListener mListener; field in BottomScrollViewTest
41 mListener = new TestBottomScrollListener(); in setUp()
47 assertTrue("Scroll should not be required", mListener.mScrolledToBottom); in testNoNeedScroll()
53 assertFalse("Scroll should be required", mListener.mScrolledToBottom); in testNeedScroll()
60 assertFalse("Scroll should be required", mListener.mScrolledToBottom); in testScrollToBottom()
63 assertTrue("Should already be scrolled to bottom", mListener.mScrolledToBottom); in testScrollToBottom()
75 bottomScrollView.setBottomScrollListener(mListener); in createScrollView()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanOnlyModeManagerTest.java66 @Mock ScanOnlyModeManager.Listener mListener; field in ScanOnlyModeManagerTest
84 return new ScanOnlyModeManager(mContext, mLooper.getLooper(), mWifiNative, mListener, in createScanOnlyModeManager()
113 verify(mListener).onStateChanged(eq(expectedCurrentState)); in checkWifiStateChangeListenerUpdate()
156 reset(mContext, mListener); in scanModeStopCleansUpState()
162 verifyNoMoreInteractions(mListener); in scanModeStopCleansUpState()
185 reset(mContext, mListener); in scanModeStopWhenNotStartedDoesNotUpdateScanStateUpdates()
191 verify(mListener, never()).onStateChanged(anyInt()); in scanModeStopWhenNotStartedDoesNotUpdateScanStateUpdates()
214 reset(mContext, mListener); in scanModeStartedDoesNotStopOnDownForDifferentIface()
219 verifyNoMoreInteractions(mContext, mListener); in scanModeStartedDoesNotStopOnDownForDifferentIface()
229 reset(mListener); in noCallbackOnInterfaceDestroyedWhenAlreadyStopped()
[all …]

12345678910>>...12