Commit graph

8 commits

Author SHA1 Message Date
Yifan Hong
2d8442c762 Install all comp mat to system image
Moved framework_compatibility_matrix.xml module definition
from target/board/Android.mk here because it depends on
compatibility_matrix.*.xml.

Test: m dist
Bug: 69636193

Change-Id: I7480b27756992b47555f6b397925170ae9d1ac22
2018-01-10 19:17:23 -08:00
Yifan Hong
e6ce990acb Specify FCM Version in compatibility matrices.
FCM Version should not be tied to the name of the file.

Test: boots
Bug: 69636193
Change-Id: Ic199f3f479dfdc3a2309a28dc546d4a79fba2d52
Merged-In: Ic199f3f479dfdc3a2309a28dc546d4a79fba2d52
2017-12-14 15:34:37 -08:00
Yifan Hong
48952110c7 Revert old matrices back to DR / MR1.
legacy/26/27.xml ("old matrices") should not be changed once
published.

The requirements / HAL usage information are now encompassed in
multiple matrices (instead of a single compatibility_matrix.V.xml).
For example, the usage of HALs on Shipping FCM Version 26 is:
* Required HALs in 26.xml
* Using all required + optional HALs in 26.xml/27.xml/...

In particular,

* Starting at 26.xml (diff legacy 26), gatekeeper is required.
* Starting at 27.xml (diff 26 27),
   - broadcastradio@1.0 => 1.0-1
   - introduce cas@1.0
   - introduce oemlock@1.0
   - power@1.0 => 1.0-1
   - radio@1.0 => 1.0-1
   - introduce tetheroffload.config@1.0
   - introduce tetheroffload.control@1.0
   - thermal@1.0 => 1.0-1
   - usb@1.0 => 1.0-1
   - vibrator@1.0 => 1.0-1
   - wifi@1.0 => 1.0-1
   - introduce weaver@1.0
   - introduce wifi.offload@1.0

health@2.0 and configstore@1.1 is not specified
in legacy/26/27.xml, but framework can still use them, since they
are introduced in current.xml.

Test: boot test

Bug: 69861676
Change-Id: I897df6952245a8ce33e1c63264c3970b0483c2f7
Merged-In: I897df6952245a8ce33e1c63264c3970b0483c2f7
2017-12-14 15:34:37 -08:00
Steven Moreland
cc718d56ac Finalize O-MR1 compat matrix.
Note, only new HALs for various shipping API levels
are added. No required HALs are added.

Test: (sanity) boot device w/o 'internal problem' error
Bug: 63603463
Change-Id: Ia400bdaf5d167ce8637ecdf940c5ccd629c8a09a
2017-08-31 16:04:08 -07:00
TreeHugger Robot
e46ab1fdcc Merge "Configstore HAL is down-revisioned to 1.0" into oc-mr1-dev 2017-08-28 04:52:23 +00:00
Yifan Hong
d338811d05 Remove hardcoded <kernel> version from fwk comp mat
They are injected via assemble_vintf by the build system
at build time. See build/make/target/board/Android.mk.

Test: m system_compatibility_matrix.xml, and manually
inspect $OUT/system/compatibility_matrix.xml; it contains
<kernel> versions.

Bug: 64124223

Change-Id: Ibf82efa0805233dedb6badce7e5a4ff62a9ff769
Merged-In: Ibf82efa0805233dedb6badce7e5a4ff62a9ff769
2017-08-25 18:33:28 +00:00
Sundong Ahn
169eeecb08 Configstore HAL is down-revisioned to 1.0
Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in mr1 will be down
revisioned to 1.0.

Bug: 64999074
Test: lshal | grep configsotre
Test: "cat proc/<configstore pid>/status | grep Seccomp " return:
    Seccomp: 2
Change-Id: Ia2614439cd620fbe5fbd427571ab55a15089cc47
2017-08-25 17:05:29 +00:00
Yifan Hong
588a9283b3 Use different versions for framework compatibility matrix
Keyed on MATRIX_LEVEL_OVERRIDE, FULL_TREBLE, SHIPPING_API_LEVEL,
and SDK_VERSION.

Bug: 62136051

Test: m system_compatibility_matrix.xml -j; \
    grep -e"gatekeeper" -B1 $OUT/system/compatibility_matrix.xml; \
    grep -e"oemlock" -B1 $OUT/system/compatibility_matrix.xml
bullhead: gatekeeper is optional, no oemlock (legacy.xml)
marlin without COMP_LEVEL_OVERRIDE: gatekeeper is not optional,
        no oemlock (26.xml)
marlin with COMP_LEVEL_OVERRIDE: gatekeeper is not optional,
        oemlock exists (current.xml)
new devices with COMP_LEVEL_OVERRIDE: same as above.

Change-Id: I2ccfa9b0132bf98cc2da8f0500bea992b5fa83d0
2017-06-07 19:27:05 +00:00