/system/bt/service/common/android/bluetooth/ |
H A D | uuid.h | 19 #include "bluetooth/uuid.h" 35 UUID(const ::bluetooth::UUID& uuid) : ::bluetooth::UUID(uuid){}; // NOLINT argument
|
H A D | bluetooth_gatt_characteristic.cc | 19 #include "android/bluetooth/uuid.h" 59 UUID uuid; local 60 status = parcel->readParcelable(&uuid); 62 uuid_ = uuid;
|
H A D | bluetooth_gatt_descriptor.cc | 18 #include "android/bluetooth/uuid.h" 42 UUID uuid; local 43 status_t status = parcel->readParcelable(&uuid); 45 uuid_ = (bluetooth::UUID)uuid;
|
H A D | bluetooth_gatt_included_service.cc | 19 #include "android/bluetooth/uuid.h" 43 UUID uuid; local 44 status_t status = parcel->readParcelable(&uuid); 46 uuid_ = uuid;
|
H A D | bluetooth_gatt_included_service.h | 39 uuid_(service.uuid()), 59 UUID uuid() const { return uuid_; } function in class:android::bluetooth::BluetoothGattIncludedService
|
H A D | scan_filter.cc | 18 #include "android/bluetooth/uuid.h" 43 // uuid won't really keep ownership, it's just for type casting 44 std::unique_ptr<UUID> uuid; 49 uuid.reset(&tmp); 51 uuid.reset(nullptr); 53 status = parcel->writeNullableParcelable(uuid); 54 uuid.release(); 59 uuid.reset(&tmp); 61 uuid.reset(nullptr); 63 status = parcel->writeNullableParcelable(uuid); 80 std::unique_ptr<UUID> uuid; local [all...] |
/system/bt/service/test/ |
H A D | uuid_unittest.cc | 23 #include "service/common/bluetooth/uuid.h" 39 UUID uuid; local 40 ASSERT_TRUE(uuid.is_valid()); 41 ASSERT_TRUE(uuid.GetFullBigEndian() == kBtSigBaseUUID); 50 UUID uuid(UUID::UUID16Bit({{0xde, 0xad}})); 51 ASSERT_TRUE(uuid.is_valid()); 52 ASSERT_TRUE(uuid.GetFullBigEndian() == my_uuid_16); 53 ASSERT_TRUE(UUID::kNumBytes16 == uuid.GetShortestRepresentationSize()); 62 UUID uuid("dead"); 63 ASSERT_TRUE(uuid [all...] |
H A D | parcelable_unittest.cc | 27 #include "service/common/android/bluetooth/uuid.h" 88 UUID uuid = UUID::GetRandom(); local 89 TestData<UUID, android::bluetooth::UUID>(uuid); 118 UUID uuid = UUID::GetRandom(); local 119 filter.SetServiceUuid(uuid); 125 filter.SetServiceUuidWithMask(uuid, mask);
|
/system/bt/btif/include/ |
H A D | btif_sock_sdp.h | 42 static inline bool is_uuid_empty(const uint8_t* uuid) { argument 44 return uuid == NULL || memcmp(uuid, empty_uuid, sizeof(empty_uuid)) == 0; 47 int add_rfc_sdp_rec(const char* name, const uint8_t* uuid, int scn); 50 int get_reserved_rfc_channel(const uint8_t* uuid);
|
/system/bt/btif/test/ |
H A D | btif_storage_test.cc | 29 bt_uuid_t uuid; local 30 memset(&uuid, 0, sizeof(uuid)); 31 EXPECT_FALSE(memcmp(&uuid, u1, sizeof(u1)) == 0); 33 bool rc = string_to_uuid(s1, &uuid); 35 EXPECT_TRUE(memcmp(&uuid, u1, sizeof(u1)) == 0); 39 bt_uuid_t uuid; local 40 bool rc = string_to_uuid("This is not a UUID", &uuid);
|
/system/bt/service/common/bluetooth/ |
H A D | descriptor.h | 19 #include <bluetooth/uuid.h> 27 Descriptor(uint16_t handle, const UUID& uuid, uint16_t permissions) argument 28 : handle_(handle), uuid_(uuid), permissions_(permissions){}; 38 const UUID& uuid() const { return uuid_; } function in class:bluetooth::Descriptor
|
H A D | characteristic.h | 20 #include <bluetooth/uuid.h> 29 Characteristic(uint16_t handle, const UUID& uuid, uint8_t properties, argument 33 uuid_(uuid), 46 const UUID& uuid() const { return uuid_; } function in class:bluetooth::Characteristic
|
H A D | service.h | 20 #include <bluetooth/uuid.h> 29 Service(uint16_t handle, bool primary, const UUID& uuid, argument 34 uuid_(uuid), 47 const UUID& uuid() const { return uuid_; } function in class:bluetooth::Service
|
H A D | uuid.cc | 17 #include "bluetooth/uuid.h" 68 UUID::UUID(std::string uuid) { argument 72 if (uuid.empty()) return; 74 if (uuid.size() < 11 && uuid.find("0x") == 0) uuid = uuid.substr(2); 76 if (uuid.size() != 4 && uuid.size() != 8 && uuid 104 UUID(const bt_uuid_t& uuid) argument 109 UUID(const UUID16Bit& uuid) argument 114 UUID(const UUID32Bit& uuid) argument 119 UUID(const UUID128Bit& uuid) argument [all...] |
/system/bt/bta/sdp/ |
H A D | bta_sdp_api.cc | 90 tBTA_SDP_STATUS BTA_SdpSearch(const RawAddress& bd_addr, tSDP_UUID* uuid) { argument 98 // p_msg->uuid = uuid; 99 memcpy(&(p_msg->uuid), uuid, sizeof(tSDP_UUID));
|
H A D | bta_sdp_int.h | 62 tSDP_UUID uuid; member in struct:__anon527
|
/system/bt/btcore/test/ |
H A D | uuid_test.cc | 22 #include "btcore/include/uuid.h" 37 bt_uuid_t* uuid; local 39 uuid = uuid_new("incorrect length"); 40 EXPECT_EQ(NULL, uuid); 42 uuid = uuid_new("correct length but missing dashes --"); 43 EXPECT_EQ(NULL, uuid); 45 uuid = uuid_new(UUID_ONES); 46 ASSERT_TRUE(uuid != NULL); 48 EXPECT_EQ(0x11, uuid->uu[i]); 50 uuid_free(uuid); 92 bt_uuid_t* uuid = NULL; local 106 bt_uuid_t* uuid = NULL; local 122 bt_uuid_t* uuid = NULL; local 138 bt_uuid_t* uuid = NULL; local [all...] |
/system/bt/stack/srvc/ |
H A D | srvc_dis_int.h | 30 uint16_t uuid; member in struct:__anon1272
|
/system/bt/test/suite/gatt/ |
H A D | gatt_unittest.cc | 29 static void create_random_uuid(bt_uuid_t* uuid, int seed) { argument 32 uuid->uu[i] = (uint8_t)(rand() % 256); 91 {.type = BTGATT_DB_PRIMARY_SERVICE, .uuid = srvc_uuid}, 93 .uuid = char_uuid, 96 {.type = BTGATT_DB_DESCRIPTOR, .uuid = desc_uuid, .permissions = 0x01}};
|
/system/bt/service/ipc/binder/ |
H A D | interface_with_instances_base.cc | 102 bluetooth::BLEStatus status, const bluetooth::UUID& uuid, 108 sp<IInterface> callback = pending_callbacks_.Remove(uuid); 101 OnRegisterInstance( bluetooth::BLEStatus status, const bluetooth::UUID& uuid, std::unique_ptr<bluetooth::BluetoothInstance> instance) argument
|
/system/bt/bta/include/ |
H A D | bta_sdp_api.h | 58 tBT_UUID uuid; member in struct:__anon471 99 * specific profile uuid. 107 tSDP_UUID* uuid);
|
/system/bt/btif/src/ |
H A D | btif_gatt_client.cc | 217 bt_status_t btif_gattc_register_app(const bt_uuid_t& uuid) { argument 221 btif_to_bta_uuid(&bt_uuid, &uuid); 351 tBT_UUID* uuid = new tBT_UUID; 352 btif_to_bta_uuid(uuid, filter_uuid); 354 Bind(&BTA_GATTC_ServiceSearchRequest, conn_id, base::Owned(uuid))); 362 tBT_UUID* uuid = new tBT_UUID; 363 btif_to_bta_uuid(uuid, &p_uuid); 365 Bind(&BTA_GATTC_DiscoverServiceByUuid, conn_id, base::Owned(uuid))); 421 bt_status_t btif_gattc_read_using_char_uuid(int conn_id, const bt_uuid_t& uuid, 426 btif_to_bta_uuid(&bt_uuid, &uuid); [all...] |
H A D | btif_profile_queue.cc | 52 uint16_t uuid; member in struct:__anon640 81 if (((connect_node_t*)list_node(node))->uuid == p_param->uuid) { 85 __func__, p_param->uuid, p_param->bda.ToString().c_str(), 93 __func__, p_param->uuid, p_param->bda.ToString().c_str(), p_param->busy); 104 __func__, p_head->uuid, p_head->bda.ToString().c_str(), 115 uint16_t uuid = *p_uuid; local 116 LOG_INFO(LOG_TAG, "%s: UUID=%04X", __func__, uuid); 125 if (connection_request->uuid == uuid) { 165 btif_queue_connect(uint16_t uuid, const RawAddress* bda, btif_connect_cb_t connect_cb) argument 186 btif_queue_cleanup(uint16_t uuid) argument [all...] |
H A D | btif_sdp.cc | 75 &addr, (uint8_t*)(evt_data->uuid.uu.uuid128), 140 static bt_status_t search(RawAddress* bd_addr, const uint8_t* uuid) { argument 143 memcpy(sdp_uuid.uu.uuid128, uuid, sizeof(sdp_uuid.uu.uuid128));
|
H A D | btif_sock.cc | 40 const uint8_t* uuid, int channel, int* sock_fd, 43 const uint8_t* uuid, int channel, 157 const uint8_t* uuid, int channel, 159 CHECK(uuid != NULL || channel > 0); 169 btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags, app_uid); 156 btsock_connect(const RawAddress* bd_addr, btsock_type_t type, const uint8_t* uuid, int channel, int* sock_fd, int flags, int app_uid) argument
|