Home | History | Annotate | Download | only in test

Lines Matching refs:AddCharacteristic

40   MOCK_METHOD5(AddCharacteristic, bt_status_t(int, int, bt_uuid_t*, int, int));
234 EXPECT_CALL(*mock_handler_, AddCharacteristic(_, _, _, _, _))
253 test_char_id_ = *gatt_server_->AddCharacteristic(uuid1, 0, 0);
537 TEST_F(GattServerPostRegisterTest, AddCharacteristic) {
546 EXPECT_EQ(nullptr, gatt_server_->AddCharacteristic(char_uuid, props, perms));
556 auto char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
557 auto char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
587 EXPECT_EQ(nullptr, gatt_server_->AddCharacteristic(char_uuid, props, perms));
589 EXPECT_CALL(*mock_handler_, AddCharacteristic(_, _, _, _, _))
600 // First AddCharacteristic call will fail.
609 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
610 char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
618 // Report failure for pending AddCharacteristic.
628 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
629 char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
637 // Report success for pending AddCharacteristic we should receive a call for
648 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
649 char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
657 // Report success for pending AddCharacteristic. Second characteristic call
664 // Report failure for pending AddCharacteristic call for second
675 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
676 char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms);
684 // Report success for pending AddCharacteristic. Second characteristic call
691 // Report success for pending AddCharacteristic call for second
728 auto char_id0 = gatt_server_->AddCharacteristic(char_uuid0, props, perms);
729 auto char_id1 = gatt_server_->AddCharacteristic(char_uuid1, props, perms);
749 EXPECT_CALL(*mock_handler_, AddCharacteristic(_, _, _, _, _))
803 char_id0 = gatt_server_->AddCharacteristic(char_uuid0, props, perms);
804 char_id1 = gatt_server_->AddCharacteristic(char_uuid1, props, perms);
835 char_id0 = gatt_server_->AddCharacteristic(char_uuid0, props, perms);
836 char_id1 = gatt_server_->AddCharacteristic(char_uuid1, props, perms);
868 char_id0 = gatt_server_->AddCharacteristic(char_uuid0, props, perms);
869 char_id1 = gatt_server_->AddCharacteristic(char_uuid1, props, perms);
906 char_id0 = gatt_server_->AddCharacteristic(char_uuid0, props, perms);
907 char_id1 = gatt_server_->AddCharacteristic(char_uuid1, props, perms);