Home
last modified time | relevance | path

Searched refs:displays (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java83 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt());
84 for (int i = 0; i < displays.length; i++) {
85 displays[i] = WifiDisplay.CREATOR.createFromParcel(in);
92 activeDisplay, displays, sessionInfo);
106 WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) { in WifiDisplayStatus() argument
107 if (displays == null) { in WifiDisplayStatus()
115 mDisplays = displays; in WifiDisplayStatus()
DDisplayManager.java377 private void addAllDisplaysLocked(ArrayList<Display> displays, int[] displayIds) { in addAllDisplaysLocked() argument
381 displays.add(display); in addAllDisplaysLocked()
387 ArrayList<Display> displays, int[] displayIds, int matchType) { in addPresentationDisplaysLocked() argument
393 displays.add(display); in addPresentationDisplaysLocked()
/frameworks/base/media/java/android/media/
DRemoteDisplayState.java45 public final ArrayList<RemoteDisplayInfo> displays; field in RemoteDisplayState
49 displays = new ArrayList<RemoteDisplayInfo>(); in RemoteDisplayState()
53 displays = src.createTypedArrayList(RemoteDisplayInfo.CREATOR); in RemoteDisplayState()
57 if (displays == null) { in isValid()
60 final int count = displays.size(); in isValid()
62 if (!displays.get(i).isValid()) { in isValid()
76 dest.writeTypedList(displays); in writeToParcel()
DMediaRouter.java1428 WifiDisplay[] displays; in updateWifiDisplayStatus() local
1431 displays = status.getDisplays(); in updateWifiDisplayStatus()
1440 displays = new WifiDisplay[] { activeDisplay }; in updateWifiDisplayStatus()
1442 displays = WifiDisplay.EMPTY_ARRAY; in updateWifiDisplayStatus()
1446 displays = WifiDisplay.EMPTY_ARRAY; in updateWifiDisplayStatus()
1453 for (int i = 0; i < displays.length; i++) { in updateWifiDisplayStatus()
1454 final WifiDisplay d = displays[i]; in updateWifiDisplayStatus()
1476 WifiDisplay d = findWifiDisplay(displays, route.mDeviceAddress); in updateWifiDisplayStatus()
1569 private static WifiDisplay findWifiDisplay(WifiDisplay[] displays, String deviceAddress) { in findWifiDisplay() argument
1570 for (int i = 0; i < displays.length; i++) { in findWifiDisplay()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRunningTasksTest.java58 final ArrayList<ActivityDisplay> displays = new ArrayList<>(); in testCollectTasksByLastActiveTime() local
60 displays.add(display); in testCollectTasksByLastActiveTime()
80 displays, -1 /* callingUid */, true /* allowed */); in testCollectTasksByLastActiveTime()
90 displays, -1 /* callingUid */, true /* allowed */); in testCollectTasksByLastActiveTime()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.h51 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays) = 0;
58 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays,
87 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays) override;
93 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays,
113 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays);
154 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays,
DSurfaceInterceptor.cpp45 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays) in enable() argument
53 saveExistingDisplaysLocked(displays); in enable()
75 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays) in saveExistingDisplaysLocked() argument
79 for (size_t i = 0 ; i < displays.size() ; i++) { in saveExistingDisplaysLocked()
80 addDisplayCreationLocked(createTraceIncrementLocked(), displays[i]); in saveExistingDisplaysLocked()
81 addInitialDisplayStateLocked(createTraceIncrementLocked(), displays[i]); in saveExistingDisplaysLocked()
405 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays, in addTransactionLocked() argument
415 ssize_t dpyIdx = displays.indexOfKey(disp.token); in addTransactionLocked()
417 const DisplayDeviceState& dispState(displays.valueAt(dpyIdx)); in addTransactionLocked()
530 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays, in saveTransaction() argument
[all …]
DSurfaceFlinger.h357 displays = other.displays;
367 DefaultKeyedVector< wp<IBinder>, DisplayDeviceState> displays; variable
392 const Vector<DisplayState>& displays, uint32_t flags,
554 const Vector<DisplayState>& displays, uint32_t flags,
1054 displays(displayStates), in TransactionState()
1063 Vector<DisplayState> displays; member
DSurfaceFlinger.cpp440 flinger->mCurrentState.displays.removeItem(this); in createDisplay()
456 mCurrentState.displays.add(token, state); in createDisplay()
464 ssize_t index = mCurrentState.displays.indexOfKey(displayToken); in destroyDisplay()
470 const DisplayDeviceState& state = mCurrentState.displays.valueAt(index); in destroyDisplay()
476 mCurrentState.displays.removeItemsAt(index); in destroyDisplay()
1539 mDrawingState.displays.clear(); in resetDisplayState()
2538 mCurrentState.displays.add(mPhysicalDisplayTokens[info->id], state); in processDisplayHotplugEventsLocked()
2544 ssize_t index = mCurrentState.displays.indexOfKey(mPhysicalDisplayTokens[info->id]); in processDisplayHotplugEventsLocked()
2546 const DisplayDeviceState& state = mCurrentState.displays.valueAt(index); in processDisplayHotplugEventsLocked()
2548 mCurrentState.displays.removeItemsAt(index); in processDisplayHotplugEventsLocked()
[all …]
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DWindowManagerTrace.java146 .displays[DEFAULT_DISPLAY].stacks; in getTopVisibleAppWindow()
168 .displays[DEFAULT_DISPLAY].aboveAppWindows; in isAboveAppWindowVisible()
179 .displays[DEFAULT_DISPLAY].belowAppWindows; in isBelowAppWindowVisible()
191 .displays[DEFAULT_DISPLAY].imeWindows; in isImeWindowVisible()
214 .displays[DEFAULT_DISPLAY].stacks; in isAppWindowVisible()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h352 mutableCurrentState().displays.clear(); in ~TestableSurfaceFlinger()
353 mutableDrawingState().displays.clear(); in ~TestableSurfaceFlinger()
501 return mFlinger.mutableDrawingState().displays.editValueFor(mDisplayToken); in mutableDrawingDisplayState()
505 return mFlinger.mutableCurrentState().displays.editValueFor(mDisplayToken); in mutableCurrentDisplayState()
509 return mFlinger.mutableDrawingState().displays.valueFor(mDisplayToken); in getDrawingDisplayState()
513 return mFlinger.mutableCurrentState().displays.valueFor(mDisplayToken); in getCurrentDisplayState()
557 mFlinger.mutableCurrentState().displays.add(mDisplayToken, state); in inject()
558 mFlinger.mutableDrawingState().displays.add(mDisplayToken, state); in inject()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java183 public WifiDisplay[] applyWifiDisplayAliases(WifiDisplay[] displays) { in applyWifiDisplayAliases() argument
184 WifiDisplay[] results = displays; in applyWifiDisplayAliases()
186 int count = displays.length; in applyWifiDisplayAliases()
188 WifiDisplay result = applyWifiDisplayAlias(displays[i]); in applyWifiDisplayAliases()
189 if (result != displays[i]) { in applyWifiDisplayAliases()
190 if (results == displays) { in applyWifiDisplayAliases()
192 System.arraycopy(displays, 0, results, 0, count); in applyWifiDisplayAliases()
DWifiDisplayAdapter.java296 List<WifiDisplay> displays = new ArrayList<WifiDisplay>( in updateDisplaysLocked() local
308 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), in updateDisplaysLocked()
314 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), in updateDisplaysLocked()
317 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); in updateDisplaysLocked()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java335 private Display findDisplay(Display[] displays, String name) { in findDisplay() argument
336 for (int i = 0; i < displays.length; i++) { in findDisplay()
337 if (displays[i].getName().equals(name)) { in findDisplay()
338 return displays[i]; in findDisplay()
/frameworks/base/tests/AccessoryDisplay/
DREADME2 displays created over an Android Open Accessories Protocol link.
20 displays it in a SurfaceView. The sink also injects passes touch
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp953 auto displays = composer_callback_->GetDisplays(); in UpdateTargetDisplay() local
954 if (displays.external_display_was_hotplugged) { in UpdateTargetDisplay()
963 if (displays.external_display) { in UpdateTargetDisplay()
966 *displays.external_display, /*is_primary*/ false); in UpdateTargetDisplay()
1205 Displays displays; in GetDisplays() local
1206 displays.primary_display = primary_display_.id; in GetDisplays()
1208 displays.external_display = external_display_->id; in GetDisplays()
1211 displays.external_display_was_hotplugged = true; in GetDisplays()
1213 return displays; in GetDisplays()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNavigationBarController.java99 Display[] displays = mDisplayManager.getDisplays(); in createNavigationBars() local
100 for (Display display : displays) { in createNavigationBars()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNavigationBarControllerTest.java119 Display[] displays = {mDisplay}; in initializeDisplayManager() local
120 when(displayManager.getDisplays()).thenReturn(displays); in initializeDisplayManager()
/frameworks/base/tests/RemoteDisplayProvider/
DREADME12 wireless displays or launch an activity that uses the MediaRouter,
/frameworks/base/samples/training/network-usage/
DREADME.txt8 -- Parses the XML feed, combines feed elements with HTML markup, and displays the resulting HTML in…
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java647 Display[] displays = dm.getDisplays(); in isScreenOn() local
649 if (displays != null) { in isScreenOn()
650 for (Display display : displays) { in isScreenOn()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph15 // A simple graph that displays the raw camera stream.
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardDisplayManager.java201 final Display[] displays = mDisplayService.getDisplays(); in updateDisplays() local
202 for (Display display : displays) { in updateDisplays()
/frameworks/base/tools/orientationplot/
DREADME.txt35 The tool displays several time series graphs that plot the output of the
70 3. Accelerometer jitter. The accelerometer latency graph displays the interval
/frameworks/native/cmds/surfacereplayer/replayer/
DREADME.md9 * Creation and deletion of surfaces/displays
10 * Alterations to the surfaces/displays called Transactions
57 - -h displays help menu
73 - h - displays help menu

12