Home
last modified time | relevance | path

Searched refs:appSupportedModes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/mode/
DSyntheticModeManager.java53 List<Display.Mode> appSupportedModes = new ArrayList<>(); in createAppSupportedModes() local
61 appSupportedModes.add(mode); in createAppSupportedModes()
82 appSupportedModes.add( in createAppSupportedModes()
86 Display.Mode[] appSupportedModesArr = new Display.Mode[appSupportedModes.size()]; in createAppSupportedModes()
87 return appSupportedModes.toArray(appSupportedModesArr); in createAppSupportedModes()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayTest.java582 Display.Mode[] appSupportedModes = new Display.Mode[] {new Display.Mode(OTHER_MODE_ID, in testGetsAppSupportedModesFromSyntheticModeManager() local
585 any(), eq(mDisplayDeviceInfo.supportedModes))).thenReturn(appSupportedModes); in testGetsAppSupportedModesFromSyntheticModeManager()
589 assertArrayEquals(appSupportedModes, info.appsSupportedModes); in testGetsAppSupportedModesFromSyntheticModeManager()