Home
last modified time | relevance | path

Searched refs:mScheduler (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java61 private BackgroundScanScheduler mScheduler; field in BackgroundScanSchedulerTest
69 mScheduler = new BackgroundScanScheduler(mChannelHelper); in setUp()
70 mScheduler.setMaxBuckets(DEFAULT_MAX_BUCKETS); in setUp()
71 mScheduler.setMaxChannelsPerBucket(DEFAULT_MAX_CHANNELS_PER_BUCKET); in setUp()
72 mScheduler.setMaxBatch(DEFAULT_MAX_BATCH); in setUp()
73 mScheduler.setMaxApPerScan(DEFAULT_MAX_AP_PER_SCAN); in setUp()
85 mScheduler.updateSchedule(requests); in noRequest()
86 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); in noRequest()
99 mScheduler.updateSchedule(requests); in singleRequest()
100 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); in singleRequest()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp67 std::unique_ptr<MockScheduler> mScheduler; member in android::SchedulerTest
83 mScheduler = std::make_unique<MockScheduler>(*mRefreshRateConfigs, std::move(eventThread)); in SchedulerTest()
93 mConnectionHandle = mScheduler->createConnection("appConnection", 16, 16, in SchedulerTest()
115 mScheduler->createDisplayEventConnection(nullptr, in TEST_F()
119 EXPECT_TRUE(mScheduler->getEventThread(nullptr) == nullptr); in TEST_F()
120 EXPECT_TRUE(mScheduler->getEventConnection(nullptr) == nullptr); in TEST_F()
121 ASSERT_NO_FATAL_FAILURE(mScheduler->hotplugReceived(nullptr, PHYSICAL_DISPLAY_ID, false)); in TEST_F()
122 ASSERT_NO_FATAL_FAILURE(mScheduler->onScreenAcquired(nullptr)); in TEST_F()
123 ASSERT_NO_FATAL_FAILURE(mScheduler->onScreenReleased(nullptr)); in TEST_F()
125 ASSERT_NO_FATAL_FAILURE(mScheduler->dump(nullptr, testString)); in TEST_F()
[all …]
DDisplayTransactionTest.cpp123 TestableScheduler* mScheduler; member in android::__anon968546880111::DisplayTransactionTest
192 mScheduler = new TestableScheduler(*mFlinger.mutableRefreshRateConfigs()); in setupScheduler()
193 mScheduler->mutableEventControlThread().reset(mEventControlThread); in setupScheduler()
194 mScheduler->mutablePrimaryDispSync().reset(mPrimaryDispSync); in setupScheduler()
199 mScheduler->addConnection(std::unique_ptr<EventThread>(mSFEventThread)); in setupScheduler()
202 mScheduler->addConnection(std::unique_ptr<EventThread>(mEventThread)); in setupScheduler()
204 mFlinger.mutableScheduler().reset(mScheduler); in setupScheduler()
1144 mScheduler->mutablePrimaryHWVsyncEnabled() = true; in TEST_F()
1145 mScheduler->mutableHWVsyncAvailable() = true; in TEST_F()
1169 EXPECT_FALSE(mScheduler->mutablePrimaryHWVsyncEnabled()); in TEST_F()
[all …]
DCompositionTest.cpp138 mScheduler = new TestableScheduler(*mFlinger.mutableRefreshRateConfigs()); in setupScheduler()
139 mScheduler->mutableEventControlThread().reset(mEventControlThread); in setupScheduler()
140 mScheduler->mutablePrimaryDispSync().reset(mPrimaryDispSync); in setupScheduler()
143 mScheduler->addConnection(std::move(mEventThread)); in setupScheduler()
146 mFlinger.mutableScheduler().reset(mScheduler); in setupScheduler()
170 TestableScheduler* mScheduler; member in android::__anon4393af000111::CompositionTest
DTestableSurfaceFlinger.h341 auto& mutableScheduler() { return mFlinger->mScheduler; } in mutableScheduler()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSyncRunner.java33 private Scheduler mScheduler = null; field in SyncRunner
56 mScheduler = (Scheduler)schedulerConstructor.newInstance(graph); in SyncRunner()
86 return mScheduler != null ? mScheduler.getGraph() : null; in getGraph()
98 mScheduler.reset(); in beginProcessing()
106 mScheduler.reset(); in close()
192 for (Filter filter : mScheduler.getGraph().getFilters()) { in determinePostRunState()
209 Filter filter = mScheduler.scheduleNextNode(); in performStep()
221 if (mScheduler == null) { in assertReadyToStep()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java79 mScheduler.doStartScan((NetworkScanRequestInfo) msg.obj);
83 mScheduler.startScanDone((AsyncResult) msg.obj);
87 mScheduler.receiveResult((AsyncResult) msg.obj);
91 mScheduler.doStopScan(msg.arg1);
95 mScheduler.stopScanDone((AsyncResult) msg.obj);
99 mScheduler.doInterruptScan(msg.arg1);
103 mScheduler.interruptScanDone((AsyncResult) msg.obj);
110 mScheduler.deleteScanAndMayNotify(
121 private final NetworkScanRequestScheduler mScheduler = new NetworkScanRequestScheduler(); field in NetworkScanRequestTracker
640 synchronized (mScheduler) { in stopNetworkScan()
[all …]
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp95 mScheduler(scheduler), in SamplingOffsetCallback()
108 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in startVsyncListener()
123 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in stopVsyncListenerLocked()
135 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in onDispSyncEvent()
143 mScheduler.withPrimaryDispSync( in onDispSyncEvent()
153 Scheduler& mScheduler; member
168 mScheduler(scheduler), in RegionSamplingThread()
173 mPhaseCallback(std::make_unique<SamplingOffsetCallback>(*this, mScheduler,
250 mScheduler.getDisplayStatInfo(&stats); in doSample()
DSurfaceFlinger.cpp886 mScheduler->getDisplayStatInfo(stats); in getDisplayStats()
916 mScheduler->resyncToHardwareVsync(true, getVsyncPeriod()); in setDesiredActiveConfig()
963 mScheduler->onConfigChanged(mAppConnectionHandle, display->getId()->value, in setActiveConfigInternal()
974 mScheduler->resyncToHardwareVsync(true, getVsyncPeriod()); in desiredActiveConfigChangeDone()
1242 mEventQueue->setEventThread(mInjectorEventThread.get(), [&] { mScheduler->resync(); }); in enableVSyncInjections()
1245 mEventQueue->setEventThread(mScheduler->getEventThread(mSfConnectionHandle), in enableVSyncInjections()
1246 [&] { mScheduler->resync(); }); in enableVSyncInjections()
1347 mScheduler->notifyTouchEvent(); in notifyPowerHint()
1360 return mScheduler->createDisplayEventConnection(handle, configChanged); in createDisplayEventConnection()
1370 mScheduler->resetIdleTimer(); in signalTransaction()
[all …]
DRegionSamplingThread.h108 Scheduler& mScheduler; variable
DBufferQueueLayer.cpp445 mFlinger->mScheduler->addLayerPresentTimeAndHDR(mSchedulerLayerHandle, presentTime, in onFrameAvailable()
DBufferStateLayer.cpp234 mFlinger->mScheduler->addLayerPresentTimeAndHDR(mSchedulerLayerHandle, presentTime, in setBuffer()
DBufferLayer.cpp103 mFlinger->mScheduler->setLayerVisibility(mSchedulerLayerHandle, visible); in isVisible()
DSurfaceFlinger.h1137 std::unique_ptr<Scheduler> mScheduler; variable
DLayer.cpp123 mSchedulerLayerHandle = mFlinger->mScheduler->registerLayer(mName.c_str(), mWindowType); in Layer()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java300 mScheduler.prepare(currentFilters()); in onOpenGraph()
320 mScheduler.prepare(currentFilters()); in onStarve()
350 mScheduler.beginStep(); in onStep()
354 long priority = mScheduler.priorityForFilter(filter); in onStep()
602 private Scheduler mScheduler; field in GraphRunner
770 return mScheduler.getStrategy(); in getSchedulerStrategy()
987 mScheduler = new LruScheduler(); in createScheduler()
990 mScheduler = new LfuScheduler(); in createScheduler()
993 mScheduler = new OneShotScheduler(); in createScheduler()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncModulator.h75 mScheduler = scheduler; in setSchedulerAndHandles()
118 Scheduler* mScheduler = nullptr; variable
DVSyncModulator.cpp134 mScheduler->setPhaseOffset(mSfConnectionHandle, desired.sf); in updateOffsetsLocked()
138 mScheduler->setPhaseOffset(mAppConnectionHandle, desired.app); in updateOffsetsLocked()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java924 private final ScheduledExecutorService mScheduler = Executors.newScheduledThreadPool(1); field in CameraManager.CameraManagerGlobal
1505 mScheduler.schedule(() -> { in scheduleCameraServiceReconnectionLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt18709 Landroid/filterfw/core/SyncRunner;->mScheduler:Landroid/filterfw/core/Scheduler;
21595 Landroid/hardware/camera2/CameraManager$CameraManagerGlobal;->mScheduler:Ljava/util/concurrent/Sche…