Lines Matching refs:println

90             System.err.println(PM_NOT_RUNNING_ERR);
206 System.err.println("Error: unknown command '" + op + "'");
226 System.err.println("Error: didn't specify type of data to list");
244 System.err.println("Error: unknown list type '" + type + "'");
281 System.err.println("Error: Unknown option: " + opt);
286 System.err.println("Error: " + ex.toString());
317 System.out.println();
321 System.err.println(e.toString());
322 System.err.println(PM_NOT_RUNNING_ERR);
361 if (fi.name != null) System.out.println(fi.name);
362 else System.out.println("reqGlEsVersion=0x"
366 System.err.println(e.toString());
367 System.err.println(PM_NOT_RUNNING_ERR);
399 System.out.println(lib);
402 System.err.println(e.toString());
403 System.err.println(PM_NOT_RUNNING_ERR);
425 System.err.println("Error: Unknown option: " + opt);
430 System.err.println("Error: " + ex.toString());
456 System.out.println(")");
459 System.err.println(e.toString());
460 System.err.println(PM_NOT_RUNNING_ERR);
475 System.out.println(pgi.name);
478 System.err.println(e.toString());
479 System.err.println(PM_NOT_RUNNING_ERR);
521 System.err.println("Error: Unknown option: " + opt);
540 System.out.println("Dangerous Permissions:");
541 System.out.println("");
546 System.out.println("Normal Permissions:");
547 System.out.println("");
553 System.out.println("Dangerous and Normal Permissions:");
554 System.out.println("");
559 System.out.println("All Permissions:");
560 System.out.println("");
565 System.err.println(e.toString());
566 System.err.println(PM_NOT_RUNNING_ERR);
578 if (i > 0) System.out.println("");
592 System.out.println((labels ? "+ " : "")
595 System.out.println(" package:" + pgi.packageName);
598 System.out.println(" label:"
601 System.out.println(" description:"
608 System.out.println(((labels && !summary)
641 System.out.println(prefix + (labels ? "+ " : "")
644 System.out.println(prefix + " package:" + pi.packageName);
647 System.out.println(prefix + " label:"
650 System.out.println(prefix + " description:"
654 System.out.println(prefix + " protectionLevel:"
661 System.out.println("");
669 System.err.println("Error: no package specified");
726 System.err.println("Error: no install location specified.");
732 System.err.println("Error: install location has to be a number.");
737 System.err.println("Error: install location has to be a number.");
740 System.err.println(e.toString());
741 System.err.println(PM_NOT_RUNNING_ERR);
756 System.out.println(loc + "[" + locStr + "]");
758 System.err.println(e.toString());
759 System.err.println(PM_NOT_RUNNING_ERR);
787 System.err.println("Error: no value specified for -i");
803 System.err.println("Error: must supply argument for --algo");
809 System.err.println("Error: must supply argument for --iv");
815 System.err.println("Error: must supply argument for --key");
821 System.err.println("Error: must supply argument for --macalgo");
827 System.err.println("Error: must supply argument for --mackey");
833 System.err.println("Error: must supply argument for --tag");
839 System.err.println("Error: must supply argument for --originating-uri");
845 System.err.println("Error: must supply argument for --referrer");
849 System.err.println("Error: Unknown option: " + opt);
858 System.err.println("Error: all of --algo, --iv, and --key must be specified");
864 System.err.println("Error: all of --macalgo, --mackey, and --tag must "
909 System.err.println("\tpkg: " + apkFilePath);
913 System.err.println("Error: no package specified");
920 System.err.println("\tver: " + verificationFilePath);
942 System.out.println("Success");
944 System.err.println("Failure ["
950 System.err.println(e.toString());
951 System.err.println(PM_NOT_RUNNING_ERR);
990 System.err.println("Error: no user name specified.");
997 System.out.println("Success: created user id " + info.id);
999 System.err.println("Error: couldn't create User.");
1002 System.err.println(e.toString());
1003 System.err.println(PM_NOT_RUNNING_ERR);
1012 System.err.println("Error: no user id specified.");
1018 System.err.println("Error: user id '" + arg + "' is not a number.");
1023 System.out.println("Success: removed user");
1025 System.err.println("Error: couldn't remove user id " + userId);
1028 System.err.println(e.toString());
1029 System.err.println(PM_NOT_RUNNING_ERR);
1037 System.err.println("Error: couldn't get users");
1039 System.out.println("Users:");
1041 System.out.println("\t" + users.get(i).toString());
1045 System.err.println(e.toString());
1046 System.err.println(PM_NOT_RUNNING_ERR);
1051 System.out.println("Maximum supported users: " + UserManager.getMaxSupportedUsers());
1075 System.err.println("Error: Unknown option: " + opt);
1082 System.err.println("Error: no package specified");
1088 System.out.println("Success");
1090 System.out.println("Failure");
1108 System.err.println(e.toString());
1109 System.err.println(PM_NOT_RUNNING_ERR);
1135 System.err.println("Error: no USER_ID specified");
1145 System.err.println("Error: no package specified");
1163 System.err.println("Success");
1165 System.err.println("Failed");
1168 System.err.println(e.toString());
1169 System.err.println(PM_NOT_RUNNING_ERR);
1204 System.err.println("Error: no USER_ID specified");
1214 System.err.println("Error: no package or component specified");
1223 System.err.println("Package " + pkg + " new state: "
1227 System.err.println(e.toString());
1228 System.err.println(PM_NOT_RUNNING_ERR);
1233 System.err.println("Component " + cn.toShortString() + " new state: "
1237 System.err.println(e.toString());
1238 System.err.println(PM_NOT_RUNNING_ERR);
1246 System.err.println("Error: no package specified");
1252 System.err.println("Error: no permission specified");
1263 System.err.println(e.toString());
1264 System.err.println(PM_NOT_RUNNING_ERR);
1266 System.err.println("Bad argument: " + e.toString());
1269 System.err.println("Operation not allowed: " + e.toString());
1276 System.err.println("Error: no permission specified");
1282 System.err.println("Error: no enforcement specified");
1290 System.err.println(e.toString());
1291 System.err.println(PM_NOT_RUNNING_ERR);
1293 System.err.println("Bad argument: " + e.toString());
1296 System.err.println("Operation not allowed: " + e.toString());
1318 System.err.println("Error: no size specified");
1333 System.err.println("Invalid suffix: " + c);
1343 System.err.println("Error: expected number at: " + size);
1359 System.err.println(e.toString());
1360 System.err.println(PM_NOT_RUNNING_ERR);
1362 System.err.println("Bad argument: " + e.toString());
1365 System.err.println("Operation not allowed: " + e.toString());
1378 System.out.println(info.applicationInfo.sourceDir);
1381 System.err.println(e.toString());
1382 System.err.println(PM_NOT_RUNNING_ERR);
1398 System.err.println(e.toString());
1399 System.err.println(PM_NOT_RUNNING_ERR);
1451 System.err.println("usage: pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [--user USER_ID] [FILTER]");
1452 System.err.println(" pm list permission-groups");
1453 System.err.println(" pm list permissions [-g] [-f] [-d] [-u] [GROUP]");
1454 System.err.println(" pm list instrumentation [-f] [TARGET-PACKAGE]");
1455 System.err.println(" pm list features");
1456 System.err.println(" pm list libraries");
1457 System.err.println(" pm list users");
1458 System.err.println(" pm path PACKAGE");
1459 System.err.println(" pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f]");
1460 System.err.println(" [--algo <algorithm name> --key <key-in-hex> --iv <IV-in-hex>]");
1461 System.err.println(" [--originating-uri <URI>] [--referrer <URI>] PATH");
1462 System.err.println(" pm uninstall [-k] PACKAGE");
1463 System.err.println(" pm clear [--user USER_ID] PACKAGE");
1464 System.err.println(" pm enable [--user USER_ID] PACKAGE_OR_COMPONENT");
1465 System.err.println(" pm disable [--user USER_ID] PACKAGE_OR_COMPONENT");
1466 System.err.println(" pm disable-user [--user USER_ID] PACKAGE_OR_COMPONENT");
1467 System.err.println(" pm disable-until-used [--user USER_ID] PACKAGE_OR_COMPONENT");
1468 System.err.println(" pm grant PACKAGE PERMISSION");
1469 System.err.println(" pm revoke PACKAGE PERMISSION");
1470 System.err.println(" pm set-install-location [0/auto] [1/internal] [2/external]");
1471 System.err.println(" pm get-install-location");
1472 System.err.println(" pm set-permission-enforced PERMISSION [true|false]");
1473 System.err.println(" pm trim-caches DESIRED_FREE_SPACE");
1474 System.err.println(" pm create-user USER_NAME");
1475 System.err.println(" pm remove-user USER_ID");
1476 System.err.println(" pm get-max-users");
1477 System.err.println("");
1478 System.err.println("pm list packages: prints all packages, optionally only");
1479 System.err.println(" those whose package name contains the text in FILTER. Options:");
1480 System.err.println(" -f: see their associated file.");
1481 System.err.println(" -d: filter to only show disbled packages.");
1482 System.err.println(" -e: filter to only show enabled packages.");
1483 System.err.println(" -s: filter to only show system packages.");
1484 System.err.println(" -3: filter to only show third party packages.");
1485 System.err.println(" -i: see the installer for the packages.");
1486 System.err.println(" -u: also include uninstalled packages.");
1487 System.err.println("");
1488 System.err.println("pm list permission-groups: prints all known permission groups.");
1489 System.err.println("");
1490 System.err.println("pm list permissions: prints all known permissions, optionally only");
1491 System.err.println(" those in GROUP. Options:");
1492 System.err.println(" -g: organize by group.");
1493 System.err.println(" -f: print all information.");
1494 System.err.println(" -s: short summary.");
1495 System.err.println(" -d: only list dangerous permissions.");
1496 System.err.println(" -u: list only the permissions users will see.");
1497 System.err.println("");
1498 System.err.println("pm list instrumentation: use to list all test packages; optionally");
1499 System.err.println(" supply <TARGET-PACKAGE> to list the test packages for a particular");
1500 System.err.println(" application. Options:");
1501 System.err.println(" -f: list the .apk file for the test package.");
1502 System.err.println("");
1503 System.err.println("pm list features: prints all features of the system.");
1504 System.err.println("");
1505 System.err.println("pm list users: prints all users on the system.");
1506 System.err.println("");
1507 System.err.println("pm path: print the path to the .apk of the given PACKAGE.");
1508 System.err.println("");
1509 System.err.println("pm install: installs a package to the system. Options:");
1510 System.err.println(" -l: install the package with FORWARD_LOCK.");
1511 System.err.println(" -r: reinstall an exisiting app, keeping its data.");
1512 System.err.println(" -t: allow test .apks to be installed.");
1513 System.err.println(" -i: specify the installer package name.");
1514 System.err.println(" -s: install package on sdcard.");
1515 System.err.println(" -f: install package on internal flash.");
1516 System.err.println(" -d: allow version code downgrade.");
1517 System.err.println("");
1518 System.err.println("pm uninstall: removes a package from the system. Options:");
1519 System.err.println(" -k: keep the data and cache directories around after package removal.");
1520 System.err.println("");
1521 System.err.println("pm clear: deletes all data associated with a package.");
1522 System.err.println("");
1523 System.err.println("pm enable, disable, disable-user, disable-until-used: these commands");
1524 System.err.println(" change the enabled state of a given package or component (written");
1525 System.err.println(" as \"package/class\").");
1526 System.err.println("");
1527 System.err.println("pm grant, revoke: these commands either grant or revoke permissions");
1528 System.err.println(" to applications. Only optional permissions the application has");
1529 System.err.println(" declared can be granted or revoked.");
1530 System.err.println("");
1531 System.err.println("pm get-install-location: returns the current install location.");
1532 System.err.println(" 0 [auto]: Let system decide the best location");
1533 System.err.println(" 1 [internal]: Install on internal device storage");
1534 System.err.println(" 2 [external]: Install on external media");
1535 System.err.println("");
1536 System.err.println("pm set-install-location: changes the default install location.");
1537 System.err.println(" NOTE: this is only intended for debugging; using this can cause");
1538 System.err.println(" applications to break and other undersireable behavior.");
1539 System.err.println(" 0 [auto]: Let system decide the best location");
1540 System.err.println(" 1 [internal]: Install on internal device storage");
1541 System.err.println(" 2 [external]: Install on external media");
1542 System.err.println("");
1543 System.err.println("pm trim-caches: trim cache files to reach the given free space.");
1544 System.err.println("");
1545 System.err.println("pm create-user: create a new user with the given USER_NAME,");
1546 System.err.println(" printing the new user identifier of the user.");
1547 System.err.println("");
1548 System.err.println("pm remove-user: remove the user with the given USER_IDENTIFIER,");
1549 System.err.println(" deleting all data associated with that user");