Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libhardware: Commit

hardware/libhardware


Commit MetaInfo

Révisiond9b1b2197f3b8cf8a3a5e9f6bec636824324a3fa (tree)
l'heure2017-05-17 16:17:47
Auteurandroid-build-team Robot <android-build-team-robot@goog...>
Commiterandroid-build-team Robot

Message de Log

release-request-6c498b17-9310-412b-ad36-3dcf25ffef73-for-git_oc-release-4017086 snap-temp-L16500000064871237

Change-Id: I7106713158ba0782aecd92a49f29340e2f5af319

Change Summary

Modification

--- a/Android.bp
+++ b/Android.bp
@@ -23,6 +23,7 @@ cc_library_shared {
2323 "libcutils",
2424 "liblog",
2525 "libdl",
26+ "libvndksupport",
2627 ],
2728 cflags: ["-DQEMU_HARDWARE"],
2829
--- a/hardware.c
+++ b/hardware.c
@@ -29,6 +29,8 @@
2929 #define LOG_TAG "HAL"
3030 #include <log/log.h>
3131
32+#include <vndksupport/linker.h>
33+
3234 /** Base path of the hal modules */
3335 #if defined(__LP64__)
3436 #define HAL_LIBRARY_PATH1 "/system/lib64/hw"
@@ -80,7 +82,7 @@ static int load(const char *id,
8082 * dlopen returns. Since RTLD_GLOBAL is not or'd in with
8183 * RTLD_NOW the external symbols will not be global
8284 */
83- handle = dlopen(path, RTLD_NOW);
85+ handle = android_load_sphal_library(path, RTLD_NOW);
8486 if (handle == NULL) {
8587 char const *err_str = dlerror();
8688 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown");
--- a/include/hardware/bt_gatt_client.h
+++ b/include/hardware/bt_gatt_client.h
@@ -223,6 +223,11 @@ typedef struct {
223223 */
224224 bt_status_t (*search_service)(int conn_id, bt_uuid_t *filter_uuid );
225225
226+ /**
227+ * Sead "Find service by UUID" request. Used only for PTS tests.
228+ */
229+ void (*btif_gattc_discover_service_by_uuid)(int conn_id, bt_uuid_t *uuid);
230+
226231 /** Read a characteristic on a remote device */
227232 bt_status_t (*read_characteristic)(int conn_id, uint16_t handle,
228233 int auth_req);
Afficher sur ancien navigateur de dépôt.