/system/bt/device/src/ |
D | interop.cc | 37 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/chre/apps/test/common/chre_settings_test/src/ |
D | chre_settings_test_manager.cc | 50 Manager::Feature *feature) { in getFeature() argument 52 switch (command.feature) { in getFeature() 54 *feature = Manager::Feature::WIFI_SCANNING; in getFeature() 57 *feature = Manager::Feature::WIFI_RTT; in getFeature() 60 *feature = Manager::Feature::GNSS_LOCATION; in getFeature() 63 *feature = Manager::Feature::GNSS_MEASUREMENT; in getFeature() 66 *feature = Manager::Feature::WWAN_CELL_INFO; in getFeature() 69 *feature = Manager::Feature::AUDIO; in getFeature() 72 LOGE("Unknown feature %d", command.feature); in getFeature() 137 bool Manager::isFeatureSupported(Feature feature) { in isFeatureSupported() argument [all …]
|
/system/chre/apps/test/common/chre_settings_test/inc/ |
D | chre_settings_test_manager.h | 65 Feature feature; member 69 TestSession(uint16_t id, Feature feature, FeatureState state, in TestSession() 72 this->feature = feature; in TestSession() 81 bool isFeatureSupported(Feature feature); 102 void handleStartTestMessage(uint16_t hostEndpointId, Feature feature, 120 bool startTestForFeature(Feature feature);
|
/system/bt/test/mock/ |
D | mock_device_interop.cc | 36 bool interop_match_addr(const interop_feature_t feature, in interop_match_addr() argument 41 bool interop_match_name(const interop_feature_t feature, const char* name) { in interop_match_name() argument 45 void interop_database_add(uint16_t feature, const RawAddress* addr, in interop_database_add() argument
|
/system/bt/device/include/ |
D | interop.h | 125 bool interop_match_addr(const interop_feature_t feature, 134 bool interop_match_name(const interop_feature_t feature, const char* name); 142 void interop_database_add(uint16_t feature, const RawAddress* addr,
|
D | interop_database.h | 27 interop_feature_t feature; member 179 interop_feature_t feature; member
|
/system/extras/simpleperf/ |
D | record_file.h | 83 bool WriteFeatureString(int feature, const std::string& s); 91 bool WriteFeature(int feature, const char* data, size_t size); 105 bool WriteFeatureBegin(int feature); 106 bool WriteFeatureEnd(int feature); 148 bool HasFeature(int feature) const { in HasFeature() argument 149 return feature_section_descriptors_.find(feature) != feature_section_descriptors_.end(); in HasFeature() 151 bool ReadFeatureSection(int feature, std::vector<char>* data); 152 bool ReadFeatureSection(int feature, std::string* data); 171 std::string ReadFeatureString(int feature);
|
D | cmd_dumprecord.cpp | 269 static const std::string GetFeatureNameOrUnknown(int feature) { in GetFeatureNameOrUnknown() argument 270 std::string name = GetFeatureName(feature); in GetFeatureNameOrUnknown() 271 return name.empty() ? android::base::StringPrintf("unknown_feature(%d)", feature) : name; in GetFeatureNameOrUnknown() 306 for (auto& feature : features) { in DumpFileHeader() local 307 printf("feature: %s\n", GetFeatureNameOrUnknown(feature).c_str()); in DumpFileHeader() 456 int feature = pair.first; in DumpFeatureSection() local 459 GetFeatureNameOrUnknown(feature).c_str(), section.offset, section.size); in DumpFeatureSection() 460 if (feature == FEAT_BUILD_ID) { in DumpFeatureSection() 465 } else if (feature == FEAT_OSRELEASE) { in DumpFeatureSection() 466 std::string s = record_file_reader_->ReadFeatureString(feature); in DumpFeatureSection() [all …]
|
D | cmd_merge.cpp | 330 for (int feature : features) { in MergeFeatureSection() local 331 if (feature == PerfFileFormat::FEAT_OSRELEASE || feature == PerfFileFormat::FEAT_ARCH || in MergeFeatureSection() 332 feature == PerfFileFormat::FEAT_BRANCH_STACK || in MergeFeatureSection() 333 feature == PerfFileFormat::FEAT_META_INFO || feature == PerfFileFormat::FEAT_CMDLINE) { in MergeFeatureSection() 335 if (!readers_[0]->ReadFeatureSection(feature, &data) || in MergeFeatureSection() 336 !writer_->WriteFeature(feature, data.data(), data.size())) { in MergeFeatureSection() 339 } else if (feature == PerfFileFormat::FEAT_BUILD_ID) { in MergeFeatureSection() 341 } else if (feature == PerfFileFormat::FEAT_FILE) { in MergeFeatureSection() 344 LOG(WARNING) << "Drop feature " << feature << ", which isn't supported in the merge cmd."; in MergeFeatureSection()
|
D | record_file_writer.cpp | 283 bool RecordFileWriter::WriteFeatureString(int feature, const std::string& s) { in WriteFeatureString() argument 284 if (!WriteFeatureBegin(feature)) { in WriteFeatureString() 290 return WriteFeatureEnd(feature); in WriteFeatureString() 438 bool RecordFileWriter::WriteFeature(int feature, const char* data, size_t size) { in WriteFeature() argument 439 return WriteFeatureBegin(feature) && Write(data, size) && WriteFeatureEnd(feature); in WriteFeature() 442 bool RecordFileWriter::WriteFeatureBegin(int feature) { in WriteFeatureBegin() argument 443 auto it = features_.find(feature); in WriteFeatureBegin() 446 auto& sec = features_[feature]; in WriteFeatureBegin() 455 bool RecordFileWriter::WriteFeatureEnd(int feature) { in WriteFeatureEnd() argument 456 auto it = features_.find(feature); in WriteFeatureEnd()
|
/system/chre/apps/test/common/proto/ |
D | chre_settings_test.proto | 37 // The state of this feature at the system level. 54 // The feature to test. 55 optional Feature feature = 1; field 57 // The feature state (e.g. enabled or disabled), only used if the test step is
|
D | chre_stress_test.proto | 24 // to verify that the scan monitoring feature is working. 48 // The feature to test. 49 optional Feature feature = 1; field
|
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/ |
D | ContextHubStressTestExecutor.java | 172 for (ChreStressTest.TestCommand.Feature feature : features) { in runStressTest() 173 sendTestMessage(feature, true /* start */); in runStressTest() 185 for (ChreStressTest.TestCommand.Feature feature : features) { in runStressTest() 186 sendTestMessage(feature, false /* start */); in runStressTest() 262 private void sendTestMessage(ChreStressTest.TestCommand.Feature feature, boolean start) { in sendTestMessage() argument 264 .setFeature(feature).setStart(start).build(); in sendTestMessage()
|
/system/bt/doc/ |
D | btsnoop_net.md | 6 This feature is enabled by enabling "Enable Bluetooth HCI snoop log" in the 11 To use this feature with btmon on a Linux host, you can run:
|
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/ |
D | ContextHubMicDisableSettingsTestExecutor.java | 90 private void runTest(ChreSettingsTest.TestCommand.Feature feature, boolean enableFeature) { in runTest() argument 94 mExecutor.startTestAssertSuccess(feature, state); in runTest()
|
D | ContextHubGnssSettingsTestExecutor.java | 74 private void runTest(ChreSettingsTest.TestCommand.Feature feature, boolean enableFeature) { in runTest() argument 80 mExecutor.startTestAssertSuccess(feature, state); in runTest()
|
D | ContextHubSettingsTestExecutor.java | 142 public void setupTestAssertSuccess(ChreSettingsTest.TestCommand.Feature feature) { in setupTestAssertSuccess() argument 149 .setFeature(feature) in setupTestAssertSuccess() 176 ChreSettingsTest.TestCommand.Feature feature, in startTestAssertSuccess() argument 182 .setFeature(feature).setState(state).build(); in startTestAssertSuccess()
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | installd.te | 36 # Allow installd to access the runtime feature flag properties. 40 # Allow installd to access apk verity feature flag (for legacy case).
|
D | iorapd.te | 9 # Allow iorapd to access the runtime native boot feature flag properties.
|
/system/sepolicy/private/ |
D | installd.te | 36 # Allow installd to access the runtime feature flag properties. 40 # Allow installd to access apk verity feature flag (for legacy case).
|
D | iorapd.te | 9 # Allow iorapd to access the runtime native boot feature flag properties.
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | installd.te | 36 # Allow installd to access the runtime feature flag properties. 40 # Allow installd to access apk verity feature flag (for legacy case).
|
D | iorapd.te | 9 # Allow iorapd to access the runtime native boot feature flag properties.
|
/system/security/keystore2/src/ |
D | lib.rs | 51 #[cfg(feature = "watchdog")]
|
/system/bt/btif/co/ |
D | bta_hh_co.cc | 145 if (ret < (ssize_t)(sizeof(ev.type) + sizeof(ev.u.feature))) { in uhid_read_event() 148 __func__, ret, sizeof(ev.type) + sizeof(ev.u.feature)); in uhid_read_event() 151 APPL_TRACE_DEBUG("UHID_FEATURE: Report type = %d", ev.u.feature.rtype); in uhid_read_event() 155 *get_rpt_id = ev.u.feature.id; in uhid_read_event() 158 if (ev.u.feature.rtype == UHID_FEATURE_REPORT) in uhid_read_event() 159 btif_hh_getreport(p_dev, BTHH_FEATURE_REPORT, ev.u.feature.rnum, 0); in uhid_read_event() 162 ev.u.feature.rtype); in uhid_read_event()
|