Home
last modified time | relevance | path

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

12345678910>>...12

/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()
/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.cc126 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundAclData()
127 TEMP_FAILURE_RETRY(write(fake_uart_, payload, strlen(payload))); in WriteAndExpectInboundAclData()
151 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundScoData()
152 TEMP_FAILURE_RETRY(write(fake_uart_, payload, strlen(payload))); in WriteAndExpectInboundScoData()
175 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundEvent()
176 TEMP_FAILURE_RETRY(write(fake_uart_, payload, strlen(payload))); in WriteAndExpectInboundEvent()
197 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundIsoData()
198 TEMP_FAILURE_RETRY(write(fake_uart_, payload, strlen(payload))); in WriteAndExpectInboundIsoData()
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.cpp115 const auto writeRet = weaver->write(lastSlot, KEY, VALUE); in TEST_P()
126 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_P()
154 const auto initialWriteRet = weaver->write(slotId, WRONG_KEY, VALUE); in TEST_P()
158 const auto overwriteRet = weaver->write(slotId, KEY, OTHER_VALUE); in TEST_P()
185 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_P()
222 const auto writeRet = weaver->write(config.slots, KEY, VALUE); in TEST_P()
279 const auto writeRet = weaver->write(slotId, bigKey, VALUE); in TEST_P()
300 const auto writeRet = weaver->write(slotId, KEY, bigValue); in TEST_P()
/hardware/interfaces/nfc/1.0/vts/functional/
DVtsHalNfcV1_0TargetTest.cpp118 EXPECT_EQ(data.size(), nfc_->write(data)); in SetUp()
186 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
221 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
257 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
277 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
294 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
313 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
323 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
341 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
358 EXPECT_EQ(data.size(), nfc_->write(data)); in TEST_P()
[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/sm8150/display/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/display/msm8909/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/sdm845/display/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/msm8909/sdm/libs/utils/
Dsys.cpp57 Sys::write Sys::write_ = ::write;
/hardware/qcom/display/msm8998/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/qcom/display/msm8909w_3100/sdm/libs/utils/
Dsys.cpp57 Sys::write Sys::write_ = ::write;
/hardware/qcom/sm8150/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)

12345678910>>...12