/system/bt/binder/android/os/ |
H A D | parcel_uuid.h | 21 #include <bluetooth/uuid.h> 45 ::bluetooth::Uuid uuid; member in class:android::os::ParcelUuid
|
H A D | parcel_uuid.cc | 28 static uint64_t uuid_lsb(const Uuid& uuid) { argument 31 auto uu = uuid.To128BitBE(); 40 static uint64_t uuid_msb(const Uuid& uuid) { argument 43 auto uu = uuid.To128BitBE(); 54 status_t status = parcel->writeInt64(uuid_msb(uuid)); 57 status = parcel->writeInt64(uuid_lsb(uuid)); 76 uuid = Uuid::From128BitBE(uu);
|
/system/bt/service/common/android/bluetooth/ |
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.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_ = 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.uuid;
|
H A D | uuid.h | 19 #include "bluetooth/uuid.h" 35 UUID(const ::bluetooth::Uuid& uuid) : uuid(uuid){}; // NOLINT argument 52 bool operator==(::bluetooth::Uuid rhs) const { return uuid == rhs; } 54 ::bluetooth::Uuid uuid; member in class:android::bluetooth::UUID 61 return lhs == rhs.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 UUID uuid; local [all...] |
/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
|
/system/bt/bta/sdp/ |
H A D | bta_sdp_api.cc | 91 const bluetooth::Uuid& uuid) { 99 p_msg->uuid = uuid; 90 BTA_SdpSearch(const RawAddress& bd_addr, const bluetooth::Uuid& uuid) argument
|
H A D | bta_sdp_int.h | 62 bluetooth::Uuid uuid; member in struct:__anon472
|
/system/bt/include/hardware/ |
H A D | bt_gatt_types.h | 23 #include <bluetooth/uuid.h> 35 bluetooth::Uuid uuid; member in struct:__anon726
|
/system/bt/stack/srvc/ |
H A D | srvc_dis_int.h | 30 uint16_t uuid; member in struct:__anon1350
|
/system/bt/types/test/bluetooth/ |
H A D | uuid_unittest.cc | 19 #include <bluetooth/uuid.h> 76 Uuid uuid = Uuid::From16Bit(0x0001); local 77 EXPECT_TRUE(memcmp(&uuid, u2, sizeof(u2)) == 0); 81 uuid = Uuid::From16Bit(0x553e); 82 EXPECT_TRUE(memcmp(&uuid, u3, sizeof(u3)) == 0); 86 uuid = Uuid::From16Bit(0xffff); 87 EXPECT_TRUE(memcmp(&uuid, u4, sizeof(u4)) == 0); 95 Uuid uuid = Uuid::From32Bit(0x00000001); local 96 EXPECT_TRUE(memcmp(&uuid, u2, sizeof(u2)) == 0); 100 uuid 120 Uuid uuid = Uuid::From32Bit(0x12345678); local 128 Uuid uuid = local 150 Uuid uuid = Uuid::FromString("This is not a UUID", &is_valid); local [all...] |
/system/bt/service/ipc/binder/ |
H A D | interface_with_instances_base.cc | 103 bluetooth::BLEStatus status, const bluetooth::Uuid& uuid, 109 sp<IInterface> callback = pending_callbacks_.Remove(uuid); 102 OnRegisterInstance( bluetooth::BLEStatus status, const bluetooth::Uuid& uuid, std::unique_ptr<bluetooth::BluetoothInstance> instance) argument
|
/system/bt/service/test/ |
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/bta/include/ |
H A D | bta_sdp_api.h | 60 bluetooth::Uuid uuid; member in struct:__anon437 101 * specific profile uuid. 109 const bluetooth::Uuid& uuid);
|
/system/bt/btif/src/ |
H A D | btif_gatt_client.cc | 220 bt_status_t btif_gattc_register_app(const Uuid& uuid) { argument 224 [](const Uuid& uuid) { 228 [](const Uuid& uuid, uint8_t client_id, uint8_t status) { 230 [](const Uuid& uuid, uint8_t client_id, uint8_t status) { 232 status, client_id, uuid); 234 uuid, client_id, status)); member in namespace:__anon566 236 uuid)); 238 uuid)); 348 Uuid* uuid = new Uuid(*filter_uuid); 350 Bind(&BTA_GATTC_ServiceSearchRequest, conn_id, base::Owned(uuid))); [all...] |
H A D | btif_profile_queue.cc | 48 ConnectNode(const RawAddress& address, uint16_t uuid, argument 50 : address_(address), uuid_(uuid), busy_(false), connect_cb_(connect_cb) {} 59 uint16_t uuid() const { return uuid_; } function in class:ConnectNode 93 static void queue_int_add(uint16_t uuid, const RawAddress& bda, argument 98 ConnectNode param(bda, uuid, connect_cb); 100 if (node.uuid() == param.uuid() && node.address() == param.address()) { 125 static void queue_int_cleanup(uint16_t uuid) { argument 126 LOG_INFO(LOG_TAG, "%s: UUID=%04X", __func__, uuid); 131 if (node.uuid() 151 btif_queue_connect(uint16_t uuid, const RawAddress* bda, btif_connect_cb_t connect_cb) argument 166 btif_queue_cleanup(uint16_t uuid) argument [all...] |
H A D | btif_sdp.cc | 74 evt_data->remote_addr, evt_data->uuid, evt_data->record_count, 139 static bt_status_t search(RawAddress* bd_addr, const Uuid& uuid) { argument 140 BTA_SdpSearch(*bd_addr, uuid);
|
H A D | btif_sock.cc | 43 const Uuid* uuid, int channel, int* sock_fd, 46 const Uuid* uuid, int channel, int* sock_fd, 181 const Uuid* uuid, int channel, int* sock_fd, 192 btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags, app_uid); 180 btsock_connect(const RawAddress* bd_addr, btsock_type_t type, const Uuid* uuid, int channel, int* sock_fd, int flags, int app_uid) argument
|
/system/bt/btif/test/ |
H A D | btif_profile_queue_test.cc | 74 static bt_status_t test_connect_cb(RawAddress* bda, uint16_t uuid) { argument 77 if (uuid == BtifProfileQueueTest::kTestUuid1) { 79 } else if (uuid == BtifProfileQueueTest::kTestUuid2) { 83 if (uuid == BtifProfileQueueTest::kTestUuid1) { 85 } else if (uuid == BtifProfileQueueTest::kTestUuid2) {
|
/system/bt/service/ |
H A D | gatt_client.cc | 29 GattClient::GattClient(const Uuid& uuid, int client_id) argument 30 : app_identifier_(uuid), client_id_(client_id) {} 56 bool GattClientFactory::RegisterInstance(const Uuid& uuid, argument 58 VLOG(1) << __func__ << " - Uuid: " << uuid.ToString(); 61 if (pending_calls_.find(uuid) != pending_calls_.end()) { 63 << "Uuid: " << uuid.ToString(); 70 if (hal_iface->register_client(uuid) != BT_STATUS_SUCCESS) return false; 72 pending_calls_[uuid] = callback; 80 Uuid uuid(app_uuid); 82 auto iter = pending_calls_.find(uuid); [all...] |