Add equals functions for classes in libaudiofoundation.

Add equals functions that can be used to check if current object is the
same as the given object by checking if all members are the same.

Bug: 135621476
Test: make
Change-Id: Idcf09587f629e6719e9dcf2f0fb7d68a01eafef9
8 files changed