/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | IwlanNetworkStatusTrackerTest.java | 59 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/ |
D | BluetoothOppTransferTest.java | 91 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/ |
D | ConnectionServiceFocusManager.java | 199 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/ |
D | CustomInputEventListenerTest.java | 79 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/ |
D | CarUnitTest.java | 108 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/ |
D | BinderInterfaceContainer.java | 70 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/ |
D | WificondScannerImpl.java | 69 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/ |
D | HostapdHal.java | 46 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()
|
D | PmkCacheManager.java | 40 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()
|
D | WifiConnectivityManager.java | 165 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 …]
|
D | HalDeviceManager.java | 102 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()
|
D | MultiInternetManager.java | 56 private final Handler mEventHandler; field in MultiInternetManager 324 mEventHandler = handler; in MultiInternetManager()
|
D | SupplicantStaIfaceHal.java | 53 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()
|
D | HostapdHalHidlImp.java | 78 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/ |
D | VoiceAssistEventHandlerTest.java | 71 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/ |
D | CarDriverDistractionManager.java | 48 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/ |
D | CarInputHandlingService.java | 136 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/ |
D | SampleCustomInputService.java | 58 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/ |
D | MpegTsDefaultAudioTrackRenderer.java | 106 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/ |
D | MmsNetworkManager.java | 104 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/ |
D | ScreenOffHandler.java | 118 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/ |
D | CarAudioManager.java | 342 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/ |
D | CarOccupantZoneManager.java | 374 private final EventHandler mEventHandler; field in CarOccupantZoneManager 395 mEventHandler = new EventHandler(getEventHandler().getLooper()); in CarOccupantZoneManager() 860 manager.mEventHandler.dispatchOnOccupantZoneConfigChanged(flags); in onOccupantZoneConfigChanged()
|
D | Car.java | 1705 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/ |
D | UwbConfigStore.java | 127 private final Handler mEventHandler; field in UwbConfigStore 216 mEventHandler = handler; in UwbConfigStore() 601 BUFFERED_WRITE_ALARM_TAG, mBufferedWriteListener, mEventHandler); in startBufferedWriteAlarm()
|