Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 25 of 929) 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/services/net/aidl/ipmemorystore/2/android/net/
DIIpMemoryStore.aidl3 …morystore.NetworkAttributesParcelable attributes, android.net.ipmemorystore.IOnStatusListener list… in storeNetworkAttributes()
4 …ing name, in android.net.ipmemorystore.Blob data, android.net.ipmemorystore.IOnStatusListener list… in storeBlob()
5 …ystore.NetworkAttributesParcelable attributes, android.net.ipmemorystore.IOnL2KeyResponseListener … in findL2Key()
6 …sSameNetwork(String l2Key1, String l2Key2, android.net.ipmemorystore.IOnSameL3NetworkResponseListe… in isSameNetwork()
7 …retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributesRetrievedLis… in retrieveNetworkAttributes()
8 …ob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOnBlobRetrievedListener … in retrieveBlob()
/frameworks/base/services/net/aidl/ipmemorystore/1/android/net/
DIIpMemoryStore.aidl3 …morystore.NetworkAttributesParcelable attributes, android.net.ipmemorystore.IOnStatusListener list… in storeNetworkAttributes()
4 …ing name, in android.net.ipmemorystore.Blob data, android.net.ipmemorystore.IOnStatusListener list… in storeBlob()
5 …ystore.NetworkAttributesParcelable attributes, android.net.ipmemorystore.IOnL2KeyResponseListener … in findL2Key()
6 …sSameNetwork(String l2Key1, String l2Key2, android.net.ipmemorystore.IOnSameL3NetworkResponseListe… in isSameNetwork()
7 …retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributesRetrievedLis… in retrieveNetworkAttributes()
8 …ob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOnBlobRetrievedListener … in retrieveBlob()
/frameworks/base/services/net/java/android/net/
DIIpMemoryStore.aidl46 IOnStatusListener listener); in storeNetworkAttributes()
60 IOnStatusListener listener); in storeBlob()
76 void findL2Key(in NetworkAttributesParcelable attributes, IOnL2KeyResponseListener listener); in findL2Key()
87 void isSameNetwork(String l2Key1, String l2Key2, IOnSameL3NetworkResponseListener listener); in isSameNetwork()
98 void retrieveNetworkAttributes(String l2Key, IOnNetworkAttributesRetrievedListener listener); in retrieveNetworkAttributes()
112 IOnBlobRetrievedListener listener); in retrieveBlob()
DIpMemoryStoreClient.java88 @Nullable final OnStatusListener listener) { in storeNetworkAttributes()
112 @Nullable final OnStatusListener listener) { in storeBlob()
138 @NonNull final OnL2KeyResponseListener listener) { in findL2Key()
159 @NonNull final OnSameL3NetworkResponseListener listener) { in isSameNetwork()
180 @NonNull final OnNetworkAttributesRetrievedListener listener) { in retrieveNetworkAttributes()
204 @NonNull final String name, @NonNull final OnBlobRetrievedListener listener) { in retrieveBlob()
/frameworks/base/services/net/aidl/ipmemorystore/3/android/net/
DIIpMemoryStore.aidl20 …morystore.NetworkAttributesParcelable attributes, android.net.ipmemorystore.IOnStatusListener list… in storeNetworkAttributes()
21 …ing name, in android.net.ipmemorystore.Blob data, android.net.ipmemorystore.IOnStatusListener list… in storeBlob()
22 …ystore.NetworkAttributesParcelable attributes, android.net.ipmemorystore.IOnL2KeyResponseListener … in findL2Key()
23 …sSameNetwork(String l2Key1, String l2Key2, android.net.ipmemorystore.IOnSameL3NetworkResponseListe… in isSameNetwork()
24 …retrieveNetworkAttributes(String l2Key, android.net.ipmemorystore.IOnNetworkAttributesRetrievedLis… in retrieveNetworkAttributes()
25 …ob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOnBlobRetrievedListener … in retrieveBlob()
/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/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/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/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/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/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/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/telephony/java/android/telephony/mbms/vendor/
DIMbmsDownloadService.aidl32 int initialize(int subId, IMbmsDownloadSessionCallback listener); in initialize()
41 IDownloadStatusListener listener); in addStatusListener()
44 IDownloadStatusListener listener); in removeStatusListener()
47 IDownloadProgressListener listener); in addProgressListener()
50 IDownloadProgressListener listener); in removeProgressListener()
/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/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

12345678910>>...38