Add method to compute the relationship between two paths.

This is a helper function used to implement the initial set of Westworld
atoms.

Test: atest HdmiUtilsTest
Bug: 159796477

Change-Id: Ic21fa1a9b7bd93e0ae7e125601e532468fae7928
3 files changed