Since 1985, the World Health Organization has been testing donors blood for HIV and other blood illnesses like Hep C. That is why you don't hear of people getting infected through blood transfusions anymore.
For the part of your question, unless two fresh wounds are squeezed together, infection will not occur. When bleeding, we bleed out, nothing can go into the body during the bleeding.
When the skin is broken, it starts to heal right away forming a barrier so that nothing gets into the bloodstream.
Also remember, HIV dies 30 seconds to a minute after it hits the air.
All the best
Muthoni (Mson)