Home
last modified time | relevance | path

Searched refs:displayPort (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPowerHalServiceUnitTest.java313 int displayId, displayPort; in testPerDisplayBrightnessChange_perDisplayMaxNotSupported() local
314 displayPort = displayId = 11; in testPerDisplayBrightnessChange_perDisplayMaxNotSupported()
315 Display display = createMockDisplay(displayId, displayPort); in testPerDisplayBrightnessChange_perDisplayMaxNotSupported()
321 new int[]{displayPort, expectedBrightness}); in testPerDisplayBrightnessChange_perDisplayMaxNotSupported()
325 .that(mEventListener.getDisplayBrightness(displayPort)) in testPerDisplayBrightnessChange_perDisplayMaxNotSupported()
338 int displayId, displayPort; in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported() local
339 displayPort = displayId = 5; in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported()
340 Display display = createMockDisplay(displayId, displayPort); in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported()
349 new int[]{displayPort, brightness}); in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported()
353 .that(mEventListener.getDisplayBrightness(displayPort)) in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported()
[all …]
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
DClusterOsDoubleApplication.java45 int displayPort = context.getResources().getInteger(R.integer.config_clusterDisplayPort); in onCreate() local
49 if (displayPort <= 0 && TextUtils.isEmpty(displayUniqueId)) { in onCreate()
56 displayManager, displayPort, displayUniqueId); in onCreate()
92 int displayPort, String displayUniqueId) { in ClusterDisplayMonitor() argument
95 mDisplayPort = displayPort; in ClusterDisplayMonitor()
148 private int findDisplayByPort(int displayPort) { in findDisplayByPort() argument
155 if (physical.getPort() == displayPort) { in findDisplayByPort()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java491 int displayPort = getDisplayPort(displayId); in sendDisplayBrightness() local
492 if (displayPort == DisplayHelper.INVALID_PORT) { in sendDisplayBrightness()
498 new int[]{displayPort, brightnessToSet}); in sendDisplayBrightness()
501 brightnessToSet, displayPort); in sendDisplayBrightness()
504 displayPort); in sendDisplayBrightness()
728 int displayPort = value.getInt32Value(i); in getMaxPerDisplayBrightnessFromVhalLocked() local
733 + "invalid: %d", displayPort, maxDisplayBrightness); in getMaxPerDisplayBrightnessFromVhalLocked()
736 mMaxPerDisplayBrightness.put(displayPort, maxDisplayBrightness); in getMaxPerDisplayBrightnessFromVhalLocked()
850 int displayPort; in dispatchEvents() local
853 displayPort = v.getInt32Value(0); in dispatchEvents()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DScreenOffHandlerUnitTest.java329 int displayPort = 22; in testCanTurnOnDisplay() local
334 updateDisplayPowerModeSetting(displayId, displayPort, in testCanTurnOnDisplay()
339 updateDisplayPowerModeSetting(displayId, displayPort, in testCanTurnOnDisplay()
439 int displayPort = displayId; in createMockDisplay() local
440 return createMockDisplay(displayId, displayPort); in createMockDisplay()
443 private Display createMockDisplay(int displayId, int displayPort) { in createMockDisplay() argument
446 when(displayAddress.getPort()).thenReturn(displayPort); in createMockDisplay()
479 private void updateDisplayPowerModeSetting(int displayId, int displayPort, int displayMode) { in updateDisplayPowerModeSetting() argument
481 builder.setDisplayMode(createMockDisplay(displayId, displayPort), displayMode); in updateDisplayPowerModeSetting()
518 int displayPort = getDisplayPort(display); in build() local
[all …]
/packages/services/Car/service/src/com/android/car/power/
DScreenOffHandler.java248 int displayPort = getDisplayPort(displayId); in initializeDefaultSettings() local
249 if (displayPort == DisplayHelper.INVALID_PORT) { in initializeDefaultSettings()
255 sb.append(displayPort); in initializeDefaultSettings()
466 int displayPort = Integer.parseInt(pair[0], /* radix= */ 10); in parseModeAssignmentSettingValue() local
467 int displayId = getDisplayId(displayPort); in parseModeAssignmentSettingValue()
469 Slogf.w(TAG, "Invalid display port: %d", displayPort); in parseModeAssignmentSettingValue()
492 private int getDisplayId(int displayPort) { in getDisplayId() argument
495 if (DisplayHelper.getPhysicalPort(display) == displayPort) { in getDisplayId()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/power/
DPowerTestFragment.java205 int displayPort = getDisplayPort(Display.DEFAULT_DISPLAY); in updateDisplayModeSetting() local
206 sb.append(displayPort).append(":").append(MODE_ALWAYS_ON); in updateDisplayModeSetting()
216 displayPort = getDisplayPort(displayId); in updateDisplayModeSetting()
217 sb.append(displayPort).append(":").append(mode); in updateDisplayModeSetting()
/packages/services/Car/cpp/evs/apps/default/res/
Dconfig.json.readme23 "displayPort" : 1 // Display port number, the target display is connected to.