Loading libs/binder/IPCThreadState.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -1017,6 +1017,10 @@ status_t IPCThreadState::waitForResponse(Parcel *reply, status_t *acquireResult) if (!reply && !acquireResult) goto finish; break; case BR_TRANSACTION_PENDING_FROZEN: ALOGW("Sending oneway calls to frozen process."); goto finish; case BR_DEAD_REPLY: err = DEAD_OBJECT; goto finish; Loading libs/binder/IServiceManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -444,7 +444,7 @@ bool ServiceManagerShim::isDeclared(const String16& name) { bool declared; if (Status status = mTheRealServiceManager->isDeclared(String8(name).c_str(), &declared); !status.isOk()) { ALOGW("Failed to get isDeclard for %s: %s", String8(name).c_str(), ALOGW("Failed to get isDeclared for %s: %s", String8(name).c_str(), status.toString8().c_str()); return false; } Loading libs/binder/ProcessState.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -439,6 +439,10 @@ size_t ProcessState::getThreadPoolMaxTotalThreadCount() const { return mCurrentThreads; } bool ProcessState::isThreadPoolStarted() const { return mThreadPoolStarted; } #define DRIVER_FEATURES_PATH "/dev/binderfs/features/" bool ProcessState::isDriverFeatureEnabled(const DriverFeature feature) { static const char* const names[] = { Loading libs/binder/binder_module.h +5 −0 Original line number Diff line number Diff line Loading @@ -100,4 +100,9 @@ struct binder_frozen_status_info { #define BINDER_ENABLE_ONEWAY_SPAM_DETECTION _IOW('b', 16, __u32) #endif // BINDER_ENABLE_ONEWAY_SPAM_DETECTION #ifndef BR_TRANSACTION_PENDING_FROZEN // Temporary definition of BR_TRANSACTION_PENDING_FROZEN until UAPI binder.h includes it. #define BR_TRANSACTION_PENDING_FROZEN _IO('r', 20) #endif // BR_TRANSACTION_PENDING_FROZEN #endif // _BINDER_MODULE_H_ libs/binder/include/binder/IInterface.h +0 −1 Original line number Diff line number Diff line Loading @@ -230,7 +230,6 @@ constexpr const char* const kManualInterfaces[] = { "android.graphicsenv.IGpuService", "android.gui.IConsumerListener", "android.gui.IGraphicBufferConsumer", "android.gui.ITransactionComposerListener", "android.gui.SensorEventConnection", "android.gui.SensorServer", "android.hardware.ICamera", Loading Loading
libs/binder/IPCThreadState.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -1017,6 +1017,10 @@ status_t IPCThreadState::waitForResponse(Parcel *reply, status_t *acquireResult) if (!reply && !acquireResult) goto finish; break; case BR_TRANSACTION_PENDING_FROZEN: ALOGW("Sending oneway calls to frozen process."); goto finish; case BR_DEAD_REPLY: err = DEAD_OBJECT; goto finish; Loading
libs/binder/IServiceManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -444,7 +444,7 @@ bool ServiceManagerShim::isDeclared(const String16& name) { bool declared; if (Status status = mTheRealServiceManager->isDeclared(String8(name).c_str(), &declared); !status.isOk()) { ALOGW("Failed to get isDeclard for %s: %s", String8(name).c_str(), ALOGW("Failed to get isDeclared for %s: %s", String8(name).c_str(), status.toString8().c_str()); return false; } Loading
libs/binder/ProcessState.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -439,6 +439,10 @@ size_t ProcessState::getThreadPoolMaxTotalThreadCount() const { return mCurrentThreads; } bool ProcessState::isThreadPoolStarted() const { return mThreadPoolStarted; } #define DRIVER_FEATURES_PATH "/dev/binderfs/features/" bool ProcessState::isDriverFeatureEnabled(const DriverFeature feature) { static const char* const names[] = { Loading
libs/binder/binder_module.h +5 −0 Original line number Diff line number Diff line Loading @@ -100,4 +100,9 @@ struct binder_frozen_status_info { #define BINDER_ENABLE_ONEWAY_SPAM_DETECTION _IOW('b', 16, __u32) #endif // BINDER_ENABLE_ONEWAY_SPAM_DETECTION #ifndef BR_TRANSACTION_PENDING_FROZEN // Temporary definition of BR_TRANSACTION_PENDING_FROZEN until UAPI binder.h includes it. #define BR_TRANSACTION_PENDING_FROZEN _IO('r', 20) #endif // BR_TRANSACTION_PENDING_FROZEN #endif // _BINDER_MODULE_H_
libs/binder/include/binder/IInterface.h +0 −1 Original line number Diff line number Diff line Loading @@ -230,7 +230,6 @@ constexpr const char* const kManualInterfaces[] = { "android.graphicsenv.IGpuService", "android.gui.IConsumerListener", "android.gui.IGraphicBufferConsumer", "android.gui.ITransactionComposerListener", "android.gui.SensorEventConnection", "android.gui.SensorServer", "android.hardware.ICamera", Loading