summaryrefslogtreecommitdiffstats
path: root/adb/jdwp_service.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-20 03:14:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-20 03:14:28 +0000
commit28f07697eb6f4039daae6c9c5efee67a4d85cc92 (patch)
tree2730e00ea41c6b14c653319c67d157142a312218 /adb/jdwp_service.cpp
parent6a0548bf7cd8c3a0d17d2cc207d6fcf0c8297d31 (diff)
parent3313426fad9eaaf53017cdbde889ebcec91358ec (diff)
downloadsystem_core-28f07697eb6f4039daae6c9c5efee67a4d85cc92.zip
system_core-28f07697eb6f4039daae6c9c5efee67a4d85cc92.tar.gz
system_core-28f07697eb6f4039daae6c9c5efee67a4d85cc92.tar.bz2
Merge "File header cleanup."
Diffstat (limited to 'adb/jdwp_service.cpp')
-rw-r--r--adb/jdwp_service.cpp24
1 files changed, 22 insertions, 2 deletions
diff --git a/adb/jdwp_service.cpp b/adb/jdwp_service.cpp
index f0b4ba7..9cf084e 100644
--- a/adb/jdwp_service.cpp
+++ b/adb/jdwp_service.cpp
@@ -1,12 +1,32 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/* implement the "debug-ports" and "track-debug-ports" device services */
+
+#define TRACE_TAG TRACE_JDWP
+
#include "sysdeps.h"
-#define TRACE_TAG TRACE_JDWP
-#include "adb.h"
+
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include "adb.h"
+
/* here's how these things work.
when adbd starts, it creates a unix server socket