Home
last modified time | relevance | path

Searched refs:isVirtual (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayCreationArgs.h36 bool isVirtual = false; member
63 DisplayCreationArgsBuilder& setIsVirtual(bool isVirtual) { in setIsVirtual() argument
64 mArgs.isVirtual = isVirtual; in setIsVirtual()
DDisplay.h44 virtual bool isVirtual() const = 0;
/frameworks/native/services/sensorservice/
DSensorInterface.h44 virtual bool isVirtual() const = 0;
90 virtual bool isVirtual() const override { return false; } in isVirtual() function
98 virtual bool isVirtual() const override { return true; } in isVirtual() function
DSensorList.h41 bool add(int handle, SensorInterface* si, bool isForDebug = false, bool isVirtual = false);
80 const bool isVirtual; member
82 si(si_), isForDebug(debug_), isVirtual(virtual_) { in Entry()
DSensorList.cpp30 int handle, SensorInterface* si, bool isForDebug, bool isVirtual) { in add() argument
35 mHandleMap.emplace(handle, Entry(si, isForDebug, isVirtual)); in add()
113 if (e.isVirtual) { in getVirtualSensors()
DSensorService.h296 bool isDebug = false, bool isVirtual = false);
DSensorService.cpp309 const Sensor& SensorService::registerSensor(SensorInterface* s, bool isDebug, bool isVirtual) { in registerSensor() argument
312 if (mSensors.add(handle, s, isDebug, isVirtual)){ in registerSensor()
964 return sensor != nullptr && sensor->isVirtual(); in isVirtualSensor()
1411 if (sensor->isVirtual()) { in enable()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp38 mIsVirtual(args.isVirtual), in Display()
53 bool Display::isVirtual() const { in isVirtual() function in android::compositionengine::impl::Display
DRenderSurface.cpp196 if (!mDisplay.isVirtual()) { in queueBuffer()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp62 EXPECT_FALSE(display->isVirtual()); in TEST_F()
74 EXPECT_FALSE(display->isVirtual()); in TEST_F()
86 EXPECT_TRUE(display->isVirtual()); in TEST_F()
DRenderSurfaceTest.cpp346 EXPECT_CALL(mDisplay, isVirtual()).WillOnce(Return(true)); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplay.h37 MOCK_CONST_METHOD0(isVirtual, bool());
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h78 bool isVirtual() const { return mIsVirtual; } in isVirtual() function
208 bool isVirtual() const { return !displayId.has_value(); } in isVirtual() function
237 bool isVirtual{false};
DDisplayDevice.cpp62 compositionengine::DisplayCreationArgs{args.isSecure, args.isVirtual, in DisplayDevice()
64 mIsVirtual(args.isVirtual),
296 isPrimary() ? "primary, " : "", isVirtual() ? "virtual, " : "", in getDebugName()
DSurfaceFlinger.cpp478 if (!state.isVirtual()) { in destroyDisplay()
1106 } else if (display->isVirtual()) { in setActiveColorMode()
2410 ALOGV_IF(displayDevice->isVirtual(), "%s: %s composition for %s (%cdirty %cempty %cwasEmpty)", in beginFrame()
2606 creationArgs.isVirtual = state.isVirtual(); in setupNewDisplayDeviceInternal()
2641 if (state.isVirtual()) { in setupNewDisplayDeviceInternal()
2649 creationArgs.initialPowerMode = state.isVirtual() ? HWC_POWER_MODE_NORMAL : HWC_POWER_MODE_OFF; in setupNewDisplayDeviceInternal()
2665 if (!state.isVirtual()) { in setupNewDisplayDeviceInternal()
2701 if (!display->isVirtual()) { in processDisplayChangesLocked()
2758 if (state.isVirtual()) { in processDisplayChangesLocked()
2807 if (!state.isVirtual()) { in processDisplayChangesLocked()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h493 const std::optional<DisplayId>& displayId, bool isVirtual, in FakeDisplayDeviceInjector() argument
496 mCreationArgs.isVirtual = isVirtual; in FakeDisplayDeviceInjector()
554 state.displayId = mCreationArgs.isVirtual ? std::nullopt : mCreationArgs.displayId; in inject()
562 if (!mCreationArgs.isVirtual) { in inject()
DDisplayTransactionTest.cpp1038 EXPECT_TRUE(display.isVirtual()); in TEST_F()
1069 EXPECT_TRUE(display.isVirtual()); in TEST_F()
1427 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), device->isVirtual()); in setupNewDisplayDeviceInternalTest()
1593 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), current.isVirtual()); in verifyDisplayIsConnected()
1601 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), draw.isVirtual()); in verifyDisplayIsConnected()
1987 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), draw.isVirtual()); in TEST_F()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp183 if (displayData.isVirtual) { in onVsync()
243 displayData.isVirtual = true; in allocateVirtualDisplay()
366 if (displayData.isVirtual) { in setVsyncEnabled()
592 if (displayData.isVirtual) { in setPowerMode()
676 if (displayData.isVirtual) { in disconnectDisplay()
700 if (!displayData.isVirtual) { in setOutputBuffer()
821 it != mDisplayData.end() && !it->second.isVirtual) { in fromPhysicalDisplayId()
DHWComposer.h332 bool isVirtual = false; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDisplay.h47 bool isVirtual() const override;
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h365 const bool isVirtual; // set if fd < 0 is passed to constructor member
/frameworks/base/core/java/android/view/
DInputDevice.java603 public boolean isVirtual() { in isVirtual() method in InputDevice
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
DmissingSinces.txt68 NO DOC BLOCK: android.support.v4.provider.DocumentFile Method isVirtual()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp207 isVirtual(fd < 0) { in Device()
246 return !isVirtual && enabled; in hasValidFd()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java801 if (!inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in deliverInputDevicesChanged()

12