Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 28) sorted by relevance

12

/device/google/contexthub/util/nanotool/
Dnanomessage.h58 virtual std::vector<uint8_t> GetBytes() const = 0;
68 virtual bool Populate(const std::vector<uint8_t>& buffer) = 0;
76 bool Populate(const std::vector<uint8_t>& buffer) override;
109 bool Populate(const std::vector<uint8_t>& buffer) override;
121 std::vector<uint8_t> GetBytes() const override;
135 const std::vector<uint8_t>& buffer);
137 bool Populate(const std::vector<uint8_t>& buffer) override;
145 std::vector<uint8_t> event_data;
148 static uint32_t EventTypeFromBuffer(const std::vector<uint8_t>& buffer);
172 std::vector<uint8_t> GetBytes() const override;
[all …]
Dcontexthub.h132 bool CalibrateSensors(const std::vector<SensorSpec>& sensors);
138 bool EnableSensors(const std::vector<SensorSpec>& sensors);
146 bool DisableSensors(const std::vector<SensorSpec>& sensors);
178 void PrintSensorEvents(const std::vector<SensorSpec>& sensors,
198 bool ForEachSensor(const std::vector<SensorSpec>& sensors,
227 const std::vector<uint8_t>& cal_data);
234 virtual TransportResult ReadEvent(std::vector<uint8_t>& response,
236 virtual TransportResult WriteEvent(const std::vector<uint8_t>& request) = 0;
240 virtual bool FlashSensorHub(const std::vector<uint8_t>& bytes) = 0;
Dnanomessage.cpp31 bool HardwareVersionInfo::Populate(const std::vector<uint8_t>& buffer) { in Populate()
71 bool WriteEventResponse::Populate(const std::vector<uint8_t>& buffer) { in Populate()
85 std::vector<uint8_t> ReadEventRequest::GetBytes() const { in GetBytes()
86 std::vector<uint8_t> buffer(sizeof(Request)); in GetBytes()
112 const std::vector<uint8_t>& buffer) { in FromBytes()
128 bool ReadEventResponse::Populate(const std::vector<uint8_t>& buffer) { in Populate()
167 uint32_t ReadEventResponse::EventTypeFromBuffer(const std::vector<uint8_t>& buffer) { in EventTypeFromBuffer()
190 std::vector<uint8_t> ConfigureSensorRequest::GetBytes() const { in GetBytes()
191 std::vector<uint8_t> buffer(sizeof(Configuration)); in GetBytes()
201 void ConfigureSensorRequest::SetAdditionalData(const std::vector<uint8_t>& data) { in SetAdditionalData()
Dnanopacket.h57 const std::vector<uint8_t> *data = nullptr);
73 const std::vector<uint8_t>& packet_buffer() const;
82 const std::vector<uint8_t>& packet_content() const;
99 std::vector<uint8_t> packet_buffer_;
106 std::vector<uint8_t> packet_content_;
Dandroidcontexthub.h44 const std::vector<uint8_t>& request) override;
45 ContextHub::TransportResult ReadEvent(std::vector<uint8_t>& response,
47 bool FlashSensorHub(const std::vector<uint8_t>& bytes) override;
62 std::vector<uint8_t>& message);
Dandroidcontexthub.cpp50 static const std::vector<std::tuple<const char *, SensorType>> kCalibrationKeys = {
58 static void AppendBytes(const void *data, size_t length, std::vector<uint8_t>& buffer) { in AppendBytes()
66 sp<JSONObject> json, std::vector<uint8_t>& bytes) { in CopyInt32Array()
81 std::vector<uint8_t>& bytes) { in GetCalibrationBytes()
192 const std::vector<uint8_t>& message) { in WriteEvent()
214 std::vector<uint8_t>& message, int timeout_ms) { in ReadEvent()
255 bool AndroidContextHub::FlashSensorHub(const std::vector<uint8_t>& bytes) { in FlashSensorHub()
262 std::vector<uint8_t> cal_data; in LoadCalibration()
338 int fd, std::vector<uint8_t>& message) { in ReadEventFromFd()
Dcontexthub.cpp151 auto firmware_data = std::vector<uint8_t>(file_size); in Flash()
164 bool ContextHub::CalibrateSensors(const std::vector<SensorSpec>& sensors) { in CalibrateSensors()
203 bool ContextHub::EnableSensors(const std::vector<SensorSpec>& sensors) { in EnableSensors()
230 bool ContextHub::DisableSensors(const std::vector<SensorSpec>& sensors) { in DisableSensors()
285 void ContextHub::PrintSensorEvents(const std::vector<SensorSpec>& sensors, int limit) { in PrintSensorEvents()
338 bool ContextHub::ForEachSensor(const std::vector<SensorSpec>& sensors, in ForEachSensor()
473 const std::vector<uint8_t>& cal_data) { in SendCalibrationData()
493 std::vector<uint8_t> responseBuf(256); in ReadEvent()
Dnanopacket.cpp68 const std::vector<uint8_t> *data) { in NanoPacket()
129 const std::vector<uint8_t>& NanoPacket::packet_buffer() const { in packet_buffer()
141 const std::vector<uint8_t>& NanoPacket::packet_content() const { in packet_content()
Dnanotool.cpp53 std::vector<SensorSpec> sensors;
61 static const std::vector<std::tuple<std::string, NanotoolCommand>> cmds = { in StrToCommand()
203 static const std::vector<std::tuple<std::string, SensorSpecialRate>> rates = { in ParseRate()
230 static bool ParseSensorArg(std::vector<SensorSpec>& sensors, const char *arg_str, in ParseSensorArg()
Dresetreasonevent.h39 const std::vector<uint8_t>& buffer);
Dresetreasonevent.cpp27 const std::vector<uint8_t>& buffer) { in FromBytes()
Dapptohostevent.cpp27 const std::vector<uint8_t>& buffer) { in FromBytes()
Dapptohostevent.h61 const std::vector<uint8_t>& buffer);
Dlog.h75 static void DebugBuf(std::vector<uint8_t> vec);
Dsensorevent.h98 const std::vector<uint8_t>& buffer);
Dcalibrationfile.cpp50 auto file_data = std::vector<char>(file_size); in Initialize()
Dlog.cpp67 void Log::DebugBuf(std::vector<uint8_t> vec) { in DebugBuf()
/device/google/dragon/crash_collector/
Dcoredump_writer.h64 std::vector<Phdr>* program_headers,
65 std::vector<char>* note_buf);
68 bool GetFileMappings(const std::vector<char>& note_buf,
72 void FilterSegments(const std::vector<Phdr>& program_headers,
74 std::vector<Phdr>* program_headers_filtered);
77 bool WriteAuxv(const std::vector<char>& note_buf,
82 bool WriteMaps(const std::vector<Phdr>& program_headers,
Dcoredump_writer.cc148 std::vector<Phdr> program_headers; in WriteCoredumpToFD()
149 std::vector<char> note_buf; in WriteCoredumpToFD()
160 std::vector<Phdr> program_headers_filtered; in WriteCoredumpToFD()
228 std::vector<Phdr>* program_headers, in ReadUntilNote()
229 std::vector<char>* note_buf) { in ReadUntilNote()
269 bool CoredumpWriter::GetFileMappings(const std::vector<char>& note_buf, in GetFileMappings()
332 const std::vector<Phdr>& program_headers, in FilterSegments()
334 std::vector<Phdr>* program_headers_filtered) { in FilterSegments()
361 bool CoredumpWriter::WriteAuxv(const std::vector<char>& note_buf, in WriteAuxv()
386 bool CoredumpWriter::WriteMaps(const std::vector<Phdr>& program_headers, in WriteMaps()
Dcrash_collector.cc47 bool ReadDirectory(const std::string& path, std::vector<dirent>* entries) { in ReadDirectory()
66 std::vector<dirent> entries; in RemoveRecursively()
79 std::vector<dirent> entries; in MakeRoomForNewReport()
83 std::vector<time_t> dump_mtimes; // Modification time of dump files. in MakeRoomForNewReport()
84 std::vector<std::pair<time_t, String8>> all_files; in MakeRoomForNewReport()
Dcrash_dispatcher.cc55 std::vector<const char*> args(argc + 1); in main()
/device/google/contexthub/contexthubhal/
Dsystem_comms.h200 std::vector<uint8_t> mData;
227 std::vector<uint8_t> mRsaKeyData;
239 std::vector<hub_app_info> mAppInfo;
/device/generic/goldfish/camera/
DEmulatedFakeCamera3.cpp1252 const std::vector<int32_t> availableStreamConfigurationsBasic = { in constructStaticInfo()
1258 const std::vector<int32_t> availableStreamConfigurationsRaw = { in constructStaticInfo()
1261 const std::vector<int32_t> availableStreamConfigurationsBurst = { in constructStaticInfo()
1267 std::vector<int32_t> availableStreamConfigurations; in constructStaticInfo()
1291 const std::vector<int64_t> availableMinFrameDurationsBasic = { in constructStaticInfo()
1297 const std::vector<int64_t> availableMinFrameDurationsRaw = { in constructStaticInfo()
1300 const std::vector<int64_t> availableMinFrameDurationsBurst = { in constructStaticInfo()
1306 std::vector<int64_t> availableMinFrameDurations; in constructStaticInfo()
1330 const std::vector<int64_t> availableStallDurationsBasic = { in constructStaticInfo()
1336 const std::vector<int64_t> availableStallDurationsRaw = { in constructStaticInfo()
[all …]
/device/google/dragon/sensor_hub/
Dcros_ec_sensors.h58 int16_t vector[MAX_AXIS]; member
Dcros_ec_sensors.cpp354 d = event->vector[i]; in processEvent()
358 d = (uint16_t)event->vector[i]; in processEvent()

12