Home
last modified time | relevance | path

Searched refs:screenSize (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java80 int screenSize = getScreenSize(); in testMinimumMemory() local
85 density, supports64Bit, screenSize, watch)); in testMinimumMemory()
90 } else if (lessThanDpi(density, DENSITY_HIGH, screenSize, in testMinimumMemory()
92 lessThanDpi(density, DENSITY_MEDIUM, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
93 lessThanDpi(density, DENSITY_LOW, screenSize, SCREENLAYOUT_SIZE_XLARGE)) { in testMinimumMemory()
100 } else if (greaterThanDpi(density, DENSITY_560, screenSize, in testMinimumMemory()
102 greaterThanDpi(density, DENSITY_400, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
103 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_XLARGE)) { in testMinimumMemory()
110 } else if (greaterThanDpi(density, DENSITY_400, screenSize, in testMinimumMemory()
112 greaterThanDpi(density, DENSITY_XHIGH, screenSize, SCREENLAYOUT_SIZE_LARGE) || in testMinimumMemory()
[all …]
/cts/tests/tests/app/src/android/app/cts/
DActivityManagerMemoryClassTest.java95 public static Integer getExpectedMemorySize(int screenSize, int screenDensity) { in getExpectedMemorySize() argument
96 switch (screenSize) { in getExpectedMemorySize()
106 + " for screen layout size " + screenSize); in getExpectedMemorySize()
114 int screenSize = getScreenSize(); in testGetMemoryClass() local
115 assertMemoryForScreenDensity(memoryClass, screenDensity, screenSize); in testGetMemoryClass()
143 private void assertMemoryForScreenDensity(int memoryClass, int screenDensity, int screenSize) { in assertMemoryForScreenDensity() argument
144 int expectedMinimumMemory = ExpectedMemorySizesClass.getExpectedMemorySize(screenSize, in assertMemoryForScreenDensity()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java99 String screenSize = getScreenSize(); in onStart() local
100 addResult(SCREEN_SIZE, screenSize); in onStart()
196 String screenSize = String.format("0x%x", screenLayout); in getScreenSize() local
199 screenSize = "small"; in getScreenSize()
203 screenSize = "normal"; in getScreenSize()
207 screenSize = "large"; in getScreenSize()
211 screenSize = "xlarge"; in getScreenSize()
215 screenSize = "undefined"; in getScreenSize()
218 return screenSize; in getScreenSize()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...