Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 132) sorted by relevance

123456

/system/core/adb/
Dtransport_test.cpp57 ASSERT_EQ(0U, t.features().size()); in TEST_F()
60 ASSERT_EQ(1U, t.features().size()); in TEST_F()
64 ASSERT_EQ(2U, t.features().size()); in TEST_F()
69 ASSERT_LE(2U, t.features().size()); in TEST_F()
74 ASSERT_EQ(2U, t.features().size()); in TEST_F()
80 ASSERT_EQ(0U, t.features().size()); in TEST_F()
88 ASSERT_EQ(0U, t.features().size()); in TEST_F()
105 ASSERT_EQ(0U, t.features().size()); in TEST_F()
121 ASSERT_EQ(2U, t.features().size()); in TEST_F()
/system/extras/simpleperf/
Dcmd_debug_unwind_test.cpp62 const std::map<int, PerfFileFormat::SectionDesc>& features = reader->FeatureSectionDescriptors(); in TEST() local
63 ASSERT_NE(features.find(PerfFileFormat::FEAT_FILE), features.end()); in TEST()
64 ASSERT_NE(features.find(PerfFileFormat::FEAT_META_INFO), features.end()); in TEST()
Dcmd_debug_unwind.cpp345 const std::map<int, PerfFileFormat::SectionDesc>& features = reader_->FeatureSectionDescriptors(); in WriteFeatureSections() local
346 size_t new_feature_count = features.size(); in WriteFeatureSections()
348 if (features.find(feature) == features.end()) { in WriteFeatureSections()
356 auto it = features.begin(); in WriteFeatureSections()
358 while (it != features.end() && it->first < PerfFileFormat::FEAT_FILE) { in WriteFeatureSections()
366 if (it != features.end() && it->first == PerfFileFormat::FEAT_FILE) { in WriteFeatureSections()
374 if (it != features.end() && it->first == PerfFileFormat::FEAT_META_INFO) { in WriteFeatureSections()
384 CHECK(it == features.end()); in WriteFeatureSections()
/system/extras/ext4_utils/
Dmke2fs.conf12 features = has_journal
15 features = has_journal,extent,huge_file,dir_nlink,extra_isize,uninit_bg
19 features = has_journal,extent,huge_file,flex_bg,inline_data,64bit,dir_nlink,extra_isize
/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc91 tBTA_HF_CLIENT_FEAT features, in bta_hf_client_add_record() argument
139 if (features & BTA_HF_CLIENT_FEAT_ECNR) in bta_hf_client_add_record()
142 if (features & BTA_HF_CLIENT_FEAT_3WAY) in bta_hf_client_add_record()
145 if (features & BTA_HF_CLIENT_FEAT_CLI) sdp_features |= BTA_HF_CLIENT_FEAT_CLI; in bta_hf_client_add_record()
147 if (features & BTA_HF_CLIENT_FEAT_VREC) in bta_hf_client_add_record()
150 if (features & BTA_HF_CLIENT_FEAT_VOL) sdp_features |= BTA_HF_CLIENT_FEAT_VOL; in bta_hf_client_add_record()
153 if (features & BTA_HF_CLIENT_FEAT_CODEC) sdp_features |= 0x0020; in bta_hf_client_add_record()
183 client_cb_arr->features, in bta_hf_client_create_record()
Dbta_hf_client_api.cc53 tBTA_HF_CLIENT_FEAT features, in BTA_HfClientEnable() argument
55 return bta_hf_client_api_enable(p_cback, sec_mask, features, p_service_name); in BTA_HfClientEnable()
Dbta_hf_client_int.h193 tBTA_HF_CLIENT_FEAT features; /* features registered by application */ member
227 tBTA_HF_CLIENT_FEAT features,
236 tBTA_HF_CLIENT_FEAT features,
266 tBTA_HF_CLIENT_FEAT features);
/system/bt/bta/test/
Dbta_hf_client_add_record_test.cc42 tBTA_HF_CLIENT_FEAT features = BTIF_HF_CLIENT_FEATURES; in TEST_F() local
47 bta_hf_client_add_record("Handsfree", scn, features, sdp_handle); in TEST_F()
52 bta_hf_client_add_record("Handsfree", scn, features, sdp_handle); in TEST_F()
/system/bt/bta/ag/
Dbta_ag_cmd.cc918 (p_scb->features & BTA_AG_FEAT_VOIP))) { in bta_ag_at_hfp_cback()
953 (p_scb->features & BTA_AG_FEAT_ECC) && in bta_ag_at_hfp_cback()
975 !((p_scb->features & BTA_AG_FEAT_ECC) && in bta_ag_at_hfp_cback()
1059 !((p_scb->features & BTA_AG_FEAT_3WAY) && in bta_ag_at_hfp_cback()
1080 if (!(p_scb->features & BTA_AG_FEAT_VTAG)) { in bta_ag_at_hfp_cback()
1089 if (!(p_scb->features & BTA_AG_FEAT_VREC)) { in bta_ag_at_hfp_cback()
1099 tBTA_AG_FEAT features = p_scb->features; in bta_ag_at_hfp_cback() local
1101 features &= HFP_1_6_FEAT_MASK; in bta_ag_at_hfp_cback()
1105 p_scb->peer_features, features); in bta_ag_at_hfp_cback()
1109 (int16_t)features); in bta_ag_at_hfp_cback()
[all …]
Dbta_ag_sdp.cc129 uint8_t scn, tBTA_AG_FEAT features, 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) codec_supported = true; in bta_ag_add_record()
187 features &= BTA_AG_SDP_FEAT_SPEC; in bta_ag_add_record()
190 if (codec_supported) features |= 0x0020; in bta_ag_add_record()
192 UINT16_TO_BE_FIELD(buf, features); in bta_ag_add_record()
227 bta_ag_cb.profile[i].scn, data.api_register.features, in bta_ag_create_records()
Dbta_ag_api.cc94 tBTA_AG_FEAT features, in BTA_AgRegister() argument
98 FROM_HERE, base::Bind(&bta_ag_api_register, services, sec_mask, features, in BTA_AgRegister()
Dbta_ag_int.h122 tBTA_AG_FEAT features; member
204 tBTA_AG_FEAT features; /* features registered by application */ member
297 tBTA_AG_FEAT features,
321 uint8_t scn, tBTA_AG_FEAT features,
/system/bt/service/test/
Dadapter_unittest.cc239 bt_local_le_features_t features; in TEST_F() local
240 memset(&features, 0, sizeof(features)); in TEST_F()
242 features.max_adv_instance = 10; // Some high number. in TEST_F()
243 fake_hal_iface_->NotifyAdapterLocalLeFeaturesPropertyChanged(&features); in TEST_F()
246 features.max_adv_instance = 0; // Low number. in TEST_F()
247 fake_hal_iface_->NotifyAdapterLocalLeFeaturesPropertyChanged(&features); in TEST_F()
/system/core/fs_mgr/libfiemap/
Dutility.cpp120 auto features = android::base::Split(contents, ", "); in F2fsPinBeforeAllocate() local
121 auto iter = std::find(features.begin(), features.end(), "pin_file"s); in F2fsPinBeforeAllocate()
122 *supported = (iter != features.end()); in F2fsPinBeforeAllocate()
/system/bt/stack/include/
Da2dp_api.h80 uint16_t features; /* Profile supported features */ member
122 char* p_provider_name, uint16_t features,
/system/bt/bta/av/
Dbta_av_main.cc272 bta_av_cb.features = p_data->api_enable.features; in bta_av_api_enable()
276 enable.features = bta_av_cb.features; in bta_av_api_enable()
508 (bta_av_cb.features == 0 && bta_av_cb.sec_mask == 0)) { in bta_av_api_register()
512 __func__, bta_av_cb.features, bta_av_cb.sec_mask, bta_av_cb.reg_audio, in bta_av_api_register()
578 if (bta_av_cb.features & (BTA_AV_FEAT_RCTG)) { in bta_av_api_register()
611 (bta_av_cb.features & BTA_AV_FEAT_BROWSE), profile_version); in bta_av_api_register()
626 if (!(bta_av_cb.features & BTA_AV_FEAT_PROTECT)) { in bta_av_api_register()
655 if (bta_av_cb.features & BTA_AV_FEAT_REPORT) { in bta_av_api_register()
659 if (bta_av_cb.features & BTA_AV_FEAT_DELAY_RPT) in bta_av_api_register()
729 if (bta_av_cb.features & BTA_AV_FEAT_RCTG) in bta_av_api_register()
[all …]
Dbta_av_act.cc347 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | in bta_av_rc_create()
519 p_cb->features, p_cb->rcb[i].peer_features); in bta_av_rc_opened()
567 p_cb->features, rc_open.peer_features); in bta_av_rc_opened()
572 if (p_cb->features & BTA_AV_FEAT_RCCT) in bta_av_rc_opened()
574 if (p_cb->features & BTA_AV_FEAT_RCTG) in bta_av_rc_opened()
587 if ((p_cb->features & BTA_AV_FEAT_BROWSE) && in bta_av_rc_opened()
606 if (p_cb->features & BTA_AV_FEAT_RCCT) { in bta_av_rc_remote_cmd()
628 if ((p_cb->features & (BTA_AV_FEAT_RCCT | BTA_AV_FEAT_VENDOR)) == in bta_av_rc_vendor_cmd()
649 if ((p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_VENDOR)) == in bta_av_rc_vendor_rsp()
672 if ((p_cb->features & BTA_AV_FEAT_METADATA) && in bta_av_rc_meta_rsp()
[all …]
/system/bt/btif/test/
Dbtif_hf_client_service_test.cc13 tBTA_HF_CLIENT_FEAT features, in BTA_HfClientEnable() argument
15 gFeatures = features; in BTA_HfClientEnable()
/system/bt/service/hal/
Dfake_bluetooth_interface.cc133 const bt_local_le_features_t* features) { in NotifyAdapterLocalLeFeaturesPropertyChanged() argument
135 property.len = sizeof(*features); in NotifyAdapterLocalLeFeaturesPropertyChanged()
136 property.val = (void*)features; in NotifyAdapterLocalLeFeaturesPropertyChanged()
/system/bt/profile/avrcp/
Dconnection_handler.cc120 uint16_t version, uint16_t features) { in ConnectDevice() argument
122 << " SDP Completed features=" << loghex(features); in ConnectDevice()
123 if (status != AVRC_SUCCESS || !(features & BTA_AV_FEAT_RCCT)) { in ConnectDevice()
125 << " features=" << loghex(features) in ConnectDevice()
126 << " supports controller: " << (features & BTA_AV_FEAT_RCCT); in ConnectDevice()
130 instance_->feature_map_.emplace(bdaddr, features); in ConnectDevice()
326 uint16_t features) { in AcceptorControlCb() argument
335 instance_->feature_map_.emplace(device->GetAddress(), features); in AcceptorControlCb()
339 if (features & BTA_AV_FEAT_ADV_CTRL) { in AcceptorControlCb()
/system/bt/stack/a2dp/
Da2dp_api.cc103 a2dp_svc.features = p_attr->attr_value.v.u16; in a2dp_sdp_cback()
174 char* p_provider_name, uint16_t features, in A2DP_AddRecord() argument
209 if (features != 0) { in A2DP_AddRecord()
211 UINT16_TO_BE_STREAM(p, features); in A2DP_AddRecord()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice_properties.h53 void SetExtendedFeatures(uint64_t features, uint8_t page_number) { in SetExtendedFeatures() argument
55 extended_features_[page_number] = features; in SetExtendedFeatures()
277 void SetLeSupportedFeatures(uint64_t features) { in SetLeSupportedFeatures() argument
278 le_supported_features_ = features; in SetLeSupportedFeatures()
/system/core/adb/client/
Dcommandline.cpp680 auto&& features = adb_get_feature_set(&error); in adb_shell()
681 if (!features) { in adb_shell()
689 bool use_shell_protocol = CanUseFeature(*features, kFeatureShell2); // -x in adb_shell()
765 !CanUseFeature(*features, kFeatureShell2) ? "device" : "-x"); in adb_shell()
786 auto&& features = adb_get_feature_set(&error); in adb_abb()
787 if (!features) { in adb_abb()
791 if (!CanUseFeature(*features, kFeatureAbb)) { in adb_abb()
1169 auto&& features = adb_get_feature_set(nullptr); in send_shell_command()
1170 if (features) { in send_shell_command()
1171 use_shell_protocol = CanUseFeature(*features, kFeatureShell2); in send_shell_command()
[all …]
Dadb_client.cpp421 static std::optional<FeatureSet> features [[clang::no_destroy]] GUARDED_BY(feature_mutex); in adb_get_feature_set()
423 if (!features) { in adb_get_feature_set()
427 features = StringToFeatureSet(result); in adb_get_feature_set()
434 return features; in adb_get_feature_set()
/system/bt/vendor_libs/test_vendor_lib/packets/
Dlink_layer_packets.pdl187 features : 64,
194 features : 64,
205 features : 64,

123456