Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/
DTestUtils.java24 Object obj = new Object(); in gc() local
25 WeakReference ref = new WeakReference<>(obj); in gc()
27 obj = null; in gc()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DConsts.kt27 internal fun description(obj: Any) = Description.createTestDescription(obj::class.java, "test")
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/wm/
DWindowManagerTraceTest.kt58 private fun <T> Class<T>.accessProperties(obj: Any) { in <lambda>()
62 .map { kotlin.runCatching { Pair(it.name, it.get(obj)) } } in <lambda>()
78 .map { kotlin.runCatching { Pair(it.name, it.invoke(obj)) } } in <lambda>()
87 this.superclass?.accessProperties(obj) in <lambda>()
88 if (obj is WindowContainer) { in <lambda>()
89 obj.children.forEach { it::class.java.accessProperties(it) } in <lambda>()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsDateTimeHelperImpl.java168 UiObject2 obj = getSetDateMenu(); in getDate() local
169 if (obj == null) { in getDate()
172 String uiDate = getMenuSummaryText(obj); in getDate()
325 UiObject2 obj = in scrollToObjectInPicker() local
378 while (obj == null) { in scrollToObjectInPicker()
388 obj = in scrollToObjectInPicker()
398 if (obj == null) throw new RuntimeException("cannot find value in the picker"); in scrollToObjectInPicker()
405 UiObject2 obj = getSetTimeMenu(); in getTime() local
406 if (obj == null) { in getTime()
409 String uiTime = getMenuSummaryText(obj); in getTime()
[all …]
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogicExecutor.java147 Object obj = null; in invokeMethod() local
150 obj = getTestObject(); in invokeMethod()
154 obj = cls.getDeclaredConstructor().newInstance(); in invokeMethod()
157 return rm.invoke(obj); in invokeMethod()
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
DPermissionHelper.java324 for (UiObject2 obj : permissionsList) { in togglePermissionSetting()
325 if (obj.hasObject(By.res("android:id/title").text(permission))) { in togglePermissionSetting()
326 UiObject2 swt = obj.findObject(By.res("android:id/switch_widget")); in togglePermissionSetting()
422 for (UiObject2 obj : permissionList) { in getPermissionDescGroupNames()
423 if (obj.getText() != null && obj.getText() != "" && obj.getVisibleBounds().left == 0) { in getPermissionDescGroupNames()
424 if (obj.getText().equals("Other app capabilities")) in getPermissionDescGroupNames()
426 groupNames.add(obj.getText().toUpperCase()); in getPermissionDescGroupNames()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/features/quicksettings/
DUserSelection.java131 private void clickTopLeftCorner(UiObject2 obj) { in clickTopLeftCorner() argument
132 Rect r = obj.getVisibleBounds(); in clickTopLeftCorner()
/platform_testing/libraries/sts-common-util/sts-sdk/package/native-poc/
Dbuild.gradle.template22 from layout.buildDirectory.file("intermediates/cmake/debug/obj/${arch}/nativepoc")
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java262 public boolean equals(Object obj) { in equals() argument
263 if (!(obj instanceof Histogram)) { in equals()
267 Histogram other = (Histogram) obj; in equals()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java169 UiObject2 obj = getSpectatioUiUtil().findUiObject(selector); in checkNotificationRequiredFieldsExist() local
170 if (obj == null) { in checkNotificationRequiredFieldsExist()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DCommonUtils.java166 public static void swipe(GestureType gestureType, UiObject obj) { in swipe() argument
167 Log.d(TAG, format("Swiping Object[%s] %s", obj.getSelector(), gestureType)); in swipe()
169 Rect boundary = obj.getBounds(); in swipe()