[AWARE] Data-path creation roles hard-coded for discovery sessions

Data-path roles (initiator & responder) are hard-coded for discovery
session participants by the spec: subscriber <-> initiator and
publisher <-> responder.

Added checks for role to session type mismatch. Added unit-tests
to validate negative condition: i.e. no data-path setup on such
mismatched requests.

(cherry-pick of commit 80a2a2558b3b64918a20434422a5307b03b68799)

Bug: 32883026
Test: unit-tests and integration (sl4a) tests passing.
Change-Id: Iad0727e5ad522e67222a6053918ce99fda1260b4
3 files changed
tree: 5eec5749b4fba80d7c0b124215e0e58f44d77111
  1. service/
  2. PREUPLOAD.cfg