/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_gatt_characteristic_parcel.h | 24 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 D | bluetooth_gatt_characteristic_parcel.cpp | 25 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 D | bluetooth_gatt_service_parcel.cpp | 58 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 D | i_bluetooth_gatt_client_callback.h | 33 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 D | i_bluetooth_gatt_server_callback.h | 35 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 D | i_bluetooth_gatt_server.h | 40 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 D | i_bluetooth_gatt_client.h | 42 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 D | bluetooth_gatt_client_callback_proxy.h | 31 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 D | bluetooth_gatt_server_callback_proxy.h | 31 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 D | bluetooth_gatt_server_server.h | 38 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 D | bluetooth_gatt_client_server.h | 43 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 D | bluetooth_gatt_server_proxy.h | 36 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 D | bluetooth_gatt_client_proxy.h | 40 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 D | bluetooth_gatt_client_callback_stub.cpp | 102 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 D | bluetooth_gatt_server_callback_stub.cpp | 89 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 D | bluetooth_gatt_server_proxy.cpp | 119 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 D | bluetooth_gatt_client_proxy.cpp | 131 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 D | bluetooth_gatt_server_stub.cpp | 145 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 D | bluetooth_gatt_client_stub.cpp | 169 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 D | bluetooth_gatt_client_callback_proxy.cpp | 49 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 D | bluetooth_gatt_server_callback_proxy.cpp | 22 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 D | bluetooth_gatt_client_server.cpp | 111 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 D | bluetooth_gatt_server_server.cpp | 95 (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 D | bluetooth_gatt_server.cpp | 120 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 D | bluetooth_gatt_client.cpp | 159 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()
|