AudioPolicy: tighter match for device descriptor query

When querying a module for a device descriptor, the matching was
  too "loose": if a device type and address was not found, a
  match was returned for just the device. While this works for device
  types where only one is connected to the system (e.g. wired headphones),
  this is an improper behavior for devices such as REMOTE_SUBMIX where
  multiple are "connected" to the DUT, but with different addresses.

Bug 27337358
Bug 27336527

Change-Id: I9b6464485da2bedde2d14b624133e02b5a3fa357
2 files changed