The only risks for HIV transmission in adults are:
1) Having unprotected anal or vaginal sex, or
2) sharing intravenous needles.
There is no other activity that you can think of, including the two events you mentioned, that would put you at risk for HIV.