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