tools/include/device_utils.py
def _remove_files_from_device(outfiles_prefixes, old_files):
    '''Remove files from the remote device's temp directory.

    We remove all files starting with one of the elements of outfiles_prefixes
    which aren't listed in old_files.

    '''
    files_to_remove = _list_remote_temp_files(outfiles_prefixes) - old_files

    # Hopefully this command line won't get too long for ADB.
    remote_shell('rm %s' % ' '.join([str(f) for f in files_to_remove]))
Remove files from the remote device's temp directory.

    We remove all files starting with one of the elements of outfiles_prefixes
    which aren't listed in old_files.

    
Remove files from the remote device's temp directory.
We remove all files starting with one of the elements of outfiles_prefixes
which aren't listed in old_files.
Remove files from the remote device ' s temp directory . We remove all files starting with one of the elements of outfiles_prefixes which aren ' t listed in old_files .
def _remove_files_from_device(outfiles_prefixes, old_files):
    files_to_remove = _list_remote_temp_files(outfiles_prefixes) - old_files
    remote_shell('rm %s' % ' '.join([str(f) for f in files_to_remove]))
def _remove_files_from_device ( outfiles_prefixes , old_files ) : files_to_remove = _list_remote_temp_files ( outfiles_prefixes ) - old_files remote_shell ( 'rm %s' % ' ' . join ( [ str ( f ) for f in files_to_remove ] ) )
Remove files from the remote device's temp directory.
Remove files from the remote device ' s temp directory .
'''Remove files from the remote device's temp directory.

    We remove all files starting with one of the elements of outfiles_prefixes
    which aren't listed in old_files.

    ''' # Hopefully this command line won't get too long for ADB.
outfiles_prefixes
old_files