Home
last modified time | relevance | path

Searched refs:GetField (Results 1 – 20 of 20) sorted by relevance

/system/extras/simpleperf/
Dtracing.h73 void GetField(const std::string& name, TracingFieldPlace& place) { in GetField() function
74 const TracingField& field = GetField(name); in GetField()
79 void GetField(const std::string& name, StringTracingFieldPlace& place) { in GetField() function
80 const TracingField& field = GetField(name); in GetField()
86 const TracingField& GetField(const std::string& name) { in GetField() function
Dcmd_kmem.cpp607 format.GetField("call_site", f.call_site); in ProcessTracingData()
608 format.GetField("ptr", f.ptr); in ProcessTracingData()
609 format.GetField("bytes_req", f.bytes_req); in ProcessTracingData()
610 format.GetField("bytes_alloc", f.bytes_alloc); in ProcessTracingData()
611 format.GetField("gfp_flags", f.gfp_flags); in ProcessTracingData()
616 format.GetField("call_site", f.call_site); in ProcessTracingData()
617 format.GetField("ptr", f.ptr); in ProcessTracingData()
Dcmd_trace_sched.cpp241 format.GetField("comm", tracing_field_comm_); in ProcessRecord()
242 format.GetField("runtime", tracing_field_runtime_); in ProcessRecord()
/system/chre/apps/power_test/common/include/generated/
Dchre_power_test_generated.h342 return GetField<uint8_t>(VT_ENABLE, 0) != 0; in enable()
345 return GetField<uint64_t>(VT_WAKEUP_INTERVAL_NS, 0); in wakeup_interval_ns()
399 return GetField<uint8_t>(VT_ENABLE, 0) != 0; in enable()
402 return GetField<uint64_t>(VT_SCAN_INTERVAL_NS, 0); in scan_interval_ns()
405 return static_cast<chre::power_test::WifiScanType>(GetField<uint8_t>(VT_SCAN_TYPE, 0)); in scan_type()
408 return static_cast<chre::power_test::WifiRadioChain>(GetField<uint8_t>(VT_RADIO_CHAIN, 0)); in radio_chain()
411 return static_cast<chre::power_test::WifiChannelSet>(GetField<uint8_t>(VT_CHANNEL_SET, 0)); in channel_set()
481 return GetField<uint8_t>(VT_ENABLE, 0) != 0; in enable()
484 return GetField<uint32_t>(VT_SCAN_INTERVAL_MILLIS, 0); in scan_interval_millis()
487 return GetField<uint32_t>(VT_MIN_TIME_TO_NEXT_FIX_MILLIS, 0); in min_time_to_next_fix_millis()
[all …]
/system/chre/platform/shared/include/chre/platform/shared/generated/
Dhost_messages_generated.h363 return GetField<uint64_t>(VT_APP_ID, 0);
366 return GetField<uint32_t>(VT_MESSAGE_TYPE, 0);
372 return GetField<uint16_t>(VT_HOST_ENDPOINT, 65534);
383 return GetField<uint32_t>(VT_MESSAGE_PERMISSIONS, 0);
389 return GetField<uint32_t>(VT_PERMISSIONS, 0);
538 return GetField<uint32_t>(VT_PLATFORM_VERSION, 0);
542 return GetField<uint32_t>(VT_TOOLCHAIN_VERSION, 0);
545 return GetField<float>(VT_PEAK_MIPS, 0.0f);
548 return GetField<float>(VT_STOPPED_POWER, 0.0f);
551 return GetField<float>(VT_SLEEP_POWER, 0.0f);
[all …]
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/
Dflatbuffers_types_generated.h104 return GetField<uint8_t>(VT_SECURITY_MODES, 0); in security_modes()
162 return GetField<uint8_t>(VT_SECURITY_MODES, 0); in security_modes()
168 return GetField<uint16_t>(VT_CAPABILITY, 0); in capability()
171 return GetField<uint32_t>(VT_FREQUENCY_SCANNED_MHZ, 0); in frequency_scanned_mhz()
174 return GetField<int8_t>(VT_RSSI_DBM, 0); in rssi_dbm()
177 return GetField<uint64_t>(VT_TSF, 0); in tsf()
339 return GetField<uint32_t>(VT_DISCONNECTED_MODE_SCAN_INTERVAL_MS, 0); in disconnected_mode_scan_interval_ms()
414 return GetField<int8_t>(VT_MIN_RSSI_THRESHOLD_DBM, 0); in min_rssi_threshold_dbm()
531 return GetField<uint32_t>(VT_TIME_SPENT_SCANNING_MS, 0); in time_spent_scanning_ms()
534 return GetField<uint32_t>(VT_NUM_CHANNELS_SCANNED, 0); in num_channels_scanned()
[all …]
/system/bt/gd/dumpsys/internal/
Dfilter_internal.cc122 [[maybe_unused]] int32_t val = table->GetField<int32_t>(field_offset, default_val); in FilterTypeInteger()
149 table->GetField<int32_t>(field_offset, default_val)); in FilterTypeInteger()
160 [[maybe_unused]] float val = table->GetField<float>(field_offset, default_val); in FilterTypeFloat()
184 table->GetField<float>(field_offset, default_val)); in FilterTypeFloat()
/system/chre/apps/power_test/common/idl/
Dchre_power_test_generated.h362 return GetField<uint8_t>(VT_ENABLE, 0) != 0; in enable()
368 return GetField<uint64_t>(VT_WAKEUP_INTERVAL_NS, 0); in wakeup_interval_ns()
447 return GetField<uint8_t>(VT_ENABLE, 0) != 0; in enable()
453 return GetField<uint64_t>(VT_SCAN_INTERVAL_NS, 0); in scan_interval_ns()
459 return static_cast<chre::power_test::WifiScanType>(GetField<uint8_t>(VT_SCAN_TYPE, 0)); in scan_type()
465 return static_cast<chre::power_test::WifiRadioChain>(GetField<uint8_t>(VT_RADIO_CHAIN, 0)); in radio_chain()
471 return static_cast<chre::power_test::WifiChannelSet>(GetField<uint8_t>(VT_CHANNEL_SET, 0)); in channel_set()
562 return GetField<uint8_t>(VT_ENABLE, 0) != 0; in enable()
568 return GetField<uint32_t>(VT_SCAN_INTERVAL_MILLIS, 0); in scan_interval_millis()
574 return GetField<uint32_t>(VT_MIN_TIME_TO_NEXT_FIX_MILLIS, 0); in min_time_to_next_fix_millis()
[all …]
/system/bt/gd/packet/parser/fields/
Dcount_field.h29 std::string GetField() const;
Dsize_field.h29 std::string GetField() const;
Dpadding_field.h28 std::string GetField() const;
Dchecksum_start_field.h28 std::string GetField() const;
/system/bt/gd/packet/parser/
Dparent_def.cc29 const auto& constrained_field = parent_params.GetField(field_name); in AddParentConstraint()
77 const auto& var_len_field = fields_.GetField(size_field->GetSizedFieldName()); in AssignSizeFields()
171 if (fields_.GetField(field_name) == nullptr) { in GetOffsetForField()
393 const auto& sized_field = fields_.GetField(field_name); in GenSerialize()
439 const auto& started_field = fields_.GetField(field_name); in GenSerialize()
646 const auto& sized_field = fields_.GetField(field_name); in GenRustWriteToFields()
Dfield_list.h51 PacketField* GetField(std::string field_name) const { in GetField() function
Dpacket_def.cc224 const auto& started_field = fields_.GetField(field_name); in GenValidator()
298 const auto& field = parent_->GetParamList().GetField(constraint.first); in GenValidator()
732 if (parent_params.GetField(field->GetName()) == nullptr) { in GenBuilderConstructor()
910 auto constraint_field = GetParamList().GetField(constraint); in GenRustStructImpls()
952 auto constraint_field = GetParamList().GetField(constraint_name); in GenRustStructImpls()
/system/chre/host/common/include/chre_host/generated/
Dhost_messages_generated.h609 return GetField<uint64_t>(VT_APP_ID, 0);
615 return GetField<uint32_t>(VT_MESSAGE_TYPE, 0);
624 return GetField<uint16_t>(VT_HOST_ENDPOINT, 65534);
641 return GetField<uint32_t>(VT_MESSAGE_PERMISSIONS, 0);
650 return GetField<uint32_t>(VT_PERMISSIONS, 0);
856 return GetField<uint32_t>(VT_PLATFORM_VERSION, 0);
863 return GetField<uint32_t>(VT_TOOLCHAIN_VERSION, 0);
869 return GetField<float>(VT_PEAK_MIPS, 0.0f);
875 return GetField<float>(VT_STOPPED_POWER, 0.0f);
881 return GetField<float>(VT_SLEEP_POWER, 0.0f);
[all …]
/system/bt/gd/dumpsys/internal/test_data/
Dfloat_generated.h17 return GetField<float>(VT_TEST_FLOAT, 0.0f); in test_float()
Dinteger_generated.h17 return GetField<int32_t>(VT_TEST_INT, 0); in test_int()
Dstruct_generated.h20 return GetField<int32_t>(VT_PLACEHOLDER, 0); in placeholder()
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h2487 template<typename T> T GetField(uoffset_t o) const {
2528 template<typename T> T GetField(voffset_t field, T defaultval) const {