Home
last modified time | relevance | path

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

12

/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()
55 interop_feature_string_(feature)); in interop_match_addr()
62 bool interop_match_name(const interop_feature_t feature, const char* name) { in interop_match_name() argument
68 if (feature == interop_name_database[i].feature && in interop_match_name()
79 void interop_database_add(uint16_t feature, const RawAddress* addr, in interop_database_add() argument
[all …]
/system/extras/simpleperf/
Dcmd_dumprecord.cpp105 static const std::string GetFeatureNameOrUnknown(int feature) { in GetFeatureNameOrUnknown() argument
106 std::string name = GetFeatureName(feature); in GetFeatureNameOrUnknown()
107 return name.empty() ? android::base::StringPrintf("unknown_feature(%d)", feature) : name; in GetFeatureNameOrUnknown()
142 for (auto& feature : features) { in DumpFileHeader() local
143 printf("feature: %s\n", GetFeatureNameOrUnknown(feature).c_str()); in DumpFileHeader()
224 int feature = pair.first; in DumpFeatureSection() local
227 GetFeatureNameOrUnknown(feature).c_str(), section.offset, section.size); in DumpFeatureSection()
228 if (feature == FEAT_BUILD_ID) { in DumpFeatureSection()
233 } else if (feature == FEAT_OSRELEASE) { in DumpFeatureSection()
234 std::string s = record_file_reader_->ReadFeatureString(feature); in DumpFeatureSection()
[all …]
Drecord_file.h55 bool WriteFeatureString(int feature, const std::string& s);
60 bool WriteFeature(int feature, const std::vector<char>& data);
82 bool WriteFeatureBegin(int feature);
83 bool WriteFeatureEnd(int feature);
124 bool HasFeature(int feature) const { in HasFeature() argument
125 return feature_section_descriptors_.find(feature) != feature_section_descriptors_.end(); in HasFeature()
127 bool ReadFeatureSection(int feature, std::vector<char>* data);
145 std::string ReadFeatureString(int feature);
Drecord_file_writer.cpp267 bool RecordFileWriter::WriteFeatureString(int feature, const std::string& s) { in WriteFeatureString() argument
268 if (!WriteFeatureBegin(feature)) { in WriteFeatureString()
274 return WriteFeatureEnd(feature); in WriteFeatureString()
391 bool RecordFileWriter::WriteFeature(int feature, const std::vector<char>& data) { in WriteFeature() argument
392 return WriteFeatureBegin(feature) && Write(data.data(), data.size()) && WriteFeatureEnd(feature); in WriteFeature()
395 bool RecordFileWriter::WriteFeatureBegin(int feature) { in WriteFeatureBegin() argument
396 auto it = features_.find(feature); in WriteFeatureBegin()
399 auto& sec = features_[feature]; in WriteFeatureBegin()
408 bool RecordFileWriter::WriteFeatureEnd(int feature) { in WriteFeatureEnd() argument
409 auto it = features_.find(feature); in WriteFeatureEnd()
Drecord_file_reader.cpp334 bool RecordFileReader::ReadFeatureSection(int feature, std::vector<char>* data) { in ReadFeatureSection() argument
336 auto it = section_map.find(feature); in ReadFeatureSection()
399 std::string RecordFileReader::ReadFeatureString(int feature) { in ReadFeatureString() argument
401 if (!ReadFeatureSection(feature, &buf)) { in ReadFeatureString()
Dreport_lib_interface.cpp434 int feature = PerfFileFormat::GetFeatureId(feature_name); in GetFeatureSection() local
435 if (feature == -1 || !record_file_reader_->ReadFeatureSection(feature, &feature_section_data_)) { in GetFeatureSection()
Dcmd_debug_unwind.cpp346 for (int feature : {PerfFileFormat::FEAT_FILE, PerfFileFormat::FEAT_META_INFO}) { in WriteFeatureSections()
347 if (features.find(feature) == features.end()) { in WriteFeatureSections()
/system/bt/device/include/
Dinterop.h103 bool interop_match_addr(const interop_feature_t feature,
112 bool interop_match_name(const interop_feature_t feature, const char* name);
120 void interop_database_add(uint16_t feature, const RawAddress* addr,
Dinterop_database.h27 interop_feature_t feature; member
151 interop_feature_t feature; member
/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/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/27.0/public/
Dephemeral_app.te5 ### feature.
/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/26.0/public/
Dephemeral_app.te5 ### feature.
/system/sepolicy/public/
Dephemeral_app.te5 ### feature.
/system/sepolicy/private/
Dinstalld.te39 # Allow installd to access the runtime feature flag properties.
Dpostinstall_dexopt.te73 # Allow postinstall_dexopt to access the runtime feature flag properties.
/system/sepolicy/prebuilts/api/29.0/private/
Dinstalld.te39 # Allow installd to access the runtime feature flag properties.
Dpostinstall_dexopt.te73 # Allow postinstall_dexopt to access the runtime feature flag properties.
/system/core/adb/
Dtransport.h52 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature);
301 bool has_feature(const std::string& feature) const;
Dtransport.cpp1078 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature) { in CanUseFeature() argument
1079 return feature_set.count(feature) > 0 && supported_features().count(feature) > 0; in CanUseFeature()
1082 bool atransport::has_feature(const std::string& feature) const { in has_feature()
1083 return features_.count(feature) > 0; in has_feature()
/system/sepolicy/prebuilts/api/27.0/private/
Dephemeral_app.te5 ### feature.
/system/sepolicy/prebuilts/api/26.0/private/
Dephemeral_app.te5 ### feature.
/system/sepolicy/prebuilts/api/28.0/private/
Dephemeral_app.te5 ### feature.

12