Cleanup: move all DevCaps handling code into one place

Move all logics for handling DevCaps into
phNxpUciHal_handle_get_caps_info().

Move global variable `numberOfAntennaPairs` into
struct phNxpUciHal_Control.

Fix possible uninitialized variable access in
phNxpUciHal_parse_get_capsInfo().

Bug: 321157817
Bug: 321604848
Test: CountryCodeCaps + switching CC
Change-Id: I93c7167c6a21e8be020cca18d2f9653e0983ab31
5 files changed
tree: 6b6391f8d163bfb82c64f7946ac79c951a9faac1
  1. aidl/
  2. extns/
  3. halimpl/
  4. Android.bp