Adds hashCode override and equals test for the class. Bug: 168713324 Test: atest HdmiDeviceInfoTest Change-Id: I77f7a4da113785573718a16895a988de7fff6b0b