Home
last modified time | relevance | path

Searched refs:to_write (Results 1 – 2 of 2) sorted by relevance

/packages/modules/adb/client/
Dcommandline.cpp955 size_t to_write = SIDELOAD_HOST_BLOCK_SIZE; in adb_sideload_install() local
957 to_write = sb.st_size - offset; in adb_sideload_install()
964 if (!ReadFdExactly(package_fd, buf, to_write)) { in adb_sideload_install()
969 if (!WriteFdExactly(device_fd, buf, to_write)) { in adb_sideload_install()
974 xfer += to_write; in adb_sideload_install()
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient.cc3609 uint16_t to_write = 0; in SendAudioDataToAF() local
3619 to_write = sizeof(int16_t) * mono->size(); in SendAudioDataToAF()
3621 to_write); in SendAudioDataToAF()
3627 to_write = sizeof(int16_t) * left->size(); in SendAudioDataToAF()
3629 to_write); in SendAudioDataToAF()
3642 to_write = sizeof(int16_t) * mixed.size(); in SendAudioDataToAF()
3644 le_audio_sink_hal_client_->SendData((uint8_t*)mixed.data(), to_write); in SendAudioDataToAF()
3648 if (written != to_write) log::error("not all data sinked"); in SendAudioDataToAF()