Home
last modified time | relevance | path

Searched refs:BluetoothGattCharacteristic (Results 1 - 25 of 25) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_gatt_characteristic_parcel.h24 class BluetoothGattCharacteristic : public Parcelable, public bluetooth::Characteristic { class
26 BluetoothGattCharacteristic() = default;
27 explicit BluetoothGattCharacteristic(const bluetooth::Characteristic &other) : bluetooth::Characteristic(other) in BluetoothGattCharacteristic() function in OHOS::Bluetooth::BluetoothGattCharacteristic
29 explicit BluetoothGattCharacteristic(const BluetoothGattCharacteristic &other) : bluetooth::Characteristic(other) in BluetoothGattCharacteristic() function in OHOS::Bluetooth::BluetoothGattCharacteristic
31 ~BluetoothGattCharacteristic() override = default;
35 static BluetoothGattCharacteristic *Unmarshalling(Parcel &parcel);
H A Dbluetooth_gatt_characteristic_parcel.cpp25 bool BluetoothGattCharacteristic::Marshalling(Parcel &parcel) const in Marshalling()
67 BluetoothGattCharacteristic *BluetoothGattCharacteristic::Unmarshalling(Parcel &parcel) in Unmarshalling()
69 BluetoothGattCharacteristic *characteristic = new BluetoothGattCharacteristic(); in Unmarshalling()
77 bool BluetoothGattCharacteristic::WriteToParcel(Parcel &parcel) in WriteToParcel()
82 bool BluetoothGattCharacteristic::IsReadParcelDataSuccess(Parcel &parcel) in IsReadParcelDataSuccess()
102 bool BluetoothGattCharacteristic::ReadFromParcel(Parcel &parcel) in ReadFromParcel()
123 HILOGE("BluetoothGattCharacteristic::ReadFromParcel error"); in ReadFromParcel()
H A Dbluetooth_gatt_service_parcel.cpp58 BluetoothGattCharacteristic characteristic = BluetoothGattCharacteristic(character); in Marshalling()
117 std::shared_ptr<BluetoothGattCharacteristic> characteristic( in ReadFromParcel()
118 parcel.ReadParcelable<BluetoothGattCharacteristic>()); in ReadFromParcel()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_gatt_client_callback.h33 virtual void OnCharacteristicChanged(const BluetoothGattCharacteristic &characteristic) = 0;
34 virtual void OnCharacteristicRead(int32_t ret, const BluetoothGattCharacteristic &characteristic) = 0;
35 virtual void OnCharacteristicWrite(int32_t ret, const BluetoothGattCharacteristic &characteristic) = 0;
H A Di_bluetooth_gatt_server_callback.h35 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic) = 0;
37 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, bool needRespones) = 0;
44 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int result) = 0;
H A Di_bluetooth_gatt_server.h40 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) = 0;
43 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) = 0;
45 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret) = 0;
H A Di_bluetooth_gatt_client.h42 virtual int ReadCharacteristic(int32_t appId, const BluetoothGattCharacteristic &characteristic) = 0;
44 int32_t appId, BluetoothGattCharacteristic *characteristic, bool withoutRespond) = 0;
45 virtual int SignedWriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/
H A Dbluetooth_gatt_client_callback_proxy.h31 void OnCharacteristicChanged(const BluetoothGattCharacteristic &characteristic) override;
32 void OnCharacteristicRead(int32_t ret, const BluetoothGattCharacteristic &characteristic) override;
33 void OnCharacteristicWrite(int32_t ret, const BluetoothGattCharacteristic &characteristic) override;
H A Dbluetooth_gatt_server_callback_proxy.h31 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic) override;
35 const BluetoothGattCharacteristic &characteristic, bool needRespones) override;
41 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int result) override;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_gatt_server_server.h38 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) override;
41 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) override;
43 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret) override;
H A Dbluetooth_gatt_client_server.h43 int ReadCharacteristic(int32_t appId, const BluetoothGattCharacteristic &characteristic) override;
44 int WriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic, bool withoutRespond) override;
45 int SignedWriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic) override;
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_gatt_server_proxy.h36 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) override;
39 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) override;
41 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret) override;
H A Dbluetooth_gatt_client_proxy.h40 int ReadCharacteristic(int32_t appId, const BluetoothGattCharacteristic &characteristic) override;
41 int WriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic, bool withoutRespond) override;
42 int SignedWriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic) override;
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_gatt_client_callback_stub.cpp102 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in OnCharacteristicChangedInner()
116 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in OnCharacteristicReadInner()
130 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in OnCharacteristicWriteInner()
H A Dbluetooth_gatt_server_callback_stub.cpp89 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in OnCharacteristicReadRequestInner()
140 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in OnCharacteristicWriteRequestInner()
206 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in OnNotifyConfirmInner()
H A Dbluetooth_gatt_server_proxy.cpp119 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, bool needConfirm) in NotifyClient()
154 const BluetoothGattDevice &device, BluetoothGattCharacteristic *characteristic, int32_t ret) in RespondCharacteristicRead()
173 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int32_t ret) in RespondCharacteristicWrite()
H A Dbluetooth_gatt_client_proxy.cpp131 int BluetoothGattClientProxy::ReadCharacteristic(int32_t appId, const BluetoothGattCharacteristic &characteristic) in ReadCharacteristic()
150 int32_t appId, BluetoothGattCharacteristic *characteristic, bool withoutRespond) in WriteCharacteristic()
170 int BluetoothGattClientProxy::SignedWriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic) in SignedWriteCharacteristic()
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_gatt_server_stub.cpp145 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in NotifyClientInner()
179 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in RespondCharacteristicReadInner()
198 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in RespondCharacteristicWriteInner()
H A Dbluetooth_gatt_client_stub.cpp169 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in ReadCharacteristicInner()
186 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in WriteCharacteristicInner()
204 std::shared_ptr<BluetoothGattCharacteristic> characteristic(data.ReadParcelable<BluetoothGattCharacteristic>()); in SignedWriteCharacteristicInner()
H A Dbluetooth_gatt_client_callback_proxy.cpp49 void BluetoothGattClientCallbackProxy::OnCharacteristicChanged(const BluetoothGattCharacteristic &characteristic) in OnCharacteristicChanged()
74 int32_t ret, const BluetoothGattCharacteristic &characteristic) in OnCharacteristicRead()
103 int32_t ret, const BluetoothGattCharacteristic &characteristic) in OnCharacteristicWrite()
H A Dbluetooth_gatt_server_callback_proxy.cpp22 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic) in OnCharacteristicReadRequest()
110 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, bool needRespones) in OnCharacteristicWriteRequest()
226 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int result) in OnNotifyConfirm()
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_gatt_client_server.cpp111 callback_->OnCharacteristicChanged((BluetoothGattCharacteristic)characteristic);
117 callback_->OnCharacteristicRead(ret, (BluetoothGattCharacteristic)characteristic);
123 callback_->OnCharacteristicWrite(ret, (BluetoothGattCharacteristic)characteristic);
388 int BluetoothGattClientServer::ReadCharacteristic(int32_t appId, const BluetoothGattCharacteristic &characteristic) in ReadCharacteristic()
404 int32_t appId, BluetoothGattCharacteristic *characteristic, bool withoutRespond) in WriteCharacteristic()
422 int BluetoothGattClientServer::SignedWriteCharacteristic(int32_t appId, BluetoothGattCharacteristic *characteristic) in SignedWriteCharacteristic()
H A Dbluetooth_gatt_server_server.cpp95 (BluetoothGattDevice)device, (BluetoothGattCharacteristic)characteristic);
111 (BluetoothGattDevice)device, (BluetoothGattCharacteristic)characteristic, needRespones);
135 callback_->OnNotifyConfirm((BluetoothGattDevice)device, (BluetoothGattCharacteristic)characteristic, result);
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()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_gatt_server.cpp120 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic) override
158 const BluetoothGattCharacteristic &characteristic, bool needRespones) override
278 const BluetoothGattDevice &device, const BluetoothGattCharacteristic &characteristic, int result) override
563 BluetoothGattCharacteristic character(bluetooth::Characteristic(handle, value, length)); in RespondCharacteristicRead()
567 BluetoothGattCharacteristic character; in RespondCharacteristicRead()
577 device, (BluetoothGattCharacteristic)bluetooth::Characteristic(handle), ret); in RespondCharacteristicWrite()
773 BluetoothGattCharacteristic character( in NotifyCharacteristicChanged()
H A Dbluetooth_gatt_client.cpp159 void OnCharacteristicChanged(const BluetoothGattCharacteristic &characteristic) override
180 void OnCharacteristicRead(int32_t ret, const BluetoothGattCharacteristic &characteristic) override
207 void OnCharacteristicWrite(int32_t ret, const BluetoothGattCharacteristic &characteristic) override
791 pimpl->applicationId_, (BluetoothGattCharacteristic)bluetooth::Characteristic(characteristic.GetHandle())); in ReadCharacteristic()
969 BluetoothGattCharacteristic character( in WriteCharacteristic()

Completed in 13 milliseconds