OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GattIdentifier
(Results
1 - 23
of
23
) sorted by null
/system/bt/service/common/bluetooth/
gatt_identifier.cpp
30
std::unique_ptr<
GattIdentifier
>
GattIdentifier
::CreateServiceId(
38
std::unique_ptr<
GattIdentifier
> gatt_id(new
GattIdentifier
());
49
std::unique_ptr<
GattIdentifier
>
GattIdentifier
::CreateCharacteristicId(
51
const
GattIdentifier
& service_id) {
55
std::unique_ptr<
GattIdentifier
> gatt_id(new
GattIdentifier
(service_id));
64
std::unique_ptr<
GattIdentifier
> GattIdentifier::CreateDescriptorId
[
all
...]
gatt_identifier.h
33
class
GattIdentifier
final {
37
static std::unique_ptr<
GattIdentifier
> CreateServiceId(
42
static std::unique_ptr<
GattIdentifier
> CreateCharacteristicId(
44
const
GattIdentifier
& service_id);
45
static std::unique_ptr<
GattIdentifier
> CreateDescriptorId(
47
const
GattIdentifier
& characteristic_id);
50
GattIdentifier
();
51
GattIdentifier
(
60
~
GattIdentifier
() = default;
61
GattIdentifier
(const GattIdentifier& other)
[
all
...]
/system/bt/service/doc/
IBluetoothGattClientCallback.txt
38
void onGetService(in boolean is_primary, in
GattIdentifier
service_id);
44
void onGetIncludedService(in
GattIdentifier
included_service_id);
52
void onGetCharacteristic(in
GattIdentifier
characteristic_id,
60
void onGetDescriptor(in
GattIdentifier
descriptor_id);
77
void onCharacteristicRead(in int status, in
GattIdentifier
characteristic_id,
87
in
GattIdentifier
characteristic_id);
105
void onDescriptorRead(in int status, in
GattIdentifier
descriptor_id,
114
void onDescriptorWrite(in int status, in
GattIdentifier
descriptor_id);
120
void onNotify(in
GattIdentifier
characteristic_id, in byte[] value);
IBluetoothGattClient.txt
74
in
GattIdentifier
characteristic_id);
95
in
GattIdentifier
characteristic_id,
112
in
GattIdentifier
descriptor_id);
133
in
GattIdentifier
descriptor_id,
144
in
GattIdentifier
characteristic_id);
153
in
GattIdentifier
characteristic_id);
IBluetoothGattServer.txt
55
out
GattIdentifier
out_id);
65
out
GattIdentifier
out_id);
76
out
GattIdentifier
out_id);
112
in
GattIdentifier
characteristic_id,
IBluetoothGattServerCallback.txt
37
void onServiceAdded(in int status, in
GattIdentifier
service_id);
55
in
GattIdentifier
characteristic_id);
73
in
GattIdentifier
descriptor_id);
93
in
GattIdentifier
characteristic_id);
113
in
GattIdentifier
descriptor_id);
/system/bt/service/test/
gatt_identifier_unittest.cpp
35
auto service0 =
GattIdentifier
::CreateServiceId(kAddr0, kId0, kUUID0, true);
45
auto service1 =
GattIdentifier
::CreateServiceId(kAddr1, kId0, kUUID0, true);
46
auto service2 =
GattIdentifier
::CreateServiceId(kAddr0, kId1, kUUID0, true);
47
auto service3 =
GattIdentifier
::CreateServiceId(kAddr0, kId0, kUUID1, true);
48
auto service4 =
GattIdentifier
::CreateServiceId(kAddr0, kId0, kUUID0, false);
55
GattIdentifier
service_copy = *service0;
60
auto service0 =
GattIdentifier
::CreateServiceId(kAddr0, kId0, kUUID0, true);
61
auto char0 =
GattIdentifier
::CreateCharacteristicId(kId1, kUUID1, *service0);
70
auto service1 =
GattIdentifier
::CreateServiceId(kAddr1, kId0, kUUID0, true);
72
auto char1 =
GattIdentifier
::CreateCharacteristicId(kId0, kUUID1, *service0)
[
all
...]
parcel_helpers_unittest.cpp
27
using bluetooth::
GattIdentifier
;
67
bool TestGattIdentifier(const
GattIdentifier
& id_in) {
150
TEST(ParcelHelpersTest,
GattIdentifier
) {
155
auto service_id =
GattIdentifier
::CreateServiceId(
157
auto char_id =
GattIdentifier
::CreateCharacteristicId(3, uuid1, *service_id);
158
auto desc_id =
GattIdentifier
::CreateDescriptorId(10, uuid2, *char_id);
gatt_server_unittest.cpp
68
GattIdentifier
gatt_id;
77
const bluetooth::
GattIdentifier
& characteristic_id) override {
91
const bluetooth::
GattIdentifier
& descriptor_id) override {
106
const bluetooth::
GattIdentifier
& characteristic_id) override {
123
const bluetooth::
GattIdentifier
& descriptor_id) override {
256
BLEStatus status, const
GattIdentifier
& gatt_id) {
290
GattIdentifier
test_service_id_;
291
GattIdentifier
test_char_id_;
292
GattIdentifier
test_desc_id_;
387
GattIdentifier
cb_id
[
all
...]
/system/bt/service/hal/
gatt_helpers.h
31
// Populates a HAL btgatt_srvc_id_t structure from the given
GattIdentifier
that
33
void GetHALServiceId(const
GattIdentifier
& id, btgatt_srvc_id_t* hal_id);
35
// Populates and returns a
GattIdentifier
for the given HAL btgatt_srvc_id_t
37
std::unique_ptr<
GattIdentifier
> GetServiceIdFromHAL(
gatt_helpers.cpp
22
// Populates a HAL btgatt_srvc_id_t structure from the given
GattIdentifier
that
24
void GetHALServiceId(const
GattIdentifier
& id, btgatt_srvc_id_t* hal_id) {
34
std::unique_ptr<
GattIdentifier
> GetServiceIdFromHAL(
38
return
GattIdentifier
::CreateServiceId(
/system/bt/service/common/bluetooth/binder/
IBluetoothGattServerCallback.h
60
int status, const bluetooth::
GattIdentifier
& service_id) = 0;
65
const bluetooth::
GattIdentifier
& characteristic_id) = 0;
70
const bluetooth::
GattIdentifier
& descriptor_id) = 0;
76
const bluetooth::
GattIdentifier
& characteristic_id) = 0;
82
const bluetooth::
GattIdentifier
& descriptor_id) = 0;
124
const bluetooth::
GattIdentifier
& service_id) override;
128
const bluetooth::
GattIdentifier
& characteristic_id) override;
132
const bluetooth::
GattIdentifier
& descriptor_id) override;
137
const bluetooth::
GattIdentifier
& characteristic_id) override;
142
const bluetooth::
GattIdentifier
& descriptor_id) override
[
all
...]
IBluetoothGattServer.h
69
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) = 0;
73
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) = 0;
76
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) = 0;
89
const bluetooth::
GattIdentifier
& characteristic_id,
131
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) override;
135
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) override;
138
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) override;
149
const bluetooth::
GattIdentifier
& characteristic_id,
parcel_helpers.h
62
// Helpers for converting bluetooth::
GattIdentifier
to/from Parcel
65
const bluetooth::
GattIdentifier
& gatt_id,
68
std::unique_ptr<bluetooth::
GattIdentifier
> CreateGattIdentifierFromParcel(
IBluetoothGattServer.cpp
69
std::unique_ptr<bluetooth::
GattIdentifier
> out_id;
89
std::unique_ptr<bluetooth::
GattIdentifier
> out_id;
108
std::unique_ptr<bluetooth::
GattIdentifier
> out_id;
208
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) {
231
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) {
253
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) {
309
const bluetooth::
GattIdentifier
& characteristic_id,
IBluetoothGattServerCallback.cpp
165
const bluetooth::
GattIdentifier
& service_id) {
181
const bluetooth::
GattIdentifier
& characteristic_id) {
201
const bluetooth::
GattIdentifier
& descriptor_id) {
222
const bluetooth::
GattIdentifier
& characteristic_id) {
245
const bluetooth::
GattIdentifier
& descriptor_id) {
parcel_helpers.cpp
25
using bluetooth::
GattIdentifier
;
145
const
GattIdentifier
& gatt_id,
159
std::unique_ptr<
GattIdentifier
> CreateGattIdentifierFromParcel(
172
return std::unique_ptr<
GattIdentifier
>(
173
new
GattIdentifier
(
/system/bt/service/example/heart_rate/
heart_rate_server.h
58
const bluetooth::
GattIdentifier
& service_id) override;
62
const bluetooth::
GattIdentifier
& characteristic_id) override;
66
const bluetooth::
GattIdentifier
& descriptor_id) override;
71
const bluetooth::
GattIdentifier
& characteristic_id) override;
76
const bluetooth::
GattIdentifier
& descriptor_id) override;
116
bluetooth::
GattIdentifier
hr_service_id_;
117
bluetooth::
GattIdentifier
hr_measurement_id_;
118
bluetooth::
GattIdentifier
hr_measurement_cccd_id_;
119
bluetooth::
GattIdentifier
body_sensor_loc_id_;
120
bluetooth::
GattIdentifier
hr_control_point_id_
[
all
...]
heart_rate_server.cpp
232
std::unique_ptr<bluetooth::
GattIdentifier
> gatt_id;
307
const bluetooth::
GattIdentifier
& service_id) {
342
const bluetooth::
GattIdentifier
& characteristic_id) {
363
const bluetooth::
GattIdentifier
& descriptor_id) {
394
const bluetooth::
GattIdentifier
& characteristic_id) {
435
const bluetooth::
GattIdentifier
& descriptor_id) {
/system/bt/service/
gatt_server.h
56
const bluetooth::
GattIdentifier
& characteristic_id) = 0;
66
const bluetooth::
GattIdentifier
& descriptor_id) = 0;
82
const bluetooth::
GattIdentifier
& characteristic_id) = 0;
98
const bluetooth::
GattIdentifier
& descriptor_id) = 0;
127
std::function<void(BLEStatus status, const
GattIdentifier
& id)>;
139
std::unique_ptr<
GattIdentifier
> BeginServiceDeclaration(
146
std::unique_ptr<
GattIdentifier
> AddCharacteristic(
154
std::unique_ptr<
GattIdentifier
> AddDescriptor(
190
const
GattIdentifier
& characteristic_id,
200
AttributeEntry(const
GattIdentifier
& id
[
all
...]
gatt_server.cpp
76
std::unique_ptr<
GattIdentifier
> GattServer::BeginServiceDeclaration(
107
std::unique_ptr<
GattIdentifier
> GattServer::AddCharacteristic(
136
std::unique_ptr<
GattIdentifier
> GattServer::AddDescriptor(
192
std::unique_ptr<
GattIdentifier
> service_id = PopNextId();
214
std::unique_ptr<
GattIdentifier
> GattServer::GetIdForService(
220
const
GattIdentifier
* gatt_id = &iter.first;
230
return
GattIdentifier
::CreateServiceId("", inst_id, uuid, is_primary);
233
std::unique_ptr<
GattIdentifier
> GattServer::GetIdForCharacteristic(
241
const
GattIdentifier
& gatt_id = entry.id;
252
return
GattIdentifier
::CreateCharacteristicId
[
all
...]
/system/bt/service/ipc/binder/
bluetooth_gatt_server_binder_server.h
48
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) override;
52
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) override;
55
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) override;
63
const bluetooth::
GattIdentifier
& characteristic_id,
72
const bluetooth::
GattIdentifier
& characteristic_id) override;
77
const bluetooth::
GattIdentifier
& descriptor_id) override;
83
const bluetooth::
GattIdentifier
& characteristic_id) override;
89
const bluetooth::
GattIdentifier
& descriptor_id) override;
bluetooth_gatt_server_binder_server.cpp
56
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) {
82
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) {
107
std::unique_ptr<bluetooth::
GattIdentifier
>* out_id) {
145
const bluetooth::
GattIdentifier
& service_id) {
192
const bluetooth::
GattIdentifier
& characteristic_id,
238
const bluetooth::
GattIdentifier
& characteristic_id) {
256
const bluetooth::
GattIdentifier
& descriptor_id) {
306
const bluetooth::
GattIdentifier
& characteristic_id) {
326
const bluetooth::
GattIdentifier
& descriptor_id) {
Completed in 117 milliseconds