| /test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/ |
| D | GestureController.java | 65 } catch (Exception e) { 66 Log.i(TAG, "can't find MotionEvent#setDisplayId(int)", e); 110 } catch (Exception e) { in GestureController() 111 Log.i(TAG, "can't find XrUiAutomation#injectMotionEventToWindow", e); in GestureController() 178 } catch (Exception e) { in performGesture() 179 Log.e(TAG, "Fail to update motion event delay", e); in performGesture() 267 } catch (IllegalAccessException | InvocationTargetException e) { in injectMotionEvent() 268 Log.e(TAG, "failed to call XrUiAutomation#injectMotionEventToWindow", e); in injectMotionEvent() 288 Log.e(TAG, "Action on display " + displayId + " requested, " in getMotionEvent() 293 } catch (Exception e) { in getMotionEvent() [all …]
|
| D | QueryController.java | 163 Log.e(TAG, "Cannot proceed when root node is null. Aborted search"); in findAccessibilityNodeInfo() 187 Log.e(TAG, "Got null root node from accessibility - Retrying..."); in getRootNode() 317 Log.e(TAG, "Error: A child selector without content"); in findNodeRegularRecursive() 324 Log.e(TAG, "Error: A parent selector without content"); in findNodeRegularRecursive() 400 Log.e(TAG, "Pattern portion of the selector is null or not defined"); in translatePatternSelector() 409 Log.e(TAG, "Selector must have a pattern selector defined"); // implementation fault? in translatePatternSelector() 448 Log.e(TAG, "Error: A child selector without content"); in findNodePatternRecursive() 455 Log.e(TAG, "Error: A parent selector without content"); in findNodePatternRecursive() 536 } catch (TimeoutException e) { in waitForIdle()
|
| D | UiDevice.java | 236 } catch (TimeoutException e) { in performActionAndWait() 238 Log.w(TAG, String.format("Timed out waiting %dms on the condition.", timeout), e); in performActionAndWait() 766 } catch (Exception e) { in runWatchers() 767 Log.e(TAG, String.format("Failed to execute watcher %s.", watcherName), e); in runWatchers() 891 } catch (IOException e) { in freezeRotation() 892 throw new RuntimeException(e); in freezeRotation() 932 } catch (IOException e) { in unfreezeRotation() 933 throw new RuntimeException(e); in unfreezeRotation() 1118 } catch (IOException e) { in rotateWithCommand() 1119 throw new RuntimeException(e); in rotateWithCommand() [all …]
|
| D | UiObject2Ext.kt | 168 } catch (e: ViewNotFoundException) { in onView() 169 if (clock.isTimeoutOrSleep()) throw e in onView()
|
| D | UiAutomatorInstrumentationTestRunner.java | 62 public void addFailure(Test test, AssertionFailedError e) { in getAndroidTestRunner()
|
| D | UiObject2.java | 123 } catch (RuntimeException e) { in create() 124 Log.w(TAG, String.format("Failed to create UiObject2 for node %s.", cachedNode), e); in create() 140 } catch (StaleObjectException e) { in equals() 149 } catch (StaleObjectException e) { in hashCode() 1045 } catch (Exception e) { in clearCache() 1046 Log.e(TAG, "Fail to call AccessibilityInteractionClient#clearCache() reflection", e); in clearCache()
|
| D | InteractionController.java | 148 } catch (TimeoutException e) { in runAndWaitForEvents() 151 } catch (Exception e) { in runAndWaitForEvents() 152 Log.e(TAG, "Exception while waiting for command and events.", e); in runAndWaitForEvents()
|
| /test/uiautomator/integration-tests/testapp/src/main/java/androidx/test/uiautomator/testapp/ |
| D | DragTestActivity.java | 52 dragButton.setOnDragListener((v, e) -> { in onCreate() argument 53 if (e.getAction() == DragEvent.ACTION_DRAG_ENDED) { in onCreate() 56 if (destRegion.contains((int) e.getX(), (int) e.getY())) { in onCreate()
|
| D | MarginTestActivity.java | 36 button.setOnTouchListener((v, e) -> { in onCreate() argument 37 mLastTouch = new Point((int) e.getX(), (int) e.getY()); in onCreate()
|
| D | PointerGestureTestActivity.java | 37 public boolean onTouchEvent(MotionEvent e) { in onTouchEvent() argument 38 int maskedAction = e.getActionMasked(); in onTouchEvent()
|
| /test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/ |
| D | BaseTest.java | 61 } catch (Exception e) { 62 Log.e(description.getTestClass().getSimpleName(), "Failed to dump hierarchy", e);
|
| D | UiObject2Test.java | 409 } catch (StaleObjectException e) { in testHashCode() 652 IllegalStateException e = assertThrows( in testRecycle() local 657 assertEquals("This object has already been recycled.", e.getMessage()); in testRecycle()
|
| D | UiObjectTest.java | 50 } catch (Exception e) { in awaitTrue()
|
| /test/screenshot/screenshot/src/androidTest/java/androidx/test/screenshot/ |
| D | ScreenshotTestRuleTest.kt | 146 } catch (e: AssertionError) { in <lambda>() 147 val received = e.localizedMessage!! in <lambda>()
|
| /test/screenshot/screenshot/src/main/java/androidx/test/screenshot/ |
| D | ScreenshotTestRule.kt | 147 } catch (e: FileNotFoundException) { in fetchExpectedImage() 343 } catch (e: Exception) { in writeToDevice() 347 e.stackTrace in writeToDevice()
|
| /test/uiautomator/uiautomator/ |
| D | build.gradle | 59 * fix (e.g. AOSP releases before Android 14 QPR2).
|