Home
last modified time | relevance | path

Searched refs:targetObject (Results 1 – 6 of 6) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java44 T callMethod(U targetObject); in callMethod() argument
58 void callMethod(U targetObject); in callMethod() argument
73 T callMethod(U targetObject) throws E; in callMethod() argument
87 void callMethod(U targetObject) throws E; in callMethod() argument
97 public static <T, U> T invokeMethodWithShellPermissions(U targetObject, in invokeMethodWithShellPermissions() argument
112 return methodHelper.callMethod(targetObject); in invokeMethodWithShellPermissions()
125 public static <T, U> T invokeMethodWithShellPermissions(U targetObject, in invokeMethodWithShellPermissions() argument
131 return methodHelper.callMethod(targetObject); in invokeMethodWithShellPermissions()
220 U targetObject, ShellPermissionThrowableMethodHelper<T, U, E> methodHelper, in invokeThrowableMethodWithShellPermissions() argument
226 return methodHelper.callMethod(targetObject); in invokeThrowableMethodWithShellPermissions()
[all …]
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DActionGetContentOnlyTest.java315 UiObject targetObject = new UiObject(docList.childSelector(new UiSelector() in findAndClickFileInDocumentsUi() local
320 if (targetObject.exists()) { in findAndClickFileInDocumentsUi()
322 || targetObject.getVisibleBounds().bottom in findAndClickFileInDocumentsUi()
336 targetObject.longClick(); in findAndClickFileInDocumentsUi()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java374 UiObject targetObject = new UiObject(docList.childSelector(new UiSelector().text(label))); in findDocument() local
378 if (targetObject.exists()) { in findDocument()
380 || targetObject.getVisibleBounds().bottom in findDocument()
393 return targetObject; in findDocument()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java821 UiObject targetObject = new UiObject(docList.childSelector(new UiSelector().text(label))); in findDocument() local
825 if (targetObject.exists()) { in findDocument()
827 || targetObject.getVisibleBounds().bottom in findDocument()
840 return targetObject; in findDocument()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java174 UiObject targetObject = new UiObject(docList.childSelector(new UiSelector().text(label))); in findDocument() local
178 if (targetObject.exists()) { in findDocument()
180 || targetObject.getVisibleBounds().bottom in findDocument()
193 return targetObject; in findDocument()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java1585 private <T, U> T executeWithShellPermissionAndDefault(T defaultValue, U targetObject, in executeWithShellPermissionAndDefault() argument
1588 return ShellIdentityUtils.invokeMethodWithShellPermissions(targetObject, helper); in executeWithShellPermissionAndDefault()