Home
last modified time | relevance | path

Searched refs:From16Bit (Results 1 – 25 of 62) sorted by relevance

123

/packages/modules/Bluetooth/system/bta/test/gatt/
Ddatabase_test.cc35 const Uuid PRIMARY_SERVICE = Uuid::From16Bit(GATT_UUID_PRI_SERVICE);
36 const Uuid SECONDARY_SERVICE = Uuid::From16Bit(GATT_UUID_SEC_SERVICE);
37 const Uuid INCLUDE = Uuid::From16Bit(GATT_UUID_INCLUDE_SERVICE);
38 const Uuid CHARACTERISTIC = Uuid::From16Bit(GATT_UUID_CHAR_DECLARE);
40 Uuid::From16Bit(GATT_UUID_CHAR_EXT_PROP);
230 builder.AddService(0x0001, 0x0005, Uuid::From16Bit(0x1800), true); in TEST()
231 builder.AddService(0x0006, 0x000D, Uuid::From16Bit(0x1801), true); in TEST()
232 builder.AddService(0x000E, 0x0013, Uuid::From16Bit(0x1808), true); in TEST()
233 builder.AddService(0x0014, 0xFFFF, Uuid::From16Bit(0x180F), false); in TEST()
235 builder.AddCharacteristic(0x0002, 0x0003, Uuid::From16Bit(0x2A00), 0x0A); in TEST()
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr_hash.cc39 if (attr_it->uuid == Uuid::From16Bit(GATT_UUID_PRI_SERVICE) || in calculate_database_info_size()
40 attr_it->uuid == Uuid::From16Bit(GATT_UUID_SEC_SERVICE)) { in calculate_database_info_size()
43 } else if (attr_it->uuid == Uuid::From16Bit(GATT_UUID_INCLUDE_SERVICE)){ in calculate_database_info_size()
46 } else if (attr_it->uuid == Uuid::From16Bit(GATT_UUID_CHAR_DECLARE)) { in calculate_database_info_size()
49 } else if (attr_it->uuid == Uuid::From16Bit(GATT_UUID_CHAR_DESCRIPTION) || in calculate_database_info_size()
50 attr_it->uuid == Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG) || in calculate_database_info_size()
51 attr_it->uuid == Uuid::From16Bit(GATT_UUID_CHAR_SRVR_CONFIG) || in calculate_database_info_size()
52 attr_it->uuid == Uuid::From16Bit(GATT_UUID_CHAR_PRESENT_FORMAT) || in calculate_database_info_size()
53 attr_it->uuid == Uuid::From16Bit(GATT_UUID_CHAR_AGG_FORMAT)) { in calculate_database_info_size()
56 } else if (attr_it->uuid == Uuid::From16Bit(GATT_UUID_CHAR_EXT_PROP)) { in calculate_database_info_size()
[all …]
Dgatt_attr.cc413 Uuid service_uuid = Uuid::From16Bit(UUID_SERVCLASS_GATT_SERVER); in gatt_profile_db_init()
415 Uuid srv_changed_char_uuid = Uuid::From16Bit(GATT_UUID_GATT_SRV_CHGD); in gatt_profile_db_init()
416 Uuid svr_sup_feat_uuid = Uuid::From16Bit(GATT_UUID_SERVER_SUP_FEAT); in gatt_profile_db_init()
417 Uuid cl_sup_feat_uuid = Uuid::From16Bit(GATT_UUID_CLIENT_SUP_FEAT); in gatt_profile_db_init()
418 Uuid database_hash_uuid = Uuid::From16Bit(GATT_UUID_DATABASE_HASH); in gatt_profile_db_init()
495 if (p_data->type == Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)) { in gatt_disc_res_cback()
551 param.service.uuid = bluetooth::Uuid::From16Bit(GATT_UUID_CLIENT_SUP_FEAT); in gatt_svc_read_cl_supp_feat_req()
713 0xffff, Uuid::From16Bit(UUID_SERVCLASS_GATT_SERVER)) != in gatt_cl_start_config_ccc()
723 Uuid::From16Bit(GATT_UUID_GATT_SRV_CHGD)) != GATT_SUCCESS) { in gatt_cl_start_config_ccc()
834 param.service.uuid = bluetooth::Uuid::From16Bit(GATT_UUID_SERVER_SUP_FEAT); in read_sr_supported_feat_req()
[all …]
Dgatt_api.cc125 if (uuid == Uuid::From16Bit(GATT_UUID_PRI_SERVICE) || in is_gatt_attr_type()
126 uuid == Uuid::From16Bit(GATT_UUID_SEC_SERVICE) || in is_gatt_attr_type()
127 uuid == Uuid::From16Bit(GATT_UUID_INCLUDE_SERVICE) || in is_gatt_attr_type()
128 uuid == Uuid::From16Bit(GATT_UUID_CHAR_DECLARE)) { in is_gatt_attr_type()
187 if (svc_uuid == Uuid::From16Bit(UUID_SERVCLASS_GATT_SERVER)) { in GATTS_AddService()
189 } else if (svc_uuid == Uuid::From16Bit(UUID_SERVCLASS_GAP_SERVER)) { in GATTS_AddService()
191 } else if (svc_uuid == Uuid::From16Bit(UUID_SERVCLASS_GMCS_SERVER)) { in GATTS_AddService()
193 } else if (svc_uuid == Uuid::From16Bit(UUID_SERVCLASS_GTBS_SERVER)) { in GATTS_AddService()
195 } else if (svc_uuid == Uuid::From16Bit(UUID_SERVCLASS_TMAS_SERVER)) { in GATTS_AddService()
316 if (*p_uuid != Uuid::From16Bit(UUID_SERVCLASS_GMCS_SERVER) && in GATTS_AddService()
[all …]
Dgatt_db.cc62 Uuid::From16Bit(is_pri ? GATT_UUID_PRI_SERVICE : GATT_UUID_SEC_SERVICE); in gatts_init_service_db()
337 Uuid uuid = Uuid::From16Bit(GATT_UUID_INCLUDE_SERVICE); in gatts_add_included_service()
376 Uuid uuid = Uuid::From16Bit(GATT_UUID_CHAR_DECLARE); in gatts_add_characteristic()
405 Uuid descr_uuid = Uuid::From16Bit(GATT_UUID_CHAR_EXT_PROP); in gatts_add_char_ext_prop_descr()
/packages/modules/Bluetooth/system/stack/test/
Dstack_gatt_sr_hash_test.cc44 gatts_init_service_db(local_db[0], Uuid::From16Bit(0x1800), true, 0x0001, 5); in TEST()
48 Uuid::From16Bit(0x2A00)); in TEST()
50 Uuid::From16Bit(0x2A01)); in TEST()
53 gatts_init_service_db(local_db[1], Uuid::From16Bit(0x1801), true, 0x0006, 8); in TEST()
55 Uuid::From16Bit(0x2A05)); in TEST()
56 gatts_add_char_descr(local_db[1], GATT_CHAR_PROP_BIT_READ, Uuid::From16Bit(0x2902)); in TEST()
60 Uuid::From16Bit(0x2B29)); in TEST()
62 Uuid::From16Bit(0x2B2A)); in TEST()
65 gatts_init_service_db(local_db[2], Uuid::From16Bit(0x1808), true, 0x000E, 6); in TEST()
66 gatts_add_included_service(local_db[2], 0x0014, 0x0016, Uuid::From16Bit(0x180F)); in TEST()
[all …]
/packages/modules/Bluetooth/system/btif/include/
Dbtif_sock_sdp.h28 bluetooth::Uuid::From16Bit(0x1105);
29 static const bluetooth::Uuid UUID_PBAP_PCE = bluetooth::Uuid::From16Bit(0x112E);
30 static const bluetooth::Uuid UUID_PBAP_PSE = bluetooth::Uuid::From16Bit(0x112F);
31 static const bluetooth::Uuid UUID_MAP_MAS = bluetooth::Uuid::From16Bit(0x1132);
32 static const bluetooth::Uuid UUID_SAP = bluetooth::Uuid::From16Bit(0x112D);
33 static const bluetooth::Uuid UUID_SPP = bluetooth::Uuid::From16Bit(0x1101);
34 static const bluetooth::Uuid UUID_DIP = bluetooth::Uuid::From16Bit(0x1200);
35 static const bluetooth::Uuid UUID_MAP_MNS = bluetooth::Uuid::From16Bit(0x1133);
/packages/modules/Bluetooth/system/bta/ras/
Dras_types.h37 bluetooth::Uuid::From16Bit(kRangingService16Bit);
39 bluetooth::Uuid::From16Bit(kRasFeaturesCharacteristic16bit);
41 bluetooth::Uuid::From16Bit(kRasRealTimeRangingDataCharacteristic16bit);
43 bluetooth::Uuid::From16Bit(kRasOnDemandDataCharacteristic16bit);
45 bluetooth::Uuid::From16Bit(kRasControlPointCharacteristic16bit);
47 bluetooth::Uuid::From16Bit(kRasRangingDataReadyCharacteristic16bit);
49 bluetooth::Uuid::From16Bit(kRasRangingDataOverWrittenCharacteristic16bit);
51 bluetooth::Uuid::From16Bit(kClientCharacteristicConfiguration16bit);
/packages/modules/Bluetooth/system/bta/vc/
Dtypes.h52 static const Uuid kVolumeControlUuid = Uuid::From16Bit(0x1844);
53 static const Uuid kVolumeControlStateUuid = Uuid::From16Bit(0x2B7D);
54 static const Uuid kVolumeControlPointUuid = Uuid::From16Bit(0x2B7E);
55 static const Uuid kVolumeFlagsUuid = Uuid::From16Bit(0x2B7F);
57 static const Uuid kVolumeOffsetUuid = Uuid::From16Bit(0x1845);
58 static const Uuid kVolumeOffsetStateUuid = Uuid::From16Bit(0x2B80);
59 static const Uuid kVolumeOffsetLocationUuid = Uuid::From16Bit(0x2B81);
60 static const Uuid kVolumeOffsetControlPointUuid = Uuid::From16Bit(0x2B82);
61 static const Uuid kVolumeOffsetOutputDescriptionUuid = Uuid::From16Bit(0x2B83);
Ddevices_test.cc270 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in SetSampleDatabase1()
280 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in SetSampleDatabase1()
293 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in SetSampleDatabase1()
299 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in SetSampleDatabase1()
307 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in SetSampleDatabase1()
309 Uuid::From16Bit(UUID_SERVCLASS_GATT_SERVER), true); in SetSampleDatabase1()
311 Uuid::From16Bit(GATT_UUID_GATT_SRV_CHGD), in SetSampleDatabase1()
314 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in SetSampleDatabase1()
322 builder.AddService(0x0001, 0x0003, Uuid::From16Bit(0x1800), true); in SetSampleDatabase2()
323 builder.AddCharacteristic(0x0002, 0x0003, Uuid::From16Bit(0x2a00), in SetSampleDatabase2()
[all …]
Dvc_test.cc106 builder.AddService(0x0001, 0x0003, Uuid::From16Bit(0x1800), true); in set_sample_database()
107 builder.AddCharacteristic(0x0002, 0x0003, Uuid::From16Bit(0x2a00), in set_sample_database()
125 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_database()
143 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_database()
159 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_database()
166 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_database()
175 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_database()
182 Uuid::From16Bit(UUID_SERVCLASS_GATT_SERVER), true); in set_sample_database()
184 Uuid::From16Bit(GATT_UUID_GATT_SRV_CHGD), in set_sample_database()
187 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_database()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client_test.cc137 builder.AddService(0x0001, 0x0003, Uuid::From16Bit(0x1800), true); in set_sample_cap_included_database()
138 builder.AddCharacteristic(0x0002, 0x0003, Uuid::From16Bit(0x2a00), in set_sample_cap_included_database()
142 bluetooth::Uuid::From16Bit(UUID_COMMON_AUDIO_SERVICE), in set_sample_cap_included_database()
152 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_cap_included_database()
157 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_cap_included_database()
163 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_cap_included_database()
173 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_cap_included_database()
176 Uuid::From16Bit(UUID_SERVCLASS_GATT_SERVER), true); in set_sample_cap_included_database()
178 Uuid::From16Bit(GATT_UUID_GATT_SRV_CHGD), in set_sample_cap_included_database()
181 Uuid::From16Bit(GATT_UUID_CHAR_CLIENT_CONFIG)); in set_sample_cap_included_database()
[all …]
Dcsis_types.h47 bluetooth::Uuid::From16Bit(0x1846);
48 static const bluetooth::Uuid kCsisSirkUuid = bluetooth::Uuid::From16Bit(0x2B84);
49 static const bluetooth::Uuid kCsisSizeUuid = bluetooth::Uuid::From16Bit(0x2B85);
50 static const bluetooth::Uuid kCsisLockUuid = bluetooth::Uuid::From16Bit(0x2B86);
51 static const bluetooth::Uuid kCsisRankUuid = bluetooth::Uuid::From16Bit(0x2B87);
/packages/modules/Bluetooth/system/types/test/bluetooth/
Duuid_unittest.cc71 TEST(UuidTest, From16Bit) { in TEST() argument
72 EXPECT_EQ(Uuid::From16Bit(0x0000), kBase); in TEST()
76 Uuid uuid = Uuid::From16Bit(0x0001); in TEST()
81 uuid = Uuid::From16Bit(0x553e); in TEST()
86 uuid = Uuid::From16Bit(0xffff); in TEST()
/packages/modules/Bluetooth/system/gd/hci/
Duuid_unittest.cc88 TEST(UuidTest, From16Bit) { in TEST() argument
89 ASSERT_EQ(Uuid::From16Bit(0x0000), kBase); in TEST()
92 Uuid uuid = Uuid::From16Bit(0x0001); in TEST()
96 uuid = Uuid::From16Bit(0x553e); in TEST()
100 uuid = Uuid::From16Bit(0xffff); in TEST()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_disc_sdp.cc216 uuid_list.push_back(Uuid::From16Bit(tmp_svc)); in bta_dm_sdp_result()
338 uuid = Uuid::From16Bit(bta_service_id_to_uuid_lkup_tbl[0]); in bta_dm_sdp_find_services()
341 uuid = Uuid::From16Bit(UUID_PROTOCOL_L2CAP); in bta_dm_sdp_find_services()
373 if (uuid == Uuid::From16Bit(UUID_PROTOCOL_L2CAP)) { in bta_dm_sdp_find_services()
377 Uuid::From16Bit(UUID_SERVCLASS_PBAP_PCE)); in bta_dm_sdp_find_services()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sdp.cc490 uuid_list[0] = Uuid::From16Bit(UUID_SERVCLASS_HF_HANDSFREE); in bta_ag_do_disc()
498 uuid_list[0] = Uuid::From16Bit(UUID_SERVCLASS_HF_HANDSFREE); in bta_ag_do_disc()
512 uuid_list[0] = Uuid::From16Bit(UUID_SERVCLASS_HEADSET_HS); in bta_ag_do_disc()
514 uuid_list[0] = Uuid::From16Bit(UUID_SERVCLASS_HEADSET); in bta_ag_do_disc()
525 uuid_list[0] = Uuid::From16Bit(UUID_SERVCLASS_HEADSET_HS); in bta_ag_do_disc()
528 uuid_list[0] = Uuid::From16Bit(UUID_SERVCLASS_HEADSET); in bta_ag_do_disc()
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase.cc39 const Uuid PRIMARY_SERVICE = Uuid::From16Bit(GATT_UUID_PRI_SERVICE);
40 const Uuid SECONDARY_SERVICE = Uuid::From16Bit(GATT_UUID_SEC_SERVICE);
41 const Uuid INCLUDE = Uuid::From16Bit(GATT_UUID_INCLUDE_SERVICE);
42 const Uuid CHARACTERISTIC = Uuid::From16Bit(GATT_UUID_CHAR_DECLARE);
44 Uuid::From16Bit(GATT_UUID_CHAR_EXT_PROP);
/packages/modules/Bluetooth/system/stack/gap/
Dgap_ble.cc265 param.service.uuid = Uuid::From16Bit(uuid); in send_cl_read_request()
421 Uuid svc_uuid = Uuid::From16Bit(UUID_SERVCLASS_GAP_SERVER); in gap_attr_db_init()
422 Uuid name_uuid = Uuid::From16Bit(GATT_UUID_GAP_DEVICE_NAME); in gap_attr_db_init()
423 Uuid icon_uuid = Uuid::From16Bit(GATT_UUID_GAP_ICON); in gap_attr_db_init()
424 Uuid addr_res_uuid = Uuid::From16Bit(GATT_UUID_GAP_CENTRAL_ADDR_RESOL); in gap_attr_db_init()
445 {.uuid = Uuid::From16Bit(GATT_UUID_GAP_PREF_CONN_PARAM), in gap_attr_db_init()
/packages/modules/Bluetooth/system/stack/fuzzers/
Dgatt_fuzzer.cc192 Uuid svc_uuid = Uuid::From16Bit(UUID_SERVCLASS_GAP_SERVER); in ServerInit()
193 Uuid name_uuid = Uuid::From16Bit(GATT_UUID_GAP_DEVICE_NAME); in ServerInit()
194 Uuid icon_uuid = Uuid::From16Bit(GATT_UUID_GAP_ICON); in ServerInit()
195 Uuid addr_res_uuid = Uuid::From16Bit(GATT_UUID_GAP_CENTRAL_ADDR_RESOL); in ServerInit()
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_types.h68 bluetooth::Uuid::From16Bit(UUID_COMMON_AUDIO_SERVICE);
72 bluetooth::Uuid::From16Bit(0x1850);
74 bluetooth::Uuid::From16Bit(0x184E);
77 bluetooth::Uuid::From16Bit(0x1855);
81 bluetooth::Uuid::From16Bit(0x2BC9);
83 bluetooth::Uuid::From16Bit(0x2BCB);
85 bluetooth::Uuid::From16Bit(0x2BCA);
87 bluetooth::Uuid::From16Bit(0x2BCC);
91 bluetooth::Uuid::From16Bit(0x2BCD);
93 bluetooth::Uuid::From16Bit(0x2BCE);
[all …]
/packages/modules/Bluetooth/system/bta/has/
Dhas_types.h78 bluetooth::Uuid::From16Bit(0x1854);
80 bluetooth::Uuid::From16Bit(0x2BDA);
82 bluetooth::Uuid::From16Bit(0x2BDB);
84 bluetooth::Uuid::From16Bit(0x2BDC);
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_sdp.cpp26 static const Uuid UUID_OBEX_OBJECT_PUSH = Uuid::From16Bit(0x1105);
27 static const Uuid UUID_PBAP_PSE = Uuid::From16Bit(0x112F);
28 static const Uuid UUID_MAP_MAS = Uuid::From16Bit(0x1132);
29 static const Uuid UUID_MAP_MNS = Uuid::From16Bit(0x1133);
30 static const Uuid UUID_SAP = Uuid::From16Bit(0x112D);
31 static const Uuid UUID_DIP = Uuid::From16Bit(0x1200);
/packages/modules/Bluetooth/system/btif/src/
Dbtif_storage.cc642 Uuid::From16Bit(UUID_SERVCLASS_AG_HANDSFREE); in btif_storage_get_adapter_property()
650 Uuid::From16Bit(UUID_SERVCLASS_HEADSET_AUDIO_GATEWAY); in btif_storage_get_adapter_property()
655 Uuid::From16Bit(UUID_SERVCLASS_AUDIO_SOURCE); in btif_storage_get_adapter_property()
659 *(p_uuid + num_uuids) = Uuid::From16Bit(UUID_SERVCLASS_AUDIO_SINK); in btif_storage_get_adapter_property()
663 *(p_uuid + num_uuids) = Uuid::From16Bit(UUID_SERVCLASS_PBAP_PSE); in btif_storage_get_adapter_property()
668 Uuid::From16Bit(UUID_SERVCLASS_HF_HANDSFREE); in btif_storage_get_adapter_property()
673 Uuid::From16Bit(UUID_SERVCLASS_MESSAGE_ACCESS); in btif_storage_get_adapter_property()
678 Uuid::From16Bit(UUID_SERVCLASS_MESSAGE_NOTIFICATION); in btif_storage_get_adapter_property()
682 *(p_uuid + num_uuids) = Uuid::From16Bit(UUID_SERVCLASS_PBAP_PCE); in btif_storage_get_adapter_property()
/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_dis.cc236 bluetooth::Uuid::From16Bit(dis_attr_uuid[dis_cb.dis_read_uuid_idx]); in dis_gatt_c_read_dis_req()
352 bluetooth::Uuid::From16Bit(UUID_SERVCLASS_DEVICE_INFO); in DIS_SrInit()
360 bluetooth::Uuid::From16Bit(dis_cb.dis_attr[i].uuid); in DIS_SrInit()

123