Searched refs:desc_id (Results 1 – 6 of 6) sorted by relevance
/system/bt/service/common/bluetooth/binder/ |
D | IBluetoothGattServerCallback.cpp | 78 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()
|
D | parcel_helpers.cpp | 170 int desc_id = parcel.readInt32(); in CreateGattIdentifierFromParcel() local 176 service_id, char_id, desc_id)); in CreateGattIdentifierFromParcel()
|
/system/bt/service/test/ |
D | gatt_server_unittest.cpp | 732 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 …]
|
D | parcel_helpers_unittest.cpp | 158 auto desc_id = GattIdentifier::CreateDescriptorId(10, uuid2, *char_id); in TEST() local 162 TestGattIdentifier(*desc_id); in TEST()
|
/system/bt/service/ipc/binder/ |
D | bluetooth_gatt_server_binder_server.cpp | 118 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/ |
D | gatt_server.cpp | 153 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()
|