/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/ |
D | BleConnection.java | 129 final CharacteristicWriteResultCallback callback; field in BleConnection.CharacteristicWriteRequest 134 CharacteristicWriteResultCallback callback) { in CharacteristicWriteRequest() argument 137 this.callback = callback; in CharacteristicWriteRequest() 142 lastCharacteristicWriteCallback = this.callback; in processRequest() 150 final CharacteristicReadResultCallback callback; field in BleConnection.CharacteristicReadRequest 154 CharacteristicReadResultCallback callback) { in CharacteristicReadRequest() argument 156 this.callback = callback; in CharacteristicReadRequest() 161 lastCharacteristicReadCallback = this.callback; in processRequest() 169 final DescriptorWriteResultCallback callback; field in BleConnection.DescriptorWriteRequest 174 DescriptorWriteResultCallback callback) { in DescriptorWriteRequest() argument [all …]
|
/device/google/gs201/usb/gadget/ |
D | UsbGadget.cpp | 127 ScopedAStatus UsbGadget::getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback> &callback, in getCurrentUsbFunctions() argument 129 ScopedAStatus ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 139 ScopedAStatus UsbGadget::getUsbSpeed(const shared_ptr<IUsbGadgetCallback> &callback, in getUsbSpeed() argument 164 if (callback) { in getUsbSpeed() 165 ScopedAStatus ret = callback->getUsbSpeedCb(mUsbSpeed, in_transactionId); in getUsbSpeed() 364 ScopedAStatus UsbGadget::reset(const shared_ptr<IUsbGadgetCallback> &callback, in reset() argument 370 if (callback) in reset() 371 callback->resetCb(Status::ERROR, in_transactionId); in reset() 380 if (callback) in reset() 381 callback->resetCb(Status::ERROR, in_transactionId); in reset() [all …]
|
D | UsbGadget.h | 104 const shared_ptr<IUsbGadgetCallback> &callback, 107 ScopedAStatus getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback> &callback, 110 ScopedAStatus reset(const shared_ptr<IUsbGadgetCallback> &callback, 113 ScopedAStatus getUsbSpeed(const shared_ptr<IUsbGadgetCallback> &callback, 125 Status setupFunctions(long functions, const shared_ptr<IUsbGadgetCallback> &callback,
|
/device/google/zuma/usb/gadget/ |
D | UsbGadget.cpp | 127 ScopedAStatus UsbGadget::getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback> &callback, in getCurrentUsbFunctions() argument 129 ScopedAStatus ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 139 ScopedAStatus UsbGadget::getUsbSpeed(const shared_ptr<IUsbGadgetCallback> &callback, in getUsbSpeed() argument 164 if (callback) { in getUsbSpeed() 165 ScopedAStatus ret = callback->getUsbSpeedCb(mUsbSpeed, in_transactionId); in getUsbSpeed() 364 ScopedAStatus UsbGadget::reset(const shared_ptr<IUsbGadgetCallback> &callback, in reset() argument 370 if (callback) in reset() 371 callback->resetCb(Status::ERROR, in_transactionId); in reset() 380 if (callback) in reset() 381 callback->resetCb(Status::ERROR, in_transactionId); in reset() [all …]
|
D | UsbGadget.h | 104 const shared_ptr<IUsbGadgetCallback> &callback, 107 ScopedAStatus getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback> &callback, 110 ScopedAStatus reset(const shared_ptr<IUsbGadgetCallback> &callback, 113 ScopedAStatus getUsbSpeed(const shared_ptr<IUsbGadgetCallback> &callback, 125 Status setupFunctions(long functions, const shared_ptr<IUsbGadgetCallback> &callback,
|
/device/google/gs101/usb/gadget/ |
D | UsbGadget.cpp | 127 ScopedAStatus UsbGadget::getCurrentUsbFunctions(const shared_ptr<IUsbGadgetCallback> &callback, in getCurrentUsbFunctions() argument 129 ScopedAStatus ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 139 ScopedAStatus UsbGadget::getUsbSpeed(const shared_ptr<IUsbGadgetCallback> &callback, in getUsbSpeed() argument 164 if (callback) { in getUsbSpeed() 165 ScopedAStatus ret = callback->getUsbSpeedCb(mUsbSpeed, in_transactionId); in getUsbSpeed() 364 ScopedAStatus UsbGadget::reset(const shared_ptr<IUsbGadgetCallback> &callback, in reset() argument 370 if (callback) in reset() 371 callback->resetCb(Status::ERROR, in_transactionId); in reset() 380 if (callback) in reset() 381 callback->resetCb(Status::ERROR, in_transactionId); in reset() [all …]
|
/device/google/cuttlefish/guest/services/cf_satellite_service/src/com/google/android/telephony/satellite/ |
D | CFSatelliteService.java | 158 @NonNull IBooleanConsumer callback) { in requestIsSatelliteEnabled() argument 160 runWithExecutor(() -> callback.accept(mIsEnabled)); in requestIsSatelliteEnabled() 165 @NonNull IBooleanConsumer callback) { in requestIsSatelliteSupported() argument 167 runWithExecutor(() -> callback.accept(mIsSupported)); in requestIsSatelliteSupported() 172 @NonNull ISatelliteCapabilitiesConsumer callback) { in requestSatelliteCapabilities() argument 178 runWithExecutor(() -> callback.accept(capabilities)); in requestSatelliteCapabilities() 214 @NonNull IBooleanConsumer callback) { in requestIsSatelliteProvisioned() argument 216 runWithExecutor(() -> callback.accept(mIsProvisioned)); in requestIsSatelliteProvisioned() 234 @NonNull IIntegerConsumer callback) { in requestSatelliteModemState() argument 236 runWithExecutor(() -> callback.accept(mModemState)); in requestSatelliteModemState() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | hostIntfSpi.c | 41 HostIntfCommCallbackF callback = cookie; in hostIntfSpiRxCallback() local 42 callback(NANOHUB_PACKET_SIZE(packet->len), err); in hostIntfSpiRxCallback() 47 HostIntfCommCallbackF callback = cookie; in hostIntfSpiTxCallback() local 48 callback(gTxSize, err); in hostIntfSpiTxCallback() 57 HostIntfCommCallbackF callback) in hostIntfSpiRxPacket() argument 65 err = spiSlaveRxTx(gSpi, &gPacket, 1, hostIntfSpiRxCallback, callback); in hostIntfSpiRxPacket() 67 callback(0, err); in hostIntfSpiRxPacket() 73 HostIntfCommCallbackF callback) in hostIntfSpiTxPacket() argument 83 callback); in hostIntfSpiTxPacket()
|
D | hostIntfI2c.c | 31 HostIntfCommCallbackF callback = cookie; in hostIntfI2cRxCallback() local 34 callback(rx, err); in hostIntfI2cRxCallback() 39 HostIntfCommCallbackF callback = cookie; in hostIntfI2cTxCallback() local 42 callback(tx, err); in hostIntfI2cTxCallback() 51 HostIntfCommCallbackF callback) in hostIntfI2cRxPacket() argument 54 callback); in hostIntfI2cRxPacket() 59 HostIntfCommCallbackF callback) in hostIntfI2cTxPacket() argument 62 callback); in hostIntfI2cTxPacket()
|
D | spi.c | 156 SpiCbkF callback = state->rxTxCallback; in spiMasterDone() local 160 callback(cookie, err); in spiMasterDone() 214 SpiCbkF callback = state->finishCallback; in spiSlaveCsInactive() local 220 callback(cookie, 0); in spiSlaveCsInactive() 247 SpiCbkF callback = state->rxTxCallback; in spiSlaveIdle() local 254 callback(cookie, err); in spiSlaveIdle() 275 SpiCbkF callback, void *cookie) in spiSetupRxTx() argument 280 state->rxTxCallback = callback; in spiSetupRxTx() 318 const struct SpiMode *mode, SpiCbkF callback, in spiMasterRxTx() argument 327 ret = spiSetupRxTx(state, packets, n, callback, cookie); in spiMasterRxTx() [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | i2c.h | 33 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie); 35 const void *txBuf, size_t txSize, I2cCallbackF callback, void *cookie) in i2cMasterTx() argument 37 return i2cMasterTxRx(busId, addr, txBuf, txSize, NULL, 0, callback, cookie);} in i2cMasterTx() 39 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie) in i2cMasterRx() argument 41 return i2cMasterTxRx(busId, addr, NULL, 0, rxBuf, rxSize, callback, cookie); in i2cMasterRx() 48 I2cCallbackF callback, void *cookie); 50 I2cCallbackF callback, void *cookie); 52 I2cCallbackF callback, void *cookie);
|
/device/google/sunfish/usb/gadget/ |
D | UsbGadget.cpp | 48 Return<void> UsbGadget::getCurrentUsbFunctions(const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 49 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 240 const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 283 if (callback) in setupFunctions() 284 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 297 if (callback) { in setupFunctions() 299 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 309 const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 328 if (callback == NULL) in setCurrentUsbFunctions() 330 Return<void> ret = callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
/device/google/bramble/usb/gadget/ |
D | UsbGadget.cpp | 48 Return<void> UsbGadget::getCurrentUsbFunctions(const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 49 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 240 const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 283 if (callback) in setupFunctions() 284 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 297 if (callback) { in setupFunctions() 299 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 309 const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 328 if (callback == NULL) in setCurrentUsbFunctions() 330 Return<void> ret = callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
/device/google/coral/usb/gadget/ |
D | UsbGadget.cpp | 48 Return<void> UsbGadget::getCurrentUsbFunctions(const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 49 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 229 const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 272 if (callback) in setupFunctions() 273 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 286 if (callback) { in setupFunctions() 288 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 298 const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 317 if (callback == NULL) in setCurrentUsbFunctions() 319 Return<void> ret = callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
/device/google/barbet/usb/gadget/ |
D | UsbGadget.cpp | 48 Return<void> UsbGadget::getCurrentUsbFunctions(const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 49 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 240 const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 283 if (callback) in setupFunctions() 284 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 297 if (callback) { in setupFunctions() 299 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 309 const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 328 if (callback == NULL) in setCurrentUsbFunctions() 330 Return<void> ret = callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
/device/google/redfin/usb/gadget/ |
D | UsbGadget.cpp | 48 Return<void> UsbGadget::getCurrentUsbFunctions(const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 49 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 240 const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 283 if (callback) in setupFunctions() 284 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 297 if (callback) { in setupFunctions() 299 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 309 const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 328 if (callback == NULL) in setCurrentUsbFunctions() 330 Return<void> ret = callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 143 I2cCallbackF callback; member 224 I2cCallbackF callback; member 360 state->rx.callback(state->rx.cookie, tx, rx, err); in stmI2cInvokeRxCallback() 367 state->tx.callback(state->tx.cookie, tx, rx, err); in stmI2cInvokeTxCallback() 530 state->tx.callback = xfer->callback; in stmI2cMasterTxRxDone() 535 state->rx.callback = NULL; in stmI2cMasterTxRxDone() 600 size_t size, DmaCallbackF callback, bool rx, bool last) in stmI2cMasterStartDma() argument 613 dmaStart(I2C_DMA_BUS, dmaCfg->stream, buf, size, &mode, callback, pdev); in stmI2cMasterStartDma() 912 I2cCallbackF callback, void *cookie) in i2cMasterTxRx() argument 936 xfer->callback = callback; in i2cMasterTxRx() [all …]
|
D | dma.c | 87 DmaCallbackF callback; member 202 state->callback(state->cookie, regs->NDTR, -EIO); in dmaIsrTeif() 215 state->callback(state->cookie, regs->NDTR, 0); in dmaIsrTcif() 223 if (UNLIKELY(!state->callback)) { in dmaIsr() 239 const struct dmaMode *mode, DmaCallbackF callback, void *cookie) in dmaStart() argument 245 state->callback = callback; in dmaStart()
|
/device/generic/goldfish/gnss/ |
D | GnssMeasurementInterface.cpp | 107 const std::shared_ptr<IGnssMeasurementCallback>& callback, in setCallback() argument 110 return setCallbackImpl(callback, enableCorrVecOutputs, 1000); in setCallback() 119 const std::shared_ptr<IGnssMeasurementCallback>& callback, in setCallbackWithOptions() argument 121 return setCallbackImpl(callback, options.enableCorrVecOutputs, options.intervalMs); in setCallbackWithOptions() 144 const std::shared_ptr<IGnssMeasurementCallback>& callback, in setCallbackImpl() argument 147 if (!callback) { in setCallbackImpl() 173 mThread = std::thread([this, callback, interval](){ in setCallbackImpl() 184 callback->gnssMeasurementCb(mGnssData[gnssDataIndex]); in setCallbackImpl()
|
/device/generic/car/emulator/usbpt/protocan/protocanbus/ |
D | VehicleBus.cpp | 37 const std::shared_ptr<IVehicleBusCallback>& callback) { in setOnNewPropValuesCallback() argument 46 AIBinder_linkToDeath(callback->asBinder().get(), mDeathRecipient.get(), in setOnNewPropValuesCallback() 48 mVehicleBusCallback = callback; in setOnNewPropValuesCallback() 53 const std::shared_ptr<IVehicleBusCallback>& callback) { in unsetOnNewPropValuesCallback() argument 56 if (mVehicleBusCallback != callback) { in unsetOnNewPropValuesCallback() 61 AIBinder_unlinkToDeath(callback->asBinder().get(), mDeathRecipient.get(), in unsetOnNewPropValuesCallback()
|
/device/google/cuttlefish/host/commands/cvd/ |
D | epoll_loop.cpp | 39 EpollCallback callback) { in Register() argument 43 callbacks_[fd] = std::move(callback); in Register() 52 EpollCallback callback; in HandleEvent() local 57 callback = std::move(it->second); in HandleEvent() 60 CF_EXPECT(callback(*event)); in HandleEvent()
|
/device/google/felix/vibrator/cs40l26/ |
D | Vibrator.h | 147 const std::shared_ptr<IVibratorCallback> &callback) override; 149 const std::shared_ptr<IVibratorCallback> &callback, 160 const std::shared_ptr<IVibratorCallback> &callback) override; 173 const std::shared_ptr<IVibratorCallback> &callback) override; 182 const std::shared_ptr<IVibratorCallback> &callback); 195 const std::shared_ptr<IVibratorCallback> &callback, 199 const std::shared_ptr<IVibratorCallback> &callback); 202 void waitForComplete(std::shared_ptr<IVibratorCallback> &&callback);
|
/device/google/cuttlefish/host/libs/web/http_client/ |
D | http_client.cc | 44 HttpClient::DataCallback* callback = (HttpClient::DataCallback*)userdata; in curl_to_function_cb() local 45 if (!(*callback)(ptr, nmemb)) { in curl_to_function_cb() 119 DataCallback callback, const std::string& url, in DownloadToCallback() argument 121 return DownloadToCallback(HttpMethod::kGet, callback, url, headers); in DownloadToCallback() 129 auto callback = [&stream, path](char* data, size_t size) -> bool { in DownloadToFile() local 137 auto http_response = CF_EXPECT(DownloadToCallback(callback, url, headers)); in DownloadToFile() 202 auto callback = [&stream](char* data, size_t size) -> bool { in DownloadToString() local 211 DownloadToCallback(method, callback, url, headers, data_to_write)); in DownloadToString() 216 HttpMethod method, DataCallback callback, const std::string& url, in DownloadToCallback() argument 226 CF_EXPECT(callback(nullptr, 0) /* Signal start of data */, in DownloadToCallback() [all …]
|
/device/generic/vulkan-cereal/fake-android-guest/libvulkan/ |
D | debug_report.cpp | 69 node->callback(flags, object_type, object, location, message_code, in Message() 123 VkDebugReportCallbackEXT* callback) { in CreateDebugReportCallbackEXT() argument 146 *callback = callbacks.GetHandle(node); in CreateDebugReportCallbackEXT() 152 VkDebugReportCallbackEXT callback, in DestroyDebugReportCallbackEXT() argument 154 if (callback == VK_NULL_HANDLE) in DestroyDebugReportCallbackEXT() 158 auto node = callbacks.FromHandle(callback); in DestroyDebugReportCallbackEXT()
|
/device/google/contexthub/firmware/os/platform/native/ |
D | i2c.c | 41 I2cCallbackF callback, void *cookie) in i2cMasterTxRx() argument 57 I2cCallbackF callback, void *cookie) in i2cSlaveEnableRx() argument 62 int i2cSlaveTxPreamble(I2cBus busId, uint8_t byte, I2cCallbackF callback, void *cookie) in i2cSlaveTxPreamble() argument 67 int i2cSlaveTxPacket(I2cBus busId, const void *txBuf, size_t txSize, I2cCallbackF callback, void *c… in i2cSlaveTxPacket() argument
|