Home
last modified time | relevance | path

Searched refs:uses_sdk (Results 1 – 3 of 3) sorted by relevance

/build/soong/scripts/
Dmanifest_fixer_test.py73 def uses_sdk(self, min=None, target=None, extra=''): member in RaiseMinSdkVersionTest
87 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='28')
95 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='28',
103 manifest_input = self.manifest_tmpl % self.uses_sdk(min='27')
104 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='28')
111 manifest_input = self.manifest_tmpl % self.uses_sdk(min='27')
112 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='28')
119 manifest_input = self.manifest_tmpl % self.uses_sdk(min='28')
120 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='27')
127 manifest_input = self.manifest_tmpl % self.uses_sdk(min='28')
[all …]
Dmanifest_check.py228 uses_sdk = get_children_with_tag(manifest, 'uses-sdk')
229 if len(uses_sdk) > 1:
231 elif len(uses_sdk) == 0:
234 uses_sdk = uses_sdk[0]
236 min_attr = uses_sdk.getAttributeNodeNS(android_ns, 'minSdkVersion')
240 target_attr = uses_sdk.getAttributeNodeNS(android_ns, 'targetSdkVersion')
Dmanifest_fixer.py88 uses_sdk = get_children_with_tag(manifest, 'uses-sdk')
89 if len(uses_sdk) > 1:
91 elif len(uses_sdk) == 1:
92 element = uses_sdk[0]