Searched refs:obj (Results 1 – 6 of 6) sorted by relevance
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | HeadsUpNotificationTests.java | 92 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testHeadsUpNotificationManualDismiss() local 94 obj.swipe(Direction.LEFT, 1.0f); in testHeadsUpNotificationManualDismiss() 105 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testHeadsUpNotificationAutoDismiss() local 108 obj); in testHeadsUpNotificationAutoDismiss() 126 UiObject2 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), in testMultipleHeadsUpNotificationWithInlineReply() local 128 if (obj == null) { in testMultipleHeadsUpNotificationWithInlineReply() 130 obj); in testMultipleHeadsUpNotificationWithInlineReply() 138 UiObject2 obj = mDevice.wait(Until.findObject(By.text("test")), 60000); in testAlarm() local 139 if (obj == null) { in testAlarm()
|
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/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 | 245 public boolean equals(Object obj) { in equals() argument 246 if (!(obj instanceof Histogram)) { in equals() 250 Histogram other = (Histogram) obj; in equals()
|