Loading libs/dumputils/dump_utils.cpp +16 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ static const char* native_processes_to_dump[] = { "/system/bin/mediametrics", // media.metrics "/system/bin/mediaserver", "/system/bin/netd", "/system/bin/vold", "/system/bin/sdcard", "/system/bin/statsd", "/system/bin/surfaceflinger", Loading @@ -44,6 +43,13 @@ static const char* native_processes_to_dump[] = { NULL, }; // Native processes to dump on debuggable builds. static const char* debuggable_native_processes_to_dump[] = { "/system/bin/vold", NULL, }; /* list of hal interface to dump containing process during native dumps */ static const char* hal_interfaces_to_dump[] { "android.hardware.audio@2.0::IDevicesFactory", Loading Loading @@ -106,6 +112,15 @@ bool should_dump_native_traces(const char* path) { return true; } } if (android::base::GetBoolProperty("ro.debuggable", false)) { for (const char** p = debuggable_native_processes_to_dump; *p; p++) { if (!strcmp(*p, path)) { return true; } } } return false; } Loading libs/graphicsenv/GraphicsEnv.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -611,6 +611,10 @@ android_namespace_t* GraphicsEnv::getDriverNamespace() { return mDriverNamespace; } std::string GraphicsEnv::getDriverPath() const { return mDriverPath; } android_namespace_t* GraphicsEnv::getAngleNamespace() { std::lock_guard<std::mutex> lock(mNamespaceMutex); Loading libs/graphicsenv/include/graphicsenv/GraphicsEnv.h +1 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ public: void setDriverPathAndSphalLibraries(const std::string path, const std::string sphalLibraries); // Get the updatable driver namespace. android_namespace_t* getDriverNamespace(); std::string getDriverPath() const; /* * Apis for GpuStats Loading libs/gui/SurfaceComposerClient.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -225,10 +225,12 @@ void TransactionCompletedListener::onTransactionCompleted(ListenerStats listener .surfaceControls[surfaceStats.surfaceControl], surfaceStats.acquireTime, surfaceStats.previousReleaseFence, surfaceStats.transformHint); if (callbacksMap[callbackId].surfaceControls[surfaceStats.surfaceControl]) { callbacksMap[callbackId] .surfaceControls[surfaceStats.surfaceControl] ->setTransformHint(surfaceStats.transformHint); } } callbackFunction(transactionStats.latchTime, transactionStats.presentFence, surfaceControlStats); Loading libs/vr/libvrflinger/hardware_composer.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -1215,6 +1215,12 @@ Return<void> HardwareComposer::ComposerCallback::onVsyncPeriodTimingChanged( return Void(); } Return<void> HardwareComposer::ComposerCallback::onSeamlessPossible( Hwc2::Display /*display*/) { LOG_ALWAYS_FATAL("Unexpected onSeamlessPossible callback"); return Void(); } void HardwareComposer::ComposerCallback::SetVsyncService( const sp<VsyncService>& vsync_service) { std::lock_guard<std::mutex> lock(mutex_); Loading Loading
libs/dumputils/dump_utils.cpp +16 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ static const char* native_processes_to_dump[] = { "/system/bin/mediametrics", // media.metrics "/system/bin/mediaserver", "/system/bin/netd", "/system/bin/vold", "/system/bin/sdcard", "/system/bin/statsd", "/system/bin/surfaceflinger", Loading @@ -44,6 +43,13 @@ static const char* native_processes_to_dump[] = { NULL, }; // Native processes to dump on debuggable builds. static const char* debuggable_native_processes_to_dump[] = { "/system/bin/vold", NULL, }; /* list of hal interface to dump containing process during native dumps */ static const char* hal_interfaces_to_dump[] { "android.hardware.audio@2.0::IDevicesFactory", Loading Loading @@ -106,6 +112,15 @@ bool should_dump_native_traces(const char* path) { return true; } } if (android::base::GetBoolProperty("ro.debuggable", false)) { for (const char** p = debuggable_native_processes_to_dump; *p; p++) { if (!strcmp(*p, path)) { return true; } } } return false; } Loading
libs/graphicsenv/GraphicsEnv.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -611,6 +611,10 @@ android_namespace_t* GraphicsEnv::getDriverNamespace() { return mDriverNamespace; } std::string GraphicsEnv::getDriverPath() const { return mDriverPath; } android_namespace_t* GraphicsEnv::getAngleNamespace() { std::lock_guard<std::mutex> lock(mNamespaceMutex); Loading
libs/graphicsenv/include/graphicsenv/GraphicsEnv.h +1 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ public: void setDriverPathAndSphalLibraries(const std::string path, const std::string sphalLibraries); // Get the updatable driver namespace. android_namespace_t* getDriverNamespace(); std::string getDriverPath() const; /* * Apis for GpuStats Loading
libs/gui/SurfaceComposerClient.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -225,10 +225,12 @@ void TransactionCompletedListener::onTransactionCompleted(ListenerStats listener .surfaceControls[surfaceStats.surfaceControl], surfaceStats.acquireTime, surfaceStats.previousReleaseFence, surfaceStats.transformHint); if (callbacksMap[callbackId].surfaceControls[surfaceStats.surfaceControl]) { callbacksMap[callbackId] .surfaceControls[surfaceStats.surfaceControl] ->setTransformHint(surfaceStats.transformHint); } } callbackFunction(transactionStats.latchTime, transactionStats.presentFence, surfaceControlStats); Loading
libs/vr/libvrflinger/hardware_composer.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -1215,6 +1215,12 @@ Return<void> HardwareComposer::ComposerCallback::onVsyncPeriodTimingChanged( return Void(); } Return<void> HardwareComposer::ComposerCallback::onSeamlessPossible( Hwc2::Display /*display*/) { LOG_ALWAYS_FATAL("Unexpected onSeamlessPossible callback"); return Void(); } void HardwareComposer::ComposerCallback::SetVsyncService( const sp<VsyncService>& vsync_service) { std::lock_guard<std::mutex> lock(mutex_); Loading