Home
last modified time | relevance | path

Searched refs:e (Results 1 – 16 of 16) sorted by relevance

/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DGestureController.java65 } 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 …]
DQueryController.java163 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()
DUiDevice.java236 } 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 …]
DUiObject2Ext.kt168 } catch (e: ViewNotFoundException) { in onView()
169 if (clock.isTimeoutOrSleep()) throw e in onView()
DUiAutomatorInstrumentationTestRunner.java62 public void addFailure(Test test, AssertionFailedError e) { in getAndroidTestRunner()
DUiObject2.java123 } 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()
DInteractionController.java148 } 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/
DDragTestActivity.java52 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()
DMarginTestActivity.java36 button.setOnTouchListener((v, e) -> { in onCreate() argument
37 mLastTouch = new Point((int) e.getX(), (int) e.getY()); in onCreate()
DPointerGestureTestActivity.java37 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/
DBaseTest.java61 } catch (Exception e) {
62 Log.e(description.getTestClass().getSimpleName(), "Failed to dump hierarchy", e);
DUiObject2Test.java409 } catch (StaleObjectException e) { in testHashCode()
652 IllegalStateException e = assertThrows( in testRecycle() local
657 assertEquals("This object has already been recycled.", e.getMessage()); in testRecycle()
DUiObjectTest.java50 } catch (Exception e) { in awaitTrue()
/test/screenshot/screenshot/src/androidTest/java/androidx/test/screenshot/
DScreenshotTestRuleTest.kt146 } catch (e: AssertionError) { in <lambda>()
147 val received = e.localizedMessage!! in <lambda>()
/test/screenshot/screenshot/src/main/java/androidx/test/screenshot/
DScreenshotTestRule.kt147 } catch (e: FileNotFoundException) { in fetchExpectedImage()
343 } catch (e: Exception) { in writeToDevice()
347 e.stackTrace in writeToDevice()
/test/uiautomator/uiautomator/
Dbuild.gradle59 * fix (e.g. AOSP releases before Android 14 QPR2).