Lines Matching refs:prealloc_test_svc
234 struct bt_gatt_service prealloc_test_svc = BT_GATT_SERVICE(local_test_attrs); in ZTEST() local
238 for (int i = 0; i < prealloc_test_svc.attr_count; i++) { in ZTEST()
239 prealloc_test_svc.attrs[i].handle = 0x0100 + i; in ZTEST()
245 zassert_false(bt_gatt_service_register(&prealloc_test_svc), in ZTEST()
248 zassert_false(bt_gatt_service_unregister(&prealloc_test_svc), in ZTEST()
252 for (int i = 0; i < prealloc_test_svc.attr_count; i++) { in ZTEST()
253 zassert_equal(prealloc_test_svc.attrs[i].handle, 0x0100 + i, in ZTEST()
260 zassert_false(bt_gatt_service_register(&prealloc_test_svc), in ZTEST()
264 zassert_false(bt_gatt_service_unregister(&prealloc_test_svc), in ZTEST()
297 struct bt_gatt_service prealloc_test_svc = BT_GATT_SERVICE(local_test_attrs); in ZTEST() local
301 for (int j = 0; j < prealloc_test_svc.attr_count; j++) { in ZTEST()
302 prealloc_test_svc.attrs[j].handle = 0x0100 + j; in ZTEST()
305 zassert_false(bt_gatt_service_register(&prealloc_test_svc), in ZTEST()
308 zassert_false(bt_gatt_service_unregister(&prealloc_test_svc), in ZTEST()
312 for (int i = 0; i < prealloc_test_svc.attr_count; i++) { in ZTEST()
313 zassert_equal(prealloc_test_svc.attrs[i].handle, 0x0100 + i, in ZTEST()
320 zassert_false(bt_gatt_service_register(&prealloc_test_svc), in ZTEST()
324 zassert_false(bt_gatt_service_unregister(&prealloc_test_svc), in ZTEST()