Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/frameworks/base/core/java/android/speech/
DRecognitionService.java96 private void dispatchStartListening(Intent intent, final IRecognitionListener listener) { in dispatchStartListening()
122 private void dispatchStopListening(IRecognitionListener listener) { in dispatchStopListening()
138 private void dispatchCancel(IRecognitionListener listener) { in dispatchCancel()
159 public StartListeningArgs(Intent intent, IRecognitionListener listener) { in StartListeningArgs()
171 private boolean checkPermissions(IRecognitionListener listener) { in checkPermissions()
194 protected abstract void onStartListening(Intent recognizerIntent, Callback listener); in onStartListening()
199 protected abstract void onCancel(Callback listener); in onCancel()
206 protected abstract void onStopListening(Callback listener); in onStopListening()
231 private Callback(IRecognitionListener listener) { in Callback()
328 public void startListening(Intent recognizerIntent, IRecognitionListener listener) { in startListening()
[all …]
DIRecognitionService.aidl43 void startListening(in Intent recognizerIntent, in IRecognitionListener listener); in startListening()
52 void stopListening(in IRecognitionListener listener); in stopListening()
59 void cancel(in IRecognitionListener listener); in cancel()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityManagerCompat.java35 AccessibilityStateChangeListenerCompat listener); in newAccessiblityStateChangeListener()
37 AccessibilityStateChangeListenerCompat listener); in addAccessibilityStateChangeListener()
39 AccessibilityStateChangeListenerCompat listener); in removeAccessibilityStateChangeListener()
49 AccessibilityStateChangeListenerCompat listener) { in newAccessiblityStateChangeListener()
54 AccessibilityStateChangeListenerCompat listener) { in addAccessibilityStateChangeListener()
59 AccessibilityStateChangeListenerCompat listener) { in removeAccessibilityStateChangeListener()
82 final AccessibilityStateChangeListenerCompat listener) { in newAccessiblityStateChangeListener()
93 AccessibilityStateChangeListenerCompat listener) { in addAccessibilityStateChangeListener()
100 final AccessibilityStateChangeListenerCompat listener) { in removeAccessibilityStateChangeListener()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java691 Object listener = getListener(message.arg2); in handleMessage() local
837 private int putListener(Object listener) { in putListener()
885 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize()
894 ChannelListener listener) { in initializeInternal()
898 private Channel initalizeChannel(Context srcContext, Looper srcLooper, ChannelListener listener, in initalizeChannel()
930 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
946 public void stopPeerDiscovery(Channel c, ActionListener listener) { in stopPeerDiscovery()
973 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { in connect()
990 public void cancelConnect(Channel c, ActionListener listener) { in cancelConnect()
1014 public void createGroup(Channel c, ActionListener listener) { in createGroup()
[all …]
/frameworks/base/core/java/android/app/
DAlertDialog.java254 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton()
295 public void setButton(CharSequence text, final OnClickListener listener) { in setButton()
308 public void setButton2(CharSequence text, final OnClickListener listener) { in setButton2()
321 public void setButton3(CharSequence text, final OnClickListener listener) { in setButton3()
512 public Builder setPositiveButton(int textId, final OnClickListener listener) { in setPositiveButton()
525 public Builder setPositiveButton(CharSequence text, final OnClickListener listener) { in setPositiveButton()
538 public Builder setNegativeButton(int textId, final OnClickListener listener) { in setNegativeButton()
551 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton()
564 public Builder setNeutralButton(int textId, final OnClickListener listener) { in setNeutralButton()
577 public Builder setNeutralButton(CharSequence text, final OnClickListener listener) { in setNeutralButton()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainRecognitionService.java37 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
42 protected void onCancel(Callback listener) { in onCancel()
47 protected void onStopListening(Callback listener) { in onStopListening()
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java200 AccessibilityStateChangeListener listener) { in addAccessibilityStateChangeListener()
205 AccessibilityStateChangeListener listener) { in removeAccessibilityStateChangeListener()
216 public boolean addTouchExplorationStateChangeListener( in addTouchExplorationStateChangeListener()
227 public boolean removeTouchExplorationStateChangeListener( in removeTouchExplorationStateChangeListener()
240 public boolean addHighTextContrastStateChangeListener( in addHighTextContrastStateChangeListener()
252 public boolean removeHighTextContrastStateChangeListener( in removeHighTextContrastStateChangeListener()
/frameworks/support/v4/java/android/support/v4/widget/
DSearchViewCompat.java37 Object newOnQueryTextListener(OnQueryTextListenerCompat listener); in newOnQueryTextListener()
38 void setOnQueryTextListener(Object searchView, Object listener); in setOnQueryTextListener()
39 Object newOnCloseListener(OnCloseListenerCompat listener); in newOnCloseListener()
40 void setOnCloseListener(Object searchView, Object listener); in setOnCloseListener()
73 public Object newOnQueryTextListener(OnQueryTextListenerCompat listener) { in newOnQueryTextListener()
78 public void setOnQueryTextListener(Object searchView, Object listener) { in setOnQueryTextListener()
82 public Object newOnCloseListener(OnCloseListenerCompat listener) { in newOnCloseListener()
87 public void setOnCloseListener(Object searchView, Object listener) { in setOnCloseListener()
148 public Object newOnQueryTextListener(final OnQueryTextListenerCompat listener) { in newOnQueryTextListener()
163 public void setOnQueryTextListener(Object searchView, Object listener) { in setOnQueryTextListener()
[all …]
/frameworks/native/services/batteryservice/
DIBatteryPropertiesRegistrar.cpp34 void registerListener(const sp<IBatteryPropertiesListener>& listener) { in registerListener()
41 void unregisterListener(const sp<IBatteryPropertiesListener>& listener) { in unregisterListener()
75 sp<IBatteryPropertiesListener> listener = in onTransact() local
83 sp<IBatteryPropertiesListener> listener = in onTransact() local
/frameworks/base/core/java/android/hardware/hdmi/
DIHdmiControlService.aidl44 void addHotplugEventListener(IHdmiHotplugEventListener listener); in addHotplugEventListener()
45 void removeHotplugEventListener(IHdmiHotplugEventListener listener); in removeHotplugEventListener()
46 void addDeviceEventListener(IHdmiDeviceEventListener listener); in addDeviceEventListener()
54 void addSystemAudioModeChangeListener(IHdmiSystemAudioModeChangeListener listener); in addSystemAudioModeChangeListener()
55 void removeSystemAudioModeChangeListener(IHdmiSystemAudioModeChangeListener listener); in removeSystemAudioModeChangeListener()
60 void setInputChangeListener(IHdmiInputChangeListener listener); in setInputChangeListener()
65 void addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType); in addVendorCommandListener()
73 void addHdmiMhlVendorCommandListener(IHdmiMhlVendorCommandListener listener); in addHdmiMhlVendorCommandListener()
/frameworks/base/location/java/android/location/
DILocationManager.aidl41 void requestLocationUpdates(in LocationRequest request, in ILocationListener listener, in requestLocationUpdates()
43 void removeUpdates(in ILocationListener listener, in PendingIntent intent, String packageName); in removeUpdates()
51 boolean addGpsStatusListener(IGpsStatusListener listener, String packageName); in addGpsStatusListener()
52 void removeGpsStatusListener(IGpsStatusListener listener); in removeGpsStatusListener()
64 boolean addGpsMeasurementsListener(in IGpsMeasurementsListener listener, in String packageName); in addGpsMeasurementsListener()
65 void removeGpsMeasurementsListener(in IGpsMeasurementsListener listener); in removeGpsMeasurementsListener()
68 in IGpsNavigationMessageListener listener, in addGpsNavigationMessageListener()
70 void removeGpsNavigationMessageListener(in IGpsNavigationMessageListener listener); in removeGpsNavigationMessageListener()
99 void locationCallbackFinished(ILocationListener listener); in locationCallbackFinished()
DLocationManager.java219 ListenerTransport(LocationListener listener, Looper looper) { in ListenerTransport()
453 LocationListener listener) { in requestLocationUpdates()
484 LocationListener listener, Looper looper) { in requestLocationUpdates()
516 LocationListener listener, Looper looper) { in requestLocationUpdates()
672 public void requestSingleUpdate(String provider, LocationListener listener, Looper looper) { in requestSingleUpdate()
701 public void requestSingleUpdate(Criteria criteria, LocationListener listener, Looper looper) { in requestSingleUpdate()
813 public void requestLocationUpdates(LocationRequest request, LocationListener listener, in requestLocationUpdates()
846 private ListenerTransport wrapListener(LocationListener listener, Looper looper) { in wrapListener()
858 private void requestLocationUpdates(LocationRequest request, LocationListener listener, in requestLocationUpdates()
882 public void removeUpdates(LocationListener listener) { in removeUpdates()
[all …]
DIGpsStatusProvider.aidl27 void addGpsStatusListener(IGpsStatusListener listener); in addGpsStatusListener()
28 void removeGpsStatusListener(IGpsStatusListener listener); in removeGpsStatusListener()
DLocalListenerHelper.java47 public boolean add(@NonNull TListener listener) { in add()
72 public void remove(@NonNull TListener listener) { in remove()
91 void execute(TListener listener) throws RemoteException; in execute()
DICountryDetector.aidl38 void addCountryListener(in ICountryListener listener); in addCountryListener()
43 void removeCountryListener(in ICountryListener listener); in removeCountryListener()
DCountryDetector.java65 public ListenerTransport(CountryListener listener, Looper looper) { in ListenerTransport()
122 public void addCountryListener(CountryListener listener, Looper looper) { in addCountryListener()
139 public void removeCountryListener(CountryListener listener) { in removeCountryListener()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipManager.java228 SipRegistrationListener listener) throws SipException { in open()
251 SipRegistrationListener listener) throws SipException { in setRegistrationListener()
331 SipProfile peerProfile, SipAudioCall.Listener listener, int timeout) in makeAudioCall()
363 String peerProfileUri, SipAudioCall.Listener listener, int timeout) in makeAudioCall()
391 SipAudioCall.Listener listener) throws SipException { in takeAudioCall()
487 SipRegistrationListener listener) throws SipException { in register()
512 SipRegistrationListener listener) throws SipException { in unregister()
548 SipRegistrationListener listener, String uri) { in createRelay()
561 SipSession.Listener listener) throws SipException { in createSipSession()
592 public ListenerRelay(SipRegistrationListener listener, String uri) { in ListenerRelay()
DISipService.aidl31 in ISipSessionListener listener); in open3()
36 ISipSessionListener listener); in setRegistrationListener()
39 in ISipSessionListener listener); in createSession()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java745 public void setListener(ImsCall.Listener listener) { in setListener()
758 public void setListener(ImsCall.Listener listener, boolean callbackImmediately) { in setListener()
1476 ImsCall.Listener listener = mListener; in notifyConferenceSessionTerminated() local
1548 ImsCall.Listener listener = null; in processCallTerminated() local
1649 ImsCall.Listener listener; in processMergeComplete() local
1777 ImsCall.Listener listener; in notifySessionTerminatedDuringMerge() local
1824 ImsCall.Listener listener; in processMergeFailed() local
1922 ImsCall.Listener listener; in callSessionProgressing() local
1965 ImsCall.Listener listener; in callSessionStarted() local
1994 ImsCall.Listener listener; in callSessionStartFailed() local
[all …]
/frameworks/base/services/core/java/com/android/server/
DCountryDetectorService.java54 public Receiver(ICountryListener listener) { in Receiver()
112 public void addCountryListener(ICountryListener listener) throws RemoteException { in addCountryListener()
123 public void removeCountryListener(ICountryListener listener) throws RemoteException { in removeCountryListener()
130 private void addListener(ICountryListener listener) { in addListener()
194 protected void setCountryListener(final CountryListener listener) { in setCountryListener()
/frameworks/base/media/java/android/media/
DMediaTimeProvider.java38 public void notifyAt(long timeUs, OnMediaTimeListener listener); in notifyAt()
46 public void scheduleUpdate(OnMediaTimeListener listener); in scheduleUpdate()
51 public void cancelNotifications(OnMediaTimeListener listener); in cancelNotifications()
/frameworks/native/libs/gui/
DBufferQueue.cpp36 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameAvailable() local
43 sp<ConsumerListener> listener(mConsumerListener.promote()); in onBuffersReleased() local
50 sp<ConsumerListener> listener(mConsumerListener.promote()); in onSidebandStreamChanged() local
/frameworks/base/services/core/java/com/android/server/location/
DRemoteListenerHelper.java55 public boolean addListener(@NonNull TListener listener) { in addListener()
98 public void removeListener(@NonNull TListener listener) { in removeListener()
142 void execute(TListener listener) throws RemoteException; in execute()
165 private void post(TListener listener, ListenerOperation<TListener> operation) { in post()
189 public LinkedListener(@NonNull TListener listener) { in LinkedListener()
209 public HandlerRunnable(TListener listener, ListenerOperation<TListener> operation) { in HandlerRunnable()
/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.cpp42 TimedTextPlayer::TimedTextPlayer(const wp<MediaPlayerBase> &listener) in TimedTextPlayer()
99 sp<MediaPlayerBase> listener = mListener.promote(); in onMessageReceived() local
142 sp<MediaPlayerBase> listener = mListener.promote(); in onMessageReceived() local
272 sp<MediaPlayerBase> listener = mListener.promote(); in delayUsFromCurrentTime() local
295 sp<MediaPlayerBase> listener = mListener.promote(); in notifyError() local
304 sp<MediaPlayerBase> listener = mListener.promote(); in notifyListener() local
/frameworks/base/core/java/android/hardware/
DSensorManager.java516 public boolean registerListener(SensorListener listener, int sensors) { in registerListener()
544 public boolean registerListener(SensorListener listener, int sensors, int rate) { in registerListener()
559 public void unregisterListener(SensorListener listener) { in unregisterListener()
577 public void unregisterListener(SensorListener listener, int sensors) { in unregisterListener()
599 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
617 public void unregisterListener(SensorEventListener listener) { in unregisterListener()
626 protected abstract void unregisterListenerImpl(SensorEventListener listener, Sensor sensor); in unregisterListenerImpl()
680 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
737 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
772 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
[all …]

12345678910>>...22