Home
last modified time | relevance | path

Searched refs:displayId (Results 1 – 25 of 39) sorted by relevance

12

/device/generic/goldfish-opengl/system/hwc3/
DComposerResources.cpp45 ::android::hardware::graphics::composer::V2_1::Display toHwc2Display(int64_t displayId) { in toHwc2Display() argument
46 return static_cast<::android::hardware::graphics::composer::V2_1::Display>(displayId); in toHwc2Display()
74 bool ComposerResources::hasDisplay(int64_t displayId) { in hasDisplay() argument
75 ::android::hardware::graphics::composer::V2_1::Display display = toHwc2Display(displayId); in hasDisplay()
79 HWC3::Error ComposerResources::addPhysicalDisplay(int64_t displayId) { in addPhysicalDisplay() argument
80 DEBUG_LOG("%s: display:%" PRId64, __FUNCTION__, displayId); in addPhysicalDisplay()
81 ::android::hardware::graphics::composer::V2_1::Display display = toHwc2Display(displayId); in addPhysicalDisplay()
85 HWC3::Error ComposerResources::addVirtualDisplay(int64_t displayId, in addVirtualDisplay() argument
87 ::android::hardware::graphics::composer::V2_1::Display display = toHwc2Display(displayId); in addVirtualDisplay()
91 HWC3::Error ComposerResources::removeDisplay(int64_t displayId) { in removeDisplay() argument
[all …]
DComposerClient.cpp31 std::shared_ptr<Display> display = getDisplay(displayId); \
33 ALOGE("%s failed to get display:%" PRIu64, __FUNCTION__, displayId); \
55 void addPresentFence(int64_t displayId, ::android::base::unique_fd fence) { in addPresentFence() argument
58 presentFenceResult.display = displayId; in addPresentFence()
64 void addReleaseFences(int64_t displayId, in addReleaseFences() argument
67 releaseFencesResult.display = displayId; in addReleaseFences()
88 void addPresentOrValidateResult(int64_t displayId, PresentOrValidate::Result pov) { in addPresentOrValidateResult() argument
90 result.display = displayId; in addPresentOrValidateResult()
164 ndk::ScopedAStatus ComposerClient::createLayer(int64_t displayId, int32_t bufferSlotCount, in createLayer() argument
166 DEBUG_LOG("%s display:%" PRIu64, __FUNCTION__, displayId); in createLayer()
[all …]
DComposerClient.h43 ndk::ScopedAStatus createLayer(int64_t displayId, int32_t bufferSlotCount,
49 ndk::ScopedAStatus destroyLayer(int64_t displayId, int64_t layer) override;
50 ndk::ScopedAStatus destroyVirtualDisplay(int64_t displayId) override;
53 ndk::ScopedAStatus getActiveConfig(int64_t displayId, int32_t* config) override;
54 ndk::ScopedAStatus getColorModes(int64_t displayId,
58 ndk::ScopedAStatus getDisplayAttribute(int64_t displayId, int32_t config,
60 ndk::ScopedAStatus getDisplayCapabilities(int64_t displayId,
62 ndk::ScopedAStatus getDisplayConfigs(int64_t displayId, std::vector<int32_t>* configs) override;
63 ndk::ScopedAStatus getDisplayConnectionType(int64_t displayId,
65 ndk::ScopedAStatus getDisplayIdentificationData(int64_t displayId,
[all …]
DClientFrameComposer.cpp58 const auto displayId = display->getId(); in onDisplayCreate() local
59 DEBUG_LOG("%s display:%" PRIu64, __FUNCTION__, displayId); in onDisplayCreate()
62 mDisplayInfos.emplace(displayId, DisplayInfo{}); in onDisplayCreate()
68 const auto displayId = display->getId(); in onDisplayDestroy() local
69 DEBUG_LOG("%s display:%" PRIu64, __FUNCTION__, displayId); in onDisplayDestroy()
71 auto it = mDisplayInfos.find(displayId); in onDisplayDestroy()
73 ALOGE("%s: display:%" PRIu64 " missing display buffers?", __FUNCTION__, displayId); in onDisplayDestroy()
83 const auto displayId = display->getId(); in onDisplayClientTargetSet() local
84 DEBUG_LOG("%s display:%" PRIu64, __FUNCTION__, displayId); in onDisplayClientTargetSet()
86 auto it = mDisplayInfos.find(displayId); in onDisplayClientTargetSet()
[all …]
DHostFrameComposer.cpp120 uint32_t displayId; member
200 int64_t displayId = display->getId(); in createHostComposerDisplayInfo() local
207 ALOGE("%s: display:%" PRIu64 " has no active config", __FUNCTION__, displayId); in createHostComposerDisplayInfo()
213 ALOGE("%s: display:%" PRIu64 " failed to get width", __FUNCTION__, displayId); in createHostComposerDisplayInfo()
219 ALOGE("%s: display:%" PRIu64 " failed to get height", __FUNCTION__, displayId); in createHostComposerDisplayInfo()
223 HostComposerDisplayInfo& displayInfo = mDisplayInfos[displayId]; in createHostComposerDisplayInfo()
231 ALOGE("%s: display:%" PRIu64 " failed to allocate swapchain", __FUNCTION__, displayId); in createHostComposerDisplayInfo()
240 const uint32_t displayId = static_cast<uint32_t>(display->getId()); in onDisplayCreate() local
248 ALOGE("%s: display:%" PRIu32 " has no active config", __FUNCTION__, displayId); in onDisplayCreate()
254 ALOGE("%s: display:%" PRIu32 " failed to get width", __FUNCTION__, displayId); in onDisplayCreate()
[all …]
DGuestFrameComposer.cpp453 const uint32_t displayId = static_cast<uint32_t>(display->getId()); in onDisplayCreate() local
460 ALOGE("%s: display:%" PRIu32 " has no active config", __FUNCTION__, displayId); in onDisplayCreate()
466 ALOGE("%s: display:%" PRIu32 " failed to get width", __FUNCTION__, displayId); in onDisplayCreate()
472 ALOGE("%s: display:%" PRIu32 " failed to get height", __FUNCTION__, displayId); in onDisplayCreate()
476 auto it = mDisplayInfos.find(displayId); in onDisplayCreate()
478 ALOGE("%s: display:%" PRIu32 " already created?", __FUNCTION__, displayId); in onDisplayCreate()
481 DisplayInfo& displayInfo = mDisplayInfos[displayId]; in onDisplayCreate()
490 if (displayId == 0) { in onDisplayCreate()
493 mDrmClient.flushToDisplay(displayId, compositionResult->getDrmBuffer(), -1); in onDisplayCreate()
505 std::optional<std::vector<uint8_t>> edid = mDrmClient.getEdid(displayId); in onDisplayCreate()
[all …]
DComposerResources.h64 HWC3::Error addVirtualDisplay(int64_t displayId, uint32_t outputBufferCacheSize);
68 HWC3::Error setDisplayClientTargetCacheSize(int64_t displayId, uint32_t clientTargetCacheSize);
70 HWC3::Error getDisplayClientTargetCacheSize(int64_t displayId, size_t* outCacheSize);
72 HWC3::Error getDisplayOutputBufferCacheSize(int64_t displayId, size_t* outCacheSize);
74 HWC3::Error addLayer(int64_t displayId, int64_t layerId, uint32_t bufferCacheSize);
76 HWC3::Error removeLayer(int64_t displayId, int64_t layer);
78 void setDisplayMustValidateState(int64_t displayId, bool mustValidate);
80 bool mustValidateDisplay(int64_t displayId);
83 int64_t displayId, const aidl::android::hardware::common::NativeHandle& handle,
86 HWC3::Error getDisplayClientTarget(int64_t displayId, const Buffer& buffer,
[all …]
DDrmClient.cpp345 uint32_t displayId, const std::shared_ptr<DrmBuffer>& buffer, in flushToDisplay() argument
355 return mDisplays[displayId]->flush(mFd, inSyncFd, buffer); in flushToDisplay()
358 std::optional<std::vector<uint8_t>> DrmClient::getEdid(uint32_t displayId) { in getEdid() argument
361 if (displayId >= mDisplays.size()) { in getEdid()
362 DEBUG_LOG("%s: invalid display:%" PRIu32, __FUNCTION__, displayId); in getEdid()
366 return mDisplays[displayId]->getEdid(); in getEdid()
DDisplayFinder.cpp53 display.displayId = 0; in findGoldfishPrimaryDisplay()
135 display.displayId = secondaryDisplayId; in findGoldfishSecondaryDisplays()
173 .displayId = 0, in findNoOpDisplays()
200 .displayId = drmDisplayConfig.id, in findDrmDisplays()
DDisplayChanges.h32 void addLayerCompositionChange(int64_t displayId, int64_t layerId, in addLayerCompositionChange()
36 compositionChanges->display = displayId; in addLayerCompositionChange()
DDrmClient.h83 uint32_t displayId, const std::shared_ptr<DrmBuffer>& buffer,
86 std::optional<std::vector<uint8_t>> getEdid(uint32_t displayId);
DVsyncThread.cpp43 VsyncThread::VsyncThread(int64_t displayId) : mDisplayId(displayId) { in VsyncThread() argument
DDisplayFinder.h30 int64_t displayId; member
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java269 int displayId = getIntArg(writer, args, 1); in runCmdAdd() local
275 addVirtualDisplay(displayId, width, height, dpi, flags); in runCmdAdd()
277 writer.printf("Display %d added \n", displayId); in runCmdAdd()
283 int displayId = getIntArg(writer, args, 1); in runCmdDel() local
285 deleteVirtualDisplay(displayId); in runCmdDel()
287 writer.printf("Display %d deleted\n", displayId); in runCmdDel()
311 private void deleteVirtualDisplay(int displayId) { in deleteVirtualDisplay() argument
312 Log.d(TAG, "deleteVirtualDisplay(" + displayId + ")"); in deleteVirtualDisplay()
313 if (!mMultiDisplay[displayId].enabled) { in deleteVirtualDisplay()
316 if (mMultiDisplay[displayId].virtualDisplay != null) { in deleteVirtualDisplay()
[all …]
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dapp.js680 let displayId = deviceDisplayVideo.id;
681 if (displayId == null || !displayId.startsWith(DISPLAY_PREFIX)) {
682 console.error('Unexpected device display video id', displayId);
685 displayId = displayId.slice(DISPLAY_PREFIX.length);
693 let text = `Display ${displayId} `;
705 displayId, streamWidth, streamHeight);
1012 #updateDisplayVisibility(displayId, powerMode) { argument
1013 const displayVideo = document.getElementById('display_' + displayId);
1015 console.error('Unknown display id: ' + displayId);
1021 console.error('Unknown display id: ' + displayId);
[all …]
/device/google/cuttlefish/tests/graphics/src/com/android/cuttlefish/tests/
DCuttlefishDisplayHotplugTest.java327 for (Integer displayId : displayIds) { in removeDisplays()
328 removeDisplaysCommand.add("--display=" + displayId.toString()); in removeDisplays()
340 public void removeDisplay(int displayId) throws FileNotFoundException { in removeDisplay() argument
341 removeDisplays(List.of(displayId)); in removeDisplay()
/device/google/sunfish/powerstats/
Dservice.cpp125 uint32_t displayId = service->addPowerEntity("Display", PowerEntityType::SUBSYSTEM); in main() local
126 auto displaySdp = sp<DisplayStateResidencyDataProvider>::make(displayId, in main()
/device/google/redbull/powerstats/
Dservice.cpp133 uint32_t displayId = service->addPowerEntity("Display", PowerEntityType::SUBSYSTEM); in main() local
135 sp<DisplayStateResidencyDataProvider>::make(displayId, in main()
/device/google/cuttlefish/shared/config/input/
DCrosvm_Virtio_Multitouch_Touchscreen_1.idc6 touch.displayId = local:4619827353912518657
DCrosvm_Virtio_Multitouch_Touchscreen_2.idc6 touch.displayId = local:4619827353912518658
DCrosvm_Virtio_Multitouch_Touchscreen_0.idc6 touch.displayId = local:4619827353912518656
DCrosvm_Virtio_Multitouch_Touchscreen_3.idc6 touch.displayId = local:4619827353912518659
/device/generic/goldfish/input-mt/
Dvirtio_input_multi_touch_3.idc12 touch.displayId = local:8140940453066754
Dvirtio_input_multi_touch_5.idc12 touch.displayId = local:4
Dvirtio_input_multi_touch_2.idc12 touch.displayId = local:8140900251843329

12