Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 11 of 11) sorted by relevance

/device/google/cuttlefish/guest/hals/gps/
Dgps_thread.cpp111 GpsDataReader reader; in gps_state_thread() local
117 memset(&reader, 0, sizeof(reader)); in gps_state_thread()
118 reader.fix.size = sizeof(reader.fix); in gps_state_thread()
135 reader_call_callback(&reader); in gps_state_thread()
159 reader.callback = NULL; in gps_state_thread()
167 reader.callback = state->callbacks.location_cb; in gps_state_thread()
168 D("Thread starting callback=%p", reader.callback); in gps_state_thread()
169 reader_call_callback(&reader); in gps_state_thread()
188 reader_accept_string(&reader, buff, ret); in gps_state_thread()
/device/generic/goldfish/audio/
Ddevice_port_sink.cpp92 size_t write(float volume, size_t bytesToWrite, IReader &reader) { in write()
113 LOG_ALWAYS_FATAL_IF(reader(produceChunk.data, szBytes) < szBytes); in write()
137 LOG_ALWAYS_FATAL_IF(reader(produceChunk.data, szBytes) < szBytes); in write()
226 size_t write(float volume, size_t bytesToWrite, IReader &reader) override { in write()
231 chunkSize = reader(mWriteBuffer, chunkSize); in write()
Dstream_out.cpp187 MQReader reader(mDataMQ); in doWrite() local
188 mSink->write(mStream->getEffectiveVolume(), mDataMQ.availableToRead(), reader); in doWrite()
192 status.reply.written = reader.totalRead; in doWrite()
/device/google/cuttlefish/host/commands/modem_simulator/
Dnvram_config.cpp114 Json::Reader reader; in LoadFromFile() local
116 if (!reader.parse(ifs, *dictionary_)) { in LoadFromFile()
118 << reader.getFormattedErrorMessages(); in LoadFromFile()
/device/google/cuttlefish/host/commands/fetcher/
Dcurl_wrapper.cc149 Json::Reader reader; in DownloadToJson() local
151 if (!reader.parse(contents, json)) { in DownloadToJson()
152 LOG(ERROR) << "Could not parse json: " << reader.getFormattedErrorMessages(); in DownloadToJson()
/device/google/cuttlefish/host/libs/config/
Dfetcher_config.cpp118 Json::Reader reader; in LoadFromFile() local
120 if (!reader.parse(ifs, *dictionary_)) { in LoadFromFile()
122 << reader.getFormattedErrorMessages(); in LoadFromFile()
Dcuttlefish_config.cpp861 Json::Reader reader; in LoadFromFile() local
863 if (!reader.parse(ifs, *dictionary_)) { in LoadFromFile()
865 << reader.getFormattedErrorMessages(); in LoadFromFile()
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp1053 Json::Reader reader; in restoreApps() local
1054 bool valid = reader.parse(str, *in); in restoreApps()
/device/google/bonito/json-c/
DDoxyfile121 # the reader which header file to include in order to use a class.
892 # nicely formatted so it can be parsed by a human reader. This is useful
/device/google/crosshatch/json-c/
DDoxyfile121 # the reader which header file to include in order to use a class.
892 # nicely formatted so it can be parsed by a human reader. This is useful
/device/google/coral/json-c/
DDoxyfile121 # the reader which header file to include in order to use a class.
892 # nicely formatted so it can be parsed by a human reader. This is useful