update file paths for Android

On Android, the executables are stored under /system/bin and the
data files (e.g. config file) will be stored under
/data/misc/apmanager/.  So conditionally use those paths for
Android.

Bug: 22828115
TEST=Manual test on dragonboard
TEST=Run unittest for Chrome OS

Change-Id: I7db70c93cb1b8c206742a788e356dcc195160f43
diff --git a/service.cc b/service.cc
index 54a0d94..0761be8 100644
--- a/service.cc
+++ b/service.cc
@@ -37,11 +37,20 @@
 namespace apmanager {
 
 // static.
+#if !defined(__ANDROID__)
 const char Service::kHostapdPath[] = "/usr/sbin/hostapd";
 const char Service::kHostapdConfigPathFormat[] =
     "/var/run/apmanager/hostapd/hostapd-%d.conf";
 const char Service::kHostapdControlInterfacePath[] =
     "/var/run/apmanager/hostapd/ctrl_iface";
+#else
+const char Service::kHostapdPath[] = "/system/bin/hostapd";
+const char Service::kHostapdConfigPathFormat[] =
+    "/data/misc/apmanager/hostapd/hostapd-%d.conf";
+const char Service::kHostapdControlInterfacePath[] =
+    "/data/misc/apmanager/hostapd/ctrl_iface";
+#endif  // __ANDROID__
+
 const int Service::kTerminationTimeoutSeconds = 2;
 
 // static. Service state definitions.