components/policy/tools/template_writers/writers/android_policy_writer.py
def AddStringResource(self, name, string):
    '''Add a string resource of the given name.
    '''
    string_node = self._doc.createElement('string')
    string_node.setAttribute('name', name)
    string_node.appendChild(self._doc.createTextNode(_EscapeResource(string)))
    self._resources.appendChild(string_node)
Add a string resource of the given name.
    
Add a string resource of the given name.
Add a string resource of the given name .
def AddStringResource(self, name, string):
    string_node = self._doc.createElement('string')
    string_node.setAttribute('name', name)
    string_node.appendChild(self._doc.createTextNode(_EscapeResource(string)))
    self._resources.appendChild(string_node)
def AddStringResource ( self , name , string ) : string_node = self . _doc . createElement ( 'string' ) string_node . setAttribute ( 'name' , name ) string_node . appendChild ( self . _doc . createTextNode ( _EscapeResource ( string ) ) ) self . _resources . appendChild ( string_node )
Add a string resource of the given name.
Add a string resource of the given name .
'''Add a string resource of the given name.
    '''
self
name
string