Loading cmds/installd/TEST_MAPPING +0 −4 Original line number Diff line number Diff line Loading @@ -18,10 +18,6 @@ { "name": "run_dex2oat_test" }, // AdoptableHostTest moves packages, part of which is handled by installd { "name": "AdoptableHostTest" }, { "name": "CtsUsesLibraryHostTestCases" }, Loading include/input/DisplayTopologyGraph.h +5 −0 Original line number Diff line number Diff line Loading @@ -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; }; /** Loading @@ -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 include/input/InputFlags.h +15 −1 Original line number Diff line number Diff line Loading @@ -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(); Loading libs/binder/Android.bp +0 −9 Original line number Diff line number Diff line Loading @@ -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 { Loading libs/binder/BackendUnifiedServiceManager.cpp +7 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
cmds/installd/TEST_MAPPING +0 −4 Original line number Diff line number Diff line Loading @@ -18,10 +18,6 @@ { "name": "run_dex2oat_test" }, // AdoptableHostTest moves packages, part of which is handled by installd { "name": "AdoptableHostTest" }, { "name": "CtsUsesLibraryHostTestCases" }, Loading
include/input/DisplayTopologyGraph.h +5 −0 Original line number Diff line number Diff line Loading @@ -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; }; /** Loading @@ -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
include/input/InputFlags.h +15 −1 Original line number Diff line number Diff line Loading @@ -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(); Loading
libs/binder/Android.bp +0 −9 Original line number Diff line number Diff line Loading @@ -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 { Loading
libs/binder/BackendUnifiedServiceManager.cpp +7 −1 Original line number Diff line number Diff line Loading @@ -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