Lines Matching refs:adb
18 def _SaveAppData(adb, package_name, from_apk=None, data_dir=None):
20 adb.Adb().SendCommand('backup %s' % package_name)
32 output = adb.Install(from_apk, reinstall=True)
41 def _VerifyAppUpdate(adb, to_apk, app_data, from_apk=None):
44 adb.Adb().SendCommand('restore %s' % app_data)
50 output = adb.Install(from_apk, reinstall=True)
60 output = adb.Install(to_apk)
68 output = adb.Install(to_apk, reinstall=True)
113 adb = android_commands.AndroidCommands()
122 _SaveAppData(adb, options.package_name, from_apk=options.from_apk,
130 _VerifyAppUpdate(adb, options.to_apk, options.app_data,