Searched refs:data_ (Results 1 – 5 of 5) sorted by relevance
/device/google/cuttlefish/common/libs/device_config/ |
D | device_config.h | 65 const char* ril_ipaddr() const { return data_.ril.ipaddr; } in ril_ipaddr() 66 const char* ril_gateway() const { return data_.ril.gateway; } in ril_gateway() 67 const char* ril_dns() const { return data_.ril.dns; } in ril_dns() 68 const char* ril_broadcast() const { return data_.ril.broadcast; } in ril_broadcast() 69 int ril_prefixlen() const { return data_.ril.prefixlen; } in ril_prefixlen() 70 int32_t screen_x_res() { return data_.screen.x_res; } in screen_x_res() 71 int32_t screen_y_res() { return data_.screen.y_res; } in screen_y_res() 72 int32_t screen_dpi() { return data_.screen.dpi; } in screen_dpi() 73 int32_t screen_refresh_rate() { return data_.screen.refresh_rate; } in screen_refresh_rate() 85 RawData data_; variable
|
D | host_device_config.cpp | 168 auto res = snprintf(data_.ril.ipaddr, sizeof(data_.ril.ipaddr), "%s", in InitializeNetworkConfiguration() 170 if (res >= (int)sizeof(data_.ril.ipaddr)) { in InitializeNetworkConfiguration() 172 << data_.ril.ipaddr; in InitializeNetworkConfiguration() 174 CopyChars(data_.ril.gateway, sizeof(data_.ril.gateway), in InitializeNetworkConfiguration() 176 CopyChars(data_.ril.dns, sizeof(data_.ril.dns), netconfig.ril_dns.c_str()); in InitializeNetworkConfiguration() 177 CopyChars(data_.ril.broadcast, sizeof(data_.ril.broadcast), in InitializeNetworkConfiguration() 179 data_.ril.prefixlen = netconfig.ril_prefixlen; in InitializeNetworkConfiguration() 188 data_.screen.x_res = config.x_res(); in InitializeScreenConfiguration() 189 data_.screen.y_res = config.y_res(); in InitializeScreenConfiguration() 190 data_.screen.dpi = config.dpi(); in InitializeScreenConfiguration() [all …]
|
D | device_config.cpp | 43 auto buffer = reinterpret_cast<uint8_t*>(&data_); in SendRawData()
|
D | guest_device_config.cpp | 86 DeviceConfig::DeviceConfig(const DeviceConfig::RawData& data) : data_(data) { in DeviceConfig()
|
/device/google/contexthub/contexthubhal/ |
D | nanohubhal.h | 59 std::unique_ptr<uint8_t> data_; variable 75 data_ = std::unique_ptr<uint8_t>(new uint8_t[len]); in HubMessage() 76 memcpy(data_.get(), data, len); in HubMessage() 77 message = data_.get(); in HubMessage() 92 data_ = std::unique_ptr<uint8_t>(new uint8_t[msg->message_len]); in HubMessage() 93 memcpy(data_.get(), msg->message, msg->message_len); in HubMessage() 94 message = data_.get(); in HubMessage() 106 data_ = std::move(other.data_);
|