mock: Update bta_av_api

Bug: 299365655
Test: m .

Change-Id: Ibd975eeb2b0b473a34e80a4c37cb51e6806f836a
diff --git a/system/test/mock/mock_bta_av_api.cc b/system/test/mock/mock_bta_av_api.cc
index 31af2db..aaa6fe2 100644
--- a/system/test/mock/mock_bta_av_api.cc
+++ b/system/test/mock/mock_bta_av_api.cc
@@ -17,8 +17,9 @@
  * Generated mock file from original source file
  *   Functions generated:24
  *
- *  mockcify.pl ver 0.6.1
+ *  mockcify.pl ver 0.6.3
  */
+
 // Mock include file to share data between tests and mock
 #include "test/mock/mock_bta_av_api.h"
 
diff --git a/system/test/mock/mock_bta_av_api.h b/system/test/mock/mock_bta_av_api.h
index 32c3f26..80481c7 100644
--- a/system/test/mock/mock_bta_av_api.h
+++ b/system/test/mock/mock_bta_av_api.h
@@ -19,15 +19,26 @@
  * Generated mock file from original source file
  *   Functions generated:24
  *
- *  mockcify.pl ver 0.6.1
+ *  mockcify.pl ver 0.6.3
  */
 
 #include <cstdint>
 #include <functional>
 
 // Original included files, if any
-#include "bta/include/bta_av_api.h"
+// NOTE: Since this is a mock file with mock definitions some number of
+//       include files may not be required.  The include-what-you-use
+//       still applies, but crafting proper inclusion is out of scope
+//       for this effort.  This compilation unit may compile as-is, or
+//       may need attention to prune from (or add to ) the inclusion set.
+#include "bt_target.h"
+#include "bta/av/bta_av_int.h"
+#include "btif/include/btif_av.h"
+#include "os/log.h"
+#include "osi/include/allocator.h"
+#include "osi/include/compat.h"
 #include "stack/include/bt_hdr.h"
+#include "stack/include/bt_uuid16.h"
 #include "types/raw_address.h"
 
 // Original usings
@@ -43,7 +54,8 @@
 // Params: tBTA_AV_HNDL handle
 // Return: void
 struct BTA_AvClose {
-  std::function<void(tBTA_AV_HNDL handle)> body{[](tBTA_AV_HNDL handle) {}};
+  std::function<void(tBTA_AV_HNDL handle)> body{
+      [](tBTA_AV_HNDL /* handle */) {}};
   void operator()(tBTA_AV_HNDL handle) { body(handle); };
 };
 extern struct BTA_AvClose BTA_AvClose;
@@ -52,7 +64,7 @@
 // Params: uint8_t rc_handle
 // Return: void
 struct BTA_AvCloseRc {
-  std::function<void(uint8_t rc_handle)> body{[](uint8_t rc_handle) {}};
+  std::function<void(uint8_t rc_handle)> body{[](uint8_t /* rc_handle */) {}};
   void operator()(uint8_t rc_handle) { body(rc_handle); };
 };
 extern struct BTA_AvCloseRc BTA_AvCloseRc;
@@ -61,7 +73,7 @@
 // Params: tBTA_AV_HNDL hndl
 // Return: void
 struct BTA_AvDeregister {
-  std::function<void(tBTA_AV_HNDL hndl)> body{[](tBTA_AV_HNDL hndl) {}};
+  std::function<void(tBTA_AV_HNDL hndl)> body{[](tBTA_AV_HNDL /* hndl */) {}};
   void operator()(tBTA_AV_HNDL hndl) { body(hndl); };
 };
 extern struct BTA_AvDeregister BTA_AvDeregister;
@@ -79,7 +91,8 @@
 // Params: tBTA_AV_HNDL handle
 // Return: void
 struct BTA_AvDisconnect {
-  std::function<void(tBTA_AV_HNDL handle)> body{[](tBTA_AV_HNDL handle) {}};
+  std::function<void(tBTA_AV_HNDL handle)> body{
+      [](tBTA_AV_HNDL /* handle */) {}};
   void operator()(tBTA_AV_HNDL handle) { body(handle); };
 };
 extern struct BTA_AvDisconnect BTA_AvDisconnect;
@@ -89,7 +102,7 @@
 // Return: void
 struct BTA_AvEnable {
   std::function<void(tBTA_AV_FEAT features, tBTA_AV_CBACK* p_cback)> body{
-      [](tBTA_AV_FEAT features, tBTA_AV_CBACK* p_cback) {}};
+      [](tBTA_AV_FEAT /* features */, tBTA_AV_CBACK* /* p_cback */) {}};
   void operator()(tBTA_AV_FEAT features, tBTA_AV_CBACK* p_cback) {
     body(features, p_cback);
   };
@@ -102,8 +115,8 @@
 struct BTA_AvMetaCmd {
   std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code,
                      BT_HDR* p_pkt)>
-      body{[](uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code,
-              BT_HDR* p_pkt) {}};
+      body{[](uint8_t /* rc_handle */, uint8_t /* label */,
+              tBTA_AV_CMD /* cmd_code */, BT_HDR* /* p_pkt */) {}};
   void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code,
                   BT_HDR* p_pkt) {
     body(rc_handle, label, cmd_code, p_pkt);
@@ -117,8 +130,8 @@
 struct BTA_AvMetaRsp {
   std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code,
                      BT_HDR* p_pkt)>
-      body{[](uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code,
-              BT_HDR* p_pkt) {}};
+      body{[](uint8_t /* rc_handle */, uint8_t /* label */,
+              tBTA_AV_CODE /* rsp_code */, BT_HDR* /* p_pkt */) {}};
   void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code,
                   BT_HDR* p_pkt) {
     body(rc_handle, label, rsp_code, p_pkt);
@@ -130,7 +143,7 @@
 // Params: tBTA_AV_HNDL hndl
 // Return: void
 struct BTA_AvOffloadStart {
-  std::function<void(tBTA_AV_HNDL hndl)> body{[](tBTA_AV_HNDL hndl) {}};
+  std::function<void(tBTA_AV_HNDL hndl)> body{[](tBTA_AV_HNDL /* hndl */) {}};
   void operator()(tBTA_AV_HNDL hndl) { body(hndl); };
 };
 extern struct BTA_AvOffloadStart BTA_AvOffloadStart;
@@ -140,7 +153,7 @@
 // Return: void
 struct BTA_AvOffloadStartRsp {
   std::function<void(tBTA_AV_HNDL hndl, tBTA_AV_STATUS status)> body{
-      [](tBTA_AV_HNDL hndl, tBTA_AV_STATUS status) {}};
+      [](tBTA_AV_HNDL /* hndl */, tBTA_AV_STATUS /* status */) {}};
   void operator()(tBTA_AV_HNDL hndl, tBTA_AV_STATUS status) {
     body(hndl, status);
   };
@@ -153,8 +166,8 @@
 struct BTA_AvOpen {
   std::function<void(const RawAddress& bd_addr, tBTA_AV_HNDL handle,
                      bool use_rc, uint16_t uuid)>
-      body{[](const RawAddress& bd_addr, tBTA_AV_HNDL handle, bool use_rc,
-              uint16_t uuid) {}};
+      body{[](const RawAddress& /* bd_addr */, tBTA_AV_HNDL /* handle */,
+              bool /* use_rc */, uint16_t /* uuid */) {}};
   void operator()(const RawAddress& bd_addr, tBTA_AV_HNDL handle, bool use_rc,
                   uint16_t uuid) {
     body(bd_addr, handle, use_rc, uuid);
@@ -166,7 +179,8 @@
 // Params: tBTA_AV_HNDL handle
 // Return: void
 struct BTA_AvOpenRc {
-  std::function<void(tBTA_AV_HNDL handle)> body{[](tBTA_AV_HNDL handle) {}};
+  std::function<void(tBTA_AV_HNDL handle)> body{
+      [](tBTA_AV_HNDL /* handle */) {}};
   void operator()(tBTA_AV_HNDL handle) { body(handle); };
 };
 extern struct BTA_AvOpenRc BTA_AvOpenRc;
@@ -176,7 +190,8 @@
 // Return: void
 struct BTA_AvProtectReq {
   std::function<void(tBTA_AV_HNDL hndl, uint8_t* p_data, uint16_t len)> body{
-      [](tBTA_AV_HNDL hndl, uint8_t* p_data, uint16_t len) {}};
+      [](tBTA_AV_HNDL /* hndl */, uint8_t* /* p_data */, uint16_t /* len */) {
+      }};
   void operator()(tBTA_AV_HNDL hndl, uint8_t* p_data, uint16_t len) {
     body(hndl, p_data, len);
   };
@@ -189,8 +204,8 @@
 struct BTA_AvProtectRsp {
   std::function<void(tBTA_AV_HNDL hndl, uint8_t error_code, uint8_t* p_data,
                      uint16_t len)>
-      body{[](tBTA_AV_HNDL hndl, uint8_t error_code, uint8_t* p_data,
-              uint16_t len) {}};
+      body{[](tBTA_AV_HNDL /* hndl */, uint8_t /* error_code */,
+              uint8_t* /* p_data */, uint16_t /* len */) {}};
   void operator()(tBTA_AV_HNDL hndl, uint8_t error_code, uint8_t* p_data,
                   uint16_t len) {
     body(hndl, error_code, p_data, len);
@@ -205,9 +220,10 @@
   std::function<void(tBTA_AV_HNDL hndl, bool suspend, uint8_t sep_info_idx,
                      uint8_t* p_codec_info, uint8_t num_protect,
                      const uint8_t* p_protect_info)>
-      body{[](tBTA_AV_HNDL hndl, bool suspend, uint8_t sep_info_idx,
-              uint8_t* p_codec_info, uint8_t num_protect,
-              const uint8_t* p_protect_info) {}};
+      body{[](tBTA_AV_HNDL /* hndl */, bool /* suspend */,
+              uint8_t /* sep_info_idx */, uint8_t* /* p_codec_info */,
+              uint8_t /* num_protect */,
+              const uint8_t* /* p_protect_info */) {}};
   void operator()(tBTA_AV_HNDL hndl, bool suspend, uint8_t sep_info_idx,
                   uint8_t* p_codec_info, uint8_t num_protect,
                   const uint8_t* p_protect_info) {
@@ -225,9 +241,10 @@
   std::function<void(tBTA_AV_CHNL chnl, const char* p_service_name,
                      uint8_t app_id, tBTA_AV_SINK_DATA_CBACK* p_sink_data_cback,
                      uint16_t service_uuid)>
-      body{[](tBTA_AV_CHNL chnl, const char* p_service_name, uint8_t app_id,
-              tBTA_AV_SINK_DATA_CBACK* p_sink_data_cback,
-              uint16_t service_uuid) {}};
+      body{[](tBTA_AV_CHNL /* chnl */, const char* /* p_service_name */,
+              uint8_t /* app_id */,
+              tBTA_AV_SINK_DATA_CBACK* /* p_sink_data_cback */,
+              uint16_t /* service_uuid */) {}};
   void operator()(tBTA_AV_CHNL chnl, const char* p_service_name, uint8_t app_id,
                   tBTA_AV_SINK_DATA_CBACK* p_sink_data_cback,
                   uint16_t service_uuid) {
@@ -242,8 +259,8 @@
 struct BTA_AvRemoteCmd {
   std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_RC rc_id,
                      tBTA_AV_STATE key_state)>
-      body{[](uint8_t rc_handle, uint8_t label, tBTA_AV_RC rc_id,
-              tBTA_AV_STATE key_state) {}};
+      body{[](uint8_t /* rc_handle */, uint8_t /* label */,
+              tBTA_AV_RC /* rc_id */, tBTA_AV_STATE /* key_state */) {}};
   void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_RC rc_id,
                   tBTA_AV_STATE key_state) {
     body(rc_handle, label, rc_id, key_state);
@@ -257,8 +274,9 @@
 struct BTA_AvRemoteVendorUniqueCmd {
   std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_STATE key_state,
                      uint8_t* p_msg, uint8_t buf_len)>
-      body{[](uint8_t rc_handle, uint8_t label, tBTA_AV_STATE key_state,
-              uint8_t* p_msg, uint8_t buf_len) {}};
+      body{[](uint8_t /* rc_handle */, uint8_t /* label */,
+              tBTA_AV_STATE /* key_state */, uint8_t* /* p_msg */,
+              uint8_t /* buf_len */) {}};
   void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_STATE key_state,
                   uint8_t* p_msg, uint8_t buf_len) {
     body(rc_handle, label, key_state, p_msg, buf_len);
@@ -271,7 +289,7 @@
 // Return: void
 struct BTA_AvSetLatency {
   std::function<void(tBTA_AV_HNDL handle, bool is_low_latency)> body{
-      [](tBTA_AV_HNDL handle, bool is_low_latency) {}};
+      [](tBTA_AV_HNDL /* handle */, bool /* is_low_latency */) {}};
   void operator()(tBTA_AV_HNDL handle, bool is_low_latency) {
     body(handle, is_low_latency);
   };
@@ -283,7 +301,7 @@
 // Return: void
 struct BTA_AvSetPeerSep {
   std::function<void(const RawAddress& bdaddr, uint8_t sep)> body{
-      [](const RawAddress& bdaddr, uint8_t sep) {}};
+      [](const RawAddress& /* bdaddr */, uint8_t /* sep */) {}};
   void operator()(const RawAddress& bdaddr, uint8_t sep) { body(bdaddr, sep); };
 };
 extern struct BTA_AvSetPeerSep BTA_AvSetPeerSep;
@@ -293,7 +311,7 @@
 // Return: void
 struct BTA_AvStart {
   std::function<void(tBTA_AV_HNDL handle, bool use_latency_mode)> body{
-      [](tBTA_AV_HNDL handle, bool use_latency_mode) {}};
+      [](tBTA_AV_HNDL /* handle */, bool /* use_latency_mode */) {}};
   void operator()(tBTA_AV_HNDL handle, bool use_latency_mode) {
     body(handle, use_latency_mode);
   };
@@ -305,7 +323,7 @@
 // Return: void
 struct BTA_AvStop {
   std::function<void(tBTA_AV_HNDL handle, bool suspend)> body{
-      [](tBTA_AV_HNDL handle, bool suspend) {}};
+      [](tBTA_AV_HNDL /* handle */, bool /* suspend */) {}};
   void operator()(tBTA_AV_HNDL handle, bool suspend) { body(handle, suspend); };
 };
 extern struct BTA_AvStop BTA_AvStop;
@@ -316,8 +334,9 @@
 struct BTA_AvVendorCmd {
   std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code,
                      uint8_t* p_data, uint16_t len)>
-      body{[](uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code,
-              uint8_t* p_data, uint16_t len) {}};
+      body{[](uint8_t /* rc_handle */, uint8_t /* label */,
+              tBTA_AV_CODE /* cmd_code */, uint8_t* /* p_data */,
+              uint16_t /* len */) {}};
   void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code,
                   uint8_t* p_data, uint16_t len) {
     body(rc_handle, label, cmd_code, p_data, len);
@@ -331,8 +350,9 @@
 struct BTA_AvVendorRsp {
   std::function<void(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code,
                      uint8_t* p_data, uint16_t len, uint32_t company_id)>
-      body{[](uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code,
-              uint8_t* p_data, uint16_t len, uint32_t company_id) {}};
+      body{[](uint8_t /* rc_handle */, uint8_t /* label */,
+              tBTA_AV_CODE /* rsp_code */, uint8_t* /* p_data */,
+              uint16_t /* len */, uint32_t /* company_id */) {}};
   void operator()(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code,
                   uint8_t* p_data, uint16_t len, uint32_t company_id) {
     body(rc_handle, label, rsp_code, p_data, len, company_id);
@@ -344,4 +364,4 @@
 }  // namespace mock
 }  // namespace test
 
-// END mockcify generation
+// END mockcify generation
\ No newline at end of file