Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af582190 authored by Yifan Hong's avatar Yifan Hong
Browse files

lshal: allow 10s for passthroughManager()->debugDump

debugDump takes more time because of reading /proc for PIDs.
Allow more time for it to run on slower devices because
this information is useful for debugging.

Test: lshal
Test: lshal_test
Fixes: 77824684

Change-Id: I99e01b556e5ae3f84666ea6b10d7a93e4bee7294
parent 55d4747f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -503,7 +503,7 @@ Status ListCommand::fetchAllLibraries(const sp<IServiceManager> &manager) {
    using namespace ::android::hidl::manager::V1_0;
    using namespace ::android::hidl::base::V1_0;
    using std::literals::chrono_literals::operator""s;
    auto ret = timeoutIPC(2s, manager, &IServiceManager::debugDump, [&] (const auto &infos) {
    auto ret = timeoutIPC(10s, manager, &IServiceManager::debugDump, [&] (const auto &infos) {
        std::map<std::string, TableEntry> entries;
        for (const auto &info : infos) {
            std::string interfaceName = std::string{info.interfaceName.c_str()} + "/" +