Loading libs/binder/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -282,6 +282,7 @@ cc_defaults { "-Wunused-const-variable", "-Wunused-result", "-Wexit-time-destructors", "-Wshadow", "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION", "-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION", // Hide symbols by default and set the BUILDING_LIBBINDER macro so that Loading libs/binder/BackendUnifiedServiceManager.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "libbinder.BackendUnifiedServiceManager" #include "BackendUnifiedServiceManager.h" #include <android-base/strings.h> Loading Loading @@ -182,7 +184,7 @@ Status BackendUnifiedServiceManager::updateCache(const std::string& serviceName, if (atrace_is_tag_enabled(ATRACE_TAG_AIDL)) { traceStr = "BinderCacheWithInvalidation::updateCache : " + serviceName; } binder::ScopedTrace aidlTrace(ATRACE_TAG_AIDL, traceStr.c_str()); binder::ScopedTrace outerAidlTrace(ATRACE_TAG_AIDL, traceStr.c_str()); if (!binder) { binder::ScopedTrace aidlTrace(ATRACE_TAG_AIDL, Loading libs/binder/Binder.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "libbinder.Binder" #include <binder/Binder.h> Loading Loading @@ -411,8 +412,9 @@ status_t BBinder::transact( if (reply != nullptr) { reply->setDataPosition(0); if (reply->dataSize() > binder::kLogTransactionsOverBytes) { ALOGW("Large reply transaction of %zu bytes, interface descriptor %s, code %d", reply->dataSize(), String8(getInterfaceDescriptor()).c_str(), code); ALOGW("Large reply transaction of %zu bytes, interface descriptor %s, code %d, flags " "%d", reply->dataSize(), String8(getInterfaceDescriptor()).c_str(), code, flags); } } Loading libs/binder/BinderObserver.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "libbinder.BinderObserver" #include "BinderObserver.h" #include <mutex> Loading libs/binder/BinderStatsPusher.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -13,7 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "libbinder.BinderStatsPusher" #include "BinderStatsPusher.h" #include <android-base/properties.h> #include <android/os/IStatsBootstrapAtomService.h> #include <binder/Functional.h> Loading Loading
libs/binder/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -282,6 +282,7 @@ cc_defaults { "-Wunused-const-variable", "-Wunused-result", "-Wexit-time-destructors", "-Wshadow", "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION", "-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION", // Hide symbols by default and set the BUILDING_LIBBINDER macro so that Loading
libs/binder/BackendUnifiedServiceManager.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "libbinder.BackendUnifiedServiceManager" #include "BackendUnifiedServiceManager.h" #include <android-base/strings.h> Loading Loading @@ -182,7 +184,7 @@ Status BackendUnifiedServiceManager::updateCache(const std::string& serviceName, if (atrace_is_tag_enabled(ATRACE_TAG_AIDL)) { traceStr = "BinderCacheWithInvalidation::updateCache : " + serviceName; } binder::ScopedTrace aidlTrace(ATRACE_TAG_AIDL, traceStr.c_str()); binder::ScopedTrace outerAidlTrace(ATRACE_TAG_AIDL, traceStr.c_str()); if (!binder) { binder::ScopedTrace aidlTrace(ATRACE_TAG_AIDL, Loading
libs/binder/Binder.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "libbinder.Binder" #include <binder/Binder.h> Loading Loading @@ -411,8 +412,9 @@ status_t BBinder::transact( if (reply != nullptr) { reply->setDataPosition(0); if (reply->dataSize() > binder::kLogTransactionsOverBytes) { ALOGW("Large reply transaction of %zu bytes, interface descriptor %s, code %d", reply->dataSize(), String8(getInterfaceDescriptor()).c_str(), code); ALOGW("Large reply transaction of %zu bytes, interface descriptor %s, code %d, flags " "%d", reply->dataSize(), String8(getInterfaceDescriptor()).c_str(), code, flags); } } Loading
libs/binder/BinderObserver.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "libbinder.BinderObserver" #include "BinderObserver.h" #include <mutex> Loading
libs/binder/BinderStatsPusher.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -13,7 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "libbinder.BinderStatsPusher" #include "BinderStatsPusher.h" #include <android-base/properties.h> #include <android/os/IStatsBootstrapAtomService.h> #include <binder/Functional.h> Loading