Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 269) sorted by relevance

1234567891011

/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
62 * This method request the service to read from the synchronized read/write
65 * @param count Number to messages to read.
67 * @return ret True if the read operation was successful.
82 * This method request the service to read from the unsynchronized flavor of
85 * @param count Number to messages to read.
87 * @return ret Will be True if the read operation was successful.
92 * This method requests the service to trigger a blocking read.
94 * @param count Number of messages to read.
[all …]
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
49 * This method request the service to read from the FMQ.
50 * @param count Number to messages to read.
51 * @ret Will be true if the read operation was successful, false otherwise.
/hardware/interfaces/health/1.0/
Dtypes.hal90 * batteryStatusPath - file path to read battery charging status.
97 * batteryHealthPath - file path to read battery health.
103 * batteryPresentPath - file path to read battery present status.
110 * batteryCapacityPath - file path to read remaining battery capacity.
116 * batteryVoltagePath - file path to read battery voltage.
122 * batteryTemperaturePath - file path to read battery temperature in tenths
128 * batteryTechnologyPath - file path to read battery technology.
134 * batteryCurrentNowPath - file path to read battery instantaneous current.
140 * batteryCurrentAvgPath - file path to read battery average current.
146 * batteryChargeCounterPath - file path to read battery accumulated charge.
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DTestCommandReader.cpp43 auto loc = read(); in parse()
52 uint32_t composition = read(); in parse()
60 read(); // displayRequests, ignored for now in parse()
65 ASSERT_EQ(1u, read()); in parse()
/hardware/qcom/sdm845/thermal/
Dthermal.c49 ssize_t read; in get_num_cpus() local
59 if ((read = getline(&line, &len, file)) != -1) { in get_num_cpus()
60 if (strnlen(line, read) < 3 || strncmp(line, "0-", 2) != 0 || !isdigit(line[2])) in get_num_cpus()
82 ssize_t read; in get_cpu_usages() local
105 while ((read = getline(&line, &len, file)) != -1) { in get_cpu_usages()
106 if (strnlen(line, read) < 4 || strncmp(line, "cpu", 3) != 0 || !isdigit(line[3])) { in get_cpu_usages()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dmsg_formatting.h209 inline std::tuple<ReadStream, ReadStream::ptr_t, size_t> read(ReadStream in) {
226 std::tie(in, pos, read_size) = read(in);
240 std::tie(std::get<0>(result), pos, read_size) = read(in);
268 inline std::tuple<ReadStream, HardwareAuthToken> read(Message<HardwareAuthToken>, ReadStream in_) {
275 std::tie(in, pos, read_size) = read(in);
310 inline std::tuple<ReadStream, ResponseCode> read(Message<ResponseCode>, ReadStream in) {
318 inline std::tuple<ReadStream, hidl_vec<uint8_t>> read(Message<hidl_vec<uint8_t>>, ReadStream in) {
326 inline std::tuple<ReadStream, hidl_vec<UIOption>> read(Message<hidl_vec<UIOption>>, ReadStream in) {
336 inline std::tuple<ReadStream, hidl_string> read(Message<hidl_string>, ReadStream in) {
342 std::tie(in_, pos, read_size) = read(in);
[all …]
/hardware/interfaces/weaver/1.0/
DIWeaver.hal19 * Weaver provides secure storage of secret values that may only be read if the
61 * Throttling must be used to limit the frequency of failed read attempts.
66 * @param slotId of the slot to read from.
68 * @return status is OK if the value was successfully read, INCORRECT_KEY if
70 * throttling is active or FAILED if the read was unsuccessful for
72 * @return readResponse contains the value read and the timeout to wait
77 read(uint32_t slotId, vec<uint8_t> key)
/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.cpp323 in.elements.read(reinterpret_cast<char*>(&blob_length), sizeof(uint32_t)); in deserializeParamValue()
325 in.elements.read(reinterpret_cast<char*>(&offset), sizeof(uint32_t)); in deserializeParamValue()
327 in.indirect.read(reinterpret_cast<char*>(&(*blob)[0]), blob->size()); in deserializeParamValue()
332 in.elements.read(reinterpret_cast<char*>(value), sizeof(T)); in deserializeParamValue()
370 in.elements.read(reinterpret_cast<char*>(&param->tag), sizeof(Tag)); in deserialize()
376 in.read(reinterpret_cast<char*>(&indirect_size), sizeof(uint32_t)); in deserialize()
382 in.read(&indirect_buffer[0], indirect_buffer.size()); in deserialize()
385 in.read(reinterpret_cast<char*>(&element_count), sizeof(uint32_t)); in deserialize()
387 in.read(reinterpret_cast<char*>(&elements_size), sizeof(uint32_t)); in deserialize()
394 in.read(&elements_buffer[0], elements_buffer.size()); in deserialize()
/hardware/qcom/display/msm8996/libqdutils/
Dqd_utils.cpp81 ssize_t read; in querySDEInfo() local
83 while ((read = getline(&line, &len, fileptr)) != -1) { in querySDEInfo()
159 size = (int)read(edidFile, (char*)buffer, EDID_RAW_DATA_SIZE); in getEdidRawData()
/hardware/qcom/display/msm8996/sdm/include/utils/
Dsys.h60 typedef ssize_t (*read)(int, void *, size_t); typedef
74 static read read_;
/hardware/qcom/display/msm8909/sdm/include/utils/
Dsys.h65 typedef ssize_t (*read)(int, void *, size_t); typedef
80 static read read_;
/hardware/qcom/display/msm8998/sdm/include/utils/
Dsys.h65 typedef ssize_t (*read)(int, void *, size_t); typedef
80 static read read_;
/hardware/qcom/sdm845/display/sdm/include/utils/
Dsys.h65 typedef ssize_t (*read)(int, void *, size_t); typedef
80 static read read_;
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dsys.h65 typedef ssize_t (*read)(int, void *, size_t); typedef
80 static read read_;
/hardware/interfaces/audio/2.0/
DIStreamIn.hal58 uint64_t read; // READ command, amount of bytes to read, >= 0.
65 * of 'read' operation.
68 * - OK, read operation was successful;
76 uint64_t read; // READ command, amount of bytes read, >= 0.
93 * (e.g. amount of bytes actually read or error code).
/hardware/qcom/display/msm8996/sdm/libs/utils/
Dsys.cpp55 Sys::read Sys::read_ = ::read;
/hardware/qcom/display/msm8998/sdm/libs/utils/
Dsys.cpp56 Sys::read Sys::read_ = ::read;
/hardware/qcom/display/msm8909/sdm/libs/utils/
Dsys.cpp56 Sys::read Sys::read_ = ::read;
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Dsys.cpp56 Sys::read Sys::read_ = ::read;
/hardware/qcom/sdm845/display/sdm/libs/utils/
Dsys.cpp56 Sys::read Sys::read_ = ::read;
/hardware/interfaces/audio/4.0/
DIStreamIn.hal58 uint64_t read; // READ command, amount of bytes to read, >= 0.
65 * of 'read' operation.
68 * - OK, read operation was successful;
76 uint64_t read; // READ command, amount of bytes read, >= 0.
99 * (e.g. amount of bytes actually read or error code).
/hardware/nxp/nfc/halimpl/tml/
DphTmlNfc_i2c.cc154 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
173 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
189 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read()
/hardware/libhardware/modules/thermal/
Dthermal.c88 ssize_t read; in get_cpu_usages() local
102 while ((read = getline(&line, &len, file)) != -1) { in get_cpu_usages()
104 if (strnlen(line, read) < 4 || strncmp(line, "cpu", 3) != 0 || !isdigit(line[3])) { in get_cpu_usages()
/hardware/interfaces/bluetooth/1.0/default/
Dhci_packetizer.cc55 read(fd, preamble_ + bytes_read_, in OnDataReady()
81 ssize_t bytes_read = TEMP_FAILURE_RETRY(read( in OnDataReady()
/hardware/interfaces/keymaster/4.0/support/
Dauthorization_set.cpp338 in.elements.read(reinterpret_cast<char*>(&blob_length), sizeof(uint32_t)); in deserializeParamValue()
340 in.elements.read(reinterpret_cast<char*>(&offset), sizeof(uint32_t)); in deserializeParamValue()
342 in.indirect.read(reinterpret_cast<char*>(&(*blob)[0]), blob->size()); in deserializeParamValue()
348 in.elements.read(reinterpret_cast<char*>(value), sizeof(T)); in deserializeParamValue()
391 in.elements.read(reinterpret_cast<char*>(&param->tag), sizeof(Tag)); in deserialize()
397 in.read(reinterpret_cast<char*>(&indirect_size), sizeof(uint32_t)); in deserialize()
403 in.read(&indirect_buffer[0], indirect_buffer.size()); in deserialize()
406 in.read(reinterpret_cast<char*>(&element_count), sizeof(uint32_t)); in deserialize()
408 in.read(reinterpret_cast<char*>(&elements_size), sizeof(uint32_t)); in deserialize()
415 in.read(&elements_buffer[0], elements_buffer.size()); in deserialize()

1234567891011