esed: OemLock HAL implementation.

This change adds basic OemLock behavior
using libese-app-boot as well as a client
integration test (which should later move into
VTS-style testing).

It also moves OemLock and Weaver over to
a ScopedEseConnection which will open and close
the ese based on use.  At present, it will log
on error and let later errors handle failures.
In the future, it can aid in helping with power
down delay requests and the HAL endpoints can
handle init() failures explicitly.

Test: starts eѕed and run the integration tests. Also confirm failure of
device lock flipping when production=true and boot_priv is high.
Bug: 35628284
Change-Id: I67442ec04ded2dc8f1ed1f37fe6b89af1e7e98e9
diff --git a/esed/Android.bp b/esed/Android.bp
index d15b985..43af96d 100644
--- a/esed/Android.bp
+++ b/esed/Android.bp
@@ -37,15 +37,18 @@
     name: "esed",
     srcs: [
         "esed.cpp",
-	"Weaver.cpp"
+        "Weaver.cpp",
+        "OemLock.cpp",
     ],
     init_rc = ["esed.rc"],
     defaults: ["esed_defaults"],
     shared_libs: [
         "android.hardware.weaver@1.0",
+        "android.hardware.oemlock@1.0",
         "libbase",
+        "libese-app-boot",
         "libese_cpp_nxp_pn80t_nq_nci",
-	"libese-app-weaver",
+        "libese-app-weaver",
         "libhidlbase",
         "libhidltransport",
         "libhwbinder",