/cts/tests/tests/net/src/android/net/http/cts/ |
D | SslErrorTest.java | 37 SslError error = new SslError(SslError.SSL_EXPIRED, mCertificate); in testHasError() local 38 assertTrue(error.hasError(SslError.SSL_EXPIRED)); in testHasError() 39 assertFalse(error.hasError(SslError.SSL_UNTRUSTED)); in testHasError() 43 SslError error = new SslError(SslError.SSL_EXPIRED, mCertificate); in testAddError() local 44 assertFalse(error.hasError(SslError.SSL_UNTRUSTED)); in testAddError() 45 error.addError(SslError.SSL_UNTRUSTED); in testAddError() 46 assertTrue(error.hasError(SslError.SSL_UNTRUSTED)); in testAddError() 50 SslError error = new SslError(SslError.SSL_EXPIRED, mCertificate); in testAddErrorIgnoresInvalidValues() local 51 error.addError(42); in testAddErrorIgnoresInvalidValues() 52 assertFalse(error.hasError(42)); in testAddErrorIgnoresInvalidValues() [all …]
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | NativeAttachShaderTest.java | 52 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachedShaders_validshader() local 53 assertEquals(GLES20.GL_NO_ERROR, error); in test_glAttachedShaders_validshader() 66 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachedShaders_invalidshader() local 67 assertTrue(GLES20.GL_NO_ERROR != error); in test_glAttachedShaders_invalidshader() 80 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachedShaders_attach_same_shader() local 81 assertTrue(GLES20.GL_NO_ERROR != error); in test_glAttachedShaders_attach_same_shader() 97 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachedShaders_noshader() local 98 assertEquals(GLES20.GL_NO_ERROR, error); in test_glAttachedShaders_noshader() 110 int error = mActivity.mRenderer.mAttachShaderError;; in test_glAttachShaders_emptyfragshader_emptyvertexshader() local 111 assertEquals(GLES20.GL_NO_ERROR, error); in test_glAttachShaders_emptyfragshader_emptyvertexshader() [all …]
|
D | AttachShaderTest.java | 51 int error = mActivity.glGetError(); in test_glAttachedShaders_validshader() local 52 assertEquals(GLES20.GL_NO_ERROR, error); in test_glAttachedShaders_validshader() 99 int error = mActivity.glGetError(); in test_glAttachedShaders_noshader() local 100 assertEquals(GLES20.GL_NO_ERROR, error); in test_glAttachedShaders_noshader() 113 int error = mActivity.glGetError(); in test_glAttachShaders_emptyfragshader_emptyvertexshader() local 114 assertEquals(GLES20.GL_NO_ERROR, error); in test_glAttachShaders_emptyfragshader_emptyvertexshader() 128 int error = mActivity.glGetError(); in test_glAttachShaders_programobject_attach_fragshaderobject() local 129 assertEquals(GLES20.GL_NO_ERROR, error); in test_glAttachShaders_programobject_attach_fragshaderobject() 134 int error = mActivity.glGetError(); in test_glAttachShaders_invalidshader_attach_valid_handle() local 135 assertTrue(GLES20.GL_NO_ERROR != error); in test_glAttachShaders_invalidshader_attach_valid_handle() [all …]
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | EglContextTest.java | 98 int error = EGL14.eglGetError(); in destroyEglContext() local 99 if (error != EGL14.EGL_SUCCESS) { in destroyEglContext() 100 throw new RuntimeException("error releasing context: " + error); in destroyEglContext() 104 error = EGL14.eglGetError(); in destroyEglContext() 105 if (error != EGL14.EGL_SUCCESS) { in destroyEglContext() 106 throw new RuntimeException("error destroying context: " + error); in destroyEglContext() 110 error = EGL14.eglGetError(); in destroyEglContext() 111 if (error != EGL14.EGL_SUCCESS) { in destroyEglContext() 112 throw new RuntimeException("error releasing thread: " + error); in destroyEglContext() 116 error = EGL14.eglGetError(); in destroyEglContext() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/ |
D | ScreenPinningTestActivity.java | 126 private void error(int errorId) { in error() method in ScreenPinningTestActivity 127 error(errorId, new Throwable()); in error() 130 private void error(final int errorId, final Throwable cause) { in error() method in ScreenPinningTestActivity 134 String error = getString(errorId); in error() 135 Log.d(TAG, error, cause); in error() 139 ((TextView) findViewById(R.id.error_text)).setText(error); in error() 148 error(R.string.error_screen_already_pinned); 171 error(R.string.error_screen_pinning_did_not_start); 182 error(R.string.error_screen_no_longer_pinned); 193 error(R.string.error_screen_pinning_did_not_exit); [all …]
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | DeviceInfoActivity.java | 119 private void error(String message) { in error() method in DeviceInfoActivity 189 error("Failed to begin JSON group: " + e.getMessage()); in startGroup() 201 error("Failed to begin JSON group: " + e.getMessage()); in startGroup() 212 error("Failed to end JSON group: " + e.getMessage()); in endGroup() 223 error("Failed to begin JSON array: " + e.getMessage()); in startArray() 236 error("Failed to begin JSON array: " + e.getMessage()); in startArray() 247 error("Failed to end JSON group: " + e.getMessage()); in endArray() 259 error("Failed to add result for type double: " + e.getMessage()); in addResult() 271 error("Failed to add result for type long: " + e.getMessage()); in addResult() 283 error("Failed to add result for type int: " + e.getMessage()); in addResult() [all …]
|
/cts/apps/CameraITS/pymodules/its/ |
D | device.py | 15 import its.error 100 except socket.error: 102 raise its.error.Error(self.device_id, 110 output, error = proc.communicate() 142 output, error = proc.communicate() 145 if error is None or error.find("error") < 0: 150 raise its.error.Error(self.device_id, " cannot find an available " + 223 raise its.error.Error('Problem with socket on device side') 250 raise its.error.Error('Invalid command response') 257 raise its.error.Error('Invalid command response') [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | WeightedPixelDifference.java | 58 float error = 0f; in errorBetweenPixels() local 59 error += Math.abs(Color.red(color1) - Color.red(color2)); in errorBetweenPixels() 60 error += Math.abs(Color.green(color1) - Color.green(color2)); in errorBetweenPixels() 61 error += Math.abs(Color.blue(color1) - Color.blue(color2)); in errorBetweenPixels() 62 error += Math.abs(Color.alpha(color1) - Color.alpha(color2)); in errorBetweenPixels() 63 return error; in errorBetweenPixels()
|
D | NearPixelComparer.java | 61 int error = Math.abs(Color.red(ideal) - Color.red(given)); in pixelsAreSame() local 62 error += Math.abs(Color.green(ideal) - Color.green(given)); in pixelsAreSame() 63 error += Math.abs(Color.blue(ideal) - Color.blue(given)); in pixelsAreSame() 64 return (error < THRESHOLD); in pixelsAreSame()
|
D | MeanSquaredComparer.java | 67 float error = sum1DFloatAllocation(outputAllocation); in verifySameRowsRS() local 68 error /= (height * width); in verifySameRowsRS() 70 Log.d(TAG, "Error RS : " + error); in verifySameRowsRS() 72 return (error < mErrorPerPixel); in verifySameRowsRS()
|
D | ThresholdDifferenceComparer.java | 52 int error = Math.abs(Color.red(ideal[index]) - Color.red(given[index])); in verifySame() local 53 error += Math.abs(Color.blue(ideal[index]) - Color.blue(given[index])); in verifySame() 54 error += Math.abs(Color.green(ideal[index]) - Color.green(given[index])); in verifySame() 55 if (error > mThreshold) { in verifySame()
|
/cts/tests/tests/opengl/libopengltest/ |
D | attach_shader_two.cpp | 42 GLint error = glGetError(); in attachShaderTwo() local 43 LOGI("Error %d\n", error); in attachShaderTwo() 44 Data data = {error, count, -1}; in attachShaderTwo()
|
D | color_one.cpp | 81 GLint error = glGetError(); in initColorOne() local 126 for (GLint error = glGetError(); error; error in checkGlError() local 128 LOGI("after %s() glError (0x%x)\n", op, error); in checkGlError()
|
D | attach_shader_nine.cpp | 30 GLint error = glGetError(); in attachShaderNine() local 31 Data data = {error, -9, -1}; in attachShaderNine()
|
D | attach_shader_eight.cpp | 31 GLint error = glGetError(); in attachShaderEight() local 32 Data data = {error, -9 , -1}; in attachShaderEight()
|
D | attach_shader_six.cpp | 34 GLint error = glGetError(); in attachShaderSix() local 35 Data data = {error, -9 , -1}; in attachShaderSix()
|
D | attach_shader_three.cpp | 40 GLint error = glGetError(); in attachShaderThree() local 41 Data data = {error, -9, -1}; in attachShaderThree()
|
D | attach_shader_four.cpp | 36 GLint error = glGetError(); in attachShaderFour() local 37 Data data = {error, count, -1}; in attachShaderFour()
|
D | attach_shader_seven.cpp | 34 GLint error = glGetError(); in attachShaderSeven() local 35 Data data = {error, -9 , -1}; in attachShaderSeven()
|
D | attach_shader_eleven.cpp | 41 GLint error = glGetError(); in attachShaderEleven() local 42 Data data = {error, count, -1}; in attachShaderEleven()
|
D | attach_shader_ten.cpp | 40 GLint error = glGetError(); in attachShaderTen() local 41 Data data = {error, count, -1}; in attachShaderTen()
|
D | attach_shader_five.cpp | 40 GLint error = glGetError(); in attachShaderFive() local 41 Data data = {error, count, -1}; in attachShaderFive()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VelocityTrackerTest.java | 175 estimatedVx, error(mVx, estimatedVx) * 100.0f, in addMovement() 176 estimatedVy, error(mVy, estimatedVy) * 100.0f)); in addMovement() 184 float errorVx = error(mVx, estimatedVx); in assertVelocity() 185 float errorVy = error(mVy, estimatedVy); in assertVelocity() 195 private static float error(float expected, float actual) { in error() method in VelocityTrackerTest
|
/cts/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/ |
D | ManifestGenerator.java | 60 error("Missing package name"); in main() 62 error("Missing instrumentation name"); in main() 64 error("No activities"); in main() 66 error("Missing output file"); in main() 120 private static void error(String message) { in error() method in ManifestGenerator
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | run.js | 51 function PrintError(name, error) { argument 52 PrintResult(name, error);
|