Merge \\\"[qemu]: Use new <system/qemu_pipe.h> header.\\\" am: 47a81105da am: c963b671f3
am: 12db6c3cf4

Change-Id: Ie9eb87da94a47d90994294dd1ac2f743bf5cfe54
diff --git a/reference-ril/reference-ril.c b/reference-ril/reference-ril.c
index b9baef1..33bca46 100644
--- a/reference-ril/reference-ril.c
+++ b/reference-ril/reference-ril.c
@@ -36,9 +36,9 @@
 #include <cutils/sockets.h>
 #include <termios.h>
 #include <sys/system_properties.h>
+#include <system/qemu_pipe.h>
 
 #include "ril.h"
-#include "hardware/qemu_pipe.h"
 
 #define LOG_TAG "RIL"
 #include <utils/Log.h>
@@ -3304,7 +3304,7 @@
                      * now another "legacy" way of communicating with the
                      * emulator), we will try to connecto to gsm service via
                      * qemu pipe. */
-                    fd = qemu_pipe_open("qemud:gsm");
+                    fd = qemu_pipe_open("pipe:qemud:gsm");
                     if (fd < 0) {
                         /* Qemu-specific control socket */
                         fd = socket_local_client( "qemud",
diff --git a/rild/rild.c b/rild/rild.c
index 0e0d056..8340036 100644
--- a/rild/rild.c
+++ b/rild/rild.c
@@ -36,7 +36,7 @@
 #include <libril/ril_ex.h>
 
 #include <private/android_filesystem_config.h>
-#include "hardware/qemu_pipe.h"
+#include <system/qemu_pipe.h>
 
 #define LIB_PATH_PROPERTY   "rild.libpath"
 #define LIB_ARGS_PROPERTY   "rild.libargs"
@@ -253,7 +253,7 @@
 
                 sleep(1);
 
-                fd = qemu_pipe_open("qemud:gsm");
+                fd = qemu_pipe_open("pipe:qemud:gsm");
                 if (fd < 0) {
                     fd = socket_local_client(
                                 QEMUD_SOCKET_NAME,