Home
last modified time | relevance | path

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

12345

/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_EQ(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.cpp60 const std::map<int, PerfFileFormat::SectionDesc>& features = reader->FeatureSectionDescriptors(); in TEST() local
61 ASSERT_NE(features.find(PerfFileFormat::FEAT_FILE), features.end()); in TEST()
62 ASSERT_NE(features.find(PerfFileFormat::FEAT_META_INFO), features.end()); in TEST()
Dcmd_debug_unwind.cpp344 const std::map<int, PerfFileFormat::SectionDesc>& features = reader_->FeatureSectionDescriptors(); in WriteFeatureSections() local
345 size_t new_feature_count = features.size(); in WriteFeatureSections()
347 if (features.find(feature) == features.end()) { in WriteFeatureSections()
355 auto it = features.begin(); in WriteFeatureSections()
357 while (it != features.end() && it->first < PerfFileFormat::FEAT_FILE) { in WriteFeatureSections()
365 if (it != features.end() && it->first == PerfFileFormat::FEAT_FILE) { in WriteFeatureSections()
373 if (it != features.end() && it->first == PerfFileFormat::FEAT_META_INFO) { in WriteFeatureSections()
385 CHECK(it == features.end()); in WriteFeatureSections()
Dcmd_dumprecord.cpp134 std::vector<int> features; in DumpFileHeader() local
138 if ((header.features[j] & (1 << k)) != 0) { in DumpFileHeader()
139 features.push_back(i); in DumpFileHeader()
142 for (auto& feature : features) { in DumpFileHeader()
/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.cc90 tBTA_HF_CLIENT_FEAT features, in bta_hf_client_add_record() argument
135 if (features & BTA_HF_CLIENT_FEAT_ECNR) in bta_hf_client_add_record()
138 if (features & BTA_HF_CLIENT_FEAT_3WAY) in bta_hf_client_add_record()
141 if (features & BTA_HF_CLIENT_FEAT_CLI) sdp_features |= BTA_HF_CLIENT_FEAT_CLI; in bta_hf_client_add_record()
143 if (features & BTA_HF_CLIENT_FEAT_VREC) in bta_hf_client_add_record()
146 if (features & BTA_HF_CLIENT_FEAT_VOL) sdp_features |= BTA_HF_CLIENT_FEAT_VOL; in bta_hf_client_add_record()
149 if (features & BTA_HF_CLIENT_FEAT_CODEC) sdp_features |= 0x0020; in bta_hf_client_add_record()
179 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.h191 tBTA_HF_CLIENT_FEAT features; /* features registered by application */ member
225 tBTA_HF_CLIENT_FEAT features,
234 tBTA_HF_CLIENT_FEAT features,
264 tBTA_HF_CLIENT_FEAT features);
/system/bt/bta/ag/
Dbta_ag_cmd.cc919 (p_scb->features & BTA_AG_FEAT_VOIP))) { in bta_ag_at_hfp_cback()
954 (p_scb->features & BTA_AG_FEAT_ECC) && in bta_ag_at_hfp_cback()
976 !((p_scb->features & BTA_AG_FEAT_ECC) && in bta_ag_at_hfp_cback()
1060 !((p_scb->features & BTA_AG_FEAT_3WAY) && in bta_ag_at_hfp_cback()
1081 if (!(p_scb->features & BTA_AG_FEAT_VTAG)) { in bta_ag_at_hfp_cback()
1090 if (!(p_scb->features & BTA_AG_FEAT_VREC)) { in bta_ag_at_hfp_cback()
1100 tBTA_AG_FEAT features = p_scb->features; in bta_ag_at_hfp_cback() local
1102 features &= HFP_1_6_FEAT_MASK; in bta_ag_at_hfp_cback()
1106 p_scb->peer_features, features); in bta_ag_at_hfp_cback()
1110 (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/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.cc239 bta_av_cb.features = p_data->api_enable.features; in bta_av_api_enable()
243 enable.features = bta_av_cb.features; in bta_av_api_enable()
246 if (!(bta_av_cb.features & BTA_AV_FEAT_NO_SCO_SSPD)) { in bta_av_api_enable()
533 if (bta_av_cb.features & (BTA_AV_FEAT_RCTG)) { in bta_av_api_register()
566 (bta_av_cb.features & BTA_AV_FEAT_BROWSE), profile_version); in bta_av_api_register()
581 if (!(bta_av_cb.features & BTA_AV_FEAT_PROTECT)) { in bta_av_api_register()
610 if (bta_av_cb.features & BTA_AV_FEAT_REPORT) { in bta_av_api_register()
614 if (bta_av_cb.features & BTA_AV_FEAT_DELAY_RPT) in bta_av_api_register()
681 if (bta_av_cb.features & BTA_AV_FEAT_RCTG) in bta_av_api_register()
686 if (bta_av_cb.features & (BTA_AV_FEAT_RCCT)) { 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()
518 p_cb->features, p_cb->rcb[i].peer_features); in bta_av_rc_opened()
565 p_cb->features, rc_open.peer_features); in bta_av_rc_opened()
569 if (p_cb->features & BTA_AV_FEAT_RCCT) in bta_av_rc_opened()
571 if (p_cb->features & BTA_AV_FEAT_RCTG) in bta_av_rc_opened()
584 if ((p_cb->features & BTA_AV_FEAT_BROWSE) && in bta_av_rc_opened()
603 if (p_cb->features & BTA_AV_FEAT_RCCT) { in bta_av_rc_remote_cmd()
625 if ((p_cb->features & (BTA_AV_FEAT_RCCT | BTA_AV_FEAT_VENDOR)) == in bta_av_rc_vendor_cmd()
646 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) && in bta_av_rc_meta_rsp()
[all …]
/system/bt/service/hal/
Dfake_bluetooth_interface.cc132 const bt_local_le_features_t* features) { in NotifyAdapterLocalLeFeaturesPropertyChanged() argument
134 property.len = sizeof(*features); in NotifyAdapterLocalLeFeaturesPropertyChanged()
135 property.val = (void*)features; in NotifyAdapterLocalLeFeaturesPropertyChanged()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice_properties.h48 void SetSupportedFeatures(uint64_t features) { in SetSupportedFeatures() argument
49 extended_features_[0] = features; in SetSupportedFeatures()
227 void SetLeSupportedFeatures(uint64_t features) { in SetLeSupportedFeatures() argument
228 le_supported_features_ = features; in SetLeSupportedFeatures()
/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()
327 uint16_t features) { in AcceptorControlCb() argument
336 instance_->feature_map_.emplace(device->GetAddress(), features); in AcceptorControlCb()
340 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/sepolicy/prebuilts/api/27.0/public/
De2fs.te11 # access /sys/fs/ext4/features
Dephemeral_app.te10 ### additional security features.
/system/core/adb/client/
Dcommandline.cpp663 FeatureSet features; in adb_shell() local
665 if (!adb_get_feature_set(&features, &error_message)) { in adb_shell()
674 bool use_shell_protocol = CanUseFeature(features, kFeatureShell2); // -x in adb_shell()
750 !CanUseFeature(features, kFeatureShell2) ? "device" : "-x"); in adb_shell()
770 FeatureSet features; in adb_abb() local
772 if (!adb_get_feature_set(&features, &error_message)) { in adb_abb()
777 if (!CanUseFeature(features, kFeatureAbb)) { in adb_abb()
1162 FeatureSet features; in send_shell_command() local
1164 if (adb_get_feature_set(&features, &error)) { in send_shell_command()
1165 use_shell_protocol = CanUseFeature(features, kFeatureShell2); in send_shell_command()
[all …]
/system/sepolicy/prebuilts/api/28.0/public/
Dephemeral_app.te10 ### additional security features.
/system/sepolicy/prebuilts/api/29.0/public/
Dephemeral_app.te10 ### additional security features.

12345