Home
last modified time | relevance | path

Searched refs:returnVal (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DMockableCheckVoiceData.java37 final Intent returnVal = new Intent(); in onCreate() local
41 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL, returnVal); in onCreate()
46 returnVal.putStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES, in onCreate()
50 returnVal.putStringArrayListExtra(TextToSpeech.Engine.EXTRA_UNAVAILABLE_VOICES, in onCreate()
54 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, returnVal); in onCreate()
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h58 static inline String8 checkEglError(const char* op, EGLBoolean returnVal);
169 String8 EGLUtils::checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) {
171 if (returnVal != EGL_TRUE) {
172 msg.appendFormat("%s() returned %d\n", op, returnVal);
234 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
236 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
246 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() local
247 msg.append(checkEglError("eglGetConfigs", returnVal)); in printEGLConfigurations()
248 if (!returnVal) { in printEGLConfigurations()
256 returnVal = eglGetConfigs(dpy, configs.data(), numConfig, &numConfig); in printEGLConfigurations()
[all …]
DglTestLib.h30 void glTestCheckEglError(const char* op, EGLBoolean returnVal = EGL_TRUE);
/frameworks/base/core/tests/coretests/src/android/animation/
DAutoCancelTest.java43 ObjectAnimator returnVal; in setupAnimator() local
45 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1); in setupAnimator()
51 returnVal = ObjectAnimator.ofPropertyValuesHolder(this, pvhArray); in setupAnimator()
53 returnVal.setAutoCancel(true); in setupAnimator()
54 returnVal.setStartDelay(startDelay); in setupAnimator()
55 returnVal.addListener(mCanceledListener); in setupAnimator()
56 return returnVal; in setupAnimator()
/frameworks/native/opengl/tests/lib/
DglTestLib.cpp47 void glTestCheckEglError(const char* op, EGLBoolean returnVal) in glTestCheckEglError() argument
49 if (returnVal != EGL_TRUE) { in glTestCheckEglError()
50 testPrintE("%s() returned %d", op, returnVal); in glTestCheckEglError()
110 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, in glTestPrintEGLConfiguration() local
113 if (returnVal && error == EGL_SUCCESS) { in glTestPrintEGLConfiguration()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp56 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
57 if (returnVal != EGL_TRUE) { in checkEglError()
58 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
228 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
230 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
240 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() local
241 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
242 if (!returnVal) { in printEGLConfigurations()
254 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
255 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
[all …]
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp47 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
48 if (returnVal != EGL_TRUE) { in checkEglError()
49 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
323 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
325 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
335 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() local
336 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
337 if (!returnVal) { in printEGLConfigurations()
349 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
350 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
[all …]
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp140 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
142 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
150 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
151 if (returnVal != EGL_TRUE) { in checkEglError()
152 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
164 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() local
165 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
166 if (!returnVal) { in printEGLConfigurations()
178 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
179 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
[all …]
/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp35 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
36 if (returnVal != EGL_TRUE) { in checkEglError()
37 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp49 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
50 if (returnVal != EGL_TRUE) { in checkEglError()
51 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
214 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
216 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp49 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
50 if (returnVal != EGL_TRUE) { in checkEglError()
51 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
324 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
326 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
/frameworks/base/core/java/android/animation/
DKeyframeSet.java251 String returnVal = " "; in toString() local
253 returnVal += mKeyframes.get(i).getValue() + " "; in toString()
255 return returnVal; in toString()
DPropertyValuesHolder.java697 Method returnVal = null; in getPropertyFunction() local
702 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction()
722 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction()
727 return returnVal; in getPropertyFunction()
735 if (returnVal == null) { in getPropertyFunction()
741 return returnVal; in getPropertyFunction()
DObjectAnimator.java1008 String returnVal = "ObjectAnimator@" + Integer.toHexString(hashCode()) + ", target " + in toString() local
1012 returnVal += "\n " + mValues[i].toString(); in toString()
1015 return returnVal; in toString()
DValueAnimator.java1621 String returnVal = "ValueAnimator@" + Integer.toHexString(hashCode()); in toString() local
1624 returnVal += "\n " + mValues[i].toString(); in toString()
1627 return returnVal; in toString()
DAnimatorSet.java1425 String returnVal = "AnimatorSet@" + Integer.toHexString(hashCode()) + "{";
1429 returnVal += "\n " + node.mAnimation.toString();
1431 return returnVal + "\n}";
/frameworks/rs/driver/
DrsdGL.cpp47 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
71 if (returnVal != EGL_TRUE) { in checkEglError()
72 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
123 EGLBoolean returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
124 if (returnVal) { in printEGLConfiguration()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp38 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE);
952 static void checkEglError(const char* op, EGLBoolean returnVal) in checkEglError() argument
954 if (returnVal != EGL_TRUE) { in checkEglError()
955 testPrintE("%s() returned %d", op, returnVal); in checkEglError()
1007 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, in printEGLConfiguration() local
1010 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
/frameworks/support/compat/src/main/java/androidx/core/app/
DFrameMetricsAggregator.java458 SparseIntArray[] returnVal = mMetrics; in reset() local
460 return returnVal; in reset()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DLaunchParamsControllerTests.java238 InstrumentedPositioner(int returnVal, LaunchParams params) { in InstrumentedPositioner() argument
239 mReturnVal = returnVal; in InstrumentedPositioner()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java592 private void mockLocationModeValue(int returnVal) { in mockLocationModeValue() argument
594 eq(Settings.Secure.LOCATION_MODE), anyInt())).thenReturn(returnVal); in mockLocationModeValue()