Searched refs:GattServer (Results 1 - 6 of 6) sorted by relevance
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_gatt_server.h | 176 class BLUETOOTH_API GattServer : public std::enable_shared_from_this<GattServer> { class 185 static std::shared_ptr<GattServer> CreateInstance(std::shared_ptr<GattServerCallback> callback); 288 * @brief A destructor of GattServer. 293 ~GattServer(); 295 * @brief The function to delete constructor of GattServer. 300 GattServer() = delete; 302 BLUETOOTH_DISALLOW_COPY_AND_ASSIGN(GattServer); 305 explicit GattServer(std::shared_ptr<GattServerCallback> callback); 313 explicit GattServer(PassKe function in OHOS::Bluetooth::GattServer [all...] |
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_gatt_server.cpp | 74 struct GattServer::impl { 100 bool Init(std::weak_ptr<GattServer>); 104 class GattServer::impl::BluetoothGattServerCallbackStubImpl : public BluetoothGattServerCallbackStub { 106 inline std::shared_ptr<GattServer> GetServerSptr(void) in GetServerSptr() 395 explicit BluetoothGattServerCallbackStubImpl(std::weak_ptr<GattServer> server) : server_(server) in BluetoothGattServerCallbackStubImpl() 405 std::weak_ptr<GattServer> server_; 408 GattService GattServer::impl::BuildService(const BluetoothGattService &service) in BuildService() 437 void GattServer::impl::BuildIncludeService(GattService &svc, const std::vector<bluetooth::Service> &iSvcs) in BuildIncludeService() 449 GattService *GattServer::impl::GetIncludeService(uint16_t handle) in GetIncludeService() 460 GattServer 466 GattServer::GattServer(std::shared_ptr<GattServerCallback> callback) GattServer() function in OHOS::Bluetooth::RequestInformation::GattServer [all...] |
/foundation/communication/bluetooth_service/test/unittest/gatt/ |
H A D | gatt_server_test.cpp | 103 GattServer server(callback_); in HWTEST_F() 121 GattServer server(callback_); in HWTEST_F() 137 GattServer server(callback_); in HWTEST_F() 160 GattServer server(callback_); in HWTEST_F() 178 GattServer server(callback_); in HWTEST_F() 198 GattServer server(callback_); in HWTEST_F() 220 GattServer server(callback_); in HWTEST_F() 245 GattServer server(callback_); in HWTEST_F()
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_gatt_server.h | 47 std::shared_ptr<GattServer> &GetServer() in GetServer() 63 server_ = GattServer::CreateInstance(tmp); in NapiGattServer() 70 std::shared_ptr<GattServer> server_ = nullptr;
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_gatt_server.cpp | 65 napi_define_class(env, "GattServer", NAPI_AUTO_LENGTH, GattServerConstructor, nullptr, in DefineGattServerJSClass() 131 static napi_status CheckGattsAddService(napi_env env, napi_callback_info info, std::shared_ptr<GattServer> &outServer, in CheckGattsAddService() 170 std::shared_ptr<GattServer> server {nullptr}; in AddService() 180 static napi_status CheckGattsClose(napi_env env, napi_callback_info info, std::shared_ptr<GattServer> &outServer) in CheckGattsClose() 196 std::shared_ptr<GattServer> server {nullptr}; in Close() 206 std::shared_ptr<GattServer> &outServer, UUID &outUuid) in CheckGattsRemoveService() 227 std::shared_ptr<GattServer> server {nullptr}; in RemoveGattService() 247 static napi_status CheckGattsSendRsp(napi_env env, napi_callback_info info, std::shared_ptr<GattServer> &outServer, in CheckGattsSendRsp() 269 std::shared_ptr<GattServer> server {nullptr}; in SendResponse() 282 static GattCharacteristic *GetGattCharacteristic(const std::shared_ptr<GattServer> [all...] |
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gatt_server.cpp | 115 std::shared_ptr<GattServer> gattServer = nullptr; 604 GATTSERVER(i) = GattServer::CreateInstance(callbackWapper); in BleGattsRegister()
|
Completed in 6 milliseconds