Home
last modified time | relevance | path

Searched refs:isVirtual (Results 1 – 25 of 27) 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.h237 bool isDebug = false, bool isVirtual = false);
DSensorService.cpp314 const Sensor& SensorService::registerSensor(SensorInterface* s, bool isDebug, bool isVirtual) { in registerSensor() argument
317 if (mSensors.add(handle, s, isDebug, isVirtual)){ in registerSensor()
996 return sensor != nullptr && sensor->isVirtual(); in isVirtualSensor()
1446 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/CompositionEngine/include/compositionengine/impl/
DDisplay.h47 bool isVirtual() const override;
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp62 compositionengine::DisplayCreationArgs{args.isSecure, args.isVirtual, in DisplayDevice()
64 mIsVirtual(args.isVirtual),
292 isPrimary() ? "primary, " : "", isVirtual() ? "virtual, " : "", in getDebugName()
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};
DSurfaceFlinger.cpp471 if (!state.isVirtual()) { in destroyDisplay()
1121 } else if (display->isVirtual()) { in setActiveColorMode()
2384 ALOGV_IF(displayDevice->isVirtual(), "%s: %s composition for %s (%cdirty %cempty %cwasEmpty)", in beginFrame()
2577 creationArgs.isVirtual = state.isVirtual(); in setupNewDisplayDeviceInternal()
2612 if (state.isVirtual()) { in setupNewDisplayDeviceInternal()
2620 creationArgs.initialPowerMode = state.isVirtual() ? HWC_POWER_MODE_NORMAL : HWC_POWER_MODE_OFF; in setupNewDisplayDeviceInternal()
2636 if (!state.isVirtual()) { in setupNewDisplayDeviceInternal()
2672 if (!display->isVirtual()) { in processDisplayChangesLocked()
2729 if (state.isVirtual()) { in processDisplayChangesLocked()
2778 if (!state.isVirtual()) { in processDisplayChangesLocked()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h491 const std::optional<DisplayId>& displayId, bool isVirtual, in FakeDisplayDeviceInjector() argument
494 mCreationArgs.isVirtual = isVirtual; in FakeDisplayDeviceInjector()
552 state.displayId = mCreationArgs.isVirtual ? std::nullopt : mCreationArgs.displayId; in inject()
560 if (!mCreationArgs.isVirtual) { in inject()
DDisplayTransactionTest.cpp1028 EXPECT_TRUE(display.isVirtual()); in TEST_F()
1059 EXPECT_TRUE(display.isVirtual()); in TEST_F()
1417 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), device->isVirtual()); in setupNewDisplayDeviceInternalTest()
1583 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), current.isVirtual()); in verifyDisplayIsConnected()
1591 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), draw.isVirtual()); in verifyDisplayIsConnected()
1977 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/inputflinger/
DEventHub.h369 const bool isVirtual; // set if fd < 0 is passed to constructor member
DEventHub.cpp199 enabled(true), isVirtual(fd < 0) { in Device()
238 return !isVirtual && enabled; in hasValidFd()
/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/base/services/core/java/com/android/server/input/
DInputManagerService.java786 if (!inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in deliverInputDevicesChanged()

12