Lines Matching refs:DEVICE_TEMP_DIR
741 DEVICE_TEMP_DIR = SCRATCH_DIR + '/adb_test_dir' variable in FileOperationsTest.Base
781 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
782 self.device.shell(['mkdir', self.DEVICE_TEMP_DIR])
792 self.device.push(host_dir, self.DEVICE_TEMP_DIR)
795 remote_path = posixpath.join(self.DEVICE_TEMP_DIR,
799 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
806 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
807 self.device.shell(['mkdir', self.DEVICE_TEMP_DIR])
819 self.device.push(empty_dir_path, self.DEVICE_TEMP_DIR)
821 remote_path = os.path.join(self.DEVICE_TEMP_DIR, "empty")
826 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
850 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
851 self.device.shell(['mkdir', self.DEVICE_TEMP_DIR])
852 self.device.push(symlink_path, self.DEVICE_TEMP_DIR)
854 ['cat', posixpath.join(self.DEVICE_TEMP_DIR, 'symlink')])
867 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
868 self.device.shell(['mkdir', self.DEVICE_TEMP_DIR])
883 self.device._simple_call(['push'] + paths + [self.DEVICE_TEMP_DIR])
886 remote_path = posixpath.join(self.DEVICE_TEMP_DIR,
891 remote_path = posixpath.join(self.DEVICE_TEMP_DIR,
898 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
930 remote_path = self.DEVICE_TEMP_DIR + '/test_push_directory_creation'
946 remote_path = '/' + self.DEVICE_TEMP_DIR + '/test_push_multiple_slash_root'
991 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
992 self.device.shell(['mkdir', '-p', self.DEVICE_TEMP_DIR])
996 self.device, in_dir=self.DEVICE_TEMP_DIR, num_files=32)
998 self.device.pull(remote=self.DEVICE_TEMP_DIR, local=host_dir)
1002 host_dir, posixpath.basename(self.DEVICE_TEMP_DIR),
1006 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1026 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1027 self.device.shell(['mkdir', '-p', self.DEVICE_TEMP_DIR])
1031 self.device, in_dir=self.DEVICE_TEMP_DIR, num_files=32)
1033 self.device.pull(remote=self.DEVICE_TEMP_DIR, local=symlink)
1037 real_dir, posixpath.basename(self.DEVICE_TEMP_DIR),
1041 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1054 tmp_dirname = os.path.basename(self.DEVICE_TEMP_DIR)
1059 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1060 self.device.shell(['mkdir', '-p', self.DEVICE_TEMP_DIR])
1064 self.device, in_dir=self.DEVICE_TEMP_DIR, num_files=32)
1066 self.device.pull(remote=self.DEVICE_TEMP_DIR, local=host_dir)
1072 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1083 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1084 self.device.shell(['mkdir', '-p', self.DEVICE_TEMP_DIR])
1088 self.device, in_dir=self.DEVICE_TEMP_DIR, num_files=32)
1090 self.device.pull(remote=self.DEVICE_TEMP_DIR, local=dest_dir)
1096 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1107 remote_dir = posixpath.join(self.DEVICE_TEMP_DIR, 'contents')
1108 remote_links = posixpath.join(self.DEVICE_TEMP_DIR, 'links')
1109 remote_symlink = posixpath.join(self.DEVICE_TEMP_DIR, 'symlink')
1111 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1131 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1141 remote_empty_path = posixpath.join(self.DEVICE_TEMP_DIR, 'empty')
1142 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1157 subdir = posixpath.join(self.DEVICE_TEMP_DIR, 'subdir')
1158 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1163 self.device, in_dir=self.DEVICE_TEMP_DIR, num_files=4)
1182 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1203 full_dir_path = base_dir + self.DEVICE_TEMP_DIR
1212 device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1222 self.verify_sync(device, temp_files, self.DEVICE_TEMP_DIR)
1236 device_dir = posixpath.join(self.DEVICE_TEMP_DIR, 'sync_src_dst')
1246 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1258 device_dir = posixpath.join(self.DEVICE_TEMP_DIR, 'sync_src_dst')
1270 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1281 device_dir = posixpath.join(self.DEVICE_TEMP_DIR, 'push_dry_run')
1284 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1297 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1308 device_dir = posixpath.join(self.DEVICE_TEMP_DIR, 'push_dry_run')
1311 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
1324 self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])