Home
last modified time | relevance | path

Searched refs:returnVal (Results 1 – 17 of 17) 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()
DTextToSpeechTests.java127 Locale returnVal = mTts.getLanguage(); in testGetLanguage_invalidReturnValues() local
128 assertNull(returnVal); in testGetLanguage_invalidReturnValues()
133 returnVal = mTts.getLanguage(); in testGetLanguage_invalidReturnValues()
134 assertNull(returnVal); in testGetLanguage_invalidReturnValues()
143 Locale returnVal = mTts.getLanguage(); in testGetLanguage_validReturnValues() local
148 assertEquals(new Locale("eng", "USA", ""), returnVal); in testGetLanguage_validReturnValues()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.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()
219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
221 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
231 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() local
232 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
233 if (!returnVal) { in printEGLConfigurations()
245 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
246 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
[all …]
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp138 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
140 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()
148 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
149 if (returnVal != EGL_TRUE) { in checkEglError()
150 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
162 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() local
163 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
164 if (!returnVal) { in printEGLConfigurations()
176 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
177 checkEglError("eglGetConfigs", returnVal); in printEGLConfigurations()
[all …]
/frameworks/native/opengl/tests/lib/
DglTestLib.cpp48 void glTestCheckEglError(const char* op, EGLBoolean returnVal) in glTestCheckEglError() argument
50 if (returnVal != EGL_TRUE) { in glTestCheckEglError()
51 testPrintE("%s() returned %d", op, returnVal); in glTestCheckEglError()
111 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, in glTestPrintEGLConfiguration() local
114 if (returnVal && error == EGL_SUCCESS) { in glTestPrintEGLConfiguration()
/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_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/base/core/java/android/speech/tts/
DTtsEngines.java314 String[] returnVal = new String[] { "", "", ""}; in parseLocalePref() local
317 System.arraycopy(split, 0, returnVal, 0, split.length); in parseLocalePref()
320 if (DBG) Log.d(TAG, "parseLocalePref(" + returnVal[0] + "," + returnVal[1] + in parseLocalePref()
321 "," + returnVal[2] +")"); in parseLocalePref()
323 return returnVal; in parseLocalePref()
/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.java218 String returnVal = " "; in toString() local
220 returnVal += mKeyframes.get(i).getValue() + " "; in toString()
222 return returnVal; in toString()
DPropertyValuesHolder.java380 Method returnVal = null; in getPropertyFunction() local
385 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction()
405 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction()
408 return returnVal; in getPropertyFunction()
416 if (returnVal == null) { in getPropertyFunction()
422 return returnVal; in getPropertyFunction()
DObjectAnimator.java488 String returnVal = "ObjectAnimator@" + Integer.toHexString(hashCode()) + ", target " + in toString() local
492 returnVal += "\n " + mValues[i].toString(); in toString()
495 return returnVal; in toString()
DValueAnimator.java1257 String returnVal = "ValueAnimator@" + Integer.toHexString(hashCode()); in toString() local
1260 returnVal += "\n " + mValues[i].toString(); in toString()
1263 return returnVal; in toString()
/frameworks/native/opengl/tests/include/
DglTestLib.h30 void glTestCheckEglError(const char* op, EGLBoolean returnVal = EGL_TRUE);
/frameworks/rs/driver/
DrsdGL.cpp53 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { in checkEglError() argument
77 if (returnVal != EGL_TRUE) { in checkEglError()
78 fprintf(stderr, "%s() returned %d\n", op, returnVal); in checkEglError()
129 EGLBoolean returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() local
130 if (returnVal) { in printEGLConfiguration()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp37 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE);
959 static void checkEglError(const char* op, EGLBoolean returnVal) in checkEglError() argument
961 if (returnVal != EGL_TRUE) { in checkEglError()
962 testPrintE("%s() returned %d", op, returnVal); in checkEglError()
1022 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, in printEGLConfiguration() local
1025 if (returnVal && error == EGL_SUCCESS) { in printEGLConfiguration()