OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:bmgr
(Results
1 - 19
of
19
) sorted by null
/frameworks/base/cmds/bmgr/
bmgr
1
# Script to start "
bmgr
" on the device, which has a very rudimentary
5
export CLASSPATH=$base/framework/
bmgr
.jar
6
exec app_process $base/bin com.android.commands.
bmgr
.
Bmgr
"$@"
Android.mk
8
LOCAL_MODULE_STEM :=
bmgr
12
LOCAL_MODULE :=
bmgr
14
LOCAL_SRC_FILES :=
bmgr
/cts/tests/tests/provider/src/android/provider/cts/
ProviderTestUtils.java
68
String output = executeShellCommand("
bmgr
transport " + transport, uiAutomation);
74
throw new Exception("non-parsable output setting
bmgr
transport: " + output);
81
String output = executeShellCommand("
bmgr
enabled", uiAutomation);
90
executeShellCommand("
bmgr
enable " + enable, uiAutomation);
96
String output = executeShellCommand("
bmgr
list transports", uiAutomation);
109
executeShellCommand("
bmgr
backupnow " + packageName, uiAutomation);
114
executeShellCommand("
bmgr
restore 1 " + packageName, uiAutomation);
120
executeShellCommand("
bmgr
wipe " + backupTransport + " " + packageName, uiAutomation);
/cts/hostsidetests/backup/src/android/cts/backup/
BaseBackupHostSideTest.java
58
* Execute shell command "
bmgr
backupnow <packageName>" and return output from this command.
61
return mDevice.executeShellCommand("
bmgr
backupnow " + packageName);
65
* Execute shell command "
bmgr
backupnow <packageName>" and assert success.
75
* Execute shell command "
bmgr
restore <packageName>" and assert success.
83
* Execute shell command "
bmgr
restore <packageName>" and return output from this command.
86
return mDevice.executeShellCommand("
bmgr
restore " + packageName);
100
* Parsing the output of "
bmgr
backupnow" command and checking that the package under test
124
* Parsing the output of "
bmgr
restore" command and checking that the package under test
143
* NB: '
bmgr
wipe' does not produce any useful output if the package or transport not found,
148
mDevice.executeShellCommand(String.format("
bmgr
wipe %s %s", LOCAL_TRANSPORT, packageName))
[
all
...]
BackupPreparer.java
105
String output = mDevice.executeShellCommand("
bmgr
list transports");
117
String output = mDevice.executeShellCommand("
bmgr
enabled");
123
throw new RuntimeException("non-parsable output setting
bmgr
enabled: " + output);
126
mDevice.executeShellCommand("
bmgr
enable " + enable);
132
String output = mDevice.executeShellCommand("
bmgr
transport " + transport);
138
throw new RuntimeException("non-parsable output setting
bmgr
transport: " + output);
KeyValueBackupRestoreHostSideTest.java
36
* NB: The tests use "
bmgr
backupnow" for backup, which works on N+ devices.
/development/samples/browseable/AutoBackupForApps/
_index.jd
13
Executing "adb shell
bmgr
restore com.example.android.autobackup" from a terminal will cause the
/frameworks/base/tests/backup/
test_backup.sh
28
a shell
bmgr
wipe "$pkg"
41
#a shell
bmgr
transport com.google.android.backup/.BackupTransportService
61
a shell
bmgr
backup com.android.backuptest
64
a shell
bmgr
run
test_restore.sh
69
restore_set=$(a shell
bmgr
list sets | head -n1 | awk '{print $1}')
73
a shell
bmgr
restore "$restore_set"
/cts/tests/backup/src/android/backup/cts/
BackupQuotaTest.java
93
exec("
bmgr
backupnow " + BACKUP_APP_NAME);
99
String output = exec("
bmgr
enabled");
105
throw new RuntimeException("non-parsable output setting
bmgr
enabled: " + output);
108
exec("
bmgr
enable " + enable);
113
String output = exec("
bmgr
transport " + transport);
119
throw new RuntimeException("non-parsable output setting
bmgr
transport: " + output);
124
String output = exec("
bmgr
list transports");
/developers/samples/android/content/AutoBackupForApps/
template-params.xml
33
Executing "adb shell
bmgr
restore com.example.android.autobackup" from a terminal will cause the
72
adb shell
bmgr
restorecom.example.android.autobackup
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
Bmgr.java
17
package com.android.commands.
bmgr
;
41
public final class
Bmgr
{
57
new
Bmgr
().run(args);
738
System.err.println("usage:
bmgr
[backup|restore|list|transport|run]");
739
System.err.println("
bmgr
backup PACKAGE");
740
System.err.println("
bmgr
enable BOOL");
741
System.err.println("
bmgr
enabled");
742
System.err.println("
bmgr
list transports [-c]");
743
System.err.println("
bmgr
list sets");
744
System.err.println("
bmgr
transport WHICH|-c WHICH_COMPONENT")
[
all
...]
/developers/build/prebuilts/gradle/AutoBackupForApps/Application/src/main/res/values/
base-strings.xml
29
Executing "adb shell
bmgr
restore com.example.android.autobackup" from a terminal will cause the
/development/samples/browseable/AutoBackupForApps/res/values/
base-strings.xml
29
Executing "adb shell
bmgr
restore com.example.android.autobackup" from a terminal will cause the
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
ActivityHelper.java
163
* Enable/disable
bmgr
service
168
String output = CommandsHelper.execute("
bmgr
enable " + Boolean.toString(enable));
170
Assert.assertTrue("
Bmgr
not enabled",
173
Assert.assertTrue("
Bmgr
not disabled",
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
ShortcutManagerBackupTest.java
101
"
bmgr
transport android/com.android.internal.backup.LocalTransport"));
106
"
bmgr
wipe android/com.android.internal.backup.LocalTransport android"));
110
executeShellCommandWithLog("
bmgr
backupnow android"));
119
executeShellCommandWithLog("
bmgr
restore 1 android"));
/build/make/target/product/
base.mk
32
bmgr
\
/developers/build/prebuilts/gradle/AutoBackupForApps/
README.md
19
adb shell
bmgr
restorecom.example.android.autobackup
/development/samples/BackupRestore/src/com/example/android/backuprestore/
BackupRestoreActivity.java
84
* the application on your handset. The '
bmgr
' shell application on the device can
88
* <p><code>adb shell
bmgr
wipe com.example.android.backuprestore</code>
Completed in 565 milliseconds