HF_CLIENT: Upgrade version from 1.6 to 1.7

In HFP client version 1.7, mandatory S4 setting for eSCO
CVSD coding is introduced. S4 setting takes parameters
as maximum latency = 12msec and retransmission effort = 2.

Test:./run_unit_tests.sh net_test_btif_hf_client_service
Test:./run_unit_tests.sh net_test_hf_client_add_record
Bug: 146090794
Tag: #feature

Change-Id: Ia450b4c237f130021511efb4795d4b2a98892cef
diff --git a/system/bta/Android.bp b/system/bta/Android.bp
old mode 100644
new mode 100755
index ffba5b4..199398b
--- a/system/bta/Android.bp
+++ b/system/bta/Android.bp
@@ -142,3 +142,33 @@
         "libbt-common",
     ],
 }
+
+// bta hf client add record tests for target
+// ========================================================
+cc_test {
+    name: "net_test_hf_client_add_record",
+    defaults: ["fluoride_defaults"],
+    test_suites: ["device-tests"],
+    include_dirs: [
+        "packages/modules/Bluetooth/system",
+        "packages/modules/Bluetooth/system/bta/include",
+        "packages/modules/Bluetooth/system/bta/sys",
+        "packages/modules/Bluetooth/system/btif/include",
+        "packages/modules/Bluetooth/system/internal_include",
+        "packages/modules/Bluetooth/system/stack/include",
+        "packages/modules/Bluetooth/system/utils/include",
+    ],
+    srcs: [
+        "test/bta_hf_client_add_record_test.cc",
+    ],
+    header_libs: ["libbluetooth_headers"],
+    shared_libs: [
+        "libcutils",
+        "liblog",
+    ],
+    static_libs: [
+        "libbluetooth-types",
+        "libosi",
+    ],
+    cflags: ["-DBUILDCFG"],
+}