Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java75 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt());
76 for (int i = 0; i < displays.length; i++) {
77 displays[i] = WifiDisplay.CREATOR.createFromParcel(in);
84 activeDisplay, displays, sessionInfo);
98 WifiDisplay activeDisplay, WifiDisplay[] displays, WifiDisplaySessionInfo sessionInfo) { in WifiDisplayStatus() argument
99 if (displays == null) { in WifiDisplayStatus()
107 mDisplays = displays; in WifiDisplayStatus()
DDisplayManager.java364 private void addAllDisplaysLocked(ArrayList<Display> displays, int[] displayIds) { in addAllDisplaysLocked() argument
368 displays.add(display); in addAllDisplaysLocked()
374 ArrayList<Display> displays, int[] displayIds, int matchType) { in addPresentationDisplaysLocked() argument
380 displays.add(display); in addPresentationDisplaysLocked()
/frameworks/base/media/java/android/media/
DRemoteDisplayState.java43 public final ArrayList<RemoteDisplayInfo> displays; field in RemoteDisplayState
46 displays = new ArrayList<RemoteDisplayInfo>(); in RemoteDisplayState()
50 displays = src.createTypedArrayList(RemoteDisplayInfo.CREATOR); in RemoteDisplayState()
54 if (displays == null) { in isValid()
57 final int count = displays.size(); in isValid()
59 if (!displays.get(i).isValid()) { in isValid()
73 dest.writeTypedList(displays); in writeToParcel()
DMediaRouter.java1370 WifiDisplay[] displays; in updateWifiDisplayStatus() local
1373 displays = status.getDisplays(); in updateWifiDisplayStatus()
1382 displays = new WifiDisplay[] { activeDisplay }; in updateWifiDisplayStatus()
1384 displays = WifiDisplay.EMPTY_ARRAY; in updateWifiDisplayStatus()
1388 displays = WifiDisplay.EMPTY_ARRAY; in updateWifiDisplayStatus()
1395 for (int i = 0; i < displays.length; i++) { in updateWifiDisplayStatus()
1396 final WifiDisplay d = displays[i]; in updateWifiDisplayStatus()
1418 WifiDisplay d = findWifiDisplay(displays, route.mDeviceAddress); in updateWifiDisplayStatus()
1511 private static WifiDisplay findWifiDisplay(WifiDisplay[] displays, String deviceAddress) { in findWifiDisplay() argument
1512 for (int i = 0; i < displays.length; i++) { in findWifiDisplay()
[all …]
/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.cpp44 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays) in enable() argument
52 saveExistingDisplaysLocked(displays); in enable()
74 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays) in saveExistingDisplaysLocked() argument
78 for (size_t i = 0 ; i < displays.size() ; i++) { in saveExistingDisplaysLocked()
79 addDisplayCreationLocked(createTraceIncrementLocked(), displays[i]); in saveExistingDisplaysLocked()
80 addInitialDisplayStateLocked(createTraceIncrementLocked(), displays[i]); in saveExistingDisplaysLocked()
401 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays, in addTransactionLocked() argument
411 ssize_t dpyIdx = displays.indexOfKey(disp.token); in addTransactionLocked()
413 const DisplayDeviceState& dispState(displays.valueAt(dpyIdx)); in addTransactionLocked()
524 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays, in saveTransaction() argument
[all …]
DSurfaceFlinger.cpp408 flinger->mCurrentState.displays.removeItem(this); in createDisplay()
422 mCurrentState.displays.add(token, info); in createDisplay()
430 ssize_t idx = mCurrentState.displays.indexOfKey(display); in destroyDisplay()
436 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); in destroyDisplay()
442 mCurrentState.displays.removeItemsAt(idx); in destroyDisplay()
1408 mDrawingState.displays.clear(); in resetDisplayState()
2244 mCurrentState.displays.add(mBuiltinDisplays[displayType], info); in processDisplayHotplugEventsLocked()
2250 ssize_t idx = mCurrentState.displays.indexOfKey(mBuiltinDisplays[displayType]); in processDisplayHotplugEventsLocked()
2252 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); in processDisplayHotplugEventsLocked()
2254 mCurrentState.displays.removeItemsAt(idx); in processDisplayHotplugEventsLocked()
[all …]
DSurfaceFlinger.h377 displays = other.displays;
387 DefaultKeyedVector< wp<IBinder>, DisplayDeviceState> displays; variable
412 const Vector<DisplayState>& displays, uint32_t flags);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DRunningTasksTest.java70 final SparseArray<ActivityDisplay> displays = new SparseArray<>(); in testCollectTasksByLastActiveTime() local
72 displays.put(DEFAULT_DISPLAY, display); in testCollectTasksByLastActiveTime()
92 displays, -1 /* callingUid */, true /* allowed */); in testCollectTasksByLastActiveTime()
102 displays, -1 /* callingUid */, true /* allowed */); in testCollectTasksByLastActiveTime()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h262 return mFlinger.mutableDrawingState().displays.editValueFor(mDisplayToken); in mutableDrawingDisplayState()
266 return mFlinger.mutableCurrentState().displays.editValueFor(mDisplayToken); in mutableCurrentDisplayState()
270 return mFlinger.mutableDrawingState().displays.valueFor(mDisplayToken); in getDrawingDisplayState()
274 return mFlinger.mutableCurrentState().displays.valueFor(mDisplayToken); in getCurrentDisplayState()
309 mFlinger.mutableCurrentState().displays.add(mDisplayToken, state); in inject()
310 mFlinger.mutableDrawingState().displays.add(mDisplayToken, state); in inject()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java336 private Display findDisplay(Display[] displays, String name) { in findDisplay() argument
337 for (int i = 0; i < displays.length; i++) { in findDisplay()
338 if (displays[i].getName().equals(name)) { in findDisplay()
339 return displays[i]; in findDisplay()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java191 public WifiDisplay[] applyWifiDisplayAliases(WifiDisplay[] displays) { in applyWifiDisplayAliases() argument
192 WifiDisplay[] results = displays; in applyWifiDisplayAliases()
194 int count = displays.length; in applyWifiDisplayAliases()
196 WifiDisplay result = applyWifiDisplayAlias(displays[i]); in applyWifiDisplayAliases()
197 if (result != displays[i]) { in applyWifiDisplayAliases()
198 if (results == displays) { in applyWifiDisplayAliases()
200 System.arraycopy(displays, 0, results, 0, count); in applyWifiDisplayAliases()
DWifiDisplayAdapter.java295 List<WifiDisplay> displays = new ArrayList<WifiDisplay>( in updateDisplaysLocked() local
307 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), in updateDisplaysLocked()
313 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), in updateDisplaysLocked()
316 mDisplays = displays.toArray(WifiDisplay.EMPTY_ARRAY); in updateDisplaysLocked()
DWifiDisplayController.java469 final WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(count); in handleScanResults() local
472 displays[i] = createWifiDisplay(device); in handleScanResults()
479 mListener.onScanResults(displays); in handleScanResults()
/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.cpp934 auto displays = composer_callback_->GetDisplays(); in UpdateTargetDisplay() local
935 if (displays.external_display_was_hotplugged) { in UpdateTargetDisplay()
944 if (displays.external_display) { in UpdateTargetDisplay()
947 *displays.external_display, /*is_primary*/ false); in UpdateTargetDisplay()
1139 Displays displays; in GetDisplays() local
1140 displays.primary_display = primary_display_.id; in GetDisplays()
1142 displays.external_display = external_display_->id; in GetDisplays()
1145 displays.external_display_was_hotplugged = true; in GetDisplays()
1147 return displays; in GetDisplays()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp78 const Vector<DisplayState>& displays, in setTransactionState() argument
89 data.writeUint32(static_cast<uint32_t>(displays.size())); in setTransactionState()
90 for (const auto& d : displays) { in setTransactionState()
588 Vector<DisplayState> displays; in onTransact() local
589 displays.setCapacity(count); in onTransact()
594 displays.add(d); in onTransact()
598 setTransactionState(state, displays, stateFlags); in onTransact()
/frameworks/base/tests/RemoteDisplayProvider/
DREADME12 wireless displays or launch an activity that uses the MediaRouter,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java533 Display[] displays = dm.getDisplays(); in isScreenOn() local
535 if (displays != null) { in isScreenOn()
536 for (Display display : displays) { in isScreenOn()
/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/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph15 // A simple graph that displays the raw camera stream.
/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
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h126 const Vector<DisplayState>& displays, uint32_t flags) = 0;
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
DRemoteDisplayProvider.java318 state.displays.add(display.getInfo()); in publishState()

12