adb: move fdevent to its own folder.

Preparatory refactoring for platform-specific implementations.

Test: mma
Change-Id: I0f600122ac89241788c5f3300f362fd9ef02ddcd
This commit is contained in:
Josh Gao 2019-06-28 13:50:37 -07:00
parent 2d03ad42ed
commit 57e09b16ca
15 changed files with 11 additions and 14 deletions

View file

@ -124,7 +124,7 @@ libadb_srcs = [
"adb_trace.cpp",
"adb_unique_fd.cpp",
"adb_utils.cpp",
"fdevent.cpp",
"fdevent/fdevent.cpp",
"services.cpp",
"sockets.cpp",
"socket_spec.cpp",
@ -144,7 +144,7 @@ libadb_test_srcs = [
"adb_io_test.cpp",
"adb_listeners_test.cpp",
"adb_utils_test.cpp",
"fdevent_test.cpp",
"fdevent/fdevent_test.cpp",
"socket_spec_test.cpp",
"socket_test.cpp",
"sysdeps_test.cpp",

View file

@ -26,7 +26,7 @@
#include <android-base/macros.h>
#include "adb_trace.h"
#include "fdevent.h"
#include "fdevent/fdevent.h"
#include "socket.h"
#include "types.h"
#include "usb.h"

View file

@ -21,7 +21,7 @@
#include <android-base/stringprintf.h>
#include <android-base/strings.h>
#include "fdevent.h"
#include "fdevent/fdevent.h"
#include "sysdeps.h"
#include "transport.h"

View file

@ -31,7 +31,7 @@
#include "adb_mdns.h"
#include "adb_trace.h"
#include "fdevent.h"
#include "fdevent/fdevent.h"
#include "sysdeps.h"
static DNSServiceRef service_ref;

View file

@ -19,7 +19,7 @@
#include "adb.h"
#include "adb_auth.h"
#include "adb_io.h"
#include "fdevent.h"
#include "fdevent/fdevent.h"
#include "sysdeps.h"
#include "transport.h"

View file

@ -33,7 +33,6 @@
#include "adb.h"
#include "adb_io.h"
#include "adb_utils.h"
#include "fdevent.h"
/* TODO:
** - sync with vsync to avoid tearing

View file

@ -24,7 +24,7 @@
#include <string>
#include "adb_unique_fd.h"
#include "fdevent.h"
#include "fdevent/fdevent.h"
#include "types.h"
class atransport;

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "fdevent.h"
#include "fdevent/fdevent.h"
#include <gtest/gtest.h>
@ -29,7 +29,7 @@
#include "adb.h"
#include "adb_io.h"
#include "fdevent_test.h"
#include "fdevent/fdevent_test.h"
#include "socket.h"
#include "sysdeps.h"
#include "sysdeps/chrono.h"

View file

@ -64,8 +64,6 @@
#include <memory> // unique_ptr
#include <string>
#include "fdevent.h"
#define OS_PATH_SEPARATORS "\\/"
#define OS_PATH_SEPARATOR '\\'
#define OS_PATH_SEPARATOR_STR "\\"

View file

@ -49,7 +49,7 @@
#include "adb_io.h"
#include "adb_trace.h"
#include "adb_utils.h"
#include "fdevent.h"
#include "fdevent/fdevent.h"
#include "sysdeps/chrono.h"
using android::base::ScopedLockAssertion;

View file

@ -19,7 +19,7 @@
#include <gtest/gtest.h>
#include "adb.h"
#include "fdevent_test.h"
#include "fdevent/fdevent_test.h"
struct TransportTest : public FdeventTest {};