diff options
-rw-r--r-- | libs/binder/BpBinder.cpp | 4 | ||||
-rw-r--r-- | libs/binder/include/binder/BpBinder.h | 7 | ||||
-rw-r--r-- | libs/dumputils/dump_utils.cpp | 1 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libs/binder/BpBinder.cpp b/libs/binder/BpBinder.cpp index 8264154b5f..bf4387a0a1 100644 --- a/libs/binder/BpBinder.cpp +++ b/libs/binder/BpBinder.cpp @@ -137,8 +137,8 @@ BpBinder* BpBinder::create(int32_t handle) { } BpBinder::BpBinder(int32_t handle, int32_t trackedUid) - : mHandle(handle) - , mStability(0) + : mStability(0) + , mHandle(handle) , mAlive(1) , mObitsSent(0) , mObituaries(nullptr) diff --git a/libs/binder/include/binder/BpBinder.h b/libs/binder/include/binder/BpBinder.h index 64d0657edf..a0e28d2543 100644 --- a/libs/binder/include/binder/BpBinder.h +++ b/libs/binder/include/binder/BpBinder.h @@ -109,19 +109,18 @@ public: KeyedVector<const void*, entry_t> mObjects; }; -protected: +private: BpBinder(int32_t handle,int32_t trackedUid); virtual ~BpBinder(); virtual void onFirstRef(); virtual void onLastStrongRef(const void* id); virtual bool onIncStrongAttempted(uint32_t flags, const void* id); -private: - const int32_t mHandle; - friend ::android::internal::Stability; int32_t mStability; + const int32_t mHandle; + struct Obituary { wp<DeathRecipient> recipient; void* cookie; diff --git a/libs/dumputils/dump_utils.cpp b/libs/dumputils/dump_utils.cpp index 2e144084c1..3faf792b1f 100644 --- a/libs/dumputils/dump_utils.cpp +++ b/libs/dumputils/dump_utils.cpp @@ -56,6 +56,7 @@ static const char* hal_interfaces_to_dump[] { "android.hardware.audio@4.0::IDevicesFactory", "android.hardware.audio@5.0::IDevicesFactory", "android.hardware.audio@6.0::IDevicesFactory", + "android.hardware.audio@7.0::IDevicesFactory", "android.hardware.automotive.audiocontrol@1.0::IAudioControl", "android.hardware.automotive.audiocontrol@2.0::IAudioControl", "android.hardware.automotive.evs@1.0::IEvsCamera", |