Home
last modified time | relevance | path

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

12

/frameworks/av/media/module/codecs/mp3dec/src/
Dpvmp3_getbits.cpp121 uint32 returnValue = 0; in getNbits() local
125 return (returnValue); in getNbits()
151 returnValue = (((uint32)(Elem)) << 24) | in getNbits()
157 returnValue <<= bitIndex; in getNbits()
160 returnValue >>= (32 - neededBits); in getNbits()
164 return (returnValue); in getNbits()
180 uint16 returnValue; in getUpTo9bits() local
200 returnValue = (((uint16)(Elem)) << 8) | in getUpTo9bits()
205 returnValue = (returnValue << (bitIndex)); in getUpTo9bits()
209 return (uint16)(returnValue >> (16 - neededBits)); in getUpTo9bits()
[all …]
/frameworks/native/opengl/tests/gl_perf/
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()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
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()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java137 int returnValue; in next() local
140 returnValue = mNext; in next()
146 returnValue = mDelegate.next(); in next()
149 if (returnValue == END_TAG && depth <= mFinalDepth) { in next()
152 return returnValue; in next()
177 String returnValue = null; in getAttributeValue() local
190 returnValue = attribute.value; in getAttributeValue()
196 returnValue = mDelegate.getAttributeValue(namespace, name); in getAttributeValue()
199 if (returnValue != null && mFinalDepth >= 0 && returnValue.startsWith("@{")) { in getAttributeValue()
201 int i = returnValue.lastIndexOf(DEFAULT); in getAttributeValue()
[all …]
/frameworks/base/core/java/android/transition/
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()
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DglGetString.java-impl10 String returnValue;
11 returnValue = _glGetString(
14 return returnValue;
/frameworks/base/core/java/com/android/internal/view/
DOneShotPreDrawListener.java40 private OneShotPreDrawListener(@NonNull View view, boolean returnValue, in OneShotPreDrawListener() argument
45 mReturnValue = returnValue; in OneShotPreDrawListener()
70 public static OneShotPreDrawListener add(@NonNull View view, boolean returnValue, in add() argument
72 OneShotPreDrawListener listener = new OneShotPreDrawListener(view, returnValue, runnable); in add()
/frameworks/native/opengl/tests/gl_yuvtex/
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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
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()
/frameworks/native/opengl/tests/gl2_yuvtex/
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()
/frameworks/native/opengl/tests/gl2_basic/
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()
/frameworks/av/media/libstagefright/renderfright/threaded/
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()
340 bool returnValue = instance.useProtectedContext(useProtectedContext); in useProtectedContext() local
341 resultPromise.set_value(returnValue); in useProtectedContext()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
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()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationCollector.java216 ReturnValue returnValue = domainCollector.apply(initialValue, host);
217 if (returnValue != null) {
218 return returnValue;
282 ReturnValue returnValue = domainCollector.apply(initialValue, host);
283 if (returnValue != null) {
284 return returnValue;
/frameworks/native/opengl/tests/gl2_copyTexImage/
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()
/frameworks/native/opengl/libs/EGL/
Degl_tls.h52 static T setErrorEtc(const char* caller, int line, EGLint error, T returnValue,
55 return returnValue;
/frameworks/rs/
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()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessThrottler.java328 ThermalBrightnessThrottlingData returnValue; in getConfigFromId() local
332 returnValue = mThermalBrightnessThrottlingDataOverride.get(mUniqueDisplayId) == null in getConfigFromId()
336 returnValue = returnValue == null in getConfigFromId()
338 : returnValue; in getConfigFromId()
340 return returnValue; in getConfigFromId()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/install/
DRequestThrottleTest.kt135 val returnValue = AtomicBoolean(false) in backoffRetry() constant
138 returnValue.get() in backoffRetry()
163 returnValue.set(true) in backoffRetry()
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/
DLongMultiStateCounter_host.java97 long returnValue = 0; in updateValue() local
109 returnValue = delta; in updateValue()
132 return returnValue; in updateValue()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java296 PropertyValuesHolder returnValue = null; in getPVH() local
314 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
317 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
322 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
348 returnValue = PropertyValuesHolder.ofFloat(propertyName, in getPVH()
351 returnValue = PropertyValuesHolder.ofFloat(propertyName, valueFrom); in getPVH()
359 returnValue = PropertyValuesHolder.ofFloat(propertyName, valueTo); in getPVH()
380 returnValue = PropertyValuesHolder.ofInt(propertyName, valueFrom, valueTo); in getPVH()
382 returnValue = PropertyValuesHolder.ofInt(propertyName, valueFrom); in getPVH()
393 returnValue = PropertyValuesHolder.ofInt(propertyName, valueTo); in getPVH()
[all …]
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp54 EGLBoolean returnValue; in hwcTestInitDisplay() local
71 returnValue = eglInitialize(*dpy, &majorVersion, &minorVersion); in hwcTestInitDisplay()
72 checkEglError("eglInitialize", returnValue); in hwcTestInitDisplay()
76 if (returnValue != EGL_TRUE) { in hwcTestInitDisplay()
90 returnValue = EGLUtils::selectConfigForNativeWindow(*dpy, in hwcTestInitDisplay()
92 if (returnValue) { in hwcTestInitDisplay()
94 returnValue); in hwcTestInitDisplay()
117 returnValue = eglMakeCurrent(*dpy, *surface, *surface, context); in hwcTestInitDisplay()
118 checkEglError("eglMakeCurrent", returnValue); in hwcTestInitDisplay()
119 if (returnValue != EGL_TRUE) { in hwcTestInitDisplay()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLogging.java576 Object returnValue, Object... params) { in createForReturn() argument
577 return new ServiceEvent(null , type, packageName, returnValue, params); in createForReturn()
580 private ServiceEvent(Exception exception, Type type, String packageName, Object returnValue, in ServiceEvent() argument
585 mReturnValue = returnValue; in ServiceEvent()
641 Object returnValue, Object... params) { in createForReturn() argument
642 return new SessionEvent(null , type, returnValue, params); in createForReturn()
650 private SessionEvent(Exception exception, Type type, Object returnValue, in SessionEvent() argument
654 mReturnValue = returnValue; in SessionEvent()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java228 AccessibilityWindowInfo returnValue = null; in findWindowByTitle() local
232 returnValue = window; in findWindowByTitle()
237 return returnValue; in findWindowByTitle()
/frameworks/native/libs/battery/
DMultiStateCounter.h224 T* returnValue = &emptyValue; in updateValue() local
242 returnValue = &deltaValue; in updateValue()
276 return *returnValue; in updateValue()

12