/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 | TransactionProtoParserTest.cpp | 60 t1.displays.reserve(displayCount); in TEST() 70 t1.displays.add(display); in TEST() 111 ASSERT_EQ(t1.displays.size(), t2.displays.size()); in TEST() 112 ASSERT_EQ(t1.displays[1].width, t2.displays[1].width); in TEST() 113 ASSERT_EQ(t1.displays[0].token, t2.displays[0].token); in TEST()
|
D | DisplayTransactionTest.cpp | 132 return mFlinger.displays().contains(displayToken); in hasDisplayDevice() 137 return *mFlinger.displays().get(displayToken)->get(); in getDisplayDevice() 141 return mFlinger.currentState().displays.indexOfKey(displayToken) >= 0; in hasCurrentDisplayState() 146 return mFlinger.currentState().displays.valueFor(displayToken); in getCurrentDisplayState() 150 return mFlinger.drawingState().displays.indexOfKey(displayToken) >= 0; in hasDrawingDisplayState() 155 return mFlinger.drawingState().displays.valueFor(displayToken); in getDrawingDisplayState()
|
D | TestableSurfaceFlinger.h | 447 const Vector<DisplayState>& displays, uint32_t flags, const sp<IBinder>& applyToken, in setTransactionState() argument 451 return mFlinger->setTransactionState(frameTimelineInfo, states, displays, flags, applyToken, in setTransactionState() 524 const auto& displays() const { return mFlinger->mDisplays; } in displays() function 561 mutableCurrentState().displays.clear(); in ~TestableSurfaceFlinger() 562 mutableDrawingState().displays.clear(); in ~TestableSurfaceFlinger() 754 return mFlinger.mutableDrawingState().displays.editValueFor(mDisplayToken); in mutableDrawingDisplayState() 758 return mFlinger.mutableCurrentState().displays.editValueFor(mDisplayToken); in mutableCurrentDisplayState() 762 return mFlinger.mutableDrawingState().displays.valueFor(mDisplayToken); in getDrawingDisplayState() 766 return mFlinger.mutableCurrentState().displays.valueFor(mDisplayToken); in getCurrentDisplayState() 884 mFlinger.mutableCurrentState().displays.add(mDisplayToken, state); in inject() [all …]
|
D | TransactionApplicationTest.cpp | 88 Vector<DisplayState> displays; member 104 EXPECT_EQ(0u, info.displays.size()); in checkEqual() 105 EXPECT_EQ(0u, state.displays.size()); in checkEqual() 130 transaction.displays, transaction.flags, in NotPlacedOnTransactionQueue() 163 transaction.displays, transaction.flags, in PlaceOnTransactionQueue() 204 transactionA.displays, transactionA.flags, in BlockedByPriorTransaction() 219 transactionB.displays, transactionB.flags, in BlockedByPriorTransaction() 259 transactionA.displays, transactionA.flags, transactionA.applyToken, in TEST_F() 275 mFlinger.setTransactionState(empty.frameTimelineInfo, empty.states, empty.displays, empty.flags, in TEST_F() 385 transaction.displays, transaction.flags, in setTransactionStates()
|
D | SurfaceFlinger_DisplayTransactionCommitTest.cpp | 418 mFlinger.mutableCurrentState().displays.add(displayToken, state); in TEST_F() 465 mFlinger.mutableCurrentState().displays.removeItem(displayToken); in TEST_F() 466 mFlinger.mutableDrawingState().displays.removeItem(displayToken); in TEST_F() 487 mFlinger.mutableCurrentState().displays.add(displayToken, state); in TEST_F() 522 mFlinger.mutableCurrentState().displays.removeItem(existing.token()); in TEST_F()
|
/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()
|
D | MediaRouter.java | 1475 WifiDisplay[] displays; in updateWifiDisplayStatus() local 1478 displays = status.getDisplays(); in updateWifiDisplayStatus() 1487 displays = new WifiDisplay[] { activeDisplay }; in updateWifiDisplayStatus() 1489 displays = WifiDisplay.EMPTY_ARRAY; in updateWifiDisplayStatus() 1493 displays = WifiDisplay.EMPTY_ARRAY; in updateWifiDisplayStatus() 1500 for (int i = 0; i < displays.length; i++) { in updateWifiDisplayStatus() 1501 final WifiDisplay d = displays[i]; in updateWifiDisplayStatus() 1523 WifiDisplay d = findWifiDisplay(displays, route.mDeviceAddress); in updateWifiDisplayStatus() 1616 private static WifiDisplay findWifiDisplay(WifiDisplay[] displays, String deviceAddress) { in findWifiDisplay() argument 1617 for (int i = 0; i < displays.length; i++) { in findWifiDisplay() [all …]
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | CommonAssertions.kt | 63 entry.entry.displays.forEach { display -> in FlickerTestParameter() 70 this.entry.displays.forEach { display -> in FlickerTestParameter() 75 this.entry.displays.forEach { display -> in FlickerTestParameter() 114 val display = this.entry.displays.minByOrNull { it.id } in FlickerTestParameter() 127 val display = this.entry.displays.minByOrNull { it.id } in FlickerTestParameter() 149 val display = this.entry.displays.minByOrNull { it.id } in FlickerTestParameter() 162 val display = this.entry.displays.minByOrNull { it.id } in FlickerTestParameter()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeDisplayTracker.kt | 27 override var allDisplays: Array<Display> = displayManager.displays 50 fun setDisplays(displays: Array<Display>) { in setDisplays() 51 allDisplays = displays in setDisplays()
|
/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/native/services/surfaceflinger/ |
D | SurfaceInterceptor.h | 59 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays) = 0; 70 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays, 100 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays) override; 109 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays, 130 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays); 172 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays,
|
D | TransactionState.h | 44 displays(displayStates), in TransactionState() 73 if (!displays.empty()) return true; in isFrameActive() 86 Vector<DisplayState> displays; member
|
D | SurfaceInterceptor.cpp | 62 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays) in enable() argument 76 saveExistingDisplaysLocked(displays); in enable() 104 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays) in saveExistingDisplaysLocked() argument 108 for (size_t i = 0 ; i < displays.size() ; i++) { in saveExistingDisplaysLocked() 109 addDisplayCreationLocked(createTraceIncrementLocked(), displays[i]); in saveExistingDisplaysLocked() 110 addInitialDisplayStateLocked(createTraceIncrementLocked(), displays[i]); in saveExistingDisplaysLocked() 498 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays, in addTransactionLocked() argument 510 ssize_t dpyIdx = displays.indexOfKey(disp.token); in addTransactionLocked() 512 const DisplayDeviceState& dispState(displays.valueAt(dpyIdx)); in addTransactionLocked() 632 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays, in saveTransaction() argument [all …]
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/ |
D | RotationTransition.kt | 138 this.entry.displays.map { display -> in <lambda>() 151 this.entry.displays.map { display -> in <lambda>()
|
/frameworks/native/libs/nativedisplay/ |
D | ADisplay.cpp | 225 void ADisplay_release(ADisplay** displays) { in ADisplay_release() argument 226 if (displays == nullptr) { in ADisplay_release() 229 free(displays); in ADisplay_release()
|
/frameworks/native/libs/nativedisplay/include/apex/ |
D | display.h | 69 void ADisplay_release(ADisplay** displays);
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerShellCommand.java | 152 Display[] displays = dm.getDisplays(category); in getDisplays() local 155 for (int i = 0; i < displays.length; i++) { in getDisplays() 156 out.println(" " + displays[i]); in getDisplays()
|
D | PersistentDataStore.java | 218 public WifiDisplay[] applyWifiDisplayAliases(WifiDisplay[] displays) { in applyWifiDisplayAliases() argument 219 WifiDisplay[] results = displays; in applyWifiDisplayAliases() 221 int count = displays.length; in applyWifiDisplayAliases() 223 WifiDisplay result = applyWifiDisplayAlias(displays[i]); in applyWifiDisplayAliases() 224 if (result != displays[i]) { in applyWifiDisplayAliases() 225 if (results == displays) { in applyWifiDisplayAliases() 227 System.arraycopy(displays, 0, results, 0, count); in applyWifiDisplayAliases()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 355 private Display findDisplay(Display[] displays, String name) { in findDisplay() argument 356 for (int i = 0; i < displays.length; i++) { in findDisplay() 357 if (displays[i].getName().equals(name)) { in findDisplay() 358 return displays[i]; in findDisplay()
|
/frameworks/base/tests/AccessoryDisplay/ |
D | README | 2 displays created over an Android Open Accessories Protocol link. 20 displays it in a SurfaceView. The sink also injects passes touch
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityManagerServiceTest.java | 167 final ArrayList<Display> displays = new ArrayList<>(); in setUp() local 173 displays.add(defaultDisplay); in setUp() 174 displays.add(testDisplay); in setUp() 175 when(mMockA11yDisplayListener.getValidDisplayList()).thenReturn(displays); in setUp()
|
/frameworks/base/tests/RemoteDisplayProvider/ |
D | README | 12 wireless displays or launch an activity that uses the MediaRouter,
|