What does he mean by injection? A shot. Not a needle stick. And the idea that someone opened the bathroom door and you worry about hiv and 'injection' and whatever else is racing through your mind is what we call irrational. Irrational fear. Irrational fear out of anxiety.
Risks for HIV, having unprotected vaginal or anal sex or sharing -INJECTING DRUGS in YOUR VEINS WITH another person. Who would have to be hiv positive.
Get some help with anxiety as this must be hard to deal with on a regular basis.
Your situation involves personal contact with an object in air (maybe blood, maybe cuts, wound, hand, etc. ) . You will be happy to learn that you had no risk, because you can't get hiv from personal contact except unprotected penetrating vaginal or anal with a penis, neither of which you did and you didn't share hollow needles to inject with which is the only other way to acquire hiv - there are ONLY 3 ways to get hiv. Note that 2 of them require a penis and the third requires a hollow injecting shared needle - there are no OTHER ways to get hiv. Analysis of large numbers of infected people over the 40 years of hiv history has proven that people don't get hiv in the way you are worried is a risk.
Hiv is a fragile virus in air or saliva and is effectively instantly dead in either air or saliva so the WORST that could happen is dead virus rubbed you, and obviously anything which is dead cannot live again so you are good. Blood and cuts would not be relevant in your situation since the hiv has become effectively dead, so you don't have to worry about them to be sure that you are safe.
There is no reason for a person to test when they are safe. The advice took into consideration that the other person might be positive, so move on and enjoy life instead of thinking about this non-event. hiv prevention is straightforward since there are only 3 ways you can become infected, so next time you wonder if you had a risk, ask yourself this QUESTION. "Did I do any of the 3?" Then after you ANSWER "No, there wasn't a penis in an anus or vagina and I wasn't injected" you will know that it's time to move on back to your happy life.
No one got hiv from what you did during 40 years of hiv history and no one will get it in the next 40 years of your life either. You can do what you did any time and be safe from hiv.
The other person's status is irrelevant when you have no exposure to live virus.
If you still have questions about your risk, after reading all of the above, then it is because you didn't answer the QUESTION above.