Lines Matching refs:attr
247 attr = application.getAttributeNodeNS(android_ns, 'usesNonSdkApi')
248 if attr is None:
249 attr = doc.createAttributeNS(android_ns, 'android:usesNonSdkApi')
250 attr.value = 'true'
251 application.setAttributeNode(attr)
267 attr = application.getAttributeNodeNS(android_ns, 'useEmbeddedDex')
268 if attr is None:
269 attr = doc.createAttributeNS(android_ns, 'android:useEmbeddedDex')
270 attr.value = 'true'
271 application.setAttributeNode(attr)
272 elif attr.value != 'true':
290 attr = application.getAttributeNodeNS(android_ns, 'extractNativeLibs')
291 if attr is None:
292 attr = doc.createAttributeNS(android_ns, 'android:extractNativeLibs')
293 attr.value = value
294 application.setAttributeNode(attr)
295 elif attr.value != value:
297 (attr.value, value))
313 attr = application.getAttributeNodeNS(android_ns, 'hasCode')
314 if attr is not None:
317 attr = doc.createAttributeNS(android_ns, 'android:hasCode')
318 attr.value = 'false'
319 application.setAttributeNode(attr)