Searched refs:feature (Results 1 - 9 of 9) sorted by last modified time
/system/extras/simpleperf/ |
H A D | cmd_dumprecord.cpp | 93 static const std::string GetFeatureName(int feature); 127 for (auto& feature : features) { 128 printf("feature: %s\n", GetFeatureName(feature).c_str()); 132 static const std::string GetFeatureName(int feature) { argument 152 auto it = feature_name_map.find(feature); 156 return android::base::StringPrintf("unknown_feature(%d)", feature); 191 int feature = pair.first; local 193 printf("feature section for %s: offset %" PRId64 ", size %" PRId64 "\n", 194 GetFeatureName(feature) [all...] |
H A D | record_file.h | 55 bool WriteFeatureString(int feature, const std::string& s); 73 bool WriteFeatureEnd(int feature, uint64_t start_offset); 115 std::string ReadFeatureString(int feature); 126 bool ReadFeatureSection(int feature, std::vector<char>* data);
|
H A D | record_file_reader.cpp | 183 bool RecordFileReader::ReadFeatureSection(int feature, std::vector<char>* data) { argument 185 auto it = section_map.find(feature); 243 std::string RecordFileReader::ReadFeatureString(int feature) { argument 245 if (!ReadFeatureSection(feature, &buf)) {
|
H A D | record_file_writer.cpp | 155 // Reserve enough space in the record file for the feature header. 178 bool RecordFileWriter::WriteFeatureString(int feature, const std::string& s) { argument 192 return WriteFeatureEnd(feature, start_offset); 234 bool RecordFileWriter::WriteFeatureEnd(int feature, uint64_t start_offset) { argument 252 features_.push_back(feature); 266 for (auto& feature : features_) { 267 int i = feature / 8; 268 int j = feature % 8; 286 // writing data section and feature section.
|
/system/core/adb/ |
H A D | transport.cpp | 788 // Increment ADB_SERVER_VERSION whenever the feature list changes to 810 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature) { argument 811 return feature_set.count(feature) > 0 && 812 supported_features().count(feature) > 0; 815 bool atransport::has_feature(const std::string& feature) const { 816 return features_.count(feature) > 0;
|
H A D | transport.h | 36 // Returns true if both local features and |feature_set| support |feature|. 37 bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature); 39 // Do not use any of [:;=,] in feature strings, they have special meaning 106 bool has_feature(const std::string& feature) const; 108 // Loads the transport's feature set from the given string.
|
/system/bt/device/include/ |
H A D | interop.h | 73 bool interop_match_addr(const interop_feature_t feature, const bt_bdaddr_t *addr); 81 bool interop_match_name(const interop_feature_t feature, const char *name); 84 // of |addr|, implementing the workaround identified by |feature|. |addr| may not be 86 // As |interop_feature_t| is not exposed in the public API, feature must be a valid 88 void interop_database_add(const uint16_t feature, const bt_bdaddr_t *addr, size_t length);
|
H A D | interop_database.h | 26 interop_feature_t feature; member in struct:__anon696 98 interop_feature_t feature; member in struct:__anon697
|
/system/bt/device/src/ |
H A D | interop.c | 35 static const char* interop_feature_string_(const interop_feature_t feature); 38 static bool interop_match_fixed_(const interop_feature_t feature, const bt_bdaddr_t *addr); 39 static bool interop_match_dynamic_(const interop_feature_t feature, const bt_bdaddr_t *addr); 43 bool interop_match_addr(const interop_feature_t feature, const bt_bdaddr_t *addr) { argument 46 if (interop_match_fixed_(feature, addr) || interop_match_dynamic_(feature, addr)) { 50 interop_feature_string_(feature)); 57 bool interop_match_name(const interop_feature_t feature, const char *name) { argument 62 if (feature == interop_name_database[i].feature 72 interop_database_add(const uint16_t feature, const bt_bdaddr_t *addr, size_t length) argument 110 interop_feature_string_(const interop_feature_t feature) argument 134 interop_match_dynamic_(const interop_feature_t feature, const bt_bdaddr_t *addr) argument 151 interop_match_fixed_(const interop_feature_t feature, const bt_bdaddr_t *addr) argument [all...] |
Completed in 480 milliseconds