/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | LocalColorRepository.java | 54 SparseArray<ArraySet<RectF>> displays = mLocalColorAreas.get(binder); in addAreas() local 56 if (displays == null) { in addAreas() 63 displays = new SparseArray<>(); in addAreas() 64 mLocalColorAreas.put(binder, displays); in addAreas() 66 displayAreas = displays.get(displayId); in addAreas() 70 displays.put(displayId, displayAreas); in addAreas() 89 SparseArray<ArraySet<RectF>> displays = mLocalColorAreas.get(binder); in removeAreas() local 91 if (displays != null) { in removeAreas() 92 registeredAreas = displays.get(displayId); in removeAreas() 100 displays.remove(displayId); in removeAreas() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | ActiveDisplayRotationFlagsTest.cpp | 55 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F() 56 mFlinger.mutableCurrentState().displays.editValueFor(displayToken).orientation = in TEST_F() 65 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F() 66 mFlinger.mutableCurrentState().displays.editValueFor(displayToken).orientation = in TEST_F() 75 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F() 76 mFlinger.mutableCurrentState().displays.editValueFor(displayToken).orientation = in TEST_F() 80 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F() 81 mFlinger.mutableCurrentState().displays.editValueFor(displayToken).orientation = in TEST_F() 91 mFlinger.mutableDrawingState().displays.editValueFor(displayToken).orientation = ui::ROTATION_0; in TEST_F() 92 mFlinger.mutableCurrentState().displays.editValueFor(displayToken).orientation = in TEST_F() [all …]
|
D | TransactionProtoParserTest.cpp | 59 t1.displays.reserve(displayCount); in TEST() 69 t1.displays.add(display); in TEST() 102 ASSERT_EQ(t1.displays.size(), t2.displays.size()); in TEST() 103 ASSERT_EQ(t1.displays[1].width, t2.displays[1].width); in TEST() 104 ASSERT_EQ(t1.displays[0].token, t2.displays[0].token); in TEST()
|
D | DisplayTransactionTest.cpp | 139 return mFlinger.displays().contains(displayToken); in hasDisplayDevice() 144 return *mFlinger.displays().get(displayToken)->get(); in getDisplayDevice() 148 return mFlinger.currentState().displays.indexOfKey(displayToken) >= 0; in hasCurrentDisplayState() 153 return mFlinger.currentState().displays.valueFor(displayToken); in getCurrentDisplayState() 157 return mFlinger.drawingState().displays.indexOfKey(displayToken) >= 0; in hasDrawingDisplayState() 162 return mFlinger.drawingState().displays.valueFor(displayToken); in getDrawingDisplayState()
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.cpp | 46 ADisplay** displays; in updateDisplayInfo() local 47 int size = ADisplay_acquirePhysicalDisplays(&displays); in updateDisplayInfo() 57 if (ADisplay_getDisplayType(displays[i]) == DISPLAY_TYPE_INTERNAL) { in updateDisplayInfo() 62 ADisplay_getPreferredWideColorFormat(displays[i], &dataspace, &pixelFormat); in updateDisplayInfo() 71 ADisplay_release(displays); in updateDisplayInfo()
|
/frameworks/base/core/java/android/hardware/display/ |
D | WifiDisplayStatus.java | 84 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt()); 85 for (int i = 0; i < displays.length; i++) { 86 displays[i] = WifiDisplay.CREATOR.createFromParcel(in); 93 activeDisplay, displays, sessionInfo); 107 WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) { in WifiDisplayStatus() argument 108 if (displays == null) { in WifiDisplayStatus() 116 mDisplays = displays; in WifiDisplayStatus()
|
/frameworks/base/media/java/android/media/ |
D | RemoteDisplayState.java | 46 public final ArrayList<RemoteDisplayInfo> displays; field in RemoteDisplayState 50 displays = new ArrayList<RemoteDisplayInfo>(); in RemoteDisplayState() 54 displays = src.createTypedArrayList(RemoteDisplayInfo.CREATOR); in RemoteDisplayState() 58 if (displays == null) { in isValid() 61 final int count = displays.size(); in isValid() 63 if (!displays.get(i).isValid()) { in isValid() 77 dest.writeTypedList(displays); in writeToParcel()
|
/frameworks/base/core/java/com/android/internal/display/ |
D | RefreshRateSettingsUtils.java | 70 final Display[] displays = dm.getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED); in findHighestRefreshRateAmongAllDisplays() local 71 if (displays.length == 0) { in findHighestRefreshRateAmongAllDisplays() 77 for (Display display : displays) { in findHighestRefreshRateAmongAllDisplays()
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 65 const Vector<DisplayState>& displays, uint32_t flags, const sp<IBinder>& applyToken, in setTransactionState() argument 80 SAFE_PARCEL(data.writeUint32, static_cast<uint32_t>(displays.size())); in setTransactionState() 81 for (const auto& d : displays) { in setTransactionState() 150 Vector<DisplayState> displays; in onTransact() local 151 displays.setCapacity(count); in onTransact() 154 displays.add(d); in onTransact() 200 return setTransactionState(frameTimelineInfo, state, displays, stateFlags, applyToken, in onTransact()
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/interface/ |
D | CompositionCoverage.h | 41 inline CompositionCoverageFlags multiDisplayUnion(const CompositionCoveragePerDisplay& displays) { in multiDisplayUnion() argument 43 for (const auto& [id, flags] : displays) { in multiDisplayUnion()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/domain/interactor/ |
D | ConnectedDisplayInteractor.kt | 96 displayRepository.displays 97 .map { displays -> in displays() method 98 val externalDisplays = displays.filter { isExternalDisplay(it) } in displays() 103 displays.filter { isVirtualDeviceOwnedMirrorDisplay(it) } in displays()
|
/frameworks/base/libs/hostgraphics/ |
D | ADisplay.cpp | 110 void ADisplay_release(ADisplay** displays) { in ADisplay_release() argument 111 if (displays == nullptr) { in ADisplay_release() 114 free(displays); in ADisplay_release()
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouteInfoTest.java | 171 private void setPresentationDisplays(Display ...displays) { in setPresentationDisplays() argument 172 mDisplays = new Display[displays.length]; in setPresentationDisplays() 173 System.arraycopy(displays, 0, mDisplays, 0, displays.length); in setPresentationDisplays()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotExecutor.kt | 85 private val displays = displayRepository.displays in handleScreenshot() constant 100 val displays = getDisplaysToScreenshot(screenshotRequest.type) in handleScreenshot() constant 102 displays.forEach { display -> in handleScreenshot() 175 val allDisplays = displays.first() in handleScreenshot()
|
/frameworks/native/services/surfaceflinger/Display/ |
D | PhysicalDisplay.h | 72 constexpr auto getPhysicalDisplay(const PhysicalDisplays& displays) { in getPhysicalDisplay() argument 73 return [&](PhysicalDisplayId id) { return displays.get(id); }; in getPhysicalDisplay()
|
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rotation/ |
D | RotationTransition.kt | 68 this.entry.displays.map { display -> in <lambda>() 79 this.entry.displays.map { display -> in <lambda>() 94 dump.layerState.displays.filterNot { it.isOff }.minByOrNull { it.id } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/ |
D | DisplayRepositoryTest.kt | 464 val flowValue = collectLastValue(displayRepository.displays) in <lambda>() 536 private fun setDisplays(displays: List<Display>) { in <lambda>() 537 whenever(displayManager.displays).thenReturn(displays.toTypedArray()) in <lambda>() 538 displays.forEach { display -> in <lambda>() 544 val displays = ids.map { display(type = TYPE_EXTERNAL, id = it) }.toTypedArray() in <lambda>() constant 550 .thenReturn(displays) in <lambda>() 551 displays.forEach { display -> in <lambda>()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ActivityManagerServiceInjectorTest.java | 156 private void mockGetDisplays(Display... displays) { in mockGetDisplays() argument 157 Log.d(TAG, "mockGetDisplays(): " + Arrays.toString(displays)); in mockGetDisplays() 158 when(mDisplayManager.getDisplays()).thenReturn(displays); in mockGetDisplays()
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionState.h | 64 displays(displayStates), in TransactionState() 108 if (!displays.empty()) return true; in isFrameActive() 136 Vector<DisplayState> displays; member
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/ |
D | DisplayRepository.kt | 65 val displays: Flow<Set<Display>> in <lambda>() constant 190 override val displays: Flow<Set<Display>> = enabledDisplays constant 193 traceSection("$TAG#getDisplays()") { displayManager.displays?.toSet() ?: emptySet() } in getDisplays() 338 displays 339 .map { displays -> displays.firstOrNull { it.displayId == Display.DEFAULT_DISPLAY } } in <lambda>() method
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | CommonAssertions.kt | 102 entry.entry.displays in LegacyFlickerTest() 111 this.entry.displays in LegacyFlickerTest() 116 this.entry.displays in LegacyFlickerTest() 186 sfState.entry.displays.filterNot { it.isOff }.minByOrNull { it.id } in assertNavBarPosition()
|
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/display/ |
D | DisplayUtils.kt | 43 val displays = displayManager.getDisplays(DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED) in getDisplayIdsAndSizes() constant 44 val displaySizes = displays.map { in getDisplayIdsAndSizes()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerShellCommand.java | 240 Display[] displays = dm.getDisplays(category); in getDisplays() local 243 displays = Arrays.stream(displays).filter(d -> displayTypeList.contains(d.getType())) in getDisplays() 250 for (int i = 0; i < displays.length; i++) { in getDisplays() 251 out.println((showIdsOnly ? displays[i].getDisplayId() : displays[i])); in getDisplays()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | PointerIconCache.java | 103 final Display[] displays = displayManager.getDisplays(); in systemRunning() local 104 for (int i = 0; i < displays.length; i++) { in systemRunning() 105 mDisplayListener.onDisplayAdded(displays[i].getDisplayId()); in systemRunning()
|
/frameworks/native/libs/nativedisplay/ |
D | ADisplay.cpp | 216 void ADisplay_release(ADisplay** displays) { in ADisplay_release() argument 217 if (displays == nullptr) { in ADisplay_release() 220 free(displays); in ADisplay_release()
|