Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DRunOnMainUtils.java33 AtomicReference<T> returnValue = new AtomicReference<>(null); in getOnMain() local
37 returnValue.set(callable.call()); in getOnMain()
45 return returnValue.get(); in getOnMain()
DActivityLaunchUtils.java111 AccessibilityWindowInfo returnValue = null; in findWindowByTitle() local
115 returnValue = window; in findWindowByTitle()
120 return returnValue; in findWindowByTitle()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEvent.java86 @NonNull Bundle arguments, @Nullable Object returnValue) { in ImeEvent() argument
89 returnValue, getReturnTypeFromObject(returnValue)); in ImeEvent()
95 @Nullable ImeState exitState, @NonNull Bundle arguments, @Nullable Object returnValue, in ImeEvent() argument
109 mReturnValue = returnValue; in ImeEvent()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java912 int returnValue = mContext.checkPermission( in testCheckPermissionGranted() local
914 assertEquals(PackageManager.PERMISSION_GRANTED, returnValue); in testCheckPermissionGranted()
918 int returnValue = mContext.checkPermission( in testCheckPermissionNotGranted() local
920 assertEquals(PackageManager.PERMISSION_DENIED, returnValue); in testCheckPermissionNotGranted()
925 int returnValue = mContext.checkPermission(NOT_GRANTED_PERMISSION, 1, ROOT_UID); in testCheckPermissionRootUser() local
926 assertEquals(PackageManager.PERMISSION_GRANTED, returnValue); in testCheckPermissionRootUser()
932 int returnValue = mContext.checkPermission(null, 0, ROOT_UID); in testCheckPermissionInvalidRequest() local
938 int returnValue = mContext.checkPermission(GRANTED_PERMISSION, 1, -11); in testCheckPermissionInvalidRequest() local
939 assertEquals(PackageManager.PERMISSION_DENIED, returnValue); in testCheckPermissionInvalidRequest()
943 int returnValue = mContext.checkSelfPermission(GRANTED_PERMISSION); in testCheckSelfPermissionGranted() local
[all …]
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java120 AtomicReference<T> returnValue = new AtomicReference<>(null); in getOnService() local
124 returnValue.set(callable.call()); in getOnService()
132 return returnValue.get(); in getOnService()
/cts/common/device-side/util/jni/
Dandroid_cts_FileUtils.cpp107 jint returnValue = chmod(fileStr, mode) == 0 ? 0 : errno; in android_cts_FileUtils_setPermissions() local
109 return returnValue; in android_cts_FileUtils_setPermissions()