chromium/device/bluetooth/test/fake_local_gatt_service.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "device/bluetooth/test/fake_local_gatt_service.h"
#include "base/containers/contains.h"

namespace bluetooth {

FakeLocalGattService::FakeLocalGattService(
    const std::string& service_id,
    const device::BluetoothUUID& service_uuid,
    bool is_primary)
    :{}

FakeLocalGattService::~FakeLocalGattService() = default;

FakeLocalGattCharacteristic* FakeLocalGattService::AddFakeCharacteristic(
    const std::string& characteristic_id,
    const device::BluetoothUUID& characteristic_uuid,
    device::BluetoothGattCharacteristic::Properties properties,
    device::BluetoothGattCharacteristic::Permissions permissions) {}

std::string FakeLocalGattService::GetIdentifier() const {}

device::BluetoothUUID FakeLocalGattService::GetUUID() const {}

bool FakeLocalGattService::IsPrimary() const {}

void FakeLocalGattService::Register(base::OnceClosure callback,
                                    ErrorCallback error_callback) {}

void FakeLocalGattService::Unregister(base::OnceClosure callback,
                                      ErrorCallback error_callback) {}

bool FakeLocalGattService::IsRegistered() {}

void FakeLocalGattService::Delete() {}

device::BluetoothLocalGattCharacteristic*
FakeLocalGattService::GetCharacteristic(const std::string& identifier) {}

base::WeakPtr<device::BluetoothLocalGattCharacteristic>
FakeLocalGattService::CreateCharacteristic(
    const device::BluetoothUUID& uuid,
    device::BluetoothGattCharacteristic::Properties properties,
    device::BluetoothGattCharacteristic::Permissions permissions) {}

}  // namespace bluetooth