SF: Clean up Scheduler

Remove dynamic allocation for Scheduler::{Connection,ConnectionHandle},
as well as ref-counting for the latter. Also, remove dead code and make
members private.

Bug: 130554049
Test: libsurfaceflinger_unittest
Change-Id: Ibb9dc8d4cb66451a4172c852a36032bbc0a54411
diff --git a/services/surfaceflinger/Scheduler/VSyncModulator.cpp b/services/surfaceflinger/Scheduler/VSyncModulator.cpp
index f267c99..27fd76c 100644
--- a/services/surfaceflinger/Scheduler/VSyncModulator.cpp
+++ b/services/surfaceflinger/Scheduler/VSyncModulator.cpp
@@ -27,8 +27,8 @@
 namespace android::scheduler {
 
 VSyncModulator::VSyncModulator(Scheduler& scheduler,
-                               const sp<Scheduler::ConnectionHandle>& appConnectionHandle,
-                               const sp<Scheduler::ConnectionHandle>& sfConnectionHandle,
+                               Scheduler::ConnectionHandle appConnectionHandle,
+                               Scheduler::ConnectionHandle sfConnectionHandle,
                                const OffsetsConfig& config)
       : mScheduler(scheduler),
         mAppConnectionHandle(appConnectionHandle),