Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 25 of 71) sorted by relevance

123

/system/bt/device/src/
Dinterop.cc37 static const char* interop_feature_string_(const interop_feature_t feature);
40 static bool interop_match_fixed_(const interop_feature_t feature,
42 static bool interop_match_dynamic_(const interop_feature_t feature,
47 bool interop_match_addr(const interop_feature_t feature, in interop_match_addr() argument
51 if (interop_match_fixed_(feature, addr) || in interop_match_addr()
52 interop_match_dynamic_(feature, addr)) { in interop_match_addr()
54 addr->ToString().c_str(), interop_feature_string_(feature)); in interop_match_addr()
61 bool interop_match_name(const interop_feature_t feature, const char* name) { in interop_match_name() argument
67 if (feature == interop_name_database[i].feature && in interop_match_name()
72 name, interop_feature_string_(feature)); in interop_match_name()
[all …]
/system/bt/device/include/
Dinterop.h109 bool interop_match_addr(const interop_feature_t feature,
118 bool interop_match_name(const interop_feature_t feature, const char* name);
126 void interop_database_add(uint16_t feature, const RawAddress* addr,
Dinterop_database.h27 interop_feature_t feature; member
158 interop_feature_t feature; member
/system/extras/simpleperf/
Dcmd_dumprecord.cpp215 static const std::string GetFeatureNameOrUnknown(int feature) { in GetFeatureNameOrUnknown() argument
216 std::string name = GetFeatureName(feature); in GetFeatureNameOrUnknown()
217 return name.empty() ? android::base::StringPrintf("unknown_feature(%d)", feature) : name; in GetFeatureNameOrUnknown()
252 for (auto& feature : features) { in DumpFileHeader() local
253 printf("feature: %s\n", GetFeatureNameOrUnknown(feature).c_str()); in DumpFileHeader()
406 int feature = pair.first; in DumpFeatureSection() local
409 GetFeatureNameOrUnknown(feature).c_str(), section.offset, section.size); in DumpFeatureSection()
410 if (feature == FEAT_BUILD_ID) { in DumpFeatureSection()
415 } else if (feature == FEAT_OSRELEASE) { in DumpFeatureSection()
416 std::string s = record_file_reader_->ReadFeatureString(feature); in DumpFeatureSection()
[all …]
Drecord_file.h56 bool WriteFeatureString(int feature, const std::string& s);
62 bool WriteFeature(int feature, const std::vector<char>& data);
84 bool WriteFeatureBegin(int feature);
85 bool WriteFeatureEnd(int feature);
126 bool HasFeature(int feature) const { in HasFeature() argument
127 return feature_section_descriptors_.find(feature) != feature_section_descriptors_.end(); in HasFeature()
129 bool ReadFeatureSection(int feature, std::vector<char>* data);
147 std::string ReadFeatureString(int feature);
Drecord_file_writer.cpp280 bool RecordFileWriter::WriteFeatureString(int feature, const std::string& s) { in WriteFeatureString() argument
281 if (!WriteFeatureBegin(feature)) { in WriteFeatureString()
287 return WriteFeatureEnd(feature); in WriteFeatureString()
414 bool RecordFileWriter::WriteFeature(int feature, const std::vector<char>& data) { in WriteFeature() argument
415 return WriteFeatureBegin(feature) && Write(data.data(), data.size()) && WriteFeatureEnd(feature); in WriteFeature()
418 bool RecordFileWriter::WriteFeatureBegin(int feature) { in WriteFeatureBegin() argument
419 auto it = features_.find(feature); in WriteFeatureBegin()
422 auto& sec = features_[feature]; in WriteFeatureBegin()
431 bool RecordFileWriter::WriteFeatureEnd(int feature) { in WriteFeatureEnd() argument
432 auto it = features_.find(feature); in WriteFeatureEnd()
Drecord_file_reader.cpp365 bool RecordFileReader::ReadFeatureSection(int feature, std::vector<char>* data) { in ReadFeatureSection() argument
367 auto it = section_map.find(feature); in ReadFeatureSection()
426 std::string RecordFileReader::ReadFeatureString(int feature) { in ReadFeatureString() argument
428 if (!ReadFeatureSection(feature, &buf)) { in ReadFeatureString()
Dreport_lib_interface.cpp454 int feature = PerfFileFormat::GetFeatureId(feature_name); in GetFeatureSection() local
455 if (feature == -1 || !record_file_reader_->ReadFeatureSection(feature, &feature_section_data_)) { in GetFeatureSection()
/system/bt/doc/
Dbtsnoop_net.md6 This feature is enabled by setting `BtSnoopLogOutput=true` in `bt_stack.conf`.
10 To use this feature with hcidump on a Linux host, you can run:
/system/sepolicy/private/
Dinstalld.te36 # Allow installd to access the runtime feature flag properties.
40 # Allow installd to access apk verity feature flag (for legacy case).
Diorapd.te9 # Allow iorapd to access the runtime native boot feature flag properties.
/system/sepolicy/prebuilts/api/30.0/private/
Dinstalld.te36 # Allow installd to access the runtime feature flag properties.
40 # Allow installd to access apk verity feature flag (for legacy case).
Diorapd.te9 # Allow iorapd to access the runtime native boot feature flag properties.
/system/bt/btif/co/
Dbta_hh_co.cc147 if (ret < (ssize_t)(sizeof(ev.type) + sizeof(ev.u.feature))) { in uhid_read_event()
150 __func__, ret, sizeof(ev.type) + sizeof(ev.u.feature)); in uhid_read_event()
153 APPL_TRACE_DEBUG("UHID_FEATURE: Report type = %d", ev.u.feature.rtype); in uhid_read_event()
157 *get_rpt_id = ev.u.feature.id; in uhid_read_event()
160 if (ev.u.feature.rtype == UHID_FEATURE_REPORT) in uhid_read_event()
161 btif_hh_getreport(p_dev, BTHH_FEATURE_REPORT, ev.u.feature.rnum, 0); in uhid_read_event()
164 ev.u.feature.rtype); in uhid_read_event()
/system/sepolicy/prebuilts/api/28.0/public/
Dephemeral_app.te5 ### feature.
/system/sepolicy/prebuilts/api/29.0/public/
Dephemeral_app.te5 ### feature.
/system/sepolicy/prebuilts/api/27.0/public/
Dephemeral_app.te5 ### feature.
/system/sepolicy/prebuilts/api/30.0/public/
Dephemeral_app.te5 ### feature.
/system/sepolicy/public/
Dephemeral_app.te5 ### feature.
/system/sepolicy/prebuilts/api/26.0/public/
Dephemeral_app.te5 ### feature.
/system/core/init/
Dueventd_parser.cpp116 Result<void> ParseEnabledDisabledLine(std::vector<std::string>&& args, bool* feature) { in ParseEnabledDisabledLine() argument
122 *feature = true; in ParseEnabledDisabledLine()
124 *feature = false; in ParseEnabledDisabledLine()
/system/sepolicy/prebuilts/api/29.0/private/
Dinstalld.te39 # Allow installd to access the runtime feature flag properties.
/system/core/trusty/confirmationui/
DREADME8 Confirmation feature when integrated into a secure UI architecture.
/system/bt/btif/test/
Dbtif_rc_test.cc96 bool interop_match_addr(const interop_feature_t feature, in interop_match_addr() argument
/system/core/adb/
Dtransport.h63 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature);
349 bool has_feature(const std::string& feature) const;

123