Need for Speed Undercover (PS3) does not support cheat codes. The "Cheats" option present in some PC/PS2/Xbox 360 versions was omitted from the PS3 port.
If on PC, trainers (Cheat Engine, WeMod) exist—but disable for online.
On PS3, skill and smart upgrades are the only way.