Home
last modified time | relevance | path

Searched refs:mOutput2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCompositionEngineTest.cpp48 std::shared_ptr<mock::Output> mOutput2{std::make_shared<StrictMock<mock::Output>>()}; member
108 EXPECT_CALL(*mOutput2, prepare(Ref(mRefreshArgs), _)); in TEST_F()
114 EXPECT_CALL(*mOutput2, updateLayerStateFromFE(Ref(mRefreshArgs))); in TEST_F()
119 EXPECT_CALL(*mOutput2, present(Ref(mRefreshArgs))); in TEST_F()
122 mRefreshArgs.outputs = {mOutput1, mOutput2, mOutput3}; in TEST_F()
144 EXPECT_CALL(*mOutput2, getOutputLayerCount()).WillRepeatedly(Return(1u)); in CompositionEngineUpdateCursorAsyncTest()
145 EXPECT_CALL(*mOutput2, getOutputLayerOrderedByZByIndex(0)) in CompositionEngineUpdateCursorAsyncTest()
169 mRefreshArgs.outputs = {mOutput1, mOutput2, mOutput3}; in TEST_F()
196 mRefreshArgs.outputs = {mOutput1, mOutput2, mOutput3}; in TEST_F()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp321 mOutput1(0), mOutput2(0), mDirectOpenCount(0), in SwAudioOutputDescriptor()
347 devices.merge(mOutput2->devices()); in devices()
357 return mOutput1->sharesHwModuleWith(outputDesc) || mOutput2->sharesHwModuleWith(outputDesc); in sharesHwModuleWith()
370 supportedDevices.merge(mOutput2->supportedDevices()); in supportedDevices()
403 || mOutput2->devicesSupportEncodedFormats(deviceTypes)); in devicesSupportEncodedFormats()
414 mOutput2->containsSingleDeviceSupportingEncodedFormats(device)); in containsSingleDeviceSupportingEncodedFormats()
422 return (mOutput1->mLatency > mOutput2->mLatency) ? mOutput1->mLatency : mOutput2->mLatency; in latency()
433 mOutput2->setClientActive(client, active); in setClientActive()
652 status = mOutput2->start(); in start()
672 mOutput2->stop(); in stop()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h354 virtual bool isDuplicated() const { return (mOutput1 != NULL && mOutput2 != NULL); } in isDuplicated()
357 sp<SwAudioOutputDescriptor> subOutput2() { return mOutput2; } in subOutput2()
452 sp<SwAudioOutputDescriptor> mOutput2; // used by duplicated outputs: second output variable
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp6178 (dupOutput->mOutput1 == closingOutput || dupOutput->mOutput2 == closingOutput)) { in closeOutput()
6180 dupOutput->mOutput1 == closingOutput ? dupOutput->mOutput2 : dupOutput->mOutput1; in closeOutput()