Home
last modified time | relevance | path

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

12345678910>>...24

/packages/services/Car/car-lib/src/android/car/
DIAppContext.aidl23 void registerContextListener(IAppContextListener listener, int filter) = 0; in registerContextListener()
24 void unregisterContextListener(IAppContextListener listener) = 1; field
27 boolean isOwningContext(IAppContextListener listener, int context) = 3; in isOwningContext()
29 void setActiveContexts(IAppContextListener listener, int contexts) = 4; in setActiveContexts()
31 void resetActiveContexts(IAppContextListener listener, int contexts) = 5; in resetActiveContexts()
DICarProjection.aidl45 void regsiterProjectionListener(ICarProjectionListener listener, int filter) = 2; in regsiterProjectionListener()
50 void unregsiterProjectionListener(ICarProjectionListener listener) = 3; field
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
DIVehicleNetwork.aidl35 void subscribe(in IVehicleNetworkListener listener, int property, float sampleRate, in subscribe()
37 void unsubscribe(in IVehicleNetworkListener listener, int property) = 4; in unsubscribe()
45 void startErrorListening(in IVehicleNetworkListener listener) = 9; field
46 void stopErrorListening(in IVehicleNetworkListener listener) = 10; field
47 void startHalRestartMonitoring(in IVehicleNetworkListener listener) = 11; field
48 void stopHalRestartMonitoring(in IVehicleNetworkListener listener) = 12; field
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandlerTest.java87 final HasBlockedNumbersListener listener = new HasBlockedNumbersListener(); in testHasBlockedNumbers_Disabled() local
100 final HasBlockedNumbersListener listener = new HasBlockedNumbersListener(); in testHasBlockedNumbers_NoResults() local
113 final HasBlockedNumbersListener listener = new HasBlockedNumbersListener(); in testHasBlockedNumbers() local
136 final CheckBlockedListener listener = new CheckBlockedListener(); in testIsBlockedNumber_Disabled() local
150 final CheckBlockedListener listener = new CheckBlockedListener(); in testIsBlockedNumber_NoResults() local
169 final CheckBlockedListener listener = new CheckBlockedListener(); in testIsBlockedNumber() local
188 final CheckBlockedListener listener = new CheckBlockedListener(); in testIsBlockedNumber_MultipleResults() local
212 final BlockNumberListener listener = new BlockNumberListener(); in testBlockNumber_Disabled() local
227 final BlockNumberListener listener = new BlockNumberListener(); in testBlockNumber() local
242 final BlockNumberListener listener = new BlockNumberListener(); in testBlockNumber_NullNormalizedNumber() local
[all …]
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
DCarSensorManagerEmbedded.java54 public boolean registerListener(CarSensorEventListener listener, int sensorType, in registerListener()
73 public void unregisterListener(CarSensorEventListener listener) in unregisterListener()
91 public void unregisterListener(CarSensorEventListener listener, int sensorType) in unregisterListener()
125 private CarSensorEventListenerProxy findListenerLocked(CarSensorEventListener listener) { in findListenerLocked()
145 public final CarSensorEventListener listener; field in CarSensorManagerEmbedded.CarSensorEventListenerProxy
148 public CarSensorEventListenerProxy(CarSensorEventListener listener, int sensors) { in CarSensorEventListenerProxy()
/packages/services/Car/car-support-lib/src/android/support/car/
DCarServiceLoaderEmbedded.java57 public CarServiceLoaderEmbedded(Context context, ServiceConnectionListener listener, in CarServiceLoaderEmbedded()
86 public void registerCarConnectionListener(final CarConnectionListener listener) in registerCarConnectionListener()
96 public void unregisterCarConnectionListener(CarConnectionListener listener) { in unregisterCarConnectionListener()
141 private void dispatchCarConnectionCall(CarConnectionListener listener, int connectionType) { in dispatchCarConnectionCall()
149 CarConnectionListener listener = (CarConnectionListener) msg.obj; in handleMessage() local
DCarServiceLoader.java32 public CarServiceLoader(Context context, ServiceConnectionListener listener, Looper looper) { in CarServiceLoader()
43 public abstract void registerCarConnectionListener(CarConnectionListener listener) in registerCarConnectionListener()
45 public abstract void unregisterCarConnectionListener(CarConnectionListener listener); in unregisterCarConnectionListener()
/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/services/Car/service/src/com/android/car/cluster/
DCarNavigationService.java122 public boolean registerEventListener(ICarNavigationEventListener listener) { in registerEventListener()
147 public boolean unregisterEventListener(ICarNavigationEventListener listener) { in unregisterEventListener()
175 private boolean removeClient(CarNavigationEventListener listener) { in removeClient()
189 ICarNavigationEventListener listener) { in findClientLocked()
216 final ICarNavigationEventListener listener; field in CarNavigationService.CarNavigationEventListener
218 public CarNavigationEventListener(ICarNavigationEventListener listener) { in CarNavigationEventListener()
/packages/services/Car/libvehiclenetwork/native/
DIVehicleNetwork.cpp143 virtual status_t subscribe(const sp<IVehicleNetworkListener> &listener, int32_t property, in subscribe()
155 virtual void unsubscribe(const sp<IVehicleNetworkListener> &listener, int32_t property) { in unsubscribe()
211 virtual status_t startErrorListening(const sp<IVehicleNetworkListener> &listener) { in startErrorListening()
219 virtual void stopErrorListening(const sp<IVehicleNetworkListener> &listener) { in stopErrorListening()
229 virtual status_t startHalRestartMonitoring(const sp<IVehicleNetworkListener> &listener) { in startHalRestartMonitoring()
237 virtual void stopHalRestartMonitoring(const sp<IVehicleNetworkListener> &listener) { in stopHalRestartMonitoring()
321 sp<IVehicleNetworkListener> listener = in onTransact() local
335 sp<IVehicleNetworkListener> listener = in onTransact() local
416 sp<IVehicleNetworkListener> listener = in onTransact() local
427 sp<IVehicleNetworkListener> listener = in onTransact() local
[all …]
/packages/services/Car/service/src/com/android/car/
DAppContextService.java56 public void registerContextListener(IAppContextListener listener, int filter) { in registerContextListener()
70 public void unregisterContextListener(IAppContextListener listener) { in unregisterContextListener()
89 public boolean isOwningContext(IAppContextListener listener, int context) { in isOwningContext()
101 public void setActiveContexts(IAppContextListener listener, int contexts) { in setActiveContexts()
152 public void resetActiveContexts(IAppContextListener listener, int contexts) { in resetActiveContexts()
242 private void dispatchAppContextOwnershipLoss(IAppContextListener listener, int contexts) { in dispatchAppContextOwnershipLoss()
249 private void dispatchAppContextChange(IAppContextListener listener, int contexts) { in dispatchAppContextChange()
319 private void requestAppContextOwnershipLossDispatch(IAppContextListener listener, in requestAppContextOwnershipLossDispatch()
325 private void requestAppContextChangeDispatch(IAppContextListener listener, int contexts) { in requestAppContextChangeDispatch()
/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
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
DVoicemailAsyncTaskUtilTest.java126 final OnGetArchivedVoicemailFilePathListener listener = in testGetVoicemailFilePath_VoicemailExists() local
141 final OnGetArchivedVoicemailFilePathListener listener = in testGetVoicemailFilePath_VoicemailNotExists() local
156 final OnSetVoicemailArchiveStatusListener listener = in testSetVoicemailArchiveStatus_VoicemailNotExists() local
172 final OnSetVoicemailArchiveStatusListener listener = in testSetVoicemailArchiveStatus_VoicemailExists() local
191 final OnArchiveVoicemailListener listener = mock(OnArchiveVoicemailListener.class); in testArchiveVoicemailContent_ArchiveNotExists() local
205 final OnArchiveVoicemailListener listener = mock(OnArchiveVoicemailListener.class); in testArchiveVoicemailContent_ArchiveExists() local
221 final OnArchiveVoicemailListener listener = mock(OnArchiveVoicemailListener.class); in testArchiveVoicemailContent_CallLogInfoNotExists() local
/packages/apps/Dialer/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandler.java128 public void hasBlockedNumbers(final OnHasBlockedNumbersListener listener) { in hasBlockedNumbers()
151 final OnCheckBlockedListener listener, String number, String countryIso) { in isBlockedNumber()
194 final OnBlockNumberListener listener, String number, @Nullable String countryIso) { in blockNumber()
202 final OnBlockNumberListener listener, in blockNumber()
214 public void blockNumber(final OnBlockNumberListener listener, ContentValues values) { in blockNumber()
233 public void unblock(@Nullable final OnUnblockNumberListener listener, Integer id) { in unblock()
247 public void unblock(@Nullable final OnUnblockNumberListener listener, final Uri uri) { in unblock()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentSession.java123 … public synchronized void startEmpty(ImageLifecycleListener listener, @Nonnull Size pictureSize) { in startEmpty()
128 …public synchronized void startSession(ImageLifecycleListener listener, @Nonnull Bitmap placeholder, in startSession()
134 …public synchronized void startSession(ImageLifecycleListener listener, @Nonnull byte[] placeholder, in startSession()
140 public synchronized void startSession(ImageLifecycleListener listener, @Nonnull Uri uri, in startSession()
192 public void addProgressListener(CaptureSession.ProgressListener listener) { in addProgressListener()
197 public void removeProgressListener(CaptureSession.ProgressListener listener) { in removeProgressListener()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallVideoCallCallbackNotifier.java67 public void addSessionModificationListener(SessionModificationListener listener) { in addSessionModificationListener()
77 public void removeSessionModificationListener(SessionModificationListener listener) { in removeSessionModificationListener()
88 public void addVideoEventListener(VideoEventListener listener) { in addVideoEventListener()
98 public void removeVideoEventListener(VideoEventListener listener) { in removeVideoEventListener()
109 public void addSurfaceChangeListener(SurfaceChangeListener listener) { in addSurfaceChangeListener()
119 public void removeSurfaceChangeListener(SurfaceChangeListener listener) { in removeSurfaceChangeListener()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupActionHelper.java31 OnActionClickListener listener = null; in onActionClick() local
46 public static OnClickListener createOnClickListenerForAction(OnActionClickListener listener, in createOnClickListenerForAction()
56 OnActionClickListenerForAction(OnActionClickListener listener, String category, in OnActionClickListenerForAction()
/packages/apps/TV/src/com/android/tv/dvr/
DBaseDvrDataManager.java54 public final void addScheduledRecordingListener(ScheduledRecordingListener listener) { in addScheduledRecordingListener()
59 public final void removeScheduledRecordingListener(ScheduledRecordingListener listener) { in removeScheduledRecordingListener()
64 public final void addRecordedProgramListener(RecordedProgramListener listener) { in addRecordedProgramListener()
69 public final void removeRecordedProgramListener(RecordedProgramListener listener) { in removeRecordedProgramListener()
/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()
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSession.java170 public void startEmpty(@Nullable ImageLifecycleListener listener, @Nonnull Size pictureSize); in startEmpty()
182 public void startSession(@Nullable ImageLifecycleListener listener, @Nonnull byte[] placeholder, in startSession()
196 public void startSession(@Nullable ImageLifecycleListener listener, @Nonnull Bitmap placeholder, in startSession()
209 public void startSession(@Nullable ImageLifecycleListener listener, @Nonnull Uri uri, in startSession()
284 public void addProgressListener(ProgressListener listener); in addProgressListener()
289 public void removeProgressListener(ProgressListener listener); in removeProgressListener()
/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/hardware/radio/
DICarRadio.aidl32 void registerListener(in ICarRadioEventListener listener) = 1; field
37 void unregisterListener(in ICarRadioEventListener listener) = 2; field
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeDataModel.java132 final ConversationListDataListener listener, final boolean archivedMode) { in createConversationListData()
138 final ConversationDataListener listener, final String conversationId) { in createConversationData()
151 final ContactPickerDataListener listener) { in createContactPickerData()
169 final LaunchConversationDataListener listener) { in createLaunchConversationData()
180 final Context context, final PeopleAndOptionsDataListener listener) { in createPeopleAndOptionsData()
208 public SettingsData createSettingsData(Context context, SettingsDataListener listener) { in createSettingsData()
254 BlockedParticipantsDataListener listener) { in createBlockedParticipantsData()
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMockFolder.java64 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) { in fetch()
78 public Message[] getMessages(int start, int end, MessageRetrievalListener listener) { in getMessages()
83 public Message[] getMessages(String[] uids, MessageRetrievalListener listener) { in getMessages()
126 public Message[] getMessages(SearchParams params, MessageRetrievalListener listener) in getMessages()
136 public Message[] getMessages(long startDate, long endDate, MessageRetrievalListener listener) in getMessages()

12345678910>>...24