Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_CreateDisplayTest.cpp48 EXPECT_TRUE(display.isVirtual()); in createDisplayWithRequestedRefreshRate()
58 EXPECT_TRUE(device->isVirtual()); in createDisplayWithRequestedRefreshRate()
92 EXPECT_TRUE(display.isVirtual()); in TEST_F()
124 EXPECT_TRUE(display.isVirtual()); in TEST_F()
153 EXPECT_TRUE(display.isVirtual()); in TEST_F()
DTransactionProtoParserTest.cpp117 d1.isVirtual = false; in TEST()
146 EXPECT_EQ(d1.isVirtual, d2.isVirtual); in TEST()
DSurfaceFlinger_DisplayTransactionCommitTest.cpp124 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), current.isVirtual()); in verifyDisplayIsConnected()
130 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), draw.isVirtual()); in verifyDisplayIsConnected()
504 EXPECT_EQ(static_cast<bool>(Case::Display::VIRTUAL), draw.isVirtual()); in TEST_F()
/frameworks/native/services/sensorservice/
DSensorInterface.h45 virtual bool isVirtual() const = 0;
92 virtual bool isVirtual() const override { return false; } in isVirtual() function
100 virtual bool isVirtual() const override { return true; } in isVirtual() function
122 virtual bool isVirtual() const override { return false; } in isVirtual() function
DSensorList.h42 const bool isVirtual; member
45 si(std::move(si_)), isForDebug(debug_), isVirtual(virtual_), deviceId(deviceId_) { in Entry()
51 bool isVirtual = false, int deviceId = RuntimeSensor::DEFAULT_DEVICE_ID);
DLimitedAxesImuSensor.h38 virtual bool isVirtual() const override { return true; } in isVirtual() function
DSensorList.cpp32 bool isVirtual, int deviceId) { in add() argument
37 mHandleMap.emplace(handle, Entry(std::move(si), isForDebug, isVirtual, deviceId)); in add()
124 if (e.isVirtual && e.deviceId == RuntimeSensor::DEFAULT_DEVICE_ID) { in getVirtualSensors()
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayId.h42 constexpr bool isVirtual() const { return value & FLAG_VIRTUAL; } in isVirtual() function
83 if (id.isVirtual()) { in tryCast()
124 if (id.isVirtual()) { in tryCast()
139 if (id.isVirtual() && !(id.value & FLAG_GPU)) { in tryCast()
160 if (id.isVirtual() && (id.value & FLAG_GPU)) { in tryCast()
/frameworks/native/libs/ui/include/ui/
DDisplayId.h42 constexpr bool isVirtual() const { return value & FLAG_VIRTUAL; } in isVirtual() function
83 if (id.isVirtual()) { in tryCast()
124 if (id.isVirtual()) { in tryCast()
139 if (id.isVirtual() && !(id.value & FLAG_GPU)) { in tryCast()
160 if (id.isVirtual() && (id.value & FLAG_GPU)) { in tryCast()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/open/
DOpenThirdActivityOverSplitTest.kt84 this.entry.displays.firstOrNull { it.isOn && !it.isVirtual } in mainActivityLayersAlwaysVisible()
95 this.entry.displays.firstOrNull { it.isOn && !it.isVirtual } in mainActivityLayersAlwaysVisible()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplay.h47 virtual bool isVirtual() const = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplay.h37 MOCK_CONST_METHOD0(isVirtual, bool());
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h89 bool isVirtual() const { return getId().isVirtual(); } in isVirtual() function
272 bool isVirtual() const { return !physical; } in isVirtual() function
DDisplayDevice.cpp165 .isVirtual = isVirtual(), in getFrontEndInfo()
235 LOG_FATAL_IF(!isVirtual(), "Changing the display size is supported only for virtual displays."); in setDisplaySize()
DLayerProtoHelper.cpp272 if (displayInfo.isVirtual) { in generate()
474 displayProto->set_is_virtual(displayInfo.isVirtual); in writeDisplayInfoToProto()
/frameworks/base/services/core/java/com/android/server/input/
DKeyRemapper.java99 if (inputDevice != null && !inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in addKeyRemapping()
144 if (inputDevice != null && !inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in onInputDeviceAdded()
DKeyboardLayoutManager.java195 if (inputDevice == null || inputDevice.isVirtual() || !inputDevice.isFullKeyboard()) { in onInputDeviceChangedInternal()
506 if (inputDevice == null || inputDevice.isVirtual() || !inputDevice.isFullKeyboard()) { in getKeyboardLayoutForInputDevice()
527 if (inputDevice == null || inputDevice.isVirtual() || !inputDevice.isFullKeyboard()) { in setKeyboardLayoutForInputDevice()
555 if (inputDevice == null || inputDevice.isVirtual() || !inputDevice.isFullKeyboard()) { in getKeyboardLayoutListForInputDevice()
/frameworks/native/services/surfaceflinger/FrontEnd/
DDisplayInfo.h37 bool isVirtual; member
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp81 bool Display::isVirtual() const { in isVirtual() function in android::compositionengine::impl::Display
82 return mId.isVirtual(); in isVirtual()
121 if (isVirtual()) { in setColorProfile()
135 const char* const type = isVirtual() ? "virtual" : "physical"; in dump()
DRenderSurface.cpp231 if (!mDisplay.isVirtual()) { in queueBuffer()
/frameworks/native/libs/ui/tests/
DDisplayId_test.cpp75 EXPECT_EQ((id.isVirtual() && isGpuVirtualId), GpuVirtualDisplayId::tryCast(id).has_value()); in TEST()
114 EXPECT_EQ((id.isVirtual() && !isGpuVirtualId), HalVirtualDisplayId::tryCast(id).has_value()); in TEST()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DSplitScreenUtils.kt180 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>()
312 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>()
330 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDisplay.h71 bool isVirtual() const override;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp270 EXPECT_FALSE(display->isVirtual()); in TEST_F()
278 EXPECT_TRUE(display->isVirtual()); in TEST_F()
299 EXPECT_FALSE(mDisplay->isVirtual()); in TEST_F()
318 EXPECT_TRUE(mDisplay->isVirtual()); in TEST_F()
337 EXPECT_TRUE(mDisplay->isVirtual()); in TEST_F()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/
DKeyboardRepository.kt164 return !device.isVirtual && device.isFullKeyboard in isPhysicalFullKeyboard()

12