def install_configuration(self, dev): if self.apk_conf_gzip != '': local_path, local_filename = os.path.split(self.apk_conf_gzip) adb.unpack_local_to_remote(local_path, local_filename, '/', True, dev) else: for conf_file in self.apk_conf_files: adb.copy_file(conf_file[0], conf_file[1], True, dev)
def unpack_app_data(self, dev): local_path, local_filename = os.path.split(self.apk_conf_gzip) adb.unpack_local_to_remote(local_path, local_filename, '/data/data/' + self.package_name, True, dev)