adb: move fdevent to its own folder.
Preparatory refactoring for platform-specific implementations. Test: mma Change-Id: I0f600122ac89241788c5f3300f362fd9ef02ddcd
This commit is contained in:
parent
2d03ad42ed
commit
57e09b16ca
15 changed files with 11 additions and 14 deletions
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <string>
|
||||
|
||||
#include "adb_unique_fd.h"
|
||||
#include "fdevent.h"
|
||||
#include "fdevent/fdevent.h"
|
||||
#include "types.h"
|
||||
|
||||
class atransport;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 "\\"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <gtest/gtest.h>
|
||||
|
||||
#include "adb.h"
|
||||
#include "fdevent_test.h"
|
||||
#include "fdevent/fdevent_test.h"
|
||||
|
||||
struct TransportTest : public FdeventTest {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue