Home
last modified time | relevance | path

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

12345678

/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/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/msm8998/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/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DSocketComm.cpp100 std::vector<uint8_t> SocketComm::read() { in read() function in android::hardware::automotive::vehicle::V2_0::impl::SocketComm
106 numBytes = ::read(mCurSockFd, &msgSize, sizeof(msgSize)); in read()
123 numBytes = ::read(mCurSockFd, msg.data(), msgSize); in read()
DCommBase.h65 virtual std::vector<uint8_t> read() = 0;
DPipeComm.h52 std::vector<uint8_t> read() override;
/hardware/qcom/display/msm8998/sdm/libs/utils/
Dsys.cpp56 Sys::read Sys::read_ = ::read;
/hardware/interfaces/bluetooth/1.0/default/
Dhci_packetizer.cc54 read(fd, preamble_ + bytes_read_, in OnDataReady()
71 size_t bytes_read = TEMP_FAILURE_RETRY(read( in OnDataReady()
/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/qcom/display/msm8084/libqdutils/
Dmdp_version.cpp164 ssize_t read; in updatePanelInfo() local
166 while((read = getline((char **)&readLine, &len, in updatePanelInfo()
221 ssize_t read; in updateSysFsInfo() local
244 while((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
317 if((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
/hardware/qcom/display/msm8226/libqdutils/
Dmdp_version.cpp170 ssize_t read; in updatePanelInfo() local
172 while((read = getline((char **)&readLine, &len, in updatePanelInfo()
227 ssize_t read; in updateSysFsInfo() local
250 while((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
323 if((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamInALSA.cpp126 ssize_t AudioStreamInALSA::read(void *buffer, ssize_t bytes) in read() function in android_audio_legacy::AudioStreamInALSA
134 ssize_t read = 0; in read() local
368 read = mSurroundInputBufferIdx; in read()
370 n = pcm_read(mHandle->handle, &mSurroundInputBuffer[read], in read()
372 …ALOGV("pcm_read() returned n = %d buffer:%p size:%d", n, &mSurroundInputBuffer[read], period_bytes… in read()
383 read += period_samples; in read()
414 read = processed * sizeof(Word16); in read()
456 read += static_cast<ssize_t>((period_size)); in read()
465 } while (mHandle->handle && read < bytes); in read()
468 return read; in read()
/hardware/qcom/display/msm8909/libqdutils/
Dmdp_version.cpp184 ssize_t read; in updatePanelInfo() local
187 while((read = getline((char **)&readLine, &len, in updatePanelInfo()
261 ssize_t read; in updateSysFsInfo() local
284 while((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
364 if((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
/hardware/interfaces/automotive/vehicle/2.1/
Dtypes.hal61 * read from int32Values;
63 * read from floatValues.
68 * be read in the returned int32Values vector, 0 otherwise.
72 * can be read in the returned floatValues vector, 0 otherwise.
106 * read from int32Values;
108 * read from floatValues;
113 * be read in the returned int32Values vector, 0 otherwise.
117 * can be read in the returned floatValues vector, 0 otherwise.
185 * read from int32Values;
212 /** Defines which ignition monitors are available to be read. */
/hardware/qcom/display/msm8994/libqdutils/
Dmdp_version.cpp192 ssize_t read; in updatePanelInfo() local
195 while((read = getline((char **)&readLine, &len, in updatePanelInfo()
270 ssize_t read; in updateSysFsInfo() local
293 while((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
380 if((read = getline(&line, &len, sysfsFd)) != -1) { in updateSysFsInfo()
/hardware/interfaces/bluetooth/1.0/default/test/
Dasync_fd_watcher_unittest.cc84 int n = TEMP_FAILURE_RETRY(read(fd, server_buffer_, kBufferSize - 1)); in ReadIncomingMessage()
185 int n = read(socket_cli_fd, client_buffer_, 1); in AwaitServerResponse()
286 int n = TEMP_FAILURE_RETRY(read(fd, read_buf, sizeof(read_buf))); in TEST_F()
294 int n = TEMP_FAILURE_RETRY(read(fd, read_buf, sizeof(read_buf))); in TEST_F()
/hardware/qcom/display/msm8998/libqdutils/
Dqd_utils.cpp137 ssize_t read; in querySDEInfoFB() local
139 while ((read = getline(&line, &len, fileptr)) != -1) { in querySDEInfoFB()
198 size = (int)read(edidFile, (char*)buffer, EDID_RAW_DATA_SIZE); in getEdidRawData()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp2108 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) { in Play_Decoder()
2115 if ( read(inputBufferFileFd, &height, 4 ) == -1 ) { in Play_Decoder()
2131 if (read(inputBufferFileFd, &temp, 4) < 0) { in Play_Decoder()
2142 if ( read(inputBufferFileFd, &height, 4 ) < -1 ) { in Play_Decoder()
2146 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) { in Play_Decoder()
2846 count = read( inputBufferFileFd, &inputFrameSize[cnt], 1); in Read_Buffer_From_DAT_File()
2857 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize); in Read_Buffer_From_DAT_File()
2884 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
2899 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
2909 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1); in Read_Buffer_From_H264_Start_Code_File()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DRingBuffer.h34 ssize_t read(sensors_event_t *ev, size_t size);

12345678