Searched refs:obj (Results 1 – 11 of 11) sorted by relevance
24 Object obj = new Object(); in gc() local25 WeakReference ref = new WeakReference<>(obj); in gc()27 obj = null; in gc()
27 internal fun description(obj: Any) = Description.createTestDescription(obj::class.java, "test")
58 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>()
168 UiObject2 obj = getSetDateMenu(); in getDate() local169 if (obj == null) { in getDate()172 String uiDate = getMenuSummaryText(obj); in getDate()325 UiObject2 obj = in scrollToObjectInPicker() local378 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() local406 if (obj == null) { in getTime()409 String uiTime = getMenuSummaryText(obj); in getTime()[all …]
147 Object obj = null; in invokeMethod() local150 obj = getTestObject(); in invokeMethod()154 obj = cls.getDeclaredConstructor().newInstance(); in invokeMethod()157 return rm.invoke(obj); in invokeMethod()
324 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()
131 private void clickTopLeftCorner(UiObject2 obj) { in clickTopLeftCorner() argument132 Rect r = obj.getVisibleBounds(); in clickTopLeftCorner()
22 from layout.buildDirectory.file("intermediates/cmake/debug/obj/${arch}/nativepoc")
262 public boolean equals(Object obj) { in equals() argument263 if (!(obj instanceof Histogram)) { in equals()267 Histogram other = (Histogram) obj; in equals()
169 UiObject2 obj = getSpectatioUiUtil().findUiObject(selector); in checkNotificationRequiredFieldsExist() local170 if (obj == null) { in checkNotificationRequiredFieldsExist()
166 public static void swipe(GestureType gestureType, UiObject obj) { in swipe() argument167 Log.d(TAG, format("Swiping Object[%s] %s", obj.getSelector(), gestureType)); in swipe()169 Rect boundary = obj.getBounds(); in swipe()