Home
last modified time | relevance | path

Searched refs:IsPrimary (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_gatt_service.h143 bool IsPrimary() const;
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_gatt_service.cpp100 bool GattService::IsPrimary() const in IsPrimary() function in OHOS::Bluetooth::GattService
H A Dbluetooth_gatt_server.cpp586 svc.isPrimary_ = service.IsPrimary(); in AddService()
702 if (svc.GetUuid().Equals(uuid) && svc.IsPrimary() == isPrimary) { in GetService()
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/gatt/
H A Dgatt_server_test.cpp257 EXPECT_FALSE(listSecondary->IsPrimary());
H A Dgatt_service_test.cpp59 EXPECT_EQ(true, GattService(uuid_, serviceType_).IsPrimary());
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble_utils.cpp41 napi_get_boolean(env, service.IsPrimary(), &isPrimary); in ConvertGattServiceToJS()
43 …id: %{public}s, isPrimary: %{public}d", service.GetUuid().ToString().c_str(), service.IsPrimary()); in ConvertGattServiceToJS()