Home
last modified time | relevance | path

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

1234567891011

/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dcbor.h244 inline WriteState write(const WriteState& wState, const uint8_t& v) {
247 inline WriteState write(const WriteState& wState, const int8_t& v) {
250 inline WriteState write(const WriteState& wState, const uint16_t& v) {
253 inline WriteState write(const WriteState& wState, const int16_t& v) {
256 inline WriteState write(const WriteState& wState, const uint32_t& v) {
259 inline WriteState write(const WriteState& wState, const int32_t& v) {
262 inline WriteState write(const WriteState& wState, const uint64_t& v) {
265 inline WriteState write(const WriteState& wState, const int64_t& v) {
270 WriteState write(WriteState wState, const StringBuffer<T, TextStr>& v) {
282 WriteState write(WriteState wState, const StringBuffer<T, ByteStr>& v) {
[all …]
Dmsg_formatting.h189 inline WriteStream write(WriteStream out, const uint8_t* buffer, size_t size) {
205 WriteStream write(WriteStream out, const uint8_t (&v)[size]) {
206 return write(out, v, size);
252 return write(out, reinterpret_cast<const uint8_t*>(vec.data()), vec.size() * sizeof(T));
295 inline WriteStream write(WriteStream out, const HardwareAuthToken& v) {
313 inline WriteStream write(WriteStream out, const ResponseCode& v) {
314 return write(out, bytes_cast(v));
321 inline WriteStream write(WriteStream out, const hidl_vec<uint8_t>& v) {
330 inline WriteStream write(WriteStream out, const hidl_vec<UIOption>& v) {
354 inline WriteStream write(WriteStream out, const hidl_string& v) {
[all …]
/hardware/interfaces/confirmationui/support/test/
Dandroid_cbor_test.cpp70 return write(state, // in writeTest()
108 state = write(state, text(malformed)); in TEST()
116 state = write(state, text(malformed)); in TEST()
124 state = write(state, text(neat)); in TEST()
132 state = write(state, text(neat)); in TEST()
140 state = write(state, text(neat)); in TEST()
148 state = write(state, text(malformed)); in TEST()
156 state = write(state, text(malformed)); in TEST()
Dmsg_formatting_test.cpp31 using android::hardware::confirmationui::support::write;
74 out = write( in TEST()
124 out = write(Message<HardwareAuthToken>(), out, expected); in TEST()
/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()
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h113 if (!mQueue->write(mData.get(), mDataWritten)) { in writeQueue()
121 if (!newQueue->isValid() || !newQueue->write(mData.get(), mDataWritten)) { in writeQueue()
158 write(location); in setError()
167 write(state); in setPresentOrValidateResult()
201 write(displayRequestMask); in setDisplayRequests()
204 write(static_cast<int32_t>(layerRequestMasks[currentLayer + i])); in setDisplayRequests()
257 write(slot); in setOutputBuffer()
300 write(slot); in setLayerBuffer()
401 write(z); in setLayerZOrder()
413 write(slot); in setClientTargetInternal()
[all …]
/hardware/interfaces/weaver/1.0/vts/functional/
DVtsHalWeaverV1_0TargetTest.cpp128 const auto writeRet = weaver->write(lastSlot, KEY, VALUE); in TEST_F()
139 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_F()
167 const auto initialWriteRet = weaver->write(slotId, WRONG_KEY, VALUE); in TEST_F()
171 const auto overwriteRet = weaver->write(slotId, KEY, OTHER_VALUE); in TEST_F()
198 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_F()
235 const auto writeRet = weaver->write(config.slots, KEY, VALUE); in TEST_F()
292 const auto writeRet = weaver->write(slotId, bigKey, VALUE); in TEST_F()
313 const auto writeRet = weaver->write(slotId, KEY, bigValue); in TEST_F()
/hardware/interfaces/nfc/1.0/vts/functional/
DVtsHalNfcV1_0TargetTest.cpp132 EXPECT_EQ(data.size(), nfc_->write(data)); in SetUp()
200 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
235 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
271 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
291 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
308 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
327 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
337 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
355 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
372 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_F()
[all …]
/hardware/qcom/display/msm8996/sdm/include/utils/
Dsys.h61 typedef ssize_t (*write)(int, const void *, size_t); typedef
75 static write write_;
/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()
/hardware/qcom/display/msm8909/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/qcom/sdm845/display/sdm/include/utils/
Dsys.h66 typedef ssize_t (*write)(int, const void *, size_t); typedef
81 static write write_;
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dsys.h66 typedef ssize_t (*write)(int, const void *, size_t); typedef
81 static write write_;
/hardware/qcom/display/msm8996/sdm/libs/utils/
Dsys.cpp56 Sys::write Sys::write_ = ::write;
/hardware/qcom/display/msm8998/sdm/libs/utils/
Dsys.cpp57 Sys::write Sys::write_ = ::write;
/hardware/qcom/display/msm8909/sdm/libs/utils/
Dsys.cpp57 Sys::write Sys::write_ = ::write;
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Dsys.cpp57 Sys::write Sys::write_ = ::write;
/hardware/qcom/sdm845/display/sdm/libs/utils/
Dsys.cpp57 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()

1234567891011