GO:0050664: oxidoreductase activity, acting on NAD(P)H, oxygen as acceptor
Catalysis of an oxidation-reduction (redox) reaction in which NADH or NADPH acts as a hydrogen or electron donor and reduces an oxygen molecule.