Home
last modified time | relevance | path

Searched refs:returnValue (Results 1 – 11 of 11) 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.java339 AccessibilityWindowInfo returnValue = null; in findWindowByTitleWithList() local
344 returnValue = window; in findWindowByTitleWithList()
350 return returnValue; in findWindowByTitleWithList()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/bluetooth/
DBluetooth.java85 boolean returnValue = sBluetoothAdapter.enable(); in enable()
91 + " .enable() returned " + returnValue) in enable()
111 boolean returnValue = sBluetoothAdapter.disable(); in disable()
117 + " .disable() returned " + returnValue) in disable()
/cts/tests/inputmethod/mocka11yime/common/src/com/android/cts/mocka11yime/
DMockA11yImeEvent.java104 @Nullable Object returnValue) { in MockA11yImeEvent() argument
107 returnValue, getReturnTypeFromObject(returnValue)); in MockA11yImeEvent()
113 @Nullable Object returnValue, in MockA11yImeEvent() argument
126 mReturnValue = returnValue; in MockA11yImeEvent()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DTimeTest.java378 boolean returnValue = sDeviceState.dpc().devicePolicyManager() in setTime_timeIsSet()
381 assertThat(returnValue).isTrue(); in setTime_timeIsSet()
403 boolean returnValue = sDeviceState.dpc().devicePolicyManager() in setTime_doesNotApply_timeIsNotSet()
406 assertThat(returnValue).isTrue(); in setTime_doesNotApply_timeIsNotSet()
424 boolean returnValue = sDeviceState.dpc().devicePolicyManager() in setTime_autoTimeIsEnabled_returnsFalse()
427 assertThat(returnValue).isFalse(); in setTime_autoTimeIsEnabled_returnsFalse()
477 boolean returnValue = sDeviceState.dpc().devicePolicyManager() in setTimeZone_timeZoneIsSet()
480 assertThat(returnValue).isTrue(); in setTimeZone_timeZoneIsSet()
512 boolean returnValue = sDeviceState.dpc().devicePolicyManager() in setTimeZone_doesNotApply_timeZoneIsNotSet()
515 assertThat(returnValue).isTrue(); in setTimeZone_doesNotApply_timeZoneIsNotSet()
[all …]
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java131 E returnValue = sAutomator.automate(step); in execute() local
139 sStepCache.put(stepClass, returnValue); in execute()
141 return returnValue; in execute()
215 E returnValue = in execute() local
226 sStepCache.put(stepClass, returnValue); in execute()
229 return returnValue; in execute()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEvent.java105 @NonNull Bundle arguments, @Nullable Object returnValue) { in ImeEvent() argument
108 returnValue, getReturnTypeFromObject(returnValue)); in ImeEvent()
114 @Nullable ImeState exitState, @NonNull Bundle arguments, @Nullable Object returnValue, in ImeEvent() argument
128 mReturnValue = returnValue; in ImeEvent()
/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()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java121 AtomicReference<T> returnValue = new AtomicReference<>(null); in getOnService() local
126 returnValue.set(callable.call()); in getOnService()
134 return returnValue.get(); in getOnService()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java1396 int returnValue = mContext.checkPermission( in testCheckPermissionGranted() local
1398 assertEquals(PERMISSION_GRANTED, returnValue); in testCheckPermissionGranted()
1403 int returnValue = mContext.checkPermission( in testCheckPermissionNotGranted() local
1405 assertEquals(PERMISSION_DENIED, returnValue); in testCheckPermissionNotGranted()
1411 int returnValue = mContext.checkPermission(NOT_GRANTED_PERMISSION, 1, ROOT_UID); in testCheckPermissionRootUser() local
1412 assertEquals(PERMISSION_GRANTED, returnValue); in testCheckPermissionRootUser()
1419 int returnValue = mContext.checkPermission(null, 0, ROOT_UID); in testCheckPermissionInvalidRequest() local
1425 int returnValue = mContext.checkPermission(GRANTED_PERMISSION, 1, -11); in testCheckPermissionInvalidRequest() local
1426 assertEquals(PERMISSION_DENIED, returnValue); in testCheckPermissionInvalidRequest()
1431 int returnValue = mContext.checkSelfPermission(GRANTED_PERMISSION); in testCheckSelfPermissionGranted() local
[all …]
/cts/tests/media/common/src/android/mediav2/common/cts/
DBitStreamUtils.java74 boolean returnValue = (mData[mCurrByteOffset] & (0x80 >> mCurrBitOffset)) != 0; in readBit()
79 return returnValue; in readBit()