parameters: (self, avd_name)
return_statement: return avd_name
docstring: Creates an AVD with the given name.
  
      Return avd_name.
docstring_summary: Creates an AVD with the given name.
docstring_tokens: Creates an AVD with the given name .
function: def _CreateAVD(self, avd_name):
      """Creates an AVD with the given name.
  
      Return avd_name.
      """
      avd_command = [
          self.android,
          '--silent',
          'create', 'avd',
          '--name', avd_name,
          '--abi', self.abi,
          '--target', 'android-16',
          '-c', '128M',
          '--force',
      ]
      avd_process = subprocess.Popen(args=avd_command,
                                     stdin=subprocess.PIPE,
                                     stdout=subprocess.PIPE,
                                     stderr=subprocess.STDOUT)
      avd_process.stdin.write('no\n')
      avd_process.wait()
      logging.info('Create AVD command: %s', ' '.join(avd_command))
      return avd_name
function_tokens: def _CreateAVD ( self , avd_name ) : avd_command = [ self . android , '--silent' , 'create' , 'avd' , '--name' , avd_name , '--abi' , self . abi , '--target' , 'android-16' , '-c' , '128M' , '--force' , ] avd_process = subprocess . Popen ( args = avd_command , stdin = subprocess . PIPE , stdout = subprocess . PIPE , stderr = subprocess . STDOUT ) avd_process . stdin . write ( 'no\n' ) avd_process . wait ( ) logging . info ( 'Create AVD command: %s' , ' ' . join ( avd_command ) ) return avd_name