示例#1
0
文件: apk.py 项目: BwRy/test-av2
 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)
示例#2
0
 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)
示例#3
0
文件: commands.py 项目: BwRy/test-av2
def push(src_files, src_dir, dst_dir, dev):
    for file_to_put in src_files:
        adb.copy_file(src_dir + "/" + file_to_put, dst_dir, True, dev)
示例#4
0
def push(src_files, src_dir, dst_dir, dev):
    for file_to_put in src_files:
        adb.copy_file(src_dir + "/" + file_to_put, dst_dir, True, dev)