Home
last modified time | relevance | path

Searched refs:BluetoothGattDevice (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_gatt_server_callback_stub.cpp88 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in OnCharacteristicReadRequestInner()
106 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in OnConnectionStateChangedInner()
139 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in OnCharacteristicWriteRequestInner()
157 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in OnDescriptorReadRequestInner()
174 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in OnDescriptorWriteRequestInner()
191 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in OnMtuChangedInner()
205 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in OnNotifyConfirmInner()
223 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in OnConnectionParameterChangedInner()
H A Dbluetooth_gatt_server_proxy.cpp56 int BluetoothGattServerProxy::Connect(int appId, const BluetoothGattDevice &device, bool isDirect) in Connect()
74 int BluetoothGattServerProxy::CancelConnection(int appId, const BluetoothGattDevice &device) in CancelConnection()
122 … const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) in NotifyClient()
157 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) in RespondCharacteristicRead()
176 … const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret) in RespondCharacteristicWrite()
195 const BluetoothGattDevice &device, BluetoothGattDescriptor *descriptor, int32_t ret) in RespondDescriptorRead()
213 const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor, int32_t ret) in RespondDescriptorWrite()
H A Dbluetooth_gatt_client_proxy.cpp242 void BluetoothGattClientProxy::GetAllDevice(std::vector<BluetoothGattDevice> &device) in GetAllDevice()
259 std::shared_ptr<BluetoothGattDevice> dev(reply.ReadParcelable<BluetoothGattDevice>()); in GetAllDevice()
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_gatt_server_callback.h32 …virtual void OnConnectionStateChanged(const BluetoothGattDevice &device, int32_t ret, int32_t stat…
35 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic) = 0;
37 …const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, bool needRes…
39 const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor) = 0;
41 const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor) = 0;
42 virtual void OnMtuChanged(const BluetoothGattDevice &device, int32_t mtu) = 0;
44 …const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int result) …
46 …const BluetoothGattDevice &device, int32_t interval, int32_t latency, int32_t timeout, int32_t sta…
H A Di_bluetooth_gatt_server.h37 virtual int Connect(int appId, const BluetoothGattDevice &device, bool isDirect) = 0;
38 virtual int CancelConnection(int appId, const BluetoothGattDevice &device) = 0;
40 …const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) …
43 … const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) = 0;
45 …const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret)…
47 const BluetoothGattDevice &device, BluetoothGattDescriptor *descriptor, int32_t ret) = 0;
49 … const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor, int32_t ret) = 0;
H A Di_bluetooth_gatt_client.h49 virtual void GetAllDevice(std::vector<BluetoothGattDevice> &device) = 0;
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_gatt_device.h24 class BluetoothGattDevice : public Parcelable, public bluetooth::GattDevice {
26 BluetoothGattDevice() = default;
27 BluetoothGattDevice(const bluetooth::GattDevice &other) : bluetooth::GattDevice(other) in BluetoothGattDevice() function
29 BluetoothGattDevice(const BluetoothGattDevice &other) : bluetooth::GattDevice(other) in BluetoothGattDevice() function
31 ~BluetoothGattDevice() override = default;
35 static BluetoothGattDevice *Unmarshalling(Parcel &parcel);
H A Dbluetooth_gatt_device.cpp23 bool BluetoothGattDevice::Marshalling(Parcel &parcel) const in Marshalling()
43 BluetoothGattDevice *BluetoothGattDevice::Unmarshalling(Parcel &parcel) in Unmarshalling()
45 BluetoothGattDevice *gattDevice = new BluetoothGattDevice(); in Unmarshalling()
53 bool BluetoothGattDevice::WriteToParcel(Parcel &parcel) in WriteToParcel()
58 bool BluetoothGattDevice::ReadFromParcel(Parcel &parcel) in ReadFromParcel()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/
H A Dbluetooth_gatt_server_callback_proxy.h31 … const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic) override;
32 …void OnConnectionStateChanged(const BluetoothGattDevice &device, int32_t ret, int32_t state) overr…
34 void OnCharacteristicWriteRequest(const BluetoothGattDevice &device,
36 …void OnDescriptorReadRequest(const BluetoothGattDevice &device, const BluetoothGattDescriptor &des…
38 const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor) override;
39 void OnMtuChanged(const BluetoothGattDevice &device, int32_t mtu) override;
41 …const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int result) …
43 …const BluetoothGattDevice &device, int32_t interval, int32_t latency, int32_t timeout, int32_t sta…
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_gatt_server_server.h33 int Connect(int appId, const BluetoothGattDevice &device, bool isDirect) override;
34 int CancelConnection(int appId, const BluetoothGattDevice &device) override;
38 …const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) …
41 …const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) overr…
43 …const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret)…
45 … const BluetoothGattDevice &device, BluetoothGattDescriptor *descriptor, int32_t ret) override;
47 …const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor, int32_t ret) overrid…
H A Dbluetooth_gatt_client_server.h49 void GetAllDevice(::std::vector<BluetoothGattDevice> &device) override;
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_gatt_server_proxy.h31 int Connect(int appId, const BluetoothGattDevice &device, bool isDirect) override;
32 int CancelConnection(int appId, const BluetoothGattDevice &device) override;
36 …const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) …
39 …const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) overr…
41 …const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret)…
43 … const BluetoothGattDevice &device, BluetoothGattDescriptor *descriptor, int32_t ret) override;
45 …const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor, int32_t ret) overrid…
H A Dbluetooth_gatt_client_proxy.h46 void GetAllDevice(std::vector<BluetoothGattDevice> &devices) override;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_gatt_server_stub.cpp103 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in ConnectInner()
112 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in CancelConnectionInner()
141 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in NotifyClientInner()
175 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in RespondCharacteristicReadInner()
194 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in RespondCharacteristicWriteInner()
213 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in RespondDescriptorReadInner()
232 std::shared_ptr<BluetoothGattDevice> device(data.ReadParcelable<BluetoothGattDevice>()); in RespondDescriptorWriteInner()
H A Dbluetooth_gatt_server_callback_proxy.cpp22 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic) in OnCharacteristicReadRequest()
50 const BluetoothGattDevice &device, int32_t ret, int32_t state) in OnConnectionStateChanged()
110 …const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, bool needRes… in OnCharacteristicWriteRequest()
143 const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor) in OnDescriptorReadRequest()
171 const BluetoothGattDevice &device, const BluetoothGattDescriptor &descriptor) in OnDescriptorWriteRequest()
198 void BluetoothGattServerCallbackProxy::OnMtuChanged(const BluetoothGattDevice &device, int32_t mtu) in OnMtuChanged()
226 … const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int result) in OnNotifyConfirm()
258 …const BluetoothGattDevice &device, int32_t interval, int32_t latency, int32_t timeout, int32_t sta… in OnConnectionParameterChanged()
H A Dbluetooth_gatt_client_stub.cpp270 std::vector<BluetoothGattDevice> device; in GetAllDeviceInner()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_gatt_server_server.cpp95 (BluetoothGattDevice)device, (BluetoothGattCharacteristic)characteristic); in OnCharacteristicReadRequest()
111 (BluetoothGattDevice)device, (BluetoothGattCharacteristic)characteristic, needRespones); in OnCharacteristicWriteRequest()
155 callback_->OnConnectionStateChanged((BluetoothGattDevice)device, ret, state); in OnConnectionStateChanged()
160 callback_->OnMtuChanged((BluetoothGattDevice)device, mtu); in OnMtuChanged()
336 int BluetoothGattServerServer::Connect(int appId, const BluetoothGattDevice &device, bool isDirect) in Connect()
342 int BluetoothGattServerServer::CancelConnection(int appId, const BluetoothGattDevice &device) in CancelConnection()
349 … const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) in NotifyClient()
388 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) in RespondCharacteristicRead()
410 … const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret) in RespondCharacteristicWrite()
429 const BluetoothGattDevice &device, BluetoothGattDescriptor *descriptor, int32_t ret) in RespondDescriptorRead()
[all …]
H A Dbluetooth_gatt_client_server.cpp486 void BluetoothGattClientServer::GetAllDevice(::std::vector<BluetoothGattDevice> &device) in GetAllDevice()
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_gatt_manager.cpp89 std::vector<BluetoothGattDevice> devices; in GetDevicesByStates()
114 std::vector<BluetoothGattDevice> device; in GetConnectedDevices()
H A Dbluetooth_gatt_server.cpp123 … const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic) override in OnCharacteristicReadRequest()
156 void OnCharacteristicWriteRequest(const BluetoothGattDevice &device, in OnCharacteristicWriteRequest()
196 …void OnDescriptorReadRequest(const BluetoothGattDevice &device, const BluetoothGattDescriptor &des… in OnDescriptorReadRequest()
230 …void OnDescriptorWriteRequest(const BluetoothGattDevice &device, const BluetoothGattDescriptor &de… in OnDescriptorWriteRequest()
266 …const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int result) … in OnNotifyConfirm()
282 …void OnConnectionStateChanged(const BluetoothGattDevice &device, int32_t ret, int32_t state) overr… in OnConnectionStateChanged()
311 void OnMtuChanged(const BluetoothGattDevice &device, int32_t mtu) override in OnMtuChanged()
350 …const BluetoothGattDevice &device, int32_t interval, int32_t latency, int32_t timeout, int32_t sta… in OnConnectionParameterChanged()