Home
last modified time | relevance | path

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

/build/soong/scripts/
Dmanifest_fixer_test.py73 def uses_sdk(self, min=None, target=None, extra=''): member in RaiseMinSdkVersionTest
90 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='28')
98 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='28',
106 manifest_input = self.manifest_tmpl % self.uses_sdk(min='27')
107 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='28')
114 manifest_input = self.manifest_tmpl % self.uses_sdk(min='27')
115 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='28')
122 manifest_input = self.manifest_tmpl % self.uses_sdk(min='28')
123 expected = self.manifest_tmpl % self.uses_sdk(min='28', target='27')
130 manifest_input = self.manifest_tmpl % self.uses_sdk(min='28')
[all …]
Dmanifest_check.py292 uses_sdk = get_children_with_tag(manifest, 'uses-sdk')
293 if len(uses_sdk) > 1: #pylint: disable=no-else-raise
295 elif len(uses_sdk) == 0:
298 uses_sdk = uses_sdk[0]
300 min_attr = uses_sdk.getAttributeNodeNS(android_ns, 'minSdkVersion')
304 target_attr = uses_sdk.getAttributeNodeNS(android_ns, 'targetSdkVersion')
Dmanifest_fixer.py95 uses_sdk = get_children_with_tag(manifest, 'uses-sdk')
96 if len(uses_sdk) > 1:
98 elif len(uses_sdk) == 1:
99 element = uses_sdk[0]
/build/bazel/rules/java/
Dsdk_transition.bzl69 # uses_sdk returns true if the app sets an sdk_version _except_ `core_platform`
71 uses_sdk = (sdk_spec != None) and (sdk_spec.kind != sdk_version.KIND_CORE_PLATFORM)
73 if uses_sdk: