Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 202) sorted by relevance

123456789

/hardware/interfaces/nfc/1.0/
DINfc.hal28 * the write() call.
37 @callflow(next={"write", "coreInitialized", "prediscover", "powerCycle", "controlGranted"})
41 * Performs an NCI write.
48 @callflow(next={"write", "prediscover", "coreInitialized", "close", "powerCycle",
50 write(NfcData data) generates (uint32_t retval);
62 @callflow(next={"write", "prediscover", "close"})
76 @callflow(next={"write", "close", "coreInitialized", "powerCycle", "controlGranted"})
95 @callflow(next={"write", "close", "prediscover", "coreInitialized", "powerCycle"})
104 @callflow(next={"write", "coreInitialized", "prediscover", "controlGranted", "close"})
/hardware/interfaces/tests/msgq/1.0/
DITestMsgQ.hal26 * This method requests the service to set up a synchronous read/write
52 * This method request the service to write into the synchronized read/write
55 * @param count Number to messages to write.
57 * @return ret True if the write operation was successful.
62 * This method request the service to read from the synchronized read/write
72 * This method request the service to write into the unsynchronized flavor
75 * @param count Number to messages to write.
77 * @return ret True if the write operation was successful.
DIBenchmarkMsgQ.hal21 * This method requests the service to set up Synchronous read/write
31 * This method requests the service to set up Synchronous read/write
41 * This method request the service to write into the FMQ.
42 * @param count Number to messages to write.
43 * @return ret Will be true if the write operation was successful,
/hardware/interfaces/bluetooth/1.0/default/test/
Dh4_protocol_unittest.cc122 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundAclData()
123 TEMP_FAILURE_RETRY(write(fake_uart_, payload, strlen(payload))); in WriteAndExpectInboundAclData()
147 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundScoData()
148 TEMP_FAILURE_RETRY(write(fake_uart_, payload, strlen(payload))); in WriteAndExpectInboundScoData()
171 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundEvent()
172 TEMP_FAILURE_RETRY(write(fake_uart_, payload, strlen(payload))); in WriteAndExpectInboundEvent()
Dmct_protocol_unittest.cc128 write(fake_uart_[CH_ACL_IN], preamble, sizeof(preamble))); in WriteAndExpectInboundAclData()
129 TEMP_FAILURE_RETRY(write(fake_uart_[CH_ACL_IN], payload, strlen(payload))); in WriteAndExpectInboundAclData()
153 TEMP_FAILURE_RETRY(write(fake_uart_[CH_EVT], preamble, sizeof(preamble))); in WriteAndExpectInboundEvent()
154 TEMP_FAILURE_RETRY(write(fake_uart_[CH_EVT], payload, strlen(payload))); in WriteAndExpectInboundEvent()
Dasync_fd_watcher_unittest.cc91 n = write(fd, "1", 1); in ReadIncomingMessage()
179 int n = write(socket_cli_fd, client_buffer_, strlen(client_buffer_)); in WriteFromClient()
310 TEMP_FAILURE_RETRY(write(sockfd[1], one_buf, sizeof(one_buf))); in TEST_F()
318 TEMP_FAILURE_RETRY(write(sockfd[0], two_buf, sizeof(two_buf))); in TEST_F()
/hardware/interfaces/graphics/composer/2.1/default/
DIComposerCommandBuffer.h114 if (!mQueue->write(mData.get(), mDataWritten)) { in writeQueue()
123 !newQueue->write(mData.get(), mDataWritten)) { in writeQueue()
167 write(location); in setError()
175 write(state); in setPresentOrValidateResult()
216 write(displayRequestMask); in setDisplayRequests()
219 write(static_cast<int32_t>(layerRequestMasks[currentLayer + i])); in setDisplayRequests()
278 write(slot); in setClientTarget()
297 write(slot); in setOutputBuffer()
351 write(slot); in setLayerBuffer()
477 write(z); in setLayerZOrder()
[all …]
/hardware/interfaces/weaver/1.0/vts/functional/
DVtsHalWeaverV1_0TargetTest.cpp114 const auto writeRet = weaver->write(lastSlot, KEY, VALUE); in TEST_F()
125 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_F()
153 const auto initialWriteRet = weaver->write(slotId, WRONG_KEY, VALUE); in TEST_F()
157 const auto overwriteRet = weaver->write(slotId, KEY, OTHER_VALUE); in TEST_F()
184 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_F()
221 const auto writeRet = weaver->write(config.slots, KEY, VALUE); in TEST_F()
278 const auto writeRet = weaver->write(slotId, bigKey, VALUE); in TEST_F()
299 const auto writeRet = weaver->write(slotId, KEY, bigValue); in TEST_F()
/hardware/interfaces/nfc/1.0/vts/functional/
DVtsHalNfcV1_0TargetTest.cpp116 EXPECT_EQ(data.size(), nfc_->write(data)); in SetUp()
193 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
228 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
264 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
284 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
301 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
320 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
330 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
348 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
365 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
[all …]
/hardware/libhardware_legacy/audio/
DAudioHardwareStub.cpp107 ::write(fd, result.string(), result.size()); in dumpInternals()
128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) in write() function in android_audio_legacy::AudioStreamOutStub
152 ::write(fd, result.string(), result.size()); in dump()
199 ::write(fd, result.string(), result.size()); in dump()
DAudioHardwareGeneric.cpp174 ::write(fd, result.string(), result.size()); in dumpInternals()
233 ssize_t AudioStreamOutGeneric::write(const void* buffer, size_t bytes) in write() function in android_audio_legacy::AudioStreamOutGeneric
236 return ssize_t(::write(mFd, buffer, bytes)); in write()
266 ::write(fd, result.string(), result.size()); in dump()
374 ::write(fd, result.string(), result.size()); in dump()
/hardware/libhardware_legacy/
Dpower.c103 ret = write(fd, id, strlen(id)); in acquire_wake_lock()
120 ssize_t len = write(g_fds[RELEASE_WAKE_LOCK], id, strlen(id)); in release_wake_lock()
/hardware/qcom/display/msm8996/sdm/include/utils/
Dsys.h61 typedef ssize_t (*write)(int, const void *, size_t); typedef
75 static write write_;
/hardware/qcom/display/sdm845/sdm/include/utils/
Dsys.h66 typedef ssize_t (*write)(int, const void *, size_t); typedef
81 static write write_;
/hardware/qcom/display/msm8998/sdm/include/utils/
Dsys.h66 typedef ssize_t (*write)(int, const void *, size_t); typedef
81 static write write_;
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DSocketComm.cpp159 int SocketComm::write(const std::vector<uint8_t>& data) { in write() function in android::hardware::automotive::vehicle::V2_0::impl::SocketComm
173 retVal = ::write(mCurSockFd, msgLenBytes, MSG_HEADER_LEN); in write()
176 retVal = ::write(mCurSockFd, data.data(), data.size()); in write()
/hardware/qcom/display/msm8996/sdm/libs/utils/
Dsys.cpp56 Sys::write Sys::write_ = ::write;
/hardware/interfaces/weaver/1.0/
DIWeaver.hal47 * @param slotId of the slot to write to.
48 * @param key to write to the slot.
49 * @param value to write to slot.
50 * @return status is OK if the write was successfully completed.
52 write(uint32_t slotId, vec<uint8_t> key, vec<uint8_t> value)
/hardware/qcom/wlan/qcwcn/wcnss-service/
Dwcnss_service.c124 wcount = write(fd_dev, (void *)&size, 4); in wcnss_write_cal_data()
144 wcount = write(fd_dev, buf, rcount); in wcnss_write_cal_data()
209 wcount = write(fd_file, buf, rcount); in wcnss_read_and_store_cal_data()
393 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters()
421 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters()
434 if (write(fd, msg, pos) < 0) in setup_wcnss_parameters()
/hardware/qcom/display/msm8998/sdm/libs/utils/
Dsys.cpp57 Sys::write Sys::write_ = ::write;
/hardware/qcom/display/sdm845/sdm/libs/utils/
Dsys.cpp57 Sys::write Sys::write_ = ::write;
/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.cpp217 out.elements.write(reinterpret_cast<const char*>(&buffer), sizeof(uint32_t)); in serializeParamValue()
228 out.elements.write(reinterpret_cast<const char*>(&buffer), sizeof(uint32_t)); in serializeParamValue()
231 if (blob_length) out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length); in serializeParamValue()
237 out.elements.write(reinterpret_cast<const char*>(&value), sizeof(T)); in serializeParamValue()
246 out.elements.write(reinterpret_cast<const char*>(&param.tag), sizeof(int32_t)); in serialize()
299 out.write(reinterpret_cast<const char*>(&indirect_size), sizeof(uint32_t)); in serialize()
305 out.write(reinterpret_cast<const char*>(&element_count), sizeof(uint32_t)); in serialize()
306 out.write(reinterpret_cast<const char*>(&elements_size), sizeof(uint32_t)); in serialize()
/hardware/interfaces/audio/2.0/
DIStreamOutCallback.hal20 * Asynchronous write callback interface.
24 * Non blocking write completed.
/hardware/interfaces/tests/msgq/1.0/default/
DBenchmarkMsgQ.cpp67 bool result = mFmqOutbox->write(data, count); in requestWrite()
125 } while (mFmqOutbox->write(data, kPacketSize64) == false); in QueueWriter()
141 while (mFmqOutbox->write(data, kPacketSize64) == false) in QueuePairReadWrite()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_color_manager.cpp87 out_parcel->write(data.payload, data.size); in MarshallStructIntoParcel()
313 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
328 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
336 size = ::write(socket_fd_, cmds.cmd_on, strlen(cmds.cmd_on)); in EnableActiveFeatures()

123456789