Home
last modified time | relevance | path

Searched refs:desc_id (Results 1 – 6 of 6) sorted by relevance

/system/bt/service/common/bluetooth/binder/
DIBluetoothGattServerCallback.cpp78 auto desc_id = CreateGattIdentifierFromParcel(data); in onTransact() local
79 CHECK(desc_id); in onTransact()
81 *desc_id); in onTransact()
113 auto desc_id = CreateGattIdentifierFromParcel(data); in onTransact() local
114 CHECK(desc_id); in onTransact()
117 need_rsp, *value, *desc_id); in onTransact()
Dparcel_helpers.cpp170 int desc_id = parcel.readInt32(); in CreateGattIdentifierFromParcel() local
176 service_id, char_id, desc_id)); in CreateGattIdentifierFromParcel()
/system/bt/service/test/
Dgatt_server_unittest.cpp732 auto desc_id = gatt_server_->AddDescriptor(desc_uuid, perms); in TEST_F() local
733 EXPECT_NE(nullptr, desc_id); in TEST_F()
734 EXPECT_TRUE(desc_id->IsDescriptor()); in TEST_F()
735 EXPECT_TRUE(*desc_id->GetOwningCharacteristicId() == *char_id1); in TEST_F()
736 EXPECT_TRUE(*desc_id->GetOwningServiceId() == *service_id); in TEST_F()
741 EXPECT_TRUE(*desc_id1 != *desc_id); in TEST_F()
805 desc_id = gatt_server_->AddDescriptor(desc_uuid, perms); in TEST_F()
806 ASSERT_NE(nullptr, desc_id); in TEST_F()
837 desc_id = gatt_server_->AddDescriptor(desc_uuid, perms); in TEST_F()
838 ASSERT_NE(nullptr, desc_id); in TEST_F()
[all …]
Dparcel_helpers_unittest.cpp158 auto desc_id = GattIdentifier::CreateDescriptorId(10, uuid2, *char_id); in TEST() local
162 TestGattIdentifier(*desc_id); in TEST()
/system/bt/service/ipc/binder/
Dbluetooth_gatt_server_binder_server.cpp118 auto desc_id = gatt_server->AddDescriptor(uuid, permissions); in AddDescriptor() local
119 if (!desc_id) { in AddDescriptor()
125 out_id->swap(desc_id); in AddDescriptor()
/system/bt/service/
Dgatt_server.cpp153 auto desc_id = GetIdForDescriptor(uuid); in AddDescriptor() local
154 if (!desc_id) in AddDescriptor()
157 AttributeEntry entry(*desc_id, kCharacteristicPropertyNone, permissions); in AddDescriptor()
163 return desc_id; in AddDescriptor()