unit/avrcp: Add /TP/PTT/BV-02-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 2 from the Controller. The command chosen is VOLUME_UP.
unit/avrcp: Add /TP/PTT/BV-03-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 3 from the Controller. The command chosen is CHANNEL_UP.
unit/avrcp: Add /TP/PTT/BV-04-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 4 from the Controller. The command chosen is SELECT.
unit/avrcp: Add /TP/PTT/BV-05-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 1 from the Controller. The command chosen is PLAY (0x44).
The PLAY button is being pressed and released.
android/hal-ipc-api: Fix Add Set Volume command struct packing

This adds missed packed struct attribute to hal-ipc command.
shared/crypto: Add confirm value generation function c1
shared/crypto: Add key generation function s1
build: Link crypto code with the emulator
emulator: Use shared crypto code instead of custom functions
emulator: Add HCI_LE_Set_Random_Address support
android/avrcp: Add avrcp_get_capabilities request

Implement avrcp_get_capabilities() request through
avrcp_send_vendordep_req(). avctp_send_req() is not exported so we use
the functions which are exported by AVCTP code.
unit/avrcp: Add /TP/CFG/BV-01-C test

Test verifies that the get capabilities command issued from the
Controller.
unit/avrcp: Add /TP/CFG/BV-02-C test

Test verifies that the Target responds to Get Capability request.
android/avrcp: Fix passing wrong len

When handling vendor dependent PDUs len was passed in wrong order to
callback function. It is really wrong to pass such a parameter and
expect that callbacks would handle it.
android/tester: Execute device found cbacks in main loop

Execute generic device_found_cb in tester's main loop.
android/tester: Execute discovery state cbacks in main loop

Execute generic discovery_state_changed_cb in tester's main loop.
android/tester: Execute device properties cbacks in main loop

Execute generic remote_device_properties_cb in tester's main loop.
android/tester: Execute adapter props cbacks in main loop

Execute generic adapter_properties_cb in tester's main loop.
android/tester: Execute adapter state changed cbacks in main loop

Execute generic adapter_state_changed_cb in tester's main loop.
android/tester: Execute socket cbacks in main loop

Execute socket test's callbacks in tester's main loop.