Lines Matching refs:err
104 System.err.println("Error: " + e);
106 System.err.println(PM_NOT_RUNNING_ERR);
121 System.err.println(PM_NOT_RUNNING_ERR);
257 System.err.println("Error: unknown command '" + op + "'");
277 System.err.println("Error: didn't specify type of data to list");
295 System.err.println("Error: unknown list type '" + type + "'");
333 System.err.println("Error: Unknown option: " + opt);
338 System.err.println("Error: " + ex.toString());
374 System.err.println(e.toString());
375 System.err.println(PM_NOT_RUNNING_ERR);
421 System.err.println(e.toString());
422 System.err.println(PM_NOT_RUNNING_ERR);
459 System.err.println(e.toString());
460 System.err.println(PM_NOT_RUNNING_ERR);
483 System.err.println("Error: Unknown option: " + opt);
488 System.err.println("Error: " + ex.toString());
518 System.err.println(e.toString());
519 System.err.println(PM_NOT_RUNNING_ERR);
539 System.err.println(e.toString());
540 System.err.println(PM_NOT_RUNNING_ERR);
583 System.err.println("Error: Unknown option: " + opt);
628 System.err.println(e.toString());
629 System.err.println(PM_NOT_RUNNING_ERR);
733 System.err.println("Error: no package specified");
742 System.err.println("Error: no package specified");
819 System.err.println("Error: no install location specified.");
825 System.err.println("Error: install location has to be a number.");
830 System.err.println("Error: install location has to be a number.");
835 System.err.println(e.toString());
836 System.err.println(PM_NOT_RUNNING_ERR);
855 System.err.println(e.toString());
856 System.err.println(PM_NOT_RUNNING_ERR);
880 System.err.println("Error: no value specified for -i");
896 System.err.println("Error: must supply argument for --originating-uri");
902 System.err.println("Error: must supply argument for --referrer");
910 System.err.println("Error: Unknown option: " + opt);
938 System.err.println("\tpkg: " + apkFilePath);
940 System.err.println("Error: no package specified");
947 System.err.println("\tver: " + verificationFilePath);
972 System.err.println("Failure ["
979 System.err.println(e.toString());
980 System.err.println(PM_NOT_RUNNING_ERR);
1124 System.err.println("Failure ["
1170 System.err.println("Error: no USER_ID specified");
1179 System.err.println("Error: unknown option " + opt);
1186 System.err.println("Error: no user name specified.");
1201 System.err.println("Error: couldn't create User.");
1205 System.err.println(e.toString());
1206 System.err.println(PM_NOT_RUNNING_ERR);
1215 System.err.println("Error: no user id specified.");
1221 System.err.println("Error: user id '" + arg + "' is not a number.");
1229 System.err.println("Error: couldn't remove user id " + userId);
1233 System.err.println(e.toString());
1234 System.err.println(PM_NOT_RUNNING_ERR);
1245 System.err.println("Error: couldn't get users");
1256 System.err.println(e.toString());
1257 System.err.println(PM_NOT_RUNNING_ERR);
1291 System.err.println("Error: Invalid user: " + param);
1295 System.err.println("Error: Unknown option: " + opt);
1302 System.err.println("Error: no package specified");
1315 System.err.println(e.toString());
1316 System.err.println(PM_NOT_RUNNING_ERR);
1320 System.err.println("Failure - not installed for " + userId);
1344 System.err.println("Failure ["
1370 System.err.println("Error: no USER_ID specified");
1380 System.err.println("Error: no package specified");
1401 System.err.println("Failed");
1405 System.err.println(e.toString());
1406 System.err.println(PM_NOT_RUNNING_ERR);
1442 System.err.println("Error: no USER_ID specified");
1452 System.err.println("Error: no package or component specified");
1466 System.err.println(e.toString());
1467 System.err.println(PM_NOT_RUNNING_ERR);
1478 System.err.println(e.toString());
1479 System.err.println(PM_NOT_RUNNING_ERR);
1491 System.err.println("Error: no USER_ID specified");
1501 System.err.println("Error: no package or component specified");
1511 System.err.println(e.toString());
1512 System.err.println(PM_NOT_RUNNING_ERR);
1520 System.err.println("Error: no package specified");
1526 System.err.println("Error: no permission specified");
1538 System.err.println(e.toString());
1539 System.err.println(PM_NOT_RUNNING_ERR);
1542 System.err.println("Bad argument: " + e.toString());
1546 System.err.println("Operation not allowed: " + e.toString());
1554 System.err.println("Error: no permission specified");
1560 System.err.println("Error: no enforcement specified");
1569 System.err.println(e.toString());
1570 System.err.println(PM_NOT_RUNNING_ERR);
1573 System.err.println("Bad argument: " + e.toString());
1577 System.err.println("Operation not allowed: " + e.toString());
1600 System.err.println("Error: no size specified");
1615 System.err.println("Invalid suffix: " + c);
1625 System.err.println("Error: expected number at: " + size);
1642 System.err.println(e.toString());
1643 System.err.println(PM_NOT_RUNNING_ERR);
1646 System.err.println("Bad argument: " + e.toString());
1650 System.err.println("Operation not allowed: " + e.toString());
1674 System.err.println(e.toString());
1675 System.err.println(PM_NOT_RUNNING_ERR);
1692 System.err.println(e.toString());
1693 System.err.println(PM_NOT_RUNNING_ERR);
1793 System.err.println("usage: pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [--user USER_ID] [FILTER]");
1794 System.err.println(" pm list permission-groups");
1795 System.err.println(" pm list permissions [-g] [-f] [-d] [-u] [GROUP]");
1796 System.err.println(" pm list instrumentation [-f] [TARGET-PACKAGE]");
1797 System.err.println(" pm list features");
1798 System.err.println(" pm list libraries");
1799 System.err.println(" pm list users");
1800 System.err.println(" pm path PACKAGE");
1801 System.err.println(" pm dump PACKAGE");
1802 System.err.println(" pm install [-lrtsfd] [-i PACKAGE] [PATH]");
1803 System.err.println(" pm install-create [-lrtsfdp] [-i PACKAGE] [-S BYTES]");
1804 System.err.println(" pm install-write [-S BYTES] SESSION_ID SPLIT_NAME [PATH]");
1805 System.err.println(" pm install-commit SESSION_ID");
1806 System.err.println(" pm install-abandon SESSION_ID");
1807 System.err.println(" pm uninstall [-k] [--user USER_ID] PACKAGE");
1808 System.err.println(" pm set-installer PACKAGE INSTALLER");
1809 System.err.println(" pm clear [--user USER_ID] PACKAGE");
1810 System.err.println(" pm enable [--user USER_ID] PACKAGE_OR_COMPONENT");
1811 System.err.println(" pm disable [--user USER_ID] PACKAGE_OR_COMPONENT");
1812 System.err.println(" pm disable-user [--user USER_ID] PACKAGE_OR_COMPONENT");
1813 System.err.println(" pm disable-until-used [--user USER_ID] PACKAGE_OR_COMPONENT");
1814 System.err.println(" pm hide [--user USER_ID] PACKAGE_OR_COMPONENT");
1815 System.err.println(" pm unhide [--user USER_ID] PACKAGE_OR_COMPONENT");
1816 System.err.println(" pm grant PACKAGE PERMISSION");
1817 System.err.println(" pm revoke PACKAGE PERMISSION");
1818 System.err.println(" pm set-install-location [0/auto] [1/internal] [2/external]");
1819 System.err.println(" pm get-install-location");
1820 System.err.println(" pm set-permission-enforced PERMISSION [true|false]");
1821 System.err.println(" pm trim-caches DESIRED_FREE_SPACE");
1822 System.err.println(" pm create-user [--profileOf USER_ID] [--managed] USER_NAME");
1823 System.err.println(" pm remove-user USER_ID");
1824 System.err.println(" pm get-max-users");
1825 System.err.println("");
1826 System.err.println("pm list packages: prints all packages, optionally only");
1827 System.err.println(" those whose package name contains the text in FILTER. Options:");
1828 System.err.println(" -f: see their associated file.");
1829 System.err.println(" -d: filter to only show disbled packages.");
1830 System.err.println(" -e: filter to only show enabled packages.");
1831 System.err.println(" -s: filter to only show system packages.");
1832 System.err.println(" -3: filter to only show third party packages.");
1833 System.err.println(" -i: see the installer for the packages.");
1834 System.err.println(" -u: also include uninstalled packages.");
1835 System.err.println("");
1836 System.err.println("pm list permission-groups: prints all known permission groups.");
1837 System.err.println("");
1838 System.err.println("pm list permissions: prints all known permissions, optionally only");
1839 System.err.println(" those in GROUP. Options:");
1840 System.err.println(" -g: organize by group.");
1841 System.err.println(" -f: print all information.");
1842 System.err.println(" -s: short summary.");
1843 System.err.println(" -d: only list dangerous permissions.");
1844 System.err.println(" -u: list only the permissions users will see.");
1845 System.err.println("");
1846 System.err.println("pm list instrumentation: use to list all test packages; optionally");
1847 System.err.println(" supply <TARGET-PACKAGE> to list the test packages for a particular");
1848 System.err.println(" application. Options:");
1849 System.err.println(" -f: list the .apk file for the test package.");
1850 System.err.println("");
1851 System.err.println("pm list features: prints all features of the system.");
1852 System.err.println("");
1853 System.err.println("pm list users: prints all users on the system.");
1854 System.err.println("");
1855 System.err.println("pm path: print the path to the .apk of the given PACKAGE.");
1856 System.err.println("");
1857 System.err.println("pm dump: print system state associated with the given PACKAGE.");
1858 System.err.println("");
1859 System.err.println("pm install: install a single legacy package");
1860 System.err.println("pm install-create: create an install session");
1861 System.err.println(" -l: forward lock application");
1862 System.err.println(" -r: replace existing application");
1863 System.err.println(" -t: allow test packages");
1864 System.err.println(" -i: specify the installer package name");
1865 System.err.println(" -s: install application on sdcard");
1866 System.err.println(" -f: install application on internal flash");
1867 System.err.println(" -d: allow version code downgrade");
1868 System.err.println(" -p: partial application install");
1869 System.err.println(" -S: size in bytes of entire session");
1870 System.err.println("");
1871 System.err.println("pm install-write: write a package into existing session; path may");
1872 System.err.println(" be '-' to read from stdin");
1873 System.err.println(" -S: size in bytes of package, required for stdin");
1874 System.err.println("");
1875 System.err.println("pm install-commit: perform install of fully staged session");
1876 System.err.println("pm install-abandon: abandon session");
1877 System.err.println("");
1878 System.err.println("pm set-installer: set installer package name");
1879 System.err.println("");
1880 System.err.println("pm uninstall: removes a package from the system. Options:");
1881 System.err.println(" -k: keep the data and cache directories around after package removal.");
1882 System.err.println("");
1883 System.err.println("pm clear: deletes all data associated with a package.");
1884 System.err.println("");
1885 System.err.println("pm enable, disable, disable-user, disable-until-used: these commands");
1886 System.err.println(" change the enabled state of a given package or component (written");
1887 System.err.println(" as \"package/class\").");
1888 System.err.println("");
1889 System.err.println("pm grant, revoke: these commands either grant or revoke permissions");
1890 System.err.println(" to applications. Only optional permissions the application has");
1891 System.err.println(" declared can be granted or revoked.");
1892 System.err.println("");
1893 System.err.println("pm get-install-location: returns the current install location.");
1894 System.err.println(" 0 [auto]: Let system decide the best location");
1895 System.err.println(" 1 [internal]: Install on internal device storage");
1896 System.err.println(" 2 [external]: Install on external media");
1897 System.err.println("");
1898 System.err.println("pm set-install-location: changes the default install location.");
1899 System.err.println(" NOTE: this is only intended for debugging; using this can cause");
1900 System.err.println(" applications to break and other undersireable behavior.");
1901 System.err.println(" 0 [auto]: Let system decide the best location");
1902 System.err.println(" 1 [internal]: Install on internal device storage");
1903 System.err.println(" 2 [external]: Install on external media");
1904 System.err.println("");
1905 System.err.println("pm trim-caches: trim cache files to reach the given free space.");
1906 System.err.println("");
1907 System.err.println("pm create-user: create a new user with the given USER_NAME,");
1908 System.err.println(" printing the new user identifier of the user.");
1909 System.err.println("");
1910 System.err.println("pm remove-user: remove the user with the given USER_IDENTIFIER,");
1911 System.err.println(" deleting all data associated with that user");
1912 System.err.println("");