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

Commit 51bb3754 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9440496 from 9dbf668e to udc-release

Change-Id: I062dc2d1cb2d4aa7bf4b431038f8944792706822
parents cb514c3a 9dbf668e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -66,10 +66,14 @@ cc_library {
        "service_manager.cpp",
    ],

    shared_libs: [
    static_libs: [
        "libandroid_runtime_lazy",
        "libbase",
    ],

    shared_libs: [
        "libbinder",
        "liblog",
        "libutils",
    ],

+2 −2
Original line number Diff line number Diff line
@@ -372,12 +372,12 @@ TEST_P(BinderRpc, ThreadPoolGreaterThanEqualRequested) {
        ts.push_back(std::thread([&] { proc.rootIface->lockUnlock(); }));
    }

    usleep(10000); // give chance for calls on other threads
    usleep(100000); // give chance for calls on other threads

    // other calls still work
    EXPECT_EQ(OK, proc.rootBinder->pingBinder());

    constexpr size_t blockTimeMs = 50;
    constexpr size_t blockTimeMs = 100;
    size_t epochMsBefore = epochMillis();
    // after this, we should never see a response within this time
    EXPECT_OK(proc.rootIface->unlockInMsAsync(blockTimeMs));
+6 −1
Original line number Diff line number Diff line
@@ -133,8 +133,13 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {

    bool hangupBeforeShutdown = provider.ConsumeBool();

    // b/260736889 - limit arbitrarily, due to thread resource exhaustion, which currently
    // aborts. Servers should consider RpcServer::setConnectionFilter instead.
    constexpr size_t kMaxConnections = 1000;

    while (provider.remaining_bytes() > 0) {
        if (connections.empty() || provider.ConsumeBool()) {
        if (connections.empty() ||
            (connections.size() < kMaxConnections && provider.ConsumeBool())) {
            base::unique_fd fd(TEMP_FAILURE_RETRY(socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0)));
            CHECK_NE(fd.get(), -1);
            CHECK_EQ(0,
+2 −0
Original line number Diff line number Diff line
@@ -133,6 +133,8 @@ cc_library_static {
        "-fvisibility=hidden",
        "-Werror=format",
        "-Wno-unused-parameter",
        // TODO: Investigate reducing pinned-memory usage (b/263377839)
        "-DRE_SKIAVK",
    ],
    srcs: [
        ":librenderengine_sources",
+4 −1
Original line number Diff line number Diff line
@@ -68,7 +68,10 @@ static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, void* v
// egl_cache_t definition
//
egl_cache_t::egl_cache_t()
      : mInitialized(false), mMultifileMode(true), mCacheByteLimit(maxTotalSize) {}
      : mInitialized(false),
        mMultifileMode(true),
        mCacheByteLimit(maxTotalSize),
        mMultifileCleanupPending(false) {}

egl_cache_t::~egl_cache_t() {}