1、alps/frameworks/base/cmds/pm/src/com/android/commands/pm/Pm.java
public static void main(String[] args) { int exitCode = 1; try { exitCode = new Pm().run(args);/step1 } catch (Exception e) { ********************************** }
public int run(String[] args) throws RemoteException { boolean validCommand = false; if (args.length < 1) { return showUsage(); } ****************************
if ("uninstall".equals(op)) { return runUninstall(); //step2 } ***************************** }
private int runUninstall() {