Home
last modified time | relevance | path

Searched refs:mEventHandler (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DIwlanNetworkStatusTrackerTest.java59 private Handler mEventHandler; field in IwlanNetworkStatusTrackerTest
143 mEventHandler = mIwlanNetworkStatusTracker.mHandlerSparseArray.get(CURRENT_SLOT_ID); in testHandleMessage_InvalidSubID()
146 waitForLastHandlerAction(mEventHandler); in testHandleMessage_InvalidSubID()
160 mEventHandler = mIwlanNetworkStatusTracker.mHandlerSparseArray.get(CURRENT_SLOT_ID); in testHandleMessage_ValidSubID()
166 waitForLastHandlerAction(mEventHandler); in testHandleMessage_ValidSubID()
171 waitForLastHandlerAction(mEventHandler); in testHandleMessage_ValidSubID()
181 mEventHandler = mIwlanNetworkStatusTracker.mHandlerSparseArray.get(CURRENT_SLOT_ID); in testHandleMessage_ValidSubID_DDS_over_nDDS()
186 waitForLastHandlerAction(mEventHandler); in testHandleMessage_ValidSubID_DDS_over_nDDS()
191 waitForLastHandlerAction(mEventHandler); in testHandleMessage_ValidSubID_DDS_over_nDDS()
199 mEventHandler = mIwlanNetworkStatusTracker.mHandlerSparseArray.get(CURRENT_SLOT_ID); in testHandleMessage_VcnWithValidSubID()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppTransferTest.java91 BluetoothOppTransfer.EventHandler mEventHandler; field in BluetoothOppTransferTest
135 mEventHandler = mTransfer.new EventHandler(Looper.getMainLooper()); in setUp()
212 Message message = Message.obtain(mEventHandler, TRANSPORT_ERROR); in eventHandler_handleMessage_TRANSPORT_ERROR_connectThreadIsNull()
213 mEventHandler.handleMessage(message); in eventHandler_handleMessage_TRANSPORT_ERROR_connectThreadIsNull()
230 Message message = Message.obtain(mEventHandler, TRANSPORT_CONNECTED, transport); in eventHandler_handleMessage_TRANSPORT_CONNECTED_obexSessionStarted()
231 mEventHandler.handleMessage(message); in eventHandler_handleMessage_TRANSPORT_CONNECTED_obexSessionStarted()
237 Message message = Message.obtain(mEventHandler, BluetoothOppObexSession.MSG_SHARE_COMPLETE); in eventHandler_handleMessage_MSG_SHARE_COMPLETE_shareAdded()
261 mEventHandler = mTransfer.new EventHandler(Looper.getMainLooper()); in eventHandler_handleMessage_MSG_SHARE_COMPLETE_shareAdded()
262 mEventHandler.handleMessage(message); in eventHandler_handleMessage_MSG_SHARE_COMPLETE_shareAdded()
272 Message.obtain(mEventHandler, BluetoothOppObexSession.MSG_SESSION_COMPLETE, info); in eventHandler_handleMessage_MSG_SESSION_COMPLETE_batchFinished()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceFocusManager.java199 mEventHandler
214 mEventHandler
229 mEventHandler
241 mEventHandler
249 mEventHandler
269 mEventHandler
281 mEventHandler
295 private FocusManagerHandler mEventHandler; field in ConnectionServiceFocusManager
303 mEventHandler = new FocusManagerHandler(handlerThread.getLooper()); in ConnectionServiceFocusManager()
314 mEventHandler.obtainMessage(MSG_REQUEST_FOCUS, in requestFocus()
[all …]
/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/
DCustomInputEventListenerTest.java79 private CustomInputEventListener mEventHandler; field in CustomInputEventListenerTest
98 mEventHandler = new CustomInputEventListener(mContext, mCarAudioManager, in setUp()
113 mEventHandler.handle(SOME_DISPLAY_TYPE, event); in testHandleEvent_launchingMaps()
146 mEventHandler.handle(SOME_DISPLAY_TYPE, event); in testHandleEvent_acceptIncomingCallAction()
166 mEventHandler.handle(SOME_DISPLAY_TYPE, event); in testHandleEvent_rejectIncomingCallAction()
185 mEventHandler.handle(SOME_DISPLAY_TYPE, event); in testHandleEvent_launchHomeAction()
200 mEventHandler.handle(DISPLAY_TYPE_INSTRUMENT_CLUSTER, event); in testHandleEvent_ignoringEventsForNonMainDisplay()
231 mEventHandler.handle(SOME_DISPLAY_TYPE, event); in doTestIncreaseVolumeAndAssert()
264 mEventHandler.handle(SOME_DISPLAY_TYPE, event); in doTestIncreaseMaxVolumeAndAssert()
295 mEventHandler.handle(SOME_DISPLAY_TYPE, event); in doTestDecreaseVolumeAndAssert()
[all …]
/packages/services/Car/tests/CarLibUnitTest/src/android/car/
DCarUnitTest.java108 private Handler mEventHandler; field in CarUnitTest
219 mEventHandler = new Handler(mEventHandlerThread.getLooper()); in setUp()
297 Car car = Car.createCar(mContext, mServiceConnectionListener, mEventHandler); in testCreateCar_Context_ServiceConnection_Handler()
341 Car car = Car.createCar(mContext, mServiceConnectionListener, mEventHandler); in testCreateCar_Context_ServiceConnection_Handler_CarServiceRegistered()
359 Car car = Car.createCar(mContext, mServiceConnectionListener, mEventHandler); in testCreateCar_Context_ServiceConnection_Handler_Disconnect_Reconnect()
375 Car car = Car.createCar(mContext, mServiceConnectionListener, mEventHandler); in testCreateCar_Context_ServiceConnection_Handler_Disconnect_IgnoreCallback()
395 /* context= */ null, mServiceConnectionListener, mEventHandler)); in testCreateCar_Context_ServiceConnection_Handler_ContextIsNull()
402 Car car = Car.createCar(mContext, mServiceConnectionListener, mEventHandler); in testCreateCar_Context_ServiceConnection_Handler_NoAutoFeature()
463 mEventHandler.postDelayed(() -> setCarServiceRegistered(), 200); in testCreateCar_Context_CarServiceRegisteredLater_BeforeTimeout()
484 mEventHandler.postDelayed(() -> setCarServiceRegistered(), 200); in testCreateCar_Context_InvokeFromMain()
[all …]
/packages/services/Car/service/src/com/android/car/
DBinderInterfaceContainer.java70 private final BinderEventHandler<T> mEventHandler; field in BinderInterfaceContainer
80 mEventHandler = eventHandler; in BinderInterfaceContainer()
84 mEventHandler = null; in BinderInterfaceContainer()
183 if (mEventHandler != null) { in handleBinderDeath()
184 mEventHandler.onBinderDeath(bInterface); in handleBinderDeath()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java69 private final Handler mEventHandler; field in WificondScannerImpl
108 mEventHandler = new Handler(looper, this); in WificondScannerImpl()
112 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in WificondScannerImpl() local
114 WifiMonitor.PNO_SCAN_RESULTS_EVENT, mEventHandler); in WificondScannerImpl() local
116 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in WificondScannerImpl() local
130 WifiMonitor.SCAN_FAILED_EVENT, mEventHandler); in cleanup() local
132 WifiMonitor.PNO_SCAN_RESULTS_EVENT, mEventHandler); in cleanup() local
134 WifiMonitor.SCAN_RESULTS_EVENT, mEventHandler); in cleanup() local
248 TIMEOUT_ALARM_TAG, mScanTimeoutListener, mEventHandler); in startSingleScan()
252 mEventHandler.post(() -> reportScanFailure(finalScanStatus)); in startSingleScan()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHal.java46 private final Handler mEventHandler; field in HostapdHal
53 mEventHandler = handler; in HostapdHal()
108 return new HostapdHalAidlImp(mContext, mEventHandler); in createIHostapdHalMockable()
112 return new HostapdHalHidlImp(mContext, mEventHandler); in createIHostapdHalMockable()
DPmkCacheManager.java40 private final Handler mEventHandler; field in PmkCacheManager
51 mEventHandler = eventHandler; in PmkCacheManager()
208 mEventHandler.removeCallbacksAndMessages(PMK_CACHE_EXPIRATION_ALARM_TAG); in updatePmkCacheExpiration()
242 mEventHandler.postDelayed( in updatePmkCacheExpiration()
DWifiConnectivityManager.java165 private final RunnerHandler mEventHandler; field in WifiConnectivityManager
1368 mEventHandler = handler; in WifiConnectivityManager()
1369 mWifiThreadRunner = new WifiThreadRunner(mEventHandler); in WifiConnectivityManager()
1392 mEventHandler.postToFront(() -> in WifiConnectivityManager()
2100 mEventHandler.postDelayed( in triggerScanOnNetworkChanges()
2700 mWatchdogListener, mEventHandler); in scheduleWatchdogTimer()
2716 mDelayedPartialScanTimerListener, mEventHandler); in scheduleDelayedPartialScan()
2738 mEventHandler.postDelayed(() -> { in schedulePeriodicScanTimer()
2751 mEventHandler.removeCallbacksAndMessages(mPeriodicScanTimerToken); in cancelPeriodicScanTimer()
2765 restartSingleScanListener, mEventHandler); in scheduleDelayedSingleScan()
[all …]
DHalDeviceManager.java102 private final Handler mEventHandler; field in HalDeviceManager
158 mEventHandler = handler; in HalDeviceManager()
175 }, intentFilter, null, mEventHandler); in HalDeviceManager()
1122 mEventHandler.post(() -> { in onDeath()
1513 mEventHandler.post(() -> { in onStart()
1521 mEventHandler.post(() -> { in onStop()
1529 mEventHandler.post(() -> { in onFailure()
1540 mEventHandler.post(() -> { in onSubsystemRestart()
DMultiInternetManager.java56 private final Handler mEventHandler; field in MultiInternetManager
324 mEventHandler = handler; in MultiInternetManager()
DSupplicantStaIfaceHal.java53 private final Handler mEventHandler; field in SupplicantStaIfaceHal
833 mEventHandler = handler; in SupplicantStaIfaceHal()
907 mEventHandler, mClock, mWifiMetrics, mWifiGlobals, mSsidTranslator, in createStaIfaceHalMockable()
913 mEventHandler, mClock, mWifiMetrics, mWifiGlobals, mSsidTranslator); in createStaIfaceHalMockable()
DHostapdHalHidlImp.java78 private final Handler mEventHandler; field in HostapdHalHidlImp
112 mEventHandler.post(() -> { in serviceDied()
125 mEventHandler.post(() -> { in serviceDied()
136 mEventHandler = handler; in HostapdHalHidlImp()
/packages/services/Car/tests/SampleVoiceAssistInputService/tests/src/com/android/car/voiceassist/sample/unittest/
DVoiceAssistEventHandlerTest.java71 private VoiceAssistEventHandler mEventHandler; field in VoiceAssistEventHandlerTest
85 mEventHandler = new VoiceAssistEventHandler(mContext, mService, mCarOccupantZoneManager); in setUp()
94 mEventHandler.onKeyEvents(SOME_DISPLAY_TYPE, mEvents); in testOnKeyEvents_startsUserTosRedirectActivity()
/packages/services/Car/experimental/experimental_api/src/android/car/experimental/
DCarDriverDistractionManager.java48 private final EventHandler mEventHandler; field in CarDriverDistractionManager
73 mEventHandler = new EventHandler(this, getEventHandler().getLooper()); in CarDriverDistractionManager()
190 manager.mEventHandler.dispatchOnDistractionChangedEvent(event); in onDriverDistractionChange()
/packages/services/Car/car-lib/src/android/car/input/
DCarInputHandlingService.java136 private final EventHandler mEventHandler; field in CarInputHandlingService.InputBinder
139 mEventHandler = new EventHandler(CarInputHandlingService.this); in InputBinder()
144 mEventHandler.doKeyEvent(keyEvent, targetDisplay); in onKeyEvent()
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/
DSampleCustomInputService.java58 private CustomInputEventListener mEventHandler; field in SampleCustomInputService
124 mEventHandler = new CustomInputEventListener(getApplicationContext(), in connectToCarService()
151 mEventHandler.handle(targetDisplayType, event); in onCustomInputEvents()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsDefaultAudioTrackRenderer.java106 private final Handler mEventHandler; field in MpegTsDefaultAudioTrackRenderer
141 mEventHandler = eventHandler; in MpegTsDefaultAudioTrackRenderer()
645 if (mEventHandler == null || mEventListener == null) { in notifyAudioTrackInitializationError()
648 mEventHandler.post(() -> mEventListener.onAudioTrackInitializationError(e)); in notifyAudioTrackInitializationError()
652 if (mEventHandler == null || mEventListener == null) { in notifyAudioTrackWriteError()
655 mEventHandler.post(() -> mEventListener.onAudioTrackWriteError(e)); in notifyAudioTrackWriteError()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java104 private EventHandler mEventHandler; field in MmsNetworkManager
188 mEventHandler.sendMessage(mEventHandler.obtainMessage(
329 mEventHandler = new EventHandler(); in MmsNetworkManager()
/packages/services/Car/service/src/com/android/car/power/
DScreenOffHandler.java118 private final EventHandler mEventHandler; field in ScreenOffHandler
138 mEventHandler = new EventHandler(looper, this); in ScreenOffHandler()
141 mSettingsObserver = new SettingsObserver(mEventHandler); in ScreenOffHandler()
295 mEventHandler.post(() -> { in updateSettingsLocked()
315 mEventHandler.cancelUserActivityTimeout(displayId); in updateDisplayPowerStateLocked()
333 mEventHandler.handleUserActivityTimeout(info.getDisplayId(), nextTimeout); in checkUserActivityTimeout()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java342 private final EventHandler mEventHandler; field in CarAudioManager
406 mEventHandler.dispatchOnGroupVolumeChanged(zoneId, groupId, flags);
411 mEventHandler.dispatchOnGroupMuteChanged(zoneId, groupId, flags);
416 mEventHandler.dispatchOnMasterMuteChanged(zoneId, flags);
424 mEventHandler.dispatchOnVolumeGroupEvent(events);
429 mEventHandler.dispatchOnMasterMuteChanged(zoneId, flags);
1751 mEventHandler = new EventHandler(getEventHandler().getLooper()); in CarAudioManager()
/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java374 private final EventHandler mEventHandler; field in CarOccupantZoneManager
395 mEventHandler = new EventHandler(getEventHandler().getLooper()); in CarOccupantZoneManager()
860 manager.mEventHandler.dispatchOnOccupantZoneConfigChanged(flags); in onOccupantZoneConfigChanged()
DCar.java1705 private final Handler mEventHandler; field in Car
2184 mEventHandler = determineEventHandler(handler); in Car()
2185 mMainThreadEventHandler = determineMainThreadEventHandler(mEventHandler); in Car()
2254 mEventHandler.removeCallbacks(mConnectionRetryRunnable); in handleCarDisconnectLocked()
2542 return mEventHandler; in getEventHandler()
2799 mEventHandler.postDelayed(mConnectionRetryRunnable, in startCarService()
2803 mEventHandler.removeCallbacks(mConnectionRetryRunnable); in startCarService()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigStore.java127 private final Handler mEventHandler; field in UwbConfigStore
216 mEventHandler = handler; in UwbConfigStore()
601 BUFFERED_WRITE_ALARM_TAG, mBufferedWriteListener, mEventHandler); in startBufferedWriteAlarm()

12