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

Commit 5991044e authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 13221806 from e7069737 to 25Q4-release

Change-Id: I8b4009fe7877af6a94300a7b57635ea3d5ca5740
parents f1868811 e7069737
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -18,10 +18,6 @@
    {
      "name": "run_dex2oat_test"
    },
    // AdoptableHostTest moves packages, part of which is handled by installd
    {
      "name": "AdoptableHostTest"
    },
    {
      "name": "CtsUsesLibraryHostTestCases"
    },
+5 −0
Original line number Diff line number Diff line
@@ -46,6 +46,8 @@ struct DisplayTopologyAdjacentDisplay {
    DisplayTopologyPosition position;
    // The offset in DP of the adjacent display, relative to the source display.
    float offsetDp;

    std::string dump() const;
};

/**
@@ -55,6 +57,9 @@ struct DisplayTopologyGraph {
    ui::LogicalDisplayId primaryDisplayId = ui::LogicalDisplayId::INVALID;
    std::unordered_map<ui::LogicalDisplayId, std::vector<DisplayTopologyAdjacentDisplay>> graph;
    std::unordered_map<ui::LogicalDisplayId, int> displaysDensity;

    bool isValid() const;
    std::string dump() const;
};

} // namespace android
+15 −1
Original line number Diff line number Diff line
@@ -22,7 +22,21 @@ class InputFlags {
public:
    /**
     * Check if connected displays feature is enabled, either via the feature flag or settings
     * override.
     * override. Developer setting override allows enabling all the "desktop experiences" features
     * including input related connected_displays_cursor flag.
     *
     * The developer settings override is prioritised over aconfig flags. Any tests that require
     * applicable aconfig flags to be disabled with SCOPED_FLAG_OVERRIDE also need this developer
     * option to be reset locally.
     *
     * Also note the developer setting override is only applicable to the desktop experiences
     * related features.
     *
     * To enable only the input flag run:
     *      adb shell aflags enable com.android.input.flags.connected_displays_cursor
     * To override this flag and enable all "desktop experiences" features run:
     *      adb shell aflags enable com.android.window.flags.enable_desktop_mode_through_dev_option
     *      adb shell setprop persist.wm.debug.desktop_experience_devopts 1
     */
    static bool connectedDisplaysCursorEnabled();

+0 −9
Original line number Diff line number Diff line
@@ -277,15 +277,6 @@ cc_defaults {
        "-fvisibility=hidden",
        "-DBUILDING_LIBBINDER",
    ],

    target: {
        vendor: {
            // Trimming the exported symbols reveals a bug in vendor code, so
            // disable it for the vendor variant for now. http://b/349657329
            // TODO: Fix the issue and remove this override.
            cflags: ["-fvisibility=default"],
        },
    },
}

cc_defaults {
+7 −1
Original line number Diff line number Diff line
@@ -130,7 +130,13 @@ os::ServiceWithMetadata createServiceWithMetadata(const sp<IBinder>& service, bo

bool BinderCacheWithInvalidation::isClientSideCachingEnabled(const std::string& serviceName) {
    sp<ProcessState> self = ProcessState::selfOrNull();
    if (!self || self->getThreadPoolMaxTotalThreadCount() <= 0) {
    // Should not cache if process state could not be found, or if thread pool
    // max could is not greater than zero.
    if (!self) {
        ALOGW("Service retrieved before binder threads started. If they are to be started, "
              "consider starting binder threads earlier.");
        return false;
    } else if (self->getThreadPoolMaxTotalThreadCount() <= 0) {
        ALOGW("Thread Pool max thread count is 0. Cannot cache binder as linkToDeath cannot be "
              "implemented. serviceName: %s",
              serviceName.c_str());
Loading