Home | History | Annotate | Download | only in cros

Lines Matching refs:APK

234 def adb_install(apk, auto_grant_permissions=True):
235 """Install an apk into container. You must connect first.
237 @param apk: Package to install.
242 return adb_cmd('install -r -t %s %s' % (flags, apk), timeout=60*5)
245 def adb_uninstall(apk):
246 """Remove an apk from container. You must connect first.
248 @param apk: Package to uninstall.
250 return adb_cmd('uninstall %s' % apk)
539 """Returns the apk install location of the given package."""
764 @param apks: List of apk names to be installed
769 for apk in apks:
770 logging.info('Installing %s', apk)
771 out = adb_install('%s/%s' % (apk_path, apk))
772 logging.info('Install apk output: %s', str(out))
809 APK installation. Then, it installs specified APK(s) and uiautomator
812 @param dep_packages: Array of package names of autotest_deps APK
814 @param apks: Array of APK name arrays to be installed in dep_package.
828 # dep_packages: ['Dep1-apk', 'Dep2-apk']
829 # apks: [['com.dep1.arch1.apk', 'com.dep2.arch2.apk'], ['com.dep2.apk']
891 APK installation.