/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | HeadsUpNotificationTests.java | 99 UiObject2 obj = in testHeadsUpNotificationUpdate() local 101 assertNotNull(String.format("Notification %s did not HUN", NOTIFICATION_ID_1), obj); in testHeadsUpNotificationUpdate() 108 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testHeadsUpNotificationManualDismiss() local 110 obj.swipe(Direction.LEFT, 1.0f); in testHeadsUpNotificationManualDismiss() 124 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testHeadsUpNotificationAutoDismiss() local 126 assertNotNull(String.format("Notification %s did not HUN", NOTIFICATION_ID_1), obj); in testHeadsUpNotificationAutoDismiss() 130 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), SHORT_TIMEOUT); in testHeadsUpNotificationAutoDismiss() 132 obj); in testHeadsUpNotificationAutoDismiss() 150 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testMultipleHeadsUpNotificationWithInlineReply() local 152 assertNotNull(String.format("Notification %s can not be found", NOTIFICATION_ID_1), obj); in testMultipleHeadsUpNotificationWithInlineReply() [all …]
|
D | NotificationBundlingTests.java | 76 UiObject2 obj = mDevice.wait( in testBundlingNotification() local 79 int currentY = obj.getVisibleCenter().y; in testBundlingNotification() 81 obj = mDevice.wait(Until.findObject(By.textContains(lists.get(1).toString())), in testBundlingNotification() 84 obj.getVisibleCenter().y == currentY); in testBundlingNotification() 121 UiObject2 obj = mDevice.wait( in dismissObject() local 124 int y = obj.getVisibleBounds().centerY(); in dismissObject()
|
D | NotificationInlineReplyTests.java | 75 UiObject2 obj = mDevice.wait(Until.findObject(By.text("INLINE REPLY TEST")), in testInLineNotificationWithLockScreen() local 77 mDevice.swipe(obj.getVisibleBounds().centerX(), obj.getVisibleBounds().centerY(), in testInLineNotificationWithLockScreen() 78 obj.getVisibleBounds().centerX(), in testInLineNotificationWithLockScreen()
|
D | NotificationInteractionTests.java | 104 UiObject2 obj = findByText(text); in testNonDismissNotification() local 105 assertNotNull(String.format("Couldn't find %s notification", text), obj); in testNonDismissNotification() 106 obj.swipe(Direction.LEFT, 1.0f); in testNonDismissNotification() 108 obj = mDevice.wait(Until.findObject(By.text(text)), in testNonDismissNotification() 110 assertNotNull("USB debugging notification has been dismissed", obj); in testNonDismissNotification()
|
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/ |
D | SettingsDateTimeHelperImpl.java | 122 UiObject2 obj = getSetDateMenu(); in getDate() local 123 if (obj == null) { in getDate() 126 String uiDate = getMenuSummaryText(obj); in getDate() 257 UiObject2 obj = in scrollToObjectInPicker() local 265 while (obj == null) { in scrollToObjectInPicker() 275 obj = in scrollToObjectInPicker() 284 if (obj == null) throw new RuntimeException("cannot find value in the picker"); in scrollToObjectInPicker() 290 UiObject2 obj = getSetTimeMenu(); in getTime() local 291 if (obj == null) { in getTime() 294 String uiTime = getMenuSummaryText(obj); in getTime() [all …]
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/windowmanager/ |
D | WindowManagerTraceTest.kt | 73 private fun <T> Class<T>.accessProperties(obj: Any) { in <lambda>() 76 .map { kotlin.runCatching { Pair(it.name, it.get(obj)) } } in <lambda>() 90 .map { kotlin.runCatching { Pair(it.name, it.invoke(obj)) } } in <lambda>() 98 this.superclass?.accessProperties(obj) in <lambda>() 99 if (obj is WindowContainer) { in <lambda>() 100 obj.children.forEach { it::class.java.accessProperties(it) } in <lambda>()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | BusinessLogicExecutor.java | 143 Object obj = null; in invokeMethod() local 146 obj = getTestObject(); in invokeMethod() 150 obj = cls.getDeclaredConstructor().newInstance(); in invokeMethod() 153 return rm.invoke(obj); in invokeMethod()
|
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/ |
D | PermissionHelper.java | 323 for (UiObject2 obj : permissionsList) { in togglePermissionSetting() 324 if (obj.hasObject(By.res("android:id/title").text(permission))) { in togglePermissionSetting() 325 UiObject2 swt = obj.findObject(By.res("android:id/switch_widget")); in togglePermissionSetting() 421 for (UiObject2 obj : permissionList) { in getPermissionDescGroupNames() 422 if (obj.getText() != null && obj.getText() != "" && obj.getVisibleBounds().left == 0) { in getPermissionDescGroupNames() 423 if (obj.getText().equals("Other app capabilities")) in getPermissionDescGroupNames() 425 groupNames.add(obj.getText().toUpperCase()); in getPermissionDescGroupNames()
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | SfStatsCollectionHelper.java | 262 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/ |
D | AutoNotificationMockingHelperImpl.java | 131 UiObject2 obj = findUiObject(selector); in checkNotificationRequiredFieldsExist() local 132 if (obj == null) { in checkNotificationRequiredFieldsExist()
|
/platform_testing/libraries/automotive-helpers/dial-app-helper/src/android/platform/helpers/ |
D | DialHelperImpl.java | 438 UiObject2 obj = findUiObject(By.text(contact)); in isContactInFavorites() local 439 return obj != null; in isContactInFavorites()
|