/**@class android.os.VintfObject @extends java.lang.Object Java API for libvintf. @hide */ var VintfObject = { /**Slurps all device information (both manifests and both matrices) and report them. If any error in getting one of the manifests, it is not included in the list. @hide */ report : function( ) {}, /**Verify that the given metadata for an OTA package is compatible with this device. @param {Object {java.lang.String[]}} packageInfo a list of serialized form of HalManifest's / CompatibilityMatri'ces (XML). @return {Number} = 0 if success (compatible) > 0 if incompatible < 0 if any error (mount partition fails, illformed XML, etc.) @hide */ verify : function( ) {}, /**Verify Vintf compatibility on the device without checking AVB (Android Verified Boot). It is useful to verify a running system image where AVB check is irrelevant. @return {Number} = 0 if success (compatible) > 0 if incompatible < 0 if any error (mount partition fails, illformed XML, etc.) @hide */ verifyWithoutAvb : function( ) {}, /** @return {String} a list of HAL names and versions that is supported by this device as stated in device and framework manifests. For example, ["android.hidl.manager@1.0", "android.hardware.camera.device@1.0", "android.hardware.camera.device@3.2"]. There are no duplicates. @hide */ getHalNamesAndVersions : function( ) {}, /** @return {String} the BOARD_SEPOLICY_VERS build flag available in device manifest. @hide */ getSepolicyVersion : function( ) {}, /** @return {Object {java.util.Map}} a list of VNDK snapshots supported by the framework, as specified in framework manifest. For example, [("27", ["libjpeg.so", "libbase.so"]), ("28", ["libjpeg.so", "libbase.so"])] @hide */ getVndkSnapshots : function( ) {}, /** @return {Number} Target Framework Compatibility Matrix (FCM) version, a number specified in the device manifest indicating the FCM version that the device manifest implements. Null if device manifest doesn't specify this number (for legacy devices). @hide */ getTargetFrameworkCompatibilityMatrixVersion : function( ) {}, };