Home
last modified time | relevance | path

Searched refs:r (Results 1 – 5 of 5) sorted by relevance

/platform_testing/tests/functional/otatests/src/com/android/functional/otatests/
DVersionInfo.java33 BufferedReader r = new BufferedReader( in parseFromFile() local
37 denull(r.readLine()), in parseFromFile()
38 denull(r.readLine()), in parseFromFile()
39 denull(r.readLine())); in parseFromFile()
41 r.close(); in parseFromFile()
DVersionCheckingTest.java52 BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream())); in getProp() local
53 String ret = r.readLine().trim(); in getProp()
54 r.close(); in getProp()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java190 Rect r = recents.getVisibleBounds(); in testRecentAppsFling() local
192 int top = r.top + r.height() / 4; // top edge = top + 25% height in testRecentAppsFling()
193 int bottom = r.bottom - 200; // bottom edge = bottom & shift up 200px in testRecentAppsFling()
195 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, DEFAULT_FLING_STEPS); in testRecentAppsFling()
197 mDevice.swipe(r.width() / 2, bottom, r.width() / 2, top, DEFAULT_FLING_STEPS); in testRecentAppsFling()
DLauncherJankTests.java149 Rect r = homeScreen.getVisibleBounds(); in makeHomeScrollable() local
155 Point dest = new Point(mDevice.getDisplayWidth()/2, r.centerY()); in makeHomeScrollable()
159 dest = new Point(mDevice.getDisplayWidth(), r.centerY()); in makeHomeScrollable()
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/
DSoundSettingsTest.java233 private void verifyRingtone(RingtoneSetting r, String settingName) { in verifyRingtone() argument
234 verifyRingtone(r, settingName, ScrollDir.NOSCROLL); in verifyRingtone()
237 private void verifyRingtone(RingtoneSetting r, String settingName, ScrollDir dir) { in verifyRingtone() argument
242 mDevice.wait(Until.findObject(By.text(r.getName())), TIMEOUT).click(); in verifyRingtone()
245 if (r.getVal().equals("null")) { in verifyRingtone()
248 } else if (r.getName().contains("Hangouts")) { in verifyRingtone()
249 assertEquals("content://media/external/audio/media/" + r.getVal(), in verifyRingtone()
252 assertEquals("content://media/internal/audio/media/" + r.getVal(), in verifyRingtone()