Home
last modified time | relevance | path

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

12

/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble_utils.cpp187 if (descriptor.GetCharacteristic() != nullptr) { in ConvertBLEDescriptorToJS()
189 napi_create_string_utf8(env, descriptor.GetCharacteristic()->GetUuid().ToString().c_str(), NAPI_AUTO_LENGTH, in ConvertBLEDescriptorToJS()
193 if (descriptor.GetCharacteristic()->GetService() != nullptr) { in ConvertBLEDescriptorToJS()
195 napi_create_string_utf8(env, descriptor.GetCharacteristic()->GetService()->GetUuid().ToString().c_str(), in ConvertBLEDescriptorToJS()
262 if (descriptor.GetCharacteristic() != nullptr) { in ConvertDescriptorReadReqToJS()
264 napi_create_string_utf8(env, descriptor.GetCharacteristic()->GetUuid().ToString().c_str(), NAPI_AUTO_LENGTH, in ConvertDescriptorReadReqToJS()
268 if (descriptor.GetCharacteristic()->GetService() != nullptr) { in ConvertDescriptorReadReqToJS()
270 napi_create_string_utf8(env, descriptor.GetCharacteristic()->GetService()->GetUuid().ToString().c_str(), in ConvertDescriptorReadReqToJS()
363 if (descriptor.GetCharacteristic() != nullptr) { in ConvertDescriptorWriteReqToJS()
365 napi_create_string_utf8(env, descriptor.GetCharacteristic() in ConvertDescriptorWriteReqToJS()
[all...]
H A Dnapi_bluetooth_gatt_client.cpp154 static GattCharacteristic *GetCharacteristic(const std::shared_ptr<GattClient> &client, in GetCharacteristic() function
161 character = service->get().GetCharacteristic(characterUuid); in GetCharacteristic()
170 GattCharacteristic *character = GetCharacteristic(client, napiCharacter.serviceUuid, in GetGattcCharacteristic()
183 auto *character = GetCharacteristic(client, napiDescriptor.serviceUuid, napiDescriptor.characteristicUuid); in GetGattcDescriptor()
H A Dnapi_bluetooth_gatt_server.cpp293 GattCharacteristic *character = service.value().get().GetCharacteristic(characterUuid); in GetGattCharacteristic()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_server_profile.cpp578 auto characteristic = db_.GetCharacteristic(startHandle + MIN_ATTRIBUTE_HANDLE); in DiscoverCharacteristicResponse()
640 } else if (db_.GetCharacteristic(attHandle) != nullptr) { in DiscoverAllCharacteristicDescriptorResponse()
642 } else if (db_.GetCharacteristic(attHandle + MIN_ATTRIBUTE_HANDLE) != nullptr) { in DiscoverAllCharacteristicDescriptorResponse()
706 } else if (db_.GetCharacteristic(attHandle) != nullptr) { in ReadValueResponse()
712 } else if (db_.GetCharacteristic(attHandle + MIN_ATTRIBUTE_HANDLE) != nullptr) { in ReadValueResponse()
867 } else if (db_.GetCharacteristic(attHandle) != nullptr) { in ReadBlobValueResponse()
871 } else if (db_.GetCharacteristic(attHandle + MIN_ATTRIBUTE_HANDLE) != nullptr) { in ReadBlobValueResponse()
933 } else if (db_.GetCharacteristic(attHandle) != nullptr) { in WriteValueResponse()
940 } else if (db_.GetCharacteristic(MIN_ATTRIBUTE_HANDLE + attHandle) != nullptr) { in WriteValueResponse()
975 } else if (db_.GetCharacteristic(attHandl in WriteWithoutResponse()
1964 GattDatabase::Characteristic *GattServerProfile::GetCharacteristic(uint16_t valueHandle) const GetCharacteristic() function in OHOS::bluetooth::GattServerProfile
[all...]
H A Dgatt_server_profile.h60 GattDatabase::Characteristic *GetCharacteristic(uint16_t valueHandle) const;
H A Dgatt_client_profile.h92 const GattCache::Characteristic *GetCharacteristic(uint16_t connectHandle, int16_t valueHandle) const;
H A Dgatt_cache.h100 const GattCache::Characteristic *GetCharacteristic(int16_t valueHandle);
H A Dgatt_database.h208 GattDatabase::Characteristic *GetCharacteristic(uint16_t valueHandle);
H A Dgatt_server_service.cpp863 auto ccc = profile_->GetCharacteristic(valueHandle); in SetCharacteristicPermission()
915 auto ccc = profile_->GetCharacteristic(valueHandle); in OnReadCharacteristicValueEvent()
958 auto ccc = profile_->GetCharacteristic(valueHandle); in OnWriteCharacteristicEvent()
1070 auto ccc = profile_->GetCharacteristic(valueHandle); in OnIndicationEvent()
H A Dgatt_database.cpp261 GattDatabase::Characteristic *GattDatabase::GetCharacteristic(uint16_t valueHandle) in GetCharacteristic() function in GattDatabase
H A Dgatt_cache.cpp80 const GattCache::Characteristic *GattCache::GetCharacteristic(int16_t valueHandle) in GetCharacteristic() function in OHOS::bluetooth::GattCache
/foundation/multimedia/av_session/services/session/server/softbus/
H A Dsoftbus_session_server.h29 int32_t GetCharacteristic() override;
H A Dsoftbus_session.h33 virtual int32_t GetCharacteristic() = 0;
H A Dsoftbus_distributed_data_manager.cpp97 int characteristic = server->GetCharacteristic(); in CreateServer()
119 int characteristic = server->GetCharacteristic(); in ReleaseServer()
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_client.cpp112 GattCharacteristic *charac = service->get().GetCharacteristic(UUID::FromString(strUuidChar)); in GattcFindCharacteristic()
222 if (descriptor.GetCharacteristic() == nullptr ||
223 descriptor.GetCharacteristic()->GetService() == nullptr) {
229 string srvUuid = descriptor.GetCharacteristic()->GetService()->GetUuid().ToString();
230 string charcUuid = descriptor.GetCharacteristic()->GetUuid().ToString();
252 if (descriptor.GetCharacteristic() == nullptr ||
253 descriptor.GetCharacteristic()->GetService() == nullptr) {
259 string srvUuid = descriptor.GetCharacteristic()->GetService()->GetUuid().ToString();
260 string charcUuid = descriptor.GetCharacteristic()->GetUuid().ToString();
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_gatt_descriptor.h97 GattCharacteristic *GetCharacteristic() const;
H A Dbluetooth_gatt_service.h111 GattCharacteristic *GetCharacteristic(const UUID &uuid);
/foundation/communication/bluetooth_service/test/unittest/gatt/
H A Dgatt_service_test.cpp173 auto test = addcharacter.GetCharacteristic(uuid_test); in HWTEST_F()
185 * @tc.name: GetCharacteristic
200 auto test = getcharacter.GetCharacteristic(uuid_test); in HWTEST_F()
208 GTEST_LOG_(INFO) << "GattService::GetCharacteristic ends"; in HWTEST_F()
H A Dgatt_descriptor_test.cpp101 * @tc.name: GetCharacteristic
108 auto res = GattDescriptor(uuid_, handle_, permissions).GetCharacteristic(); in HWTEST_F()
115 GTEST_LOG_(INFO) << "GattDescriptor::GetCharacteristic ends"; in HWTEST_F()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_gatt_service.cpp72 GattCharacteristic *GattService::GetCharacteristic(const UUID &uuid) in GetCharacteristic() function in OHOS::Bluetooth::GattService
H A Dbluetooth_gatt_descriptor.cpp71 GattCharacteristic *GattDescriptor::GetCharacteristic() const in GetCharacteristic() function in OHOS::Bluetooth::GattDescriptor
H A Dbluetooth_gatt_client.cpp279 if (isExist && desc.GetCharacteristic() != nullptr) {
280 charac = *desc.GetCharacteristic();
/foundation/multimedia/av_session/services/session/server/migrate/
H A Dmigrate_avsession_server.h43 int32_t GetCharacteristic() override;
H A Dmigrate_avsession_server.cpp51 int32_t MigrateAVSessionServer::GetCharacteristic() in GetCharacteristic() function in OHOS::AVSession::MigrateAVSessionServer
/foundation/multimedia/av_session/services/session/server/test/
H A Dmigrate_avsession_test.cpp113 int32_t ret = server_->GetCharacteristic(); in HWTEST_F()

Completed in 19 milliseconds

12