Home
last modified time | relevance | path

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

12345678910>>...14

/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/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DAsyncSensorManagerTest.java46 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/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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeManagerTest.java94 @Mock ClientModeManager.Listener mListener; field in ClientModeManagerTest
232 return new ClientModeManager(mContext, mLooper.getLooper(), mClock, mWifiNative, mListener, in createClientModeManager()
254 verify(mListener).onStarted(); in startClientInScanOnlyModeAndVerifyEnabled()
295 verify(mListener, times(2)).onStarted(); in startClientInConnectModeAndVerifyEnabled()
383 verify(mListener, times(2)).onStarted(); in switchFromScanOnlyModeToConnectMode()
414 verify(mListener, times(3)).onStarted(); in switchFromConnectModeToScanOnlyMode()
442 verify(mListener).onStartFailure(); in detectAndReportErrorWhenSetupForClientInConnectivityModeWifiNativeFailure()
463 reset(mContext, mListener); in clientModeStopCleansUpState()
468 verify(mListener).onStopped(); in clientModeStopCleansUpState()
477 verifyNoMoreInteractions(mListener); in clientModeStopCleansUpState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java64 @Mock private GroupCoalescer.BatchableNotificationHandler mListener; field in GroupCoalescerTest
84 mCoalescer.setNotificationHandler(mListener); in setUp()
102 verify(mListener).onNotificationPosted(notif1.sbn, notif1.rankingMap); in testUngroupedNotificationsAreNotCoalesced()
105 verify(mListener, never()).onNotificationBatchPosted(anyList()); in testUngroupedNotificationsAreNotCoalesced()
118 verify(mListener, never()).onNotificationPosted( in testGroupedNotificationsAreCoalesced()
123 verify(mListener, never()).onNotificationBatchPosted(anyList()); in testGroupedNotificationsAreCoalesced()
136 verify(mListener).onNotificationRankingUpdate(notif1.rankingMap); in testCoalescedNotificationsStillPassThroughRankingUpdate()
162 verify(mListener, never()).onNotificationPosted( in testCoalescedNotificationsArePosted()
165 verify(mListener, never()).onNotificationBatchPosted(anyList()); in testCoalescedNotificationsArePosted()
171 verify(mListener).onNotificationBatchPosted(Arrays.asList( in testCoalescedNotificationsArePosted()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java57 private NotificationListener mListener; field in NotificationListenerTest
65 mListener = new NotificationListener( in setUp()
72 mListener.addNotificationHandler(mNotificationHandler); in setUp()
77 mListener.onNotificationPosted(mSbn, mRanking); in testNotificationAddCallsAddNotification()
84 mListener.onNotificationRemoved(mSbn, mRanking); in testNotificationRemovalCallsRemoveNotification()
91 mListener.onNotificationRankingUpdate(mRanking); in testRankingUpdateCallsNotificationRankingUpdate()
101 mListener.addNotificationSettingsListener(settingsListener); in testOnConnectReadStatusBarSetting()
105 mListener.onListenerConnected(); in testOnConnectReadStatusBarSetting()
114 mListener.addNotificationSettingsListener(settingsListener); in testOnStatusBarIconsBehaviorChanged()
116 mListener.onSilentStatusBarIconsVisibilityChanged(true); in testOnStatusBarIconsBehaviorChanged()
/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/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/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/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleDataTest.java96 private BubbleData.Listener mListener; field in BubbleDataTest
163 mBubbleData.setListener(mListener); in testAddBubble()
180 mBubbleData.setListener(mListener); in testRemoveBubble()
194 mBubbleData.setListener(mListener); in ifSuppress_hideFlyout()
209 mBubbleData.setListener(mListener); in ifInterruptiveAndNotSuppressed_thenShowFlyout()
224 mBubbleData.setListener(mListener); in sameUpdate_InShade_thenHideFlyout()
243 mBubbleData.setListener(mListener); in sameUpdate_NotInShade_NotVisuallyInterruptive_dontShowFlyout()
277 mBubbleData.setListener(mListener); in testOverflow_add_stackAtMaxBubbles_overflowsOldest()
303 mBubbleData.setListener(mListener); in testOverflow_maxReached_bubbleRemoved()
331 mBubbleData.setListener(mListener); in testOverflow_notifCanceled_removesOverflowBubble()
[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/core/java/android/speech/
DRecognitionService.java86 dispatchStartListening(args.mIntent, args.mListener, args.mCallingUid);
133 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchStopListening()
147 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchCancel()
163 public final IRecognitionListener mListener; field in RecognitionService.StartListeningArgs
168 this.mListener = listener; in StartListeningArgs()
251 private final IRecognitionListener mListener; field in RecognitionService.Callback
255 mListener = listener; in Callback()
264 mListener.onBeginningOfSpeech(); in beginningOfSpeech()
275 mListener.onBufferReceived(buffer); in bufferReceived()
282 mListener.onEndOfSpeech(); in endOfSpeech()
[all …]
/frameworks/base/core/java/android/window/
DTaskOrganizerTaskEmbedder.java114 if (mListener != null) { in start()
115 mListener.onTaskVisibilityChanged(getTaskId(), true); in start()
138 if (mListener != null) { in stop()
139 mListener.onTaskVisibilityChanged(getTaskId(), false); in stop()
240 if (mListener != null) { in onTaskAppeared()
241 mListener.onTaskCreated(taskInfo.taskId, taskInfo.baseActivity); in onTaskAppeared()
260 if (mListener != null) { in onTaskVanished()
261 mListener.onTaskRemovalStarted(taskInfo.taskId); in onTaskVanished()
269 if (mListener != null) { in onBackPressedOnTaskRoot()
270 mListener.onBackPressedOnTaskRoot(taskInfo.taskId); in onBackPressedOnTaskRoot()
/frameworks/av/services/audiopolicy/service/
DCaptureStateNotifier.cpp30 LOG_ALWAYS_FATAL_IF(mListener != nullptr); in ~CaptureStateNotifier()
35 LOG_ALWAYS_FATAL_IF(mListener != nullptr); in RegisterListener()
43 mListener = listener; in RegisterListener()
56 if (mListener) { in setCaptureState()
57 mListener->setCaptureState(active); in setCaptureState()
63 mListener.clear(); in binderDied()
/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()

12345678910>>...14