There are no cheat codes for The Sims 2: Pets on PSP.
The handheld versions were designed as self-contained experiences without console commands. Enjoy the portable pet simulation as intended.