Lines Matching defs:write
325 status_t StreamOutHalHidl::write(const void *buffer, size_t bytes, size_t *written) {
330 // Can't determine the size for the MQ buffer. Wait for a non-empty write request.
331 ALOGW_IF(mCallback.unsafe_get(), "First call to async write with 0 bytes");
352 WriteCommand::WRITE, "write", static_cast<const uint8_t*>(buffer), bytes,
367 if (!mCommandMQ->write(&cmd)) {
368 ALOGE("command message queue write failed for \"%s\"", cmdName);
374 ALOGW("truncating write data from %lld to %lld due to insufficient data queue space",
378 if (!mDataMQ->write(data, dataSize)) {
379 ALOGE("data message queue write failed for \"%s\"", cmdName);
645 if (!mCommandMQ->write(¶ms)) {
646 ALOGW("command message queue write failed");