Searched refs:hal_major_version (Results 1 – 5 of 5) sorted by relevance
/system/media/camera/docs/ |
D | HidlMetadata.mako | 35 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 …]
|
D | metadata_helpers.py | 1374 def filter_added_in_hal_version(entries, hal_major_version, hal_minor_version): argument 1386 …return (e for e in entries if e.hal_major_version == hal_major_version and e.hal_minor_version == … 1388 def filter_has_enum_values_added_in_hal_version(entries, hal_major_version, hal_minor_version): argument 1400 …return (e for e in entries if e.has_new_values_added_in_hal_version(hal_major_version, hal_minor_v… 1506 def hal_major_version(): function 1512 def first_hal_minor_version(hal_major_version): argument 1513 return 2 if hal_major_version == 3 else 0 1515 def find_all_sections_added_in_hal(root, hal_major_version, hal_minor_version): argument 1538 min_major_version = (min_major_version or entry.hal_major_version) 1540 if entry.hal_major_version < min_major_version or \ [all …]
|
D | metadata_template.mako | 74 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}" 165 …% if not (value.hal_major_version == prop.hal_major_version and value.hal_minor_version == prop.ha… 166 … hal_version=${"%d.%d" % (value.hal_major_version, value.hal_minor_version)}
|
D | metadata_model.py | 419 if (p.hal_major_version == 0): 713 hal_versions.add( (entry.hal_major_version, entry.hal_minor_version) ) 915 hal_versions.add( (entry.hal_major_version, entry.hal_minor_version) ) 1001 self._hal_major_version = parent.parent.hal_major_version 1060 def hal_major_version(self): member in EnumValue 1097 def has_new_values_added_in_hal_version(self, hal_major_version, hal_minor_version): argument 1098 …return bool(any(i for i in self.values if i.hal_major_version == hal_major_version and i.hal_minor… 1235 def hal_major_version(self): member in Entry 1361 def has_new_values_added_in_hal_version(self, hal_major_version, hal_minor_version): argument 1363 return self._enum.has_new_values_added_in_hal_version(hal_major_version,hal_minor_version)
|
D | html.mako | 304 …<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…
|