We study analytically the two-dimensional deformed bosonic oscillator equation for charged particles (both spin 0 and spin 1 particles) subject to the effect of an uniform magnetic field. We consider the presence of a minimal uncertainty in momentum caused by the Anti-de Sitter model and we use the Nikiforov-Uvarov (NU) method to solve the system. The exact energy eigenvalues and the corresponding wave functions are analytically obtained for both Klein Gordon and scalar Duffin-Kemmer-Petiau (DKP) cases. For spin 1 DKP case, we deduce the behavior of the DKP equation and write the non-relativistic energies and we show the fundamental role of the spin in this case. Finally, we study the thermodynamic properties of the system.