Searched defs:listener (Results 151 - 175 of 674) sorted by last modified time

1234567891011>>

/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java207 * Sets the listener to listen to the audio call events. The method calls
208 * {@link #setListener setListener(listener, false)}.
210 * @param listener to listen to the audio call events of this object
213 public void setListener(SipAudioCall.Listener listener) { argument
214 setListener(listener, false);
218 * Sets the listener to listen to the audio call events. A
219 * {@link SipAudioCall} can only hold one listener at a time. Subsequent
220 * calls to this method override the previous listener.
222 * @param listener to listen to the audio call events of this object
226 public void setListener(SipAudioCall.Listener listener, argument
[all...]
H A DSipManager.java225 * @param listener to listen to registration events; can be null
238 SipRegistrationListener listener) throws SipException {
246 createRelay(listener, localProfile.getUriString()),
254 * Sets the listener to listen to registration events. No effect if the
259 * @param listener to listen to registration events; can be null
263 SipRegistrationListener listener) throws SipException {
267 localProfileUri, createRelay(listener, localProfileUri),
337 * @param listener to listen to the call events from {@link SipAudioCall};
348 SipProfile peerProfile, SipAudioCall.Listener listener, int timeout)
354 call.setListener(listener);
236 open(SipProfile localProfile, PendingIntent incomingCallPendingIntent, SipRegistrationListener listener) argument
262 setRegistrationListener(String localProfileUri, SipRegistrationListener listener) argument
347 makeAudioCall(SipProfile localProfile, SipProfile peerProfile, SipAudioCall.Listener listener, int timeout) argument
379 makeAudioCall(String localProfileUri, String peerProfileUri, SipAudioCall.Listener listener, int timeout) argument
407 takeAudioCall(Intent incomingCallIntent, SipAudioCall.Listener listener) argument
505 register(SipProfile localProfile, int expiryTime, SipRegistrationListener listener) argument
532 unregister(SipProfile localProfile, SipRegistrationListener listener) argument
572 createRelay( SipRegistrationListener listener, String uri) argument
585 createSipSession(SipProfile localProfile, SipSession.Listener listener) argument
620 ListenerRelay(SipRegistrationListener listener, String uri) argument
[all...]
H A DSipSession.java250 SipSession(ISipSession realSession, Listener listener) { argument
252 setListener(listener);
343 * Sets the listener to listen to the session events. A {@code SipSession}
344 * can only hold one listener at a time. Subsequent calls to this method
345 * override the previous listener.
347 * @param listener to listen to the session events of this object
349 public void setListener(Listener listener) { argument
350 mListener = listener;
356 * profile. The session listener is called back upon success or failure of
374 * expiration duration. The session listener i
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipService.java162 ISipSessionListener listener,
174 + incomingCallPendingIntent + ": " + listener);
177 incomingCallPendingIntent, listener);
252 ISipSessionListener listener, String opPackageName) {
259 group.setListener(listener);
261 if (DBG) log("only creator can set listener on the profile");
267 ISipSessionListener listener, String opPackageName) {
279 return group.createSession(listener);
323 ISipSessionListener listener) throws SipException {
331 group.setListener(listener);
160 open3(SipProfile localProfile, PendingIntent incomingCallPendingIntent, ISipSessionListener listener, String opPackageName) argument
251 setRegistrationListener(String localProfileUri, ISipSessionListener listener, String opPackageName) argument
266 createSession(SipProfile localProfile, ISipSessionListener listener, String opPackageName) argument
321 createGroup(SipProfile localProfile, PendingIntent incomingCallPendingIntent, ISipSessionListener listener) argument
487 SipSessionGroupExt(SipProfile localProfile, PendingIntent incomingCallPendingIntent, ISipSessionListener listener) argument
524 setListener(ISipSessionListener listener) argument
566 createSession(ISipSessionListener listener) argument
942 setListener(ISipSessionListener listener) argument
[all...]
H A DSipSessionGroup.java256 // For internal use, require listener not to block in callbacks.
257 public synchronized void openToReceiveCalls(ISipSessionListener listener) { argument
259 mCallReceiverSession = new SipSessionCallReceiverImpl(listener);
261 mCallReceiverSession.setListener(listener);
269 public ISipSession createSession(ISipSessionListener listener) { argument
270 return (isClosed() ? null : new SipSessionImpl(listener));
423 ISipSessionListener listener, ServerTransaction transaction,
425 SipSessionImpl newSession = new SipSessionImpl(listener);
441 public SipSessionCallReceiverImpl(ISipSessionListener listener) { argument
442 super(listener);
422 createNewSession(RequestEvent event, ISipSessionListener listener, ServerTransaction transaction, int newState) argument
592 SipSessionImpl(ISipSessionListener listener) argument
674 setListener(ISipSessionListener listener) argument
[all...]
H A DSipSessionListenerProxy.java31 public void setListener(ISipSessionListener listener) { argument
32 mListener = listener;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DFrameworkFacade.java138 * @param listener listener for SoftApManager
145 SoftApManager.Listener listener) {
148 allowed2GChannels, listener);
141 makeSoftApManager( Context context, Looper looper, WifiNative wifiNative, INetworkManagementService nmService, ConnectivityManager cm, String countryCode, ArrayList<Integer> allowed2GChannels, SoftApManager.Listener listener) argument
H A DSoftApManager.java96 Listener listener) {
105 mListener = listener;
89 SoftApManager(Context context, Looper looper, WifiNative wifiNative, INetworkManagementService nmService, ConnectivityManager connectivityManager, String countryCode, ArrayList<Integer> allowed2GChannels, Listener listener) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
H A DWifiNanClientState.java45 public WifiNanClientState(int uid, IWifiNanEventListener listener, int events) { argument
47 mListener = listener;
83 public void createSession(int sessionId, IWifiNanSessionListener listener, int events) { argument
89 mSessions.put(sessionId, new WifiNanSessionState(sessionId, listener, events));
H A DWifiNanServiceImpl.java74 public void connect(final IBinder binder, IWifiNanEventListener listener, int events) { argument
105 mStateManager.connect(uid, listener, events);
162 public int createSession(IWifiNanSessionListener listener, int events) { argument
173 mStateManager.createSession(getCallingUid(), sessionId, listener, events);
H A DWifiNanSessionState.java53 public WifiNanSessionState(int sessionId, IWifiNanSessionListener listener, int events) { argument
55 mListener = listener;
H A DWifiNanStateManager.java119 public void connect(int uid, IWifiNanEventListener listener, int events) { argument
123 msg.obj = listener;
154 public void createSession(int uid, int sessionId, IWifiNanSessionListener listener, argument
163 msg.obj = listener;
622 private void connectLocal(int uid, IWifiNanEventListener listener, int events) { argument
624 Log.v(TAG, "connect(): uid=" + uid + ", listener=" + listener + ", events=" + events);
632 WifiNanClientState client = new WifiNanClientState(uid, listener, events);
695 private void createSessionLocal(int uid, int sessionId, IWifiNanSessionListener listener, argument
698 Log.v(TAG, "createSession(): uid=" + uid + ", sessionId=" + sessionId + ", listener
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DSupplicantWifiScannerImpl.java1095 public boolean startPnoScan(Listener listener) { argument
1097 mListener = listener;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockAlarmManager.java141 AlarmManager.OnAlarmListener listener, Handler handler) {
143 new AlarmListenerRunnable(listener, handler)));
148 public void answer(AlarmManager.OnAlarmListener listener) { argument
155 if (alarmCallback.getListener() == listener) {
166 public AlarmListenerRunnable(AlarmManager.OnAlarmListener listener, Handler handler) { argument
167 mListener = listener;
140 answer(int type, long triggerAtMillis, String tag, AlarmManager.OnAlarmListener listener, Handler handler) argument
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
H A DActionBarWrapper.java37 public void addOnMenuVisibilityListener(OnMenuVisibilityListener listener) { argument
38 mActionBar.addOnMenuVisibilityListener(new MenuVisiblityListenerWrapper(listener));
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
H A DActionBarWrapper.java38 public void addOnMenuVisibilityListener(OnMenuVisibilityListener listener) { argument
39 mActionBar.addOnMenuVisibilityListener(new MenuVisiblityListenerWrapper(listener));
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DActionBarInterface.java27 public void addOnMenuVisibilityListener(OnMenuVisibilityListener listener); argument
H A DPhotoViewCallbacks.java70 public void addScreenListener(int position, OnScreenListener listener); argument
74 public void addCursorListener(CursorChangedListener listener); argument
76 public void removeCursorListener(CursorChangedListener listener); argument
H A DPhotoViewController.java520 public void addScreenListener(int position, OnScreenListener listener) { argument
521 mScreenListeners.put(position, listener);
530 public synchronized void addCursorListener(CursorChangedListener listener) { argument
531 mCursorListeners.add(listener);
535 public synchronized void removeCursorListener(CursorChangedListener listener) { argument
536 mCursorListeners.remove(listener);
675 for (CursorChangedListener listener : mCursorListeners) {
676 listener.onCursorChanged(data);
722 for (OnScreenListener listener : mScreenListeners.values()) {
724 interceptLeft = listener
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java133 /** An external click listener */
398 public void setOnClickListener(OnClickListener listener) { argument
399 mExternalClickListener = listener;
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/
H A DSwitchItem.java90 public void setOnCheckedChangeListener(OnCheckedChangeListener listener) { argument
91 mListener = listener;
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/
H A DRecyclerItemAdapter.java143 public void setOnItemSelectedListener(OnItemSelectedListener listener) { argument
144 mListener = listener;
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DRecyclerViewRequireScrollHelperTest.java64 mRecyclerView.listener.onScrolled(mRecyclerView, 0, 20);
91 public OnScrollListener listener; field in class:RecyclerViewRequireScrollHelperTest.TestRecyclerView
98 public void addOnScrollListener(OnScrollListener listener) { argument
99 super.addOnScrollListener(listener);
100 this.listener = listener;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/
H A DConsecutiveTapsGestureDetector.java47 * @param listener The listener that responds to the gesture.
51 OnConsecutiveTapsListener listener,
53 mListener = listener;
50 ConsecutiveTapsGestureDetector( OnConsecutiveTapsListener listener, View view) argument
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DButtonItem.java59 public void setOnClickListener(OnClickListener listener) { argument
60 mListener = listener;

Completed in 242 milliseconds

1234567891011>>