Home
last modified time | relevance | path

Searched refs:clazz (Results 1 – 25 of 34) sorted by relevance

12

/platform_testing/tests/bettertogether/betocq/
Dbetocq_test_suite.py68 def enable_test_class(self, clazz, config=None): argument
79 self._enabled_test_classes[clazz] = config
137 clazz=mcc_5g_wfd_non_dbs_2g_sta_test.Mcc5gWfdNonDbs2gStaTest,
141 clazz=scc_2g_wfd_sta_test.Scc2gWfdStaTest,
145 clazz=scc_2g_wlan_sta_test.Scc2gWlanStaTest,
149 clazz=scc_5g_wfd_dbs_2g_sta_test.Scc5gWfdDbs2gStaTest,
154 clazz=mcc_5g_all_wifi_non_dbs_2g_sta_test.Mcc5gAllWifiNonDbs2gStaTest,
158 clazz=scc_2g_all_wifi_sta_test.Scc2gAllWifiStaTest,
162 clazz=scc_5g_all_wifi_dbs_2g_sta_test.Scc5gAllWifiDbs2gStaTest,
176 clazz=mcc_2g_wfd_indoor_5g_sta_test.Mcc2gWfdIndoor5gStaTest,
[all …]
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/
DModuleClassLoader.java49 Class<?> clazz = mClasses.get(name); in findClass() local
50 if (clazz == null) { in findClass()
58 clazz = defineClass(name, b, 0, b.length); in findClass()
59 mClasses.put(name, clazz); in findClass()
65 return clazz; in findClass()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowContainerImpl.kt75 var clazz = split.slice(1..split.lastIndex).joinToString("/") in removeRedundancyInName() variable
77 if (clazz.startsWith("$pkg.")) { in removeRedundancyInName()
78 clazz = clazz.slice(pkg.length + 1..clazz.lastIndex) in removeRedundancyInName()
80 return "$pkg/$clazz" in removeRedundancyInName()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java212 Class<?> clazz = null; in getAll() local
214 clazz = mLoader.loadClass(className); in getAll()
216 if (isAbstract(clazz.getModifiers()) || isInterface(clazz.getModifiers())) { in getAll()
223 if (base.isAssignableFrom(clazz) in getAll()
224 && !clazz.equals(base) in getAll()
228 Constructor<?> constructor = clazz.getConstructor(Instrumentation.class); in getAll()
232 clazz, in getAll()
240 clazz, in getAll()
246 clazz, in getAll()
250 clazz, in getAll()
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchTextJankTests.java97 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheHighHitrateFling()
104 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheHighHitrateFling()
109 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheHighHitrateFling()
114 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheHighHitrateFling()
130 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheLowHitrateFling()
137 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheLowHitrateFling()
142 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheLowHitrateFling()
147 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheLowHitrateFling()
DUiBenchRenderingJankTests.java93 By.clazz(ListView.class)), mHelper.TIMEOUT); in testShadowGridListFling()
98 By.clazz(ListView.class)), mHelper.TIMEOUT); in testShadowGridListFling()
102 By.clazz(ListView.class)), mHelper.TIMEOUT); in testShadowGridListFling()
DUiBenchJankTests.java139 By.clazz(ListView.class)), mHelper.TIMEOUT); in testTrivialListViewFling()
148 By.clazz(ListView.class)), mHelper.TIMEOUT); in testTrivialListViewFling()
153 By.clazz(ListView.class)), mHelper.TIMEOUT); in testTrivialListViewFling()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAospLauncherStrategy.java58 cling.findObject(By.clazz(Button.class).text("OK")).click(); in open()
79 .clazz(Button.class).text("OK")); in openAllApps()
85 .clazz(TextView.class).selected(false)); in openAllApps()
169 .clazz(TextView.class).selected(false)); in openAllWidgets()
204 By.res("").clazz(TextView.class).desc(appName), packageName); in launch()
DWearLauncherStrategy.java192 getSupportedLauncherPackage(), "title").clazz(TextView.class).text(appName); in launch()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAospLauncherStrategy.java56 cling.findObject(By.clazz(Button.class).text("OK")).click(); in open()
76 By.res(LAUNCHER_PKG, "cling_dismiss").clazz(Button.class).text("OK")); in openAllApps()
82 mDevice.findObject(By.desc("Apps").clazz(TextView.class).selected(false)); in openAllApps()
163 mDevice.findObject(By.desc("Widgets").clazz(TextView.class).selected(false)); in openAllWidgets()
194 .launchApp(this, By.res("").clazz(TextView.class).desc(appName), packageName); in launch()
DWearLauncherStrategy.java189 By.res(getSupportedLauncherPackage(), "title").clazz(TextView.class).text(appName); in launch()
DBaseLauncher3Strategy.java211 BySelector app = By.clazz(TextView.class).text(appName); in launch()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/
DUiElement.java136 return By.clazz(mPackage, mValue); in getBySelectorForUiElement()
138 return By.clazz(mValue); in getBySelectorForUiElement()
182 s.clazz(mPackage, mValue); in extendBySelectorForUiElement()
185 s.clazz(mValue); in extendBySelectorForUiElement()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchTextJankTests.java76 By.clazz(ListView.class)), mHelper.TIMEOUT); in openLayoutCacheHighHitrate()
93 By.clazz(ListView.class)), mHelper.TIMEOUT); in openLayoutCacheLowHitrate()
DUiBenchRenderingJankTests.java76 By.clazz(ListView.class)), mHelper.TIMEOUT); in openRenderingList()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java124 String actionBarText = actionBar.findObject(By.clazz(TEXT_VIEW)).getText(); in launchSpecificAccessibilitySetting()
132 .findObject(By.clazz(IMAGE_BUTTON)).click(); in launchSpecificAccessibilitySetting()
150 .getParent().getParent().findObject(By.clazz(SWITCH)); in setSettingSwitchValue()
DAccessibilityScannerHelper.java156 By.clazz(AccessibilityHelper.CHECK_BOX)), SHORT_TIMEOUT); in grantPermissions()
364 return toolBar.findObject(By.clazz(AccessibilityHelper.TEXT_VIEW)); in getToolBarTextView()
379 By.clazz(AccessibilityHelper.TEXT_VIEW).text("Delete")), SHORT_TIMEOUT).click(); in deleteHistory()
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchJankHelper.java184 mContents = mDevice.wait(Until.findObject(By.clazz(ListView.class)), FIND_OBJECT_TIMEOUT); in openDialogList()
325 mContents = mDevice.wait(Until.findObject(By.clazz(ListView.class)), FIND_OBJECT_TIMEOUT); in openRenderingList()
333 mContents = mDevice.wait(Until.findObject(By.clazz(EditText.class)), FIND_OBJECT_TIMEOUT); in openEditTextTyping()
340 mContents = mDevice.wait(Until.findObject(By.clazz(ListView.class)), FIND_OBJECT_TIMEOUT); in openLayoutCacheHighHitrate()
348 mContents = mDevice.wait(Until.findObject(By.clazz(ListView.class)), FIND_OBJECT_TIMEOUT); in openLayoutCacheLowHitrate()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DLimitDevicesRuleTest.kt87 private fun <T> createDescription(clazz: Class<T>) = in createDescription()
88 Description.createSuiteDescription(this.javaClass, *clazz.annotations)!! in createDescription()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DHotseatHelper.java59 UiObject2 appOnHotseat = mDevice.findObject(By.clazz("android.widget.TextView") in launchAppFromHotseat()
DLockscreenHelper.java133 UiObject2 pinField = mDevice.wait(Until.findObject(By.clazz(EDIT_TEXT_CLASS_NAME)), in setScreenLock()
154 UiObject2 pinField = mDevice.wait(Until.findObject(By.clazz(EDIT_TEXT_CLASS_NAME)), in enterScreenLockOnce()
169 UiObject2 pinField = mDevice.wait(Until.findObject(By.clazz(EDIT_TEXT_CLASS_NAME)), in enterNonMatchingPasscodes()
203 UiObject2 pinField = mDevice.wait(Until.findObject(By.clazz(EDIT_TEXT_CLASS_NAME)), in removeScreenLock()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DFlickerServiceJUnit4ClassRunner.kt317 val clazz = testClass.javaClass in <lambda>() constant
321 if (clazz == null || clazz.name != name) { in <lambda>()
324 Description.createSuiteDescription(clazz, *runnerAnnotations) in <lambda>()
DLegacyFlickerJUnit4ClassRunner.kt382 val clazz = testClass.javaClass in <lambda>() constant
386 if (clazz == null || clazz.name != name) { in <lambda>()
389 Description.createSuiteDescription(clazz, *runnerAnnotations) in <lambda>()
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/
DApiDemoJankTests.java249 By.clazz(Button.class).text("0")), LONG_TIMEOUT); in testHideShowAnimationJank()
255 By.clazz(Button.class).text("1")), LONG_TIMEOUT); in testHideShowAnimationJank()
261 By.clazz(Button.class).text("2")), LONG_TIMEOUT); in testHideShowAnimationJank()
267 By.clazz(Button.class).text("3")), LONG_TIMEOUT); in testHideShowAnimationJank()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java451 .clazz(Switch.class)); in toggleWiFiOnOffAndVerify()
477 By.descContains(BLUETOOTH).clazz(Switch.class)); in toggleBTOnOffAndVerify()
546 qsTile.findObject(By.clazz("android.widget.FrameLayout")).click(); in launchAndClickSettings()
561 mDevice.wait(Until.findObject(By.descContains(DND).clazz(Switch.class)), in toggleQuickSettingDNDAndVerify()
573 mDevice.wait(Until.findObject(By.descContains(DND).clazz(Switch.class)), in toggleQuickSettingDNDAndVerify()

12