Lines Matching refs:err

54             System.err.println("Exception caught:");
67 System.err.println(BMGR_NOT_RUNNING_ERR);
130 System.err.println("Unknown command");
144 System.err.println(e.toString());
145 System.err.println(BMGR_NOT_RUNNING_ERR);
164 System.err.println(e.toString());
165 System.err.println(BMGR_NOT_RUNNING_ERR);
173 System.err.println(e.toString());
174 System.err.println(BMGR_NOT_RUNNING_ERR);
188 System.err.println(e.toString());
189 System.err.println(BMGR_NOT_RUNNING_ERR);
205 System.err.println(e.toString());
206 System.err.println(BMGR_NOT_RUNNING_ERR);
278 System.err.println(PM_NOT_RUNNING_ERR);
285 System.err.println(e.toString());
286 System.err.println(PM_NOT_RUNNING_ERR);
296 System.err.println(e.toString());
297 System.err.println(BMGR_NOT_RUNNING_ERR);
307 int err = mBmgr.requestBackup(packages.toArray(new String[packages.size()]), observer);
308 if (err == 0) {
312 System.err.println("Unable to run backup");
315 System.err.println(e.toString());
316 System.err.println(BMGR_NOT_RUNNING_ERR);
336 System.err.println("Provide only '--all' flag or list of packages.");
342 System.err.println("Provide '--all' flag or list of packages.");
362 System.err.println(e.toString());
363 System.err.println(BMGR_NOT_RUNNING_ERR);
384 System.err.println(e.toString());
385 System.err.println(BMGR_NOT_RUNNING_ERR);
400 System.err.println(BMGR_NOT_RUNNING_ERR);
412 System.err.println(e.toString());
413 System.err.println(BMGR_NOT_RUNNING_ERR);
431 System.err.println(e.toString());
432 System.err.println(BMGR_NOT_RUNNING_ERR);
439 int err = mRestore.getAvailableRestoreSets(observer);
440 if (err != 0) {
447 System.err.println(e.toString());
448 System.err.println(TRANSPORT_NOT_RUNNING_ERR);
537 System.err.println(BMGR_NOT_RUNNING_ERR);
542 int err = mRestore.restorePackage(pkg, observer);
543 if (err == 0) {
547 System.err.println("Unable to restore package " + pkg);
553 System.err.println(e.toString());
554 System.err.println(BMGR_NOT_RUNNING_ERR);
565 System.err.println(BMGR_NOT_RUNNING_ERR);
569 int err = mRestore.getAvailableRestoreSets(observer);
570 if (err == 0) {
607 System.err.println(e.toString());
608 System.err.println(BMGR_NOT_RUNNING_ERR);
621 System.err.println(e.toString());
622 System.err.println(BMGR_NOT_RUNNING_ERR);
636 System.err.println("usage: bmgr [backup|restore|list|transport|run]");
637 System.err.println(" bmgr backup PACKAGE");
638 System.err.println(" bmgr enable BOOL");
639 System.err.println(" bmgr enabled");
640 System.err.println(" bmgr list transports");
641 System.err.println(" bmgr list sets");
642 System.err.println(" bmgr transport WHICH");
643 System.err.println(" bmgr restore TOKEN");
644 System.err.println(" bmgr restore TOKEN PACKAGE...");
645 System.err.println(" bmgr restore PACKAGE");
646 System.err.println(" bmgr run");
647 System.err.println(" bmgr wipe TRANSPORT PACKAGE");
648 System.err.println(" bmgr fullbackup PACKAGE...");
649 System.err.println(" bmgr backupnow --all|PACKAGE...");
650 System.err.println("");
651 System.err.println("The 'backup' command schedules a backup pass for the named package.");
652 System.err.println("Note that the backup pass will effectively be a no-op if the package");
653 System.err.println("does not actually have changed data to store.");
654 System.err.println("");
655 System.err.println("The 'enable' command enables or disables the entire backup mechanism.");
656 System.err.println("If the argument is 'true' it will be enabled, otherwise it will be");
657 System.err.println("disabled. When disabled, neither backup or restore operations will");
658 System.err.println("be performed.");
659 System.err.println("");
660 System.err.println("The 'enabled' command reports the current enabled/disabled state of");
661 System.err.println("the backup mechanism.");
662 System.err.println("");
663 System.err.println("The 'list transports' command reports the names of the backup transports");
664 System.err.println("currently available on the device. These names can be passed as arguments");
665 System.err.println("to the 'transport' and 'wipe' commands. The currently active transport");
666 System.err.println("is indicated with a '*' character.");
667 System.err.println("");
668 System.err.println("The 'list sets' command reports the token and name of each restore set");
669 System.err.println("available to the device via the currently active transport.");
670 System.err.println("");
671 System.err.println("The 'transport' command designates the named transport as the currently");
672 System.err.println("active one. This setting is persistent across reboots.");
673 System.err.println("");
674 System.err.println("The 'restore' command when given just a restore token initiates a full-system");
675 System.err.println("restore operation from the currently active transport. It will deliver");
676 System.err.println("the restore set designated by the TOKEN argument to each application");
677 System.err.println("that had contributed data to that restore set.");
678 System.err.println("");
679 System.err.println("The 'restore' command when given a token and one or more package names");
680 System.err.println("initiates a restore operation of just those given packages from the restore");
681 System.err.println("set designated by the TOKEN argument. It is effectively the same as the");
682 System.err.println("'restore' operation supplying only a token, but applies a filter to the");
683 System.err.println("set of applications to be restored.");
684 System.err.println("");
685 System.err.println("The 'restore' command when given just a package name intiates a restore of");
686 System.err.println("just that one package according to the restore set selection algorithm");
687 System.err.println("used by the RestoreSession.restorePackage() method.");
688 System.err.println("");
689 System.err.println("The 'run' command causes any scheduled backup operation to be initiated");
690 System.err.println("immediately, without the usual waiting period for batching together");
691 System.err.println("data changes.");
692 System.err.println("");
693 System.err.println("The 'wipe' command causes all backed-up data for the given package to be");
694 System.err.println("erased from the given transport's storage. The next backup operation");
695 System.err.println("that the given application performs will rewrite its entire data set.");
696 System.err.println("Transport names to use here are those reported by 'list transports'.");
697 System.err.println("");
698 System.err.println("The 'fullbackup' command induces a full-data stream backup for one or more");
699 System.err.println("packages. The data is sent via the currently active transport.");
700 System.err.println("");
701 System.err.println("The 'backupnow' command runs an immediate backup for one or more packages.");
702 System.err.println(" --all flag runs backup for all eligible packages.");
703 System.err.println("For each package it will run key/value or full data backup ");
704 System.err.println("depending on the package's manifest declarations.");
705 System.err.println("The data is sent via the currently active transport.");