Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/av/media/codecs/mp3dec/src/
H A Dpvmp3_getbits.cpp121 uint32 returnValue = 0; in getNbits() local
125 return (returnValue); in getNbits()
157 returnValue <<= bitIndex; in getNbits()
160 returnValue >>= (32 - neededBits); in getNbits()
164 return (returnValue); in getNbits()
180 uint16 returnValue; in getUpTo9bits() local
205 returnValue = (returnValue << (bitIndex)); in getUpTo9bits()
227 uint32 returnValue; in getUpTo17bits() local
259 returnValue = 0xFFFFFF & (returnValue << (bitIndex)); in getUpTo17bits()
276 uint8 returnValue; in get1bit() local
[all …]
/aosp12/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp53 EGLBoolean returnValue; in main() local
75 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
76 checkEglError("eglInitialize", returnValue); in main()
77 if (returnValue != EGL_TRUE) { in main()
84 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
85 if (returnValue) { in main()
86 printf("EGLUtils::selectConfigForNativeWindow() returned %d", returnValue); in main()
105 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
106 checkEglError("eglMakeCurrent", returnValue); in main()
107 if (returnValue != EGL_TRUE) { in main()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DLayoutParserWrapper.java135 int returnValue; in next() local
138 returnValue = mNext; in next()
144 returnValue = mDelegate.next(); in next()
147 if (returnValue == END_TAG && depth <= mFinalDepth) { in next()
150 return returnValue; in next()
175 String returnValue = null; in getAttributeValue() local
188 returnValue = attribute.value; in getAttributeValue()
197 if (returnValue != null && mFinalDepth >= 0 && returnValue.startsWith("@{")) { in getAttributeValue()
199 int i = returnValue.lastIndexOf(DEFAULT); in getAttributeValue()
200 return i > 0 ? returnValue.substring(i + DEFAULT.length(), returnValue.length() - 1) in getAttributeValue()
[all …]
/aosp12/packages/services/Car/car-lib/src/android/car/
H A DCarManagerBase.java46 protected <T> T handleRemoteExceptionFromCarService(RemoteException e, T returnValue) { in handleRemoteExceptionFromCarService() argument
47 return mCar.handleRemoteExceptionFromCarService(e, returnValue); in handleRemoteExceptionFromCarService()
57 protected <T> T handleExceptionFromCarService(Exception e, T returnValue) { in handleExceptionFromCarService() argument
59 return handleRemoteExceptionFromCarService((RemoteException) e, returnValue); in handleExceptionFromCarService()
64 return returnValue; in handleExceptionFromCarService()
70 return returnValue; in handleExceptionFromCarService()
/aosp12/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
H A DParsableBitArray.java59 boolean returnValue = (data[byteOffset] & (0x80 >> bitOffset)) != 0; in readBit()
61 return returnValue; in readBit()
68 int returnValue = 0; in readBits() local
72 returnValue |= (data[byteOffset++] & 0xFF) << bitOffset; in readBits()
74 returnValue |= (data[byteOffset] & 0xFF) >> (8 - bitOffset); in readBits()
75 returnValue &= 0xFFFFFFFF >>> (32 - numBits); in readBits()
80 return returnValue; in readBits()
/aosp12/frameworks/base/core/java/android/transition/
H A DTransitionValues.java95 String returnValue = "TransitionValues@" + Integer.toHexString(hashCode()) + ":\n"; in toString() local
96 returnValue += " view = " + view + "\n"; in toString()
97 returnValue += " values:"; in toString()
99 returnValue += " " + s + ": " + values.get(s) + "\n"; in toString()
101 return returnValue; in toString()
/aosp12/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp225 EGLBoolean returnValue; in main() local
249 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
250 checkEglError("eglInitialize", returnValue); in main()
252 if (returnValue != EGL_TRUE) { in main()
259 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
260 if (returnValue) { in main()
261 printf("EGLUtils::selectConfigForNativeWindow() returned %d", returnValue); in main()
283 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
284 checkEglError("eglMakeCurrent", returnValue); in main()
285 if (returnValue != EGL_TRUE) { in main()
/aosp12/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp304 EGLBoolean returnValue; in main() local
328 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
329 checkEglError("eglInitialize", returnValue); in main()
331 if (returnValue != EGL_TRUE) { in main()
345 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
346 if (returnValue) { in main()
347 printf("EGLUtils::selectConfigForNativeWindow() returned %d", returnValue); in main()
370 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
371 checkEglError("eglMakeCurrent", returnValue); in main()
372 if (returnValue != EGL_TRUE) { in main()
/aosp12/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp335 EGLBoolean returnValue; in main() local
359 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
360 checkEglError("eglInitialize", returnValue); in main()
362 if (returnValue != EGL_TRUE) { in main()
369 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
370 if (returnValue) { in main()
371 printf("EGLUtils::selectConfigForNativeWindow() returned %d", returnValue); in main()
393 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
394 checkEglError("eglMakeCurrent", returnValue); in main()
395 if (returnValue != EGL_TRUE) { in main()
/aosp12/frameworks/av/media/libstagefright/renderfright/threaded/
H A DRenderEngineThreaded.cpp125 bool returnValue = SyncFeatures::GetInstance().useNativeFenceSync(); in useNativeFenceSync() local
126 resultPromise.set_value(returnValue); in useNativeFenceSync()
140 bool returnValue = SyncFeatures::GetInstance().useWaitSync(); in useWaitSync() local
141 resultPromise.set_value(returnValue); in useWaitSync()
309 bool returnValue = instance.isProtected(); in isProtected() local
310 resultPromise.set_value(returnValue); in isProtected()
324 bool returnValue = instance.supportsProtectedContent(); in supportsProtectedContent() local
325 resultPromise.set_value(returnValue); in supportsProtectedContent()
341 resultPromise.set_value(returnValue); in useProtectedContext()
370 bool returnValue = instance.cleanupPostRender(mode); in cleanupPostRender() local
[all …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
H A DFakeProviderWithAsserts.java49 String sortOrder, Cursor returnValue) { in ExpectedQuery() argument
55 mReturnValue = returnValue; in ExpectedQuery()
64 ExpectedInsert(Uri uri, ContentValues contentValues, Uri returnValue) { in ExpectedInsert() argument
67 mReturnValue = returnValue; in ExpectedInsert()
79 ContentValues contentValues, int returnValue) { in ExpectedUpdate() argument
84 mReturnValue = returnValue; in ExpectedUpdate()
/aosp12/frameworks/base/core/java/com/android/internal/view/
H A DOneShotPreDrawListener.java39 private OneShotPreDrawListener(View view, boolean returnValue, Runnable runnable) { in OneShotPreDrawListener() argument
43 mReturnValue = returnValue; in OneShotPreDrawListener()
68 public static OneShotPreDrawListener add(View view, boolean returnValue, Runnable runnable) { in add() argument
69 OneShotPreDrawListener listener = new OneShotPreDrawListener(view, returnValue, runnable); in add()
/aosp12/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DglGetString.java-impl10 String returnValue;
11 returnValue = _glGetString(
14 return returnValue;
/aosp12/packages/services/Car/car-test-lib/src/android/car/testapi/
H A DCarMockitoHelper.java41 Object returnValue = invocation.getArguments()[1]; in mockHandleRemoteExceptionFromCarServiceWithDefaultValue()
42 Log.v(TAG, "mocking handleRemoteExceptionFromCarService(): " + returnValue); in mockHandleRemoteExceptionFromCarServiceWithDefaultValue()
43 return returnValue; in mockHandleRemoteExceptionFromCarServiceWithDefaultValue()
/aosp12/art/tools/dexfuzz/src/dexfuzz/
H A DExecutionResult.java27 public int returnValue; field in ExecutionResult
116 return (returnValue == TIMEOUT_RETURN_VALUE); in isTimeout()
120 return (returnValue == SIGABORT_RETURN_VALUE); in isSigabort()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
H A DDomainVerificationCollector.java215 ReturnValue returnValue = domainCollector.apply(initialValue, host);
216 if (returnValue != null) {
217 return returnValue;
280 ReturnValue returnValue = domainCollector.apply(initialValue, host);
281 if (returnValue != null) {
282 return returnValue;
/aosp12/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp366 EGLBoolean returnValue; in main() local
394 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
395 checkEglError("eglInitialize", returnValue); in main()
397 if (returnValue != EGL_TRUE) { in main()
438 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
439 checkEglError("eglMakeCurrent", returnValue); in main()
440 if (returnValue != EGL_TRUE) { in main()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
H A DBlockingAnswerTest.java43 int returnValue = 1; in testForReturn() local
44 when(mService.intMethod()).thenReturn(returnValue); in testForReturn()
49 }, returnValue); in testForReturn()
/aosp12/frameworks/rs/
H A DrsClosure.cpp12 RsAllocation returnValue, in rsi_ClosureCreate() argument
24 context, (const ScriptKernelID*)kernelID, (Allocation*)returnValue, in rsi_ClosureCreate()
60 Allocation* returnValue, in Closure() argument
68 mIsKernel(true), mReturnValue(returnValue), mParams(nullptr), in Closure()
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dbrightness.cpp47 float returnValue = sqrt(0.241f * avgPixels[0] * avgPixels[0] + in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() local
51 return returnValue / 255; in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator()
/aosp12/art/tools/dexfuzz/src/dexfuzz/executors/
H A DDevice.java213 result.returnValue = process.waitFor(); in executeCommand()
215 Log.info("Return value: " + result.returnValue); in executeCommand()
228 result.output.add("RETURN CODE: " + result.returnValue); in executeCommand()
285 if (result.returnValue != 0) { in pushProgramToDevice()
/aosp12/packages/apps/Contacts/src/com/android/contacts/widget/
H A DTouchlessScrollView.java35 final Parcelable returnValue = super.onSaveInstanceState(); in onSaveInstanceState() local
37 return returnValue; in onSaveInstanceState()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
H A DOemUnlockPreferenceControllerTest.java115 boolean returnValue = mController.isAvailable(); in isAvailable_shouldReturnTrueWhenOemLockManagerIsNotNull()
117 assertThat(returnValue).isTrue(); in isAvailable_shouldReturnTrueWhenOemLockManagerIsNotNull()
124 boolean returnValue = mController.isAvailable(); in isAvailable_shouldReturnFalseWhenOemLockManagerIsNull()
126 assertThat(returnValue).isFalse(); in isAvailable_shouldReturnFalseWhenOemLockManagerIsNull()
/aosp12/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java293 PropertyValuesHolder returnValue = null; in getPVH() local
311 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
314 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
319 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
345 returnValue = PropertyValuesHolder.ofFloat(propertyName, in getPVH()
356 returnValue = PropertyValuesHolder.ofFloat(propertyName, valueTo); in getPVH()
379 returnValue = PropertyValuesHolder.ofInt(propertyName, valueFrom); in getPVH()
390 returnValue = PropertyValuesHolder.ofInt(propertyName, valueTo); in getPVH()
394 if (returnValue != null && evaluator != null) { in getPVH()
395 returnValue.setEvaluator(evaluator); in getPVH()
[all …]
/aosp12/frameworks/native/opengl/libs/EGL/
H A Degl_tls.h52 static T setErrorEtc(const char* caller, int line, EGLint error, T returnValue,
55 return returnValue;

1234