Home
last modified time | relevance | path

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

12345678910>>...39

/packages/services/Car/car-lib/src/android/car/hardware/power/
DICarPower.aidl23 void registerListener(in ICarPowerStateListener listener) = 0; field
25 void unregisterListener(in ICarPowerStateListener listener) = 1; field
29 void finished(in ICarPowerStateListener listener) = 3; field
33 void registerListenerWithCompletion(in ICarPowerStateListener listener) = 5; field
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DButtonPasswordEditTextPreferenceTest.java56 ButtonPasswordEditTextPreference.OnButtonClickListener listener = mock( in buttonClicked_callsListener() local
67 ButtonPasswordEditTextPreference.OnButtonClickListener listener = mock( in performButtonClick_listenerSetAndButtonVisible_listenerFired() local
78 ButtonPasswordEditTextPreference.OnButtonClickListener listener = mock( in performButtonClick_listenerSetAndButtonInvisible_listenerNotFired() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DButtonPreferenceTest.java57 OnButtonClickListener listener = mock(OnButtonClickListener.class); in buttonClicked_callsListener() local
67 ButtonPreference.OnButtonClickListener listener = mock( in performButtonClick_listenerSetAndButtonVisible_listenerFired() local
78 ButtonPreference.OnButtonClickListener listener = mock( in performButtonClick_listenerSetAndButtonInvisible_listenerNotFired() local
/packages/services/Car/car-lib/src/android/car/drivingstate/
DICarDrivingState.aidl31 void registerDrivingStateChangeListener(in ICarDrivingStateChangeListener listener) = 0; field
32 void unregisterDrivingStateChangeListener(in ICarDrivingStateChangeListener listener) = 1; field
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pMonitor.java75 public void discover(P2pPeerListener listener) { in discover()
92 public void stopDiscover(P2pPeerListener listener) { in stopDiscover()
107 public void connect(WifiP2pDevice peer, P2pConnectionListener listener) { in connect()
157 void stopConnect(P2pConnectionListener listener) { in stopConnect()
/packages/apps/TV/src/com/android/tv/dvr/
DBaseDvrDataManager.java66 public void addDvrScheduleLoadFinishedListener(OnDvrScheduleLoadFinishedListener listener) { in addDvrScheduleLoadFinishedListener()
71 public void removeDvrScheduleLoadFinishedListener(OnDvrScheduleLoadFinishedListener listener) { in removeDvrScheduleLoadFinishedListener()
77 OnRecordedProgramLoadFinishedListener listener) { in addRecordedProgramLoadFinishedListener()
83 OnRecordedProgramLoadFinishedListener listener) { in removeRecordedProgramLoadFinishedListener()
88 public final void addScheduledRecordingListener(ScheduledRecordingListener listener) { in addScheduledRecordingListener()
93 public final void removeScheduledRecordingListener(ScheduledRecordingListener listener) { in removeScheduledRecordingListener()
98 public final void addSeriesRecordingListener(SeriesRecordingListener listener) { in addSeriesRecordingListener()
103 public final void removeSeriesRecordingListener(SeriesRecordingListener listener) { in removeSeriesRecordingListener()
108 public final void addRecordedProgramListener(RecordedProgramListener listener) { in addRecordedProgramListener()
113 public final void removeRecordedProgramListener(RecordedProgramListener listener) { in removeRecordedProgramListener()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java75 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_NoNetwork() local
92 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_hasEthernet() local
109 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_hasEthernetConnected() local
126 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_wifiSignal() local
175 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_notConnected() local
192 final ConnectivityListener listener = mock(ConnectivityListener.class); in testUpdateWifi_cellSignal() local
/packages/services/Car/car-lib/src/com/android/car/internal/
DCarRatedFloatListeners.java46 public boolean contains(T listener) { in contains()
60 public boolean remove(T listener) { in remove()
85 public boolean addAndUpdateRate(T listener, float updateRate) { in addAndUpdateRate()
108 public boolean needUpdate(T listener, long eventTimeStamp) { in needUpdate()
DCarRatedListeners.java39 public boolean contains(EventListenerType listener) { in contains()
53 public boolean remove(EventListenerType listener) { in remove()
77 public boolean addAndUpdateRate(EventListenerType listener, int updateRate) { in addAndUpdateRate()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDataModelImpl.java80 final ConversationListDataListener listener, final boolean archivedMode) { in createConversationListData()
86 final ConversationDataListener listener, final String conversationId) { in createConversationData()
97 final ContactPickerDataListener listener) { in createContactPickerData()
103 final Context context, final BlockedParticipantsDataListener listener) { in createBlockedParticipantsData()
119 final LaunchConversationDataListener listener) { in createLaunchConversationData()
130 final Context context, final PeopleAndOptionsDataListener listener) { in createPeopleAndOptionsData()
158 public SettingsData createSettingsData(Context context, SettingsDataListener listener) { in createSettingsData()
DDataModel.java73 final ConversationListDataListener listener, final boolean archivedMode); in createConversationListData()
76 final ConversationDataListener listener, final String conversationId); in createConversationData()
81 final ContactPickerDataListener listener); in createContactPickerData()
88 LaunchConversationDataListener listener); in createLaunchConversationData()
93 final Context context, final PeopleAndOptionsDataListener listener); in createPeopleAndOptionsData()
105 BlockedParticipantsDataListener listener); in createBlockedParticipantsData()
109 public abstract SettingsData createSettingsData(Context context, SettingsDataListener listener); in createSettingsData()
/packages/apps/Contacts/src/com/android/contacts/util/
DNotifyingAsyncQueryHandler.java43 public NotifyingAsyncQueryHandler(Context context, AsyncQueryListener listener) { in NotifyingAsyncQueryHandler()
52 public void setQueryListener(AsyncQueryListener listener) { in setQueryListener()
59 final AsyncQueryListener listener = mListener.get(); in onQueryComplete() local
DSchedulingUtils.java29 final OnGlobalLayoutListener listener = new OnGlobalLayoutListener() { in doAfterLayout() local
43 final OnPreDrawListener listener = new OnPreDrawListener() { in doOnPreDraw() local
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java74 public boolean addListener(Listener listener) { in addListener()
81 public boolean removeListener(Listener listener) { in removeListener()
221 public void connectToPublicWifi(AccessPoint accessPoint, WifiManager.ActionListener listener) { in connectToPublicWifi()
223 mWifiManager.connect(accessPoint.getConfig(), listener); in connectToPublicWifi() local
227 public void connectToSavedWifi(AccessPoint accessPoint, WifiManager.ActionListener listener) { in connectToSavedWifi()
229 mWifiManager.connect(accessPoint.getConfig(), listener); in connectToSavedWifi() local
/packages/services/Car/tools/emulator/
Ddriving_info_generator.py110 def _generateFrame(self, listener): argument
137 def _generateFromGpxFrame(self, gpxFrame, listener): argument
180 def _generateInReverseMode(self, duration, listener): argument
197 def _generateInParkMode(self, duration, listener): argument
212 def generate(self, listener): argument
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/stub/
DEnrichedCallManagerStub.java41 public void registerCapabilitiesListener(@NonNull CapabilitiesListener listener) {} in registerCapabilitiesListener()
47 public void unregisterCapabilitiesListener(@NonNull CapabilitiesListener listener) {} in unregisterCapabilitiesListener()
76 public void registerStateChangedListener(@NonNull StateChangedListener listener) {} in registerStateChangedListener()
112 public void registerHistoricalDataChangedListener( in registerHistoricalDataChangedListener()
116 public void unregisterHistoricalDataChangedListener( in unregisterHistoricalDataChangedListener()
142 public void unregisterStateChangedListener(@NonNull StateChangedListener listener) {} in unregisterStateChangedListener()
162 public void registerVideoShareListener(@NonNull VideoShareListener listener) {} in registerVideoShareListener()
165 public void unregisterVideoShareListener(@NonNull VideoShareListener listener) {} in unregisterVideoShareListener()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/plugins/
DPluginManagerWrapper.java40 public void addPluginListener(PluginListener<? extends Plugin> listener, Class<?> pluginClass) { in addPluginListener()
43 public void addPluginListener(PluginListener<? extends Plugin> listener, Class<?> pluginClass, in addPluginListener()
47 public void removePluginListener(PluginListener<? extends Plugin> listener) { } in removePluginListener()
/packages/apps/Camera2/src/com/android/camera/util/
DListenerCombiner.java57 public void addListener(StateChangeListener listener) { in addListener()
61 public void removeListener(StateChangeListener listener) { in removeListener()
106 public ListenerCombiner(Class<Input> clazz, StateChangeListener listener) { in ListenerCombiner()
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DICarStorageMonitoring.aidl60 void registerListener(IIoStatsListener listener) = 7; field
65 void unregisterListener(IIoStatsListener listener) = 8; field
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowInputManager.java54 protected void registerInputDeviceListener(InputManager.InputDeviceListener listener, in registerInputDeviceListener()
63 protected void unregisterInputDeviceListener(InputManager.InputDeviceListener listener) { in unregisterInputDeviceListener()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/
DEnrichedCallManager.java53 void registerCapabilitiesListener(@NonNull CapabilitiesListener listener); in registerCapabilitiesListener()
72 void unregisterCapabilitiesListener(@NonNull CapabilitiesListener listener); in unregisterCapabilitiesListener()
151 void registerStateChangedListener(@NonNull StateChangedListener listener); in registerStateChangedListener()
198 void registerHistoricalDataChangedListener(@NonNull HistoricalDataChangedListener listener); in registerHistoricalDataChangedListener()
207 void unregisterHistoricalDataChangedListener(@NonNull HistoricalDataChangedListener listener); in unregisterHistoricalDataChangedListener()
241 void unregisterStateChangedListener(@NonNull StateChangedListener listener); in unregisterStateChangedListener()
292 void registerVideoShareListener(@NonNull VideoShareListener listener); in registerVideoShareListener()
301 void unregisterVideoShareListener(@NonNull VideoShareListener listener); in unregisterVideoShareListener()
/packages/apps/Dialer/java/com/android/dialer/database/
DCallLogQueryHandler.java68 private final WeakReference<Listener> listener; field in CallLogQueryHandler
72 public CallLogQueryHandler(Context context, ContentResolver contentResolver, Listener listener) { in CallLogQueryHandler()
77 Context context, ContentResolver contentResolver, Listener listener, int limit) { in CallLogQueryHandler()
290 final Listener listener = this.listener.get(); in updateAdapterData() local
307 final Listener listener = this.listener.get(); in updateVoicemailStatus() local
314 final Listener listener = this.listener.get(); in updateVoicemailUnreadCount() local
321 final Listener listener = this.listener.get(); in updateMissedCallsUnreadCount() local
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/
DPluginManagerWrapper.java51 public void addPluginListener(PluginListener<? extends Plugin> listener, Class<?> pluginClass) { in addPluginListener()
55 public void addPluginListener(PluginListener<? extends Plugin> listener, Class<?> pluginClass, in addPluginListener()
60 public void removePluginListener(PluginListener<? extends Plugin> listener) { in removePluginListener()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentSession.java125 … public synchronized void startEmpty(ImageLifecycleListener listener, @Nonnull Size pictureSize) { in startEmpty()
130 …public synchronized void startSession(ImageLifecycleListener listener, @Nonnull Bitmap placeholder, in startSession()
136 …public synchronized void startSession(ImageLifecycleListener listener, @Nonnull byte[] placeholder, in startSession()
142 public synchronized void startSession(ImageLifecycleListener listener, @Nonnull Uri uri, in startSession()
202 public void addProgressListener(CaptureSession.ProgressListener listener) { in addProgressListener()
207 public void removeProgressListener(CaptureSession.ProgressListener listener) { in removeProgressListener()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DBatchInputArbiter.java94 final boolean isMajorEvent, final BatchInputArbiterListener listener) { in addMoveEventPoint()
110 public boolean mayStartBatchInput(final BatchInputArbiterListener listener) { in mayStartBatchInput()
131 final BatchInputArbiterListener listener) { in updateBatchInputByTimer()
146 final BatchInputArbiterListener listener) { in updateBatchInput()
171 final BatchInputArbiterListener listener) { in mayEndBatchInput()

12345678910>>...39