Home
last modified time | relevance | path

Searched refs:hal_major_version (Results 1 – 6 of 6) sorted by relevance

/system/media/camera/docs/
DHidlMetadata.mako35 package android.hardware.camera.metadata@${hal_major_version()}.${hal_minor_version()};
37 % if first_hal_minor_version(hal_major_version()) != hal_minor_version():
38 % for i in range(first_hal_minor_version(hal_major_version()),hal_minor_version()):
39 import android.hardware.camera.metadata@${hal_major_version()}.${i};
45 % for idx, section in enumerate(find_all_sections_added_in_hal(metadata, hal_major_version(), hal_m…
52 …f first_hal_minor_version(hal_major_version()) == hal_minor_version() else '@%d.%d::CameraMetadata…
54 …% if first_hal_minor_version(hal_major_version()) != hal_minor_version() and not gotFirstNewSectio…
56 …android.hardware.camera.metadata@${hal_major_version()}.${hal_minor_version()-1}::CameraMetadataSe…
64 …COUNT${'' if first_hal_minor_version(hal_major_version()) == hal_minor_version() else '_%d_%d' % (
66 …CTION${'' if first_hal_minor_version(hal_major_version()) == hal_minor_version() else '_%d_%d' % (
[all …]
Dmetadata_helpers.py1357 def filter_added_in_hal_version(entries, hal_major_version, hal_minor_version): argument
1369 …return (e for e in entries if e.hal_major_version == hal_major_version and e.hal_minor_version == …
1371 def filter_has_enum_values_added_in_hal_version(entries, hal_major_version, hal_minor_version): argument
1383 …return (e for e in entries if e.has_new_values_added_in_hal_version(hal_major_version, hal_minor_v…
1486 def hal_major_version(): function
1492 def first_hal_minor_version(hal_major_version): argument
1493 return 2 if hal_major_version == 3 else 0
1495 def find_all_sections_added_in_hal(root, hal_major_version, hal_minor_version): argument
1518 min_major_version = (min_major_version or entry.hal_major_version)
1520 if entry.hal_major_version < min_major_version or \
[all …]
Dmetadata_template.mako74 hal_version="${prop.hal_major_version}.${prop.hal_minor_version}"
131 % if (prop.hal_major_version, prop.hal_minor_version) != (3,2):
132 hal_version="${prop.hal_major_version}.${prop.hal_minor_version}"
168 …% if not (value.hal_major_version == prop.hal_major_version and value.hal_minor_version == prop.ha…
169 … hal_version=${"%d.%d" % (value.hal_major_version, value.hal_minor_version)}
Dcamera_metadata_tags.mako80 …just(12)} | ${entry.applied_visibility | ljust(12)} | HIDL v${entry.hal_major_version}.${entry.hal…
83 …just(12)} | ${entry.applied_visibility | ljust(12)} | HIDL v${entry.hal_major_version}.${entry.hal…
102 …${entry.name | csym}_${val.name | pad(70)}, // HIDL v${val.hal_major_version}.${val.hal_minor_vers…
104 …${'%s_%s'%(csym(entry.name), val.name) | pad(70)} = ${val.id}, // HIDL v${val.hal_major_version}.$…
Dmetadata_model.py419 if (p.hal_major_version == 0):
718 hal_versions.add( (entry.hal_major_version, entry.hal_minor_version) )
920 hal_versions.add( (entry.hal_major_version, entry.hal_minor_version) )
1008 self._hal_major_version = parent.parent.hal_major_version
1050 def hal_major_version(self): member in EnumValue
1087 def has_new_values_added_in_hal_version(self, hal_major_version, hal_minor_version): argument
1088 …return bool(any(i for i in self.values if i.hal_major_version == hal_major_version and i.hal_minor…
1225 def hal_major_version(self): member in Entry
1344 def has_new_values_added_in_hal_version(self, hal_major_version, hal_minor_version): argument
1346 return self._enum.has_new_values_added_in_hal_version(hal_major_version,hal_minor_version)
Dhtml.mako304 …<span class="entry_type_enum_name">${value.name} (v${value.hal_major_version}.${value.hal_minor_ve…
349 …${"%d.%d" % (prop.hal_major_version, prop.hal_minor_version) | md_html, linkify_tags(metadata), wb…