/system/core/adb/ |
D | transport_test.cpp | 91 ASSERT_EQ(0U, t.features().size()); in TEST() 94 ASSERT_EQ(1U, t.features().size()); in TEST() 98 ASSERT_EQ(2U, t.features().size()); in TEST() 103 ASSERT_EQ(2U, t.features().size()); in TEST() 108 ASSERT_EQ(2U, t.features().size()); in TEST() 114 ASSERT_EQ(0U, t.features().size()); in TEST() 122 ASSERT_EQ(0U, t.features().size()); in TEST() 139 ASSERT_EQ(0U, t.features().size()); in TEST() 156 ASSERT_EQ(2U, t.features().size()); in TEST()
|
D | transport.h | 33 std::string FeatureSetToString(const FeatureSet& features); 102 const FeatureSet& features() const { in features() function
|
D | commandline.cpp | 714 FeatureSet features; in adb_shell() local 717 if (!adb_get_feature_set(&features, &error)) { in adb_shell() 722 bool use_shell_protocol = CanUseFeature(features, kFeatureShell2); in adb_shell() 771 if (!CanUseFeature(features, kFeatureShell2)) { in adb_shell() 780 if (CanUseFeature(features, kFeatureShell2)) { in adb_shell() 1138 FeatureSet features; in send_shell_command() local 1140 if (adb_get_feature_set(&features, &error)) { in send_shell_command() 1141 use_shell_protocol = CanUseFeature(features, kFeatureShell2); in send_shell_command() 1434 FeatureSet features; in _use_legacy_install() local 1436 if (!adb_get_feature_set(&features, &error)) { in _use_legacy_install() [all …]
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_sdp.c | 84 tBTA_HF_CLIENT_FEAT features, UINT32 sdp_handle) in bta_hf_client_add_record() argument 126 if (features & BTA_HF_CLIENT_FEAT_ECNR) in bta_hf_client_add_record() 129 if (features & BTA_HF_CLIENT_FEAT_3WAY) in bta_hf_client_add_record() 132 if (features & BTA_HF_CLIENT_FEAT_CLI) in bta_hf_client_add_record() 135 if (features & BTA_HF_CLIENT_FEAT_VREC) in bta_hf_client_add_record() 138 if (features & BTA_HF_CLIENT_FEAT_VOL) in bta_hf_client_add_record() 142 if (features & BTA_HF_CLIENT_FEAT_CODEC) in bta_hf_client_add_record() 173 p_data->api_register.features, in bta_hf_client_create_record()
|
D | bta_hf_client_api.c | 109 void BTA_HfClientRegister(tBTA_SEC sec_mask, tBTA_HF_CLIENT_FEAT features, in BTA_HfClientRegister() argument 116 p_buf->features = features; in BTA_HfClientRegister()
|
D | bta_hf_client_int.h | 88 tBTA_HF_CLIENT_FEAT features; member 147 tBTA_HF_CLIENT_FEAT features; /* features registered by application */ member 213 UINT8 scn, tBTA_HF_CLIENT_FEAT features,
|
/system/bt/stack/btm/ |
D | btm_dev.c | 60 UINT8 *features, UINT32 trusted_mask[], in BTM_SecAddDevice() argument 105 if (features) in BTM_SecAddDevice() 108 memcpy (p_dev_rec->features, features, sizeof (p_dev_rec->features)); in BTM_SecAddDevice() 113 if (p_dev_rec->features[i][j] != 0) in BTM_SecAddDevice() 122 memset (p_dev_rec->features, 0, sizeof (p_dev_rec->features)); in BTM_SecAddDevice() 331 if (HCI_SWITCH_SUPPORTED(p_dev_rec->features[HCI_EXT_FEATURES_PAGE_0])) in btm_dev_support_switch() 340 if (p_dev_rec->features[HCI_EXT_FEATURES_PAGE_0][xx] != 0x00) in btm_dev_support_switch()
|
/system/bt/bta/ag/ |
D | bta_ag_cmd.c | 976 … if(!((p_scb->peer_features & BTA_AG_PEER_FEAT_VOIP) && (p_scb->features & BTA_AG_FEAT_VOIP))) in bta_ag_at_hfp_cback() 1011 (p_scb->features & BTA_AG_FEAT_ECC) && in bta_ag_at_hfp_cback() 1035 …if(val.idx && !((p_scb->features & BTA_AG_FEAT_ECC) && (p_scb->peer_features & BTA_AG_PEER_FEAT_EC… in bta_ag_at_hfp_cback() 1126 … !((p_scb->features & BTA_AG_FEAT_3WAY) && (p_scb->peer_features & BTA_AG_PEER_FEAT_3WAY))) in bta_ag_at_hfp_cback() 1152 if (!(p_scb->features & BTA_AG_FEAT_VTAG)) in bta_ag_at_hfp_cback() 1161 if (!(p_scb->features & BTA_AG_FEAT_VREC)) in bta_ag_at_hfp_cback() 1173 tBTA_AG_FEAT features = p_scb->features; in bta_ag_at_hfp_cback() local 1176 features &= HFP_1_6_FEAT_MASK; in bta_ag_at_hfp_cback() 1180 p_scb->peer_features, features); in bta_ag_at_hfp_cback() 1183 bta_ag_send_result(p_scb, BTA_AG_LOCAL_RES_BRSF, NULL, (int16_t) features); in bta_ag_at_hfp_cback() [all …]
|
D | bta_ag_sdp.c | 129 tBTA_AG_FEAT features, UINT32 sdp_handle) in bta_ag_add_record() argument 181 network = (features & BTA_AG_FEAT_REJECT) ? 1 : 0; in bta_ag_add_record() 185 if (features & BTA_AG_FEAT_CODEC) in bta_ag_add_record() 188 features &= BTA_AG_SDP_FEAT_SPEC; in bta_ag_add_record() 192 features |= 0x0020; in bta_ag_add_record() 194 UINT16_TO_BE_FIELD(buf, features); in bta_ag_add_record() 231 bta_ag_cb.profile[i].scn, p_data->api_register.features, in bta_ag_create_records()
|
D | bta_ag_api.c | 110 void BTA_AgRegister(tBTA_SERVICE_MASK services, tBTA_SEC sec_mask,tBTA_AG_FEAT features, in BTA_AgRegister() argument 117 p_buf->features = features; in BTA_AgRegister()
|
D | bta_ag_int.h | 156 tBTA_AG_FEAT features; member 249 tBTA_AG_FEAT features; /* features registered by application */ member 360 tBTA_AG_FEAT features, UINT32 sdp_handle);
|
D | bta_ag_act.c | 129 p_scb->features = p_data->api_register.features; in bta_ag_register() 514 p_scb->inband_enabled = ((p_scb->features & BTA_AG_FEAT_INBAND) == BTA_AG_FEAT_INBAND); in bta_ag_rfc_open() 787 if (bta_ag_inband_enabled(p_scb) && !(p_scb->features & BTA_AG_FEAT_NOSCO)) in bta_ag_post_sco_close()
|
/system/bt/service/test/ |
D | adapter_unittest.cpp | 244 bt_local_le_features_t features; in TEST_F() local 245 memset(&features, 0, sizeof(features)); in TEST_F() 247 features.max_adv_instance = 10; // Some high number. in TEST_F() 248 fake_hal_iface_->NotifyAdapterLocalLeFeaturesPropertyChanged(&features); in TEST_F() 251 features.max_adv_instance = 0; // Low number. in TEST_F() 252 fake_hal_iface_->NotifyAdapterLocalLeFeaturesPropertyChanged(&features); in TEST_F()
|
/system/bt/bta/av/ |
D | bta_av_main.c | 240 bta_av_cb.features = p_data->api_enable.features; in bta_av_api_enable() 244 enable.features = bta_av_cb.features; in bta_av_api_enable() 247 if (!(bta_av_cb.features & BTA_AV_FEAT_NO_SCO_SSPD)) in bta_av_api_enable() 542 if (bta_av_cb.features & (BTA_AV_FEAT_RCTG)) in bta_av_api_register() 557 (bta_av_cb.features & BTA_AV_FEAT_BROWSE), AVRC_REV_1_3); in bta_av_api_register() 564 (bta_av_cb.features & BTA_AV_FEAT_BROWSE), AVRC_REV_1_4); in bta_av_api_register() 588 ((bta_av_cb.features & BTA_AV_FEAT_PROTECT) ? 0 : AVDT_NSC_SECURITY); in bta_av_api_register() 616 if(bta_av_cb.features & BTA_AV_FEAT_REPORT) in bta_av_api_register() 625 if(bta_av_cb.features & BTA_AV_FEAT_DELAY_RPT) in bta_av_api_register() 687 if (bta_av_cb.features & BTA_AV_FEAT_RCTG) in bta_av_api_register() [all …]
|
D | bta_av_act.c | 332 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | AVRC_CT_PASSIVE); in bta_av_rc_create() 566 APPL_TRACE_DEBUG("local features:x%x peer_features:x%x", p_cb->features, in bta_av_rc_opened() 575 if (p_cb->features & BTA_AV_FEAT_RCTG) in bta_av_rc_opened() 595 if (p_cb->features & BTA_AV_FEAT_RCCT) in bta_av_rc_remote_cmd() 621 if ( (p_cb->features & (BTA_AV_FEAT_RCCT | BTA_AV_FEAT_VENDOR)) == in bta_av_rc_vendor_cmd() 644 if ( (p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_VENDOR)) == in bta_av_rc_vendor_rsp() 669 if ((p_cb->features & BTA_AV_FEAT_METADATA) && (p_data->hdr.layer_specific < BTA_AV_NUM_RCB)) in bta_av_rc_meta_rsp() 671 if ((p_data->api_meta_rsp.is_rsp && (p_cb->features & BTA_AV_FEAT_RCTG)) || in bta_av_rc_meta_rsp() 672 (!p_data->api_meta_rsp.is_rsp && (p_cb->features & BTA_AV_FEAT_RCCT)) ) in bta_av_rc_meta_rsp() 896 if (p_cb->features & BTA_AV_FEAT_METADATA) in bta_av_rc_msg() [all …]
|
D | bta_av_api.c | 64 void BTA_AvEnable(tBTA_SEC sec_mask, tBTA_AV_FEAT features, tBTA_AV_CBACK *p_cback) in BTA_AvEnable() argument 74 p_buf->features = features; in BTA_AvEnable()
|
/system/bt/service/hal/ |
D | fake_bluetooth_interface.cpp | 132 const bt_local_le_features_t* features) { in NotifyAdapterLocalLeFeaturesPropertyChanged() argument 134 property.len = sizeof(*features); in NotifyAdapterLocalLeFeaturesPropertyChanged() 135 property.val = (void*)features; in NotifyAdapterLocalLeFeaturesPropertyChanged()
|
D | fake_bluetooth_interface.h | 56 const bt_local_le_features_t* features);
|
/system/extras/simpleperf/ |
D | cmd_dumprecord.cpp | 119 std::vector<int> features; in DumpFileHeader() local 123 if ((header.features[j] & (1 << k)) != 0) { in DumpFileHeader() 124 features.push_back(i); in DumpFileHeader() 127 for (auto& feature : features) { in DumpFileHeader()
|
D | record_file_reader.cpp | 109 std::vector<int> features; in ReadFeatureSectionDescriptors() local 110 for (size_t i = 0; i < sizeof(header_.features); ++i) { in ReadFeatureSectionDescriptors() 112 if (header_.features[i] & (1 << j)) { in ReadFeatureSectionDescriptors() 113 features.push_back(i * 8 + j); in ReadFeatureSectionDescriptors() 122 for (const auto& id : features) { in ReadFeatureSectionDescriptors()
|
D | record_file_format.h | 75 unsigned char features[FEAT_MAX_NUM / 8]; member
|
/system/bt/stack/include/ |
D | a2d_api.h | 120 UINT16 features; /* Profile supported features */ member 166 UINT16 features, UINT32 sdp_handle);
|
/system/bt/stack/a2dp/ |
D | a2d_api.c | 98 a2d_svc.features = p_attr->attr_value.v.u16; in a2d_sdp_cback() 172 UINT16 features, UINT32 sdp_handle) in A2D_AddRecord() argument 205 if (features != 0) in A2D_AddRecord() 208 UINT16_TO_BE_STREAM(p, features); in A2D_AddRecord()
|
/system/bt/service/ |
D | adapter.cpp | 284 bt_local_le_features_t* features = in AdapterPropertiesCallback() local 286 memcpy(&local_le_features_, features, sizeof(*features)); in AdapterPropertiesCallback()
|
/system/bt/service/doc/ |
D | IBluetooth.txt | 104 * Returns a binder that can be used to interact with Low-Energy features. 110 * features. 116 * features.
|