summaryrefslogtreecommitdiff
path: root/profcollectd
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2020-06-30 20:35:40 +0800
committerYi Kong <yikong@google.com>2020-07-01 01:40:12 +0800
commit9fb6228eb079927006c5b1ad9f7d5697ca0ddd66 (patch)
tree78f8444bfc5526c954a36a0d8f9e895e90f66293 /profcollectd
parentca45f27a1f9142a5fbc108e810a6febe9f6529ce (diff)
downloadextras-9fb6228eb079927006c5b1ad9f7d5697ca0ddd66.tar.gz
profcollectd: Update binder class namespace
Make the binder class live alongside the forwarding service (com.android.server.profcollect). Test: build Bug: 79161490 Change-Id: I49baab71ffbfd7db2b2f4e6b5319f2629e155978
Diffstat (limited to 'profcollectd')
-rw-r--r--profcollectd/Android.bp2
-rw-r--r--profcollectd/binder/com/android/server/profcollect/IProfCollectd.aidl (renamed from profcollectd/binder/android/os/IProfCollectd.aidl)2
-rw-r--r--profcollectd/libprofcollectd/binder_service.cpp2
-rw-r--r--profcollectd/libprofcollectd/binder_service.h5
-rw-r--r--profcollectd/libprofcollectd/interface.cpp2
5 files changed, 7 insertions, 6 deletions
diff --git a/profcollectd/Android.bp b/profcollectd/Android.bp
index 38282274..8c3d19fc 100644
--- a/profcollectd/Android.bp
+++ b/profcollectd/Android.bp
@@ -54,7 +54,7 @@ cc_binary {
filegroup {
name: "profcollectd_aidl",
srcs: [
- "binder/android/os/IProfCollectd.aidl",
+ "binder/com/android/server/profcollect/IProfCollectd.aidl",
],
path: "binder",
}
diff --git a/profcollectd/binder/android/os/IProfCollectd.aidl b/profcollectd/binder/com/android/server/profcollect/IProfCollectd.aidl
index 03f6b19b..9b87275a 100644
--- a/profcollectd/binder/android/os/IProfCollectd.aidl
+++ b/profcollectd/binder/com/android/server/profcollect/IProfCollectd.aidl
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package android.os;
+package com.android.server.profcollect;
/** {@hide} */
interface IProfCollectd {
diff --git a/profcollectd/libprofcollectd/binder_service.cpp b/profcollectd/libprofcollectd/binder_service.cpp
index 0eb9caaa..3f795b7f 100644
--- a/profcollectd/libprofcollectd/binder_service.cpp
+++ b/profcollectd/libprofcollectd/binder_service.cpp
@@ -27,7 +27,7 @@ namespace android {
namespace profcollectd {
using ::android::binder::Status;
-using ::android::os::IProfCollectd;
+using ::com::android::server::profcollect::IProfCollectd;
namespace {
diff --git a/profcollectd/libprofcollectd/binder_service.h b/profcollectd/libprofcollectd/binder_service.h
index 83197666..fd0626ae 100644
--- a/profcollectd/libprofcollectd/binder_service.h
+++ b/profcollectd/libprofcollectd/binder_service.h
@@ -19,13 +19,14 @@
#include <binder/BinderService.h>
#include <binder/Status.h>
-#include "android/os/BnProfCollectd.h"
+#include "com/android/server/profcollect/BnProfCollectd.h"
#include "scheduler.h"
namespace android {
namespace profcollectd {
-class ProfcollectdBinder : public BinderService<ProfcollectdBinder>, public os::BnProfCollectd {
+class ProfcollectdBinder : public BinderService<ProfcollectdBinder>,
+ public ::com::android::server::profcollect::BnProfCollectd {
public:
explicit ProfcollectdBinder();
diff --git a/profcollectd/libprofcollectd/interface.cpp b/profcollectd/libprofcollectd/interface.cpp
index f7985761..3cf42c9b 100644
--- a/profcollectd/libprofcollectd/interface.cpp
+++ b/profcollectd/libprofcollectd/interface.cpp
@@ -27,7 +27,7 @@
namespace android {
namespace profcollectd {
-using ::android::os::IProfCollectd;
+using ::com::android::server::profcollect::IProfCollectd;
namespace {