It's not shear friction without 1) fully developed reinforcement crossing the joint, and 2) sufficient friction, created by a roughened surface.
Simply gluing the bar into the existing concrete is not sufficient unless you either take it a full development length with proper cover and confinement, or meet 318 Appendix D (as the only adopted standard for post-installed anchorage to concrete.) Consider that without sufficient embedment, the likely failure mode will be removal of a chunk of concrete as the two sides pull apart.
As for shear on the steel cross section of dowels, without sufficient clamping forces, pins fail in bending. Bolts fail in true shear because they provide their own clamping action. Nails and dowels fail in bending as the parts separate. Once you reach full development, deformed dowels provide good resistance to withdrawal. They could then would work in shear, but you would reach crushing loads on the concrete in bearing, resulting local failure of steel and/or concrete. Once concrete crushes and steel tries to bend through the crushed material, failure is common. This is one failure mode for hooked rebar where there is not sufficient embedment length (ldh) before the bend.