Merge "target: Add weak API to get HLOS subtype"