Home
last modified time | relevance | path

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

12345678910>>...38

/frameworks/base/core/java/android/speech/
DRecognitionService.java97 private void dispatchStartListening(Intent intent, final IRecognitionListener listener, in dispatchStartListening()
124 private void dispatchStopListening(IRecognitionListener listener) { in dispatchStopListening()
140 private void dispatchCancel(IRecognitionListener listener) { in dispatchCancel()
162 public StartListeningArgs(Intent intent, IRecognitionListener listener, int callingUid) { in StartListeningArgs()
176 private boolean checkPermissions(IRecognitionListener listener, boolean forDataDelivery) { in checkPermissions()
208 protected abstract void onStartListening(Intent recognizerIntent, Callback listener); in onStartListening()
213 protected abstract void onCancel(Callback listener); in onCancel()
220 protected abstract void onStopListening(Callback listener); in onStopListening()
246 private Callback(IRecognitionListener listener, int callingUid) { in Callback()
352 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/base/core/java/android/os/
DIThermalService.aidl35 boolean registerThermalEventListener(in IThermalEventListener listener); in registerThermalEventListener()
44 boolean registerThermalEventListenerWithType(in IThermalEventListener listener, in int type); in registerThermalEventListenerWithType()
52 boolean unregisterThermalEventListener(in IThermalEventListener listener); in unregisterThermalEventListener()
75 boolean registerThermalStatusListener(in IThermalStatusListener listener); in registerThermalStatusListener()
83 boolean unregisterThermalStatusListener(in IThermalStatusListener listener); in unregisterThermalStatusListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackController.java24 void addCallback(T listener); in addCallback()
25 void removeCallback(T listener); in removeCallback()
31 default T observe(LifecycleOwner owner, T listener) { in observe()
39 default T observe(Lifecycle lifecycle, T listener) { in observe()
DAccessibilityManagerWrapper.java40 public void addCallback(AccessibilityServicesStateChangeListener listener) { in addCallback()
45 public void removeCallback(AccessibilityServicesStateChangeListener listener) { in removeCallback()
50 AccessibilityManager.AccessibilityStateChangeListener listener) { in addAccessibilityStateChangeListener()
55 AccessibilityManager.AccessibilityStateChangeListener listener) { in removeAccessibilityStateChangeListener()
/frameworks/base/media/java/android/media/session/
DISessionManager.aidl54 void addSessionsListener(in IActiveSessionsListener listener, in ComponentName compName, in addSessionsListener()
56 void removeSessionsListener(in IActiveSessionsListener listener); in removeSessionsListener()
57 void addSession2TokensListener(in ISession2TokensListener listener, int userId); in addSession2TokensListener()
58 void removeSession2TokensListener(in ISession2TokensListener listener); in removeSession2TokensListener()
66 void addOnMediaKeyEventDispatchedListener(in IOnMediaKeyEventDispatchedListener listener); in addOnMediaKeyEventDispatchedListener()
67 void removeOnMediaKeyEventDispatchedListener(in IOnMediaKeyEventDispatchedListener listener); in removeOnMediaKeyEventDispatchedListener()
69 in IOnMediaKeyEventSessionChangedListener listener); in addOnMediaKeyEventSessionChangedListener()
71 in IOnMediaKeyEventSessionChangedListener listener); in removeOnMediaKeyEventSessionChangedListener()
72 void setOnVolumeKeyLongPressListener(in IOnVolumeKeyLongPressListener listener); in setOnVolumeKeyLongPressListener()
73 void setOnMediaKeyListener(in IOnMediaKeyListener listener); in setOnMediaKeyListener()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java906 Object listener = getListener(message.arg2); in handleMessage() local
1088 private int putListener(Object listener) { in putListener()
1136 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize()
1148 ChannelListener listener) { in initializeInternal()
1153 private Channel initalizeChannel(Context srcContext, Looper srcLooper, ChannelListener listener, in initalizeChannel()
1192 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
1208 public void stopPeerDiscovery(Channel c, ActionListener listener) { in stopPeerDiscovery()
1236 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { in connect()
1253 public void cancelConnect(Channel c, ActionListener listener) { in cancelConnect()
1278 public void createGroup(Channel c, ActionListener listener) { in createGroup()
[all …]
/frameworks/base/graphics/java/android/view/
DPixelCopy.java106 @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) { in request()
107 request(source.getHolder().getSurface(), dest, listener, listenerThread); in request() local
130 @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, in request()
133 dest, listener, listenerThread); in request() local
153 @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) { in request()
177 @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, in request()
222 @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) { in request()
255 @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, in request()
/frameworks/native/libs/gui/
DBufferQueue.cpp40 sp<ConsumerListener> listener(mConsumerListener.promote()); in onDisconnect() local
48 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameAvailable() local
56 sp<ConsumerListener> listener(mConsumerListener.promote()); in onFrameReplaced() local
63 sp<ConsumerListener> listener(mConsumerListener.promote()); in onBuffersReleased() local
70 sp<ConsumerListener> listener(mConsumerListener.promote()); in onSidebandStreamChanged() local
79 sp<ConsumerListener> listener(mConsumerListener.promote()); in addAndGetFrameTimestamps() local
/frameworks/base/core/java/android/app/
DAlertDialog.java337 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton()
378 public void setButton(CharSequence text, final OnClickListener listener) { in setButton()
391 public void setButton2(CharSequence text, final OnClickListener listener) { in setButton2()
404 public void setButton3(CharSequence text, final OnClickListener listener) { in setButton3()
626 public Builder setPositiveButton(@StringRes int textId, final OnClickListener listener) { in setPositiveButton()
639 public Builder setPositiveButton(CharSequence text, final OnClickListener listener) { in setPositiveButton()
652 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton()
665 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton()
678 public Builder setNeutralButton(@StringRes int textId, final OnClickListener listener) { in setNeutralButton()
691 public Builder setNeutralButton(CharSequence text, final OnClickListener listener) { in setNeutralButton()
[all …]
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistRecognitionService.java28 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
32 protected void onCancel(Callback listener) { in onCancel()
36 protected void onStopListening(Callback listener) { in onStopListening()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java97 AutoFocusListener listener, CameraCharacteristics staticInfo, Handler handler) in Camera2Focuser()
221 CaptureCallback listener = createCaptureListener(); in cancelAutoFocus() local
222 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in cancelAutoFocus() local
223 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus() local
258 CaptureCallback listener = createCaptureListener(); in startAutoFocusLocked() local
259 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in startAutoFocusLocked() local
260 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked() local
282 CaptureCallback listener = createCaptureListener(); in startAutoFocusFullActiveLocked() local
283 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked() local
284 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakePluginManager.java32 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
38 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls) { in addPluginListener()
43 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener()
49 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
55 public void removePluginListener(PluginListener<?> listener) { in removePluginListener()
/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/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManager.java35 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls); in addPluginListener()
36 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener()
38 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
40 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
43 void removePluginListener(PluginListener<?> listener); in removePluginListener()
/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java275 AccessibilityStateChangeListener listener) { in addAccessibilityStateChangeListener()
288 public void addAccessibilityStateChangeListener( in addAccessibilityStateChangeListener()
292 AccessibilityStateChangeListener listener) { in removeAccessibilityStateChangeListener()
303 public boolean addTouchExplorationStateChangeListener( in addTouchExplorationStateChangeListener()
317 public void addTouchExplorationStateChangeListener( in addTouchExplorationStateChangeListener()
326 public boolean removeTouchExplorationStateChangeListener( in removeTouchExplorationStateChangeListener()
339 public void addHighTextContrastStateChangeListener( in addHighTextContrastStateChangeListener()
349 public void removeHighTextContrastStateChangeListener( in removeHighTextContrastStateChangeListener()
/frameworks/base/location/java/android/location/
DLocalListenerHelper.java54 public boolean add(@NonNull TListener listener, Handler handler) { in add()
80 public void remove(@NonNull TListener listener) { in remove()
100 void execute(TListener listener) throws RemoteException; in execute()
107 private void executeOperation(ListenerOperation<TListener> operation, TListener listener) { in executeOperation()
/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java36 public final OnTaskFinishedListener listener; field in RestoreParams
47 OnTaskFinishedListener listener) { in createForSinglePackage()
70 OnTaskFinishedListener listener) { in createForRestoreAtInstall()
92 OnTaskFinishedListener listener) { in createForRestoreAll()
115 OnTaskFinishedListener listener) { in createForRestorePackages()
137 OnTaskFinishedListener listener) { in RestoreParams()
/frameworks/base/core/java/android/view/
DWindowInsetsController.java68 @NonNull WindowInsetsAnimationControlListener listener); in controlWindowInsetsAnimation()
77 default void controlInputMethodAnimation( in controlInputMethodAnimation()
79 controlWindowInsetsAnimation(ime(), listener); in controlInputMethodAnimation() local
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DIMbmsDownloadService.aidl32 int initialize(int subId, IMbmsDownloadSessionCallback listener); in initialize()
43 IDownloadStatusListener listener); in addStatusListener()
46 IDownloadStatusListener listener); in removeStatusListener()
49 IDownloadProgressListener listener); in addProgressListener()
52 IDownloadProgressListener listener); in removeProgressListener()
DMbmsDownloadServiceBase.java58 public VendorDownloadStatusListener(IDownloadStatusListener listener) { in VendorDownloadStatusListener()
78 public VendorDownloadProgressListener(IDownloadProgressListener listener) { in VendorDownloadProgressListener()
273 DownloadStatusListener listener) throws RemoteException { in addStatusListener()
283 final IDownloadStatusListener listener) throws RemoteException { in addStatusListener()
335 DownloadStatusListener listener) throws RemoteException { in removeStatusListener()
344 final DownloadRequest downloadRequest, final IDownloadStatusListener listener) in removeStatusListener()
386 DownloadProgressListener listener) throws RemoteException { in addProgressListener()
396 final IDownloadProgressListener listener) throws RemoteException { in addProgressListener()
448 DownloadProgressListener listener) throws RemoteException { in removeProgressListener()
457 final DownloadRequest downloadRequest, final IDownloadProgressListener listener) in removeProgressListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImplTest.kt37 val listener = mock(ConfigurationListener::class.java) in testThemeChange() constant
46 val listener = mock(ConfigurationListener::class.java) in testRemoveListenerDuringCallback() constant
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsConfig.aidl81 oneway void getFeatureValue(int feature, int network, ImsConfigListener listener); in getFeatureValue()
94 oneway void setFeatureValue(int feature, int network, int value, ImsConfigListener listener); in setFeatureValue()
111 oneway void getVideoQuality(ImsConfigListener listener); in getVideoQuality()
122 oneway void setVideoQuality(int quality, ImsConfigListener listener); in setVideoQuality()
/frameworks/base/services/core/java/com/android/server/location/
DGnssStatusListenerHelper.java51 foreach((IGnssStatusListener listener, CallerIdentity callerIdentity) -> { in onStatusChanged()
55 foreach((IGnssStatusListener listener, CallerIdentity callerIdentity) -> { in onStatusChanged()
62 foreach((IGnssStatusListener listener, CallerIdentity callerIdentity) -> { in onFirstFix()
75 foreach((IGnssStatusListener listener, CallerIdentity callerIdentity) -> { in onSvStatusChanged()
87 foreach((IGnssStatusListener listener, CallerIdentity callerIdentity) -> { in onNmeaReceived()
/frameworks/base/core/java/android/hardware/hdmi/
DIHdmiControlService.aidl45 void addHdmiControlStatusChangeListener(IHdmiControlStatusChangeListener listener); in addHdmiControlStatusChangeListener()
46 void removeHdmiControlStatusChangeListener(IHdmiControlStatusChangeListener listener); in removeHdmiControlStatusChangeListener()
47 void addHotplugEventListener(IHdmiHotplugEventListener listener); in addHotplugEventListener()
48 void removeHotplugEventListener(IHdmiHotplugEventListener listener); in removeHotplugEventListener()
49 void addDeviceEventListener(IHdmiDeviceEventListener listener); in addDeviceEventListener()
59 void addSystemAudioModeChangeListener(IHdmiSystemAudioModeChangeListener listener); in addSystemAudioModeChangeListener()
60 void removeSystemAudioModeChangeListener(IHdmiSystemAudioModeChangeListener listener); in removeSystemAudioModeChangeListener()
65 void setInputChangeListener(IHdmiInputChangeListener listener); in setInputChangeListener()
73 void addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType); in addVendorCommandListener()
81 void addHdmiMhlVendorCommandListener(IHdmiMhlVendorCommandListener listener); in addHdmiMhlVendorCommandListener()

12345678910>>...38