Add VintfObject::CheckDeprecation().
This API reads all framework matrices at different FCM version,
and consider a service instance as "deprecated" if all of the
following is true:
1. instance is in an "old matrix"
2. instance is not in the "new matrix"
3. instance is registered through service manager /
in device manifest
4. No instance with the same package/major version/interface/
instance name but a higher minor version is:
4.1 in the "new matrix"; and
4.2 registered through service manager / in device manifest.
Test: vintf_object_test
Test: vts_treble_vintf_test
Bug: 69425186
Change-Id: I316ba9510688fc927b8f0675ed8db5e29d5036dd
6 files changed