components/policy/tools/template_writers/writers/android_policy_writer.py
def AddStringArrayResource(self, name, string_items):
    '''Add a string-array resource of the given name and
    elements from string_items.
    '''
    string_array_node = self._doc.createElement('string-array')
    string_array_node.setAttribute('name', name)
    self._resources.appendChild(string_array_node)
    for item in string_items:
      string_node = self._doc.createElement('item')
      string_node.appendChild(self._doc.createTextNode(_EscapeResource(item)))
      string_array_node.appendChild(string_node)
Add a string-array resource of the given name and
    elements from string_items.
    
Add a string-array resource of the given name and
elements from string_items.
Add a string - array resource of the given name and elements from string_items .
def AddStringArrayResource(self, name, string_items):
    string_array_node = self._doc.createElement('string-array')
    string_array_node.setAttribute('name', name)
    self._resources.appendChild(string_array_node)
    for item in string_items:
      string_node = self._doc.createElement('item')
      string_node.appendChild(self._doc.createTextNode(_EscapeResource(item)))
      string_array_node.appendChild(string_node)
def AddStringArrayResource ( self , name , string_items ) : string_array_node = self . _doc . createElement ( 'string-array' ) string_array_node . setAttribute ( 'name' , name ) self . _resources . appendChild ( string_array_node ) for item in string_items : string_node = self . _doc . createElement ( 'item' ) string_node . appendChild ( self . _doc . createTextNode ( _EscapeResource ( item ) ) ) string_array_node . appendChild ( string_node )
Add a string-array resource of the given name and
elements from string_items.
Add a string - array resource of the given name and elements from string_items .
'''Add a string-array resource of the given name and
    elements from string_items.
    '''
self
name
string_items