Searched refs:config_proto (Results 1 – 3 of 3) sorted by relevance
/system/bt/gd/hci/facade/ |
D | le_advertising_manager_facade.cc | 53 bool AdvertisingConfigFromProto(const AdvertisingConfig& config_proto, hci::AdvertisingConfig* conf… in AdvertisingConfigFromProto() argument 54 for (const auto& elem : config_proto.advertisement()) { in AdvertisingConfigFromProto() 58 for (const auto& elem : config_proto.scan_response()) { in AdvertisingConfigFromProto() 62 if (config_proto.interval_min() > UINT16_MAX || config_proto.interval_min() < 0) { in AdvertisingConfigFromProto() 63 LOG_WARN("Bad interval_min: %d", config_proto.interval_min()); in AdvertisingConfigFromProto() 66 config->interval_min = static_cast<uint16_t>(config_proto.interval_min()); in AdvertisingConfigFromProto() 68 if (config_proto.interval_max() > UINT16_MAX || config_proto.interval_max() < 0) { in AdvertisingConfigFromProto() 69 LOG_WARN("Bad interval_max: %d", config_proto.interval_max()); in AdvertisingConfigFromProto() 72 config->interval_max = static_cast<uint16_t>(config_proto.interval_max()); in AdvertisingConfigFromProto() 74 config->advertising_type = static_cast<hci::AdvertisingType>(config_proto.advertising_type()); in AdvertisingConfigFromProto() [all …]
|
/system/iorap/src/perfetto/ |
D | perfetto_consumer.h | 42 virtual Handle Create(const void* config_proto, 59 virtual Handle Create(const void* config_proto, in Create() 63 return ::perfetto::consumer::Create(config_proto, in Create() 93 virtual Handle Create(const void* config_proto,
|
D | perfetto_consumer.cc | 181 Handle Create(const void* config_proto, in Create() 187 Handle handle = raw_->Create(config_proto, config_len, callback, callback_arg); in Create() 582 PerfettoConsumer::Handle PerfettoConsumerImpl::Create(const void* config_proto, in Create() argument 586 return impl_->Create(config_proto, in Create()
|