/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/ |
D | RemoteDfuActivity.java | 68 mHandler.post(RemoteDfuActivity.this::attemptDfu); 76 private final Handler mHandler = new Handler(); field in RemoteDfuActivity 91 if (mHandler.hasCallbacks(mPleaseWaitTimeout)) { in error() 92 mHandler.removeCallbacks(mPleaseWaitTimeout); in error() 98 mHandler.postDelayed(this::finish, BEFORE_FINISH_DELAY_MS); in error() 107 if (mHandler.hasCallbacks(mPleaseWaitTimeout)) { in onDone() 108 mHandler.removeCallbacks(mPleaseWaitTimeout); in onDone() 113 mHandler.postDelayed(this::finish, BEFORE_FINISH_DELAY_MS); in onDone() 118 if (mHandler.hasCallbacks(mPleaseWaitTimeout)) { in onDoneNeedsPairing() 119 mHandler.removeCallbacks(mPleaseWaitTimeout); in onDoneNeedsPairing() [all …]
|
D | ConnectedDevicesSettingsActivity.java | 64 private final Handler mHandler = new Handler(Looper.getMainLooper()); field in ConnectedDevicesSettingsActivity 74 mHandler.post(ConnectedDevicesSettingsActivity.this::updateConnectedDevices); 75 mHandler.post(ConnectedDevicesSettingsActivity.this::updatePairedDevices); 105 mHandler.post(this::updateConnectedDevices); in onDeviceUpdated() 106 mHandler.post(this::updatePairedDevices); in onDeviceUpdated()
|
D | ConnectedDevicesPreferenceFragment.java | 97 private final Handler mHandler = new Handler(Looper.getMainLooper()) { field in ConnectedDevicesPreferenceFragment 365 mHandler.removeMessages(MSG_POP_DEVICE_FRAGMENT); in popDevicePreference() 366 Message msg = mHandler.obtainMessage(MSG_POP_DEVICE_FRAGMENT, device.getAddress()); in popDevicePreference() 369 mHandler.sendMessageDelayed(msg, UPDATE_DELAY_MS); in popDevicePreference() 395 mHandler.postDelayed(() -> updateAll(getPreferenceManager().getContext()), UPDATE_DELAY_MS); in onResume()
|
D | BluetoothDevicePreferenceFragment.java | 85 private final Handler mHandler = new Handler(); field in BluetoothDevicePreferenceFragment 284 mHandler.postDelayed(this::update, UPDATE_AFTER_RENAME_MS); in onText() 295 mHandler.post(this::update); in onDeviceUpdated() 304 mHandler.post(() -> this.updatePairingStatusImpl(status)); in updatePairingStatus()
|
D | RemoteDfuConfirmationActivity.java | 46 private final Handler mHandler = new Handler(); field in RemoteDfuConfirmationActivity 62 mHandler.post(RemoteDfuConfirmationActivity.this::show);
|
D | ConnectedDevicesSliceProvider.java | 119 private final Handler mHandler = new Handler(Looper.getMainLooper()); field in ConnectedDevicesSliceProvider 151 mHandler.post(() -> { in updateVersionAndNotify() 183 mHandler.post(() -> { in onSlicePinned() 202 mHandler.post(() -> { in onSliceUnpinned()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/ |
D | BluetoothPairer.java | 76 private final Handler mHandler = new Handler(Looper.getMainLooper()) { field in BluetoothPairer 163 mHandler.removeMessages(MSG_PAIR); in startPairing() 164 mHandler.sendEmptyMessage(MSG_PAIR); in startPairing() 165 mHandler.removeMessages(MSG_TIMEOUT); in startPairing() 166 mHandler.sendEmptyMessageDelayed(MSG_TIMEOUT, PAIRING_TIMEOUT_MS); in startPairing() 173 mHandler.removeCallbacksAndMessages(null); in dispose() 235 mHandler.post(BluetoothPairer.this::onAdded); in onConnectionStateChanged() 238 mHandler.post(BluetoothPairer.this::onAddFailed); in onConnectionStateChanged() 252 if (!mHandler.hasMessages(MSG_ADD_DEVICE)) { in onServicesDiscovered() 253 mHandler.sendEmptyMessageDelayed(MSG_ADD_DEVICE, ADD_DEVICE_DELAY); in onServicesDiscovered() [all …]
|
D | BluetoothScannerActivity.java | 47 private Handler mHandler = new Handler(Looper.getMainLooper()); field in BluetoothScannerActivity 138 mHandler.post(() -> mBluetoothScannerFragment.showProgress(isScanning)); in updateScanning() 145 mHandler.post(() -> mBluetoothScannerFragment.updateDevice(device, status)); in updateDevice() 152 mHandler.post(() -> mBluetoothScannerFragment.updatePairingStatus(device, status)); in updatePairingStatus()
|
D | BluetoothPairingService.java | 49 private final Handler mHandler = new Handler(); field in BluetoothPairingService 150 mHandler.postDelayed(() -> { in pair()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/ |
D | TransportManager.java | 83 private final Handler mHandler = new Handler(Looper.getMainLooper()) { field in TransportManager 127 mHandler.removeMessages(MSG_GATT_TIMEOUT); in setGattTimeOut() 128 mHandler.sendEmptyMessageDelayed(MSG_GATT_TIMEOUT, timeoutMs); in setGattTimeOut() 132 mHandler.post(this::shutdownImpl); in shutdown() 137 mHandler.removeCallbacksAndMessages(null); in shutdownImpl() 162 if (mHandler.hasMessages(MSG_SEND_GATT_MESSAGES)) { in processQueueAfterDelay() 165 mHandler.sendEmptyMessageDelayed(MSG_SEND_GATT_MESSAGES, delay); in processQueueAfterDelay() 199 mTransport = mFactory.build(mDevice, this::processQueueImpl, mHandler, mContext, this); in processQueueImpl() 205 if (!mHandler.hasMessages(MSG_TRANSPORT_TIMEOUT)) { in processQueueImpl() 206 mHandler.sendEmptyMessageDelayed(MSG_TRANSPORT_TIMEOUT, TRANSPORT_TIMEOUT_MS); in processQueueImpl() [all …]
|
D | Transport.java | 75 protected Handler mHandler; field in Transport 81 mHandler = handler; in Transport() 92 mHandler.post(mReadyToConnect); in connect() 127 mHandler.post(() -> onGattStateChanged(TransportManager.GATT_CONNECTED)); in onConnectionStateChange() 130 mHandler.post(() -> onGattStateChanged(TransportManager.GATT_DISCONNECTED)); in onConnectionStateChange() 154 mHandler.post(() -> initCharacteristics(chars, pending)); in onServicesDiscovered() 164 mHandler.post(() -> onCharacteristicChangedImpl(characteristic)); in onCharacteristicChanged() 171 mHandler.post(() -> onWritten(characteristic, status)); in onCharacteristicWrite() 178 mHandler.post(() -> onRead(characteristic, status)); in onCharacteristicRead() 184 mHandler.post(this::shutdown); in initCharacteristics()
|
D | DfuManager.java | 44 private Handler mHandler = new Handler(); field in DfuManager 130 mHandler.post(() -> { in confirmDfu() 156 mHandler.post(() -> mListener.onDfuProgress(mDevice, mCurrentProgress)); in sendPackets() 158 mHandler.post(() -> sendPackets(packets, ind + 1, ret)); in sendPackets()
|
D | DfuProvider.java | 61 mHandler.post(DfuProvider.this::checkExternalStorage); in onEvent() 122 private final Handler mHandler = new Handler();
|
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/ |
D | MdnsOffloadManagerService.java | 74 private Handler mHandler; field in MdnsOffloadManagerService 155 mHandler = new Handler(mInjector.getLooper()); in onCreate() 203 mHandler.post(() -> mOffloadWriter.setOffloadState(!mInjector.isInteractive())); in setupScreenBroadcastReceiver() 238 mHandler.post(() -> { in refreshAppIdAllowlist() 253 mHandler.post(() -> { in dump() 296 mHandler.post(() -> { 308 mHandler.post(() -> { 328 mHandler.post(() -> { 355 mHandler.post(() -> { 385 mHandler.post(() -> { [all …]
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/ |
D | BluetoothDeviceService.java | 85 protected final Handler mHandler = new Handler(Looper.getMainLooper()); field in BluetoothDeviceService 110 mHandler.post(() -> addDevice(device)); 113 mHandler.post(() -> onDeviceUnbonded(device)); 124 mHandler.post(() -> onA2dpConnectionStateChanged(device.getName(), state)); 129 mHandler.post(() -> addDevice(device)); 130 mHandler.post(() -> onDeviceUpdated(device)); 135 mHandler.post(() -> removeDevice(device)); 136 mHandler.post(() -> onDeviceUpdated(device)); 259 mHandler.removeCallbacks(mCheckDfu); in checkDfu() 260 mHandler.postDelayed(mCheckDfu, PERIODIC_DFU_CHECK_MS); in checkDfu() [all …]
|
/device/linaro/poplar/wifi/wifi_hal/ |
D | gscan.cpp | 392 wifi_scan_result_handler mHandler; member in FullScanResultsCommand 396 : WifiCommand("FullScanResultsCommand", iface, id), mParams(params), mHandler(handler) in FullScanResultsCommand() 463 return wifi_handle_full_scan_event(id(), event, mHandler); in handleEvent() 472 wifi_scan_result_handler mHandler; member in ScanCommand 476 : WifiCommand("ScanCommand", iface, id), mParams(params), mHandler(handler) in ScanCommand() 685 if(*mHandler.on_scan_event) in handleEvent() 686 (*mHandler.on_scan_event)(id(), evt_type); in handleEvent() 688 wifi_handle_full_scan_event(id(), event, mHandler); in handleEvent() 1010 wifi_hotlist_ap_found_handler mHandler; member in BssidHotlistCommand 1016 : WifiCommand("BssidHotlistCommand", handle, id), mParams(params), mHandler(handler) in BssidHotlistCommand() [all …]
|
D | wifi_logger.cpp | 494 wifi_ring_buffer_data_handler mHandler; member in SetLogHandler 498 : WifiCommand("SetLogHandler", iface, id), mHandler(handler) in SetLogHandler() 563 if (mHandler.on_ring_buffer_data) { in handleEvent() 564 (*mHandler.on_ring_buffer_data)((char *)status.name, buffer, buffer_size, in handleEvent() 619 wifi_alert_handler mHandler; member in SetAlertHandler 626 : WifiCommand("SetAlertHandler", iface, id), mHandler(handler), mBuffSize(0), mBuff(NULL), in SetAlertHandler() 666 if (mHandler.on_alert) { in handleResponse() 667 (*mHandler.on_alert)(id(), mBuff, mBuffSize, mErrCode); in handleResponse() 802 wifi_firmware_memory_dump_handler mHandler; member in MemoryDumpCommand 808 : WifiCommand("MemoryDumpCommand", iface, 0), mHandler(handler), mBuffSize(0), mBuff(NULL) in MemoryDumpCommand() [all …]
|
D | link_layer_stats.cpp | 52 wifi_stats_result_handler mHandler; member in GetLinkStatsCommand 55 : WifiCommand("GetLinkStatsCommand", iface, 0), mHandler(handler) in GetLinkStatsCommand() 109 if(*mHandler.on_link_stats_results == NULL) { in handleResponse() 112 (*mHandler.on_link_stats_results)(id, iface_stat, 1, radio_stat); in handleResponse()
|
D | wifi_hal.cpp | 779 wifi_rssi_event_handler mHandler; member in SetRSSIMonitorCommand 784 (min_rssi), mHandler(eh) in SetRSSIMonitorCommand() 880 if (*mHandler.on_rssi_threshold_breached) { in handleEvent() 881 (*mHandler.on_rssi_threshold_breached)(id(), data->BSSID, data->cur_rssi); in handleEvent()
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/ |
D | SimpleC2Component.cpp | 203 mHandler(new WorkHandler) { in SimpleC2Component() 205 (void)mLooper->registerHandler(mHandler); in SimpleC2Component() 210 mLooper->unregisterHandler(mHandler->id()); in ~SimpleC2Component() 217 mHandler->setComponent(shared_from_this()); in setListener_vb() 251 (new AMessage(WorkHandler::kWhatProcess, mHandler))->post(); in queue_nb() 308 (new AMessage(WorkHandler::kWhatProcess, mHandler))->post(); in drain_nb() 323 (new AMessage(WorkHandler::kWhatInit, mHandler)) in start() 331 (new AMessage(WorkHandler::kWhatStart, mHandler))->post(); in start() 353 (new AMessage(WorkHandler::kWhatStop, mHandler)) in stop() 375 (new AMessage(WorkHandler::kWhatReset, mHandler)) in reset() [all …]
|
/device/generic/goldfish/slim/FakeSystemApp/src/com/android/fakesystemapp/launcher/ |
D | FallbackHome.java | 46 private Handler mHandler; field in FallbackHome 60 mHandler = new Handler(getMainLooper()) { in onCreate() 86 mHandler.sendEmptyMessageDelayed(0, 500); in maybeFinish()
|
/device/generic/goldfish-opengl/system/codecs/omx/plugin/ |
D | SimpleGoldfishOMXComponent.cpp | 35 mHandler(new AHandlerReflector<SimpleGoldfishOMXComponent>(this)), in SimpleGoldfishOMXComponent() 40 mLooper->registerHandler(mHandler); in SimpleGoldfishOMXComponent() 53 mLooper->unregisterHandler(mHandler->id()); in prepareForDestruction() 61 sp<AMessage> msg = new AMessage(kWhatSendCommand, mHandler); in sendCommand() 363 sp<AMessage> msg = new AMessage(kWhatEmptyThisBuffer, mHandler); in emptyThisBuffer() 376 sp<AMessage> msg = new AMessage(kWhatFillThisBuffer, mHandler); in fillThisBuffer()
|
/device/google/contexthub/contexthubhal/test/ |
D | main.cpp | 70 std::function<void(const hub_message_t &)> mHandler; member in CHub::Client 80 mHandler = handler; in setHandler() 83 if ((bool)mHandler == true) { in onMessage() 84 mHandler(msg); in onMessage()
|
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/ |
D | MultiDisplayService.java | 73 private final Handler mHandler = new Handler(); field in MultiDisplayService 166 mMessenger = new Messenger(mHandler); in onBind()
|
/device/generic/goldfish-opengl/system/codecs/omx/plugin/include/ |
D | SimpleGoldfishOMXComponent.h | 104 sp<AHandlerReflector<SimpleGoldfishOMXComponent> > mHandler; member
|