Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 57) sorted by relevance

123

/cts/tools/dasm/src/java_cup/
DMain.java151 if (print_progress) System.err.println("Opening files..."); in main()
158 System.err.println("Parsing specification from standard input..."); in main()
167 if (print_progress) System.err.println("Checking specification..."); in main()
173 if (print_progress) System.err.println("Building parse tables..."); in main()
179 if (print_progress) System.err.println("Writing parser..."); in main()
199 if (print_progress) System.err.println("Closing files..."); in main()
214 System.err.println(); in usage()
215 System.err.println(message); in usage()
216 System.err.println(); in usage()
217 System.err.println( in usage()
[all …]
Dlalr_state.java627 System.err.println("*** Reduce/Reduce conflict found in state #"+index()); in report_reduce_reduce()
628 System.err.print (" between "); in report_reduce_reduce()
629 System.err.println(itm1.to_simple_string()); in report_reduce_reduce()
630 System.err.print (" and "); in report_reduce_reduce()
631 System.err.println(itm2.to_simple_string()); in report_reduce_reduce()
632 System.err.print(" under symbols: {" ); in report_reduce_reduce()
637 if (comma_flag) System.err.print(", "); else comma_flag = true; in report_reduce_reduce()
638 System.err.print(terminal.find(t).name()); in report_reduce_reduce()
641 System.err.println("}"); in report_reduce_reduce()
642 System.err.print(" Resolved in favor of "); in report_reduce_reduce()
[all …]
Dinternal_error.java17 System.err.println("JavaCUP Fatal Internal Error Detected"); in crash()
18 System.err.println(getMessage()); in crash()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DTestConstants.java43 public static String errToStr(int err) { in errToStr() argument
44 switch(err) { in errToStr()
56 return EVENT_CAMERA_UNKNOWN_STR + " " + err; in errToStr()
66 public static String[] convertToStringArray(int[] err) { in convertToStringArray() argument
67 if (err == null) return null; in convertToStringArray()
68 String[] ret = new String[err.length]; in convertToStringArray()
69 for (int i = 0; i < err.length; i++) { in convertToStringArray()
70 ret[i] = errToStr(err[i]); in convertToStringArray()
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp240 int err = AHardwareBuffer_sendHandleToUnixSocket(pdata->buffer, pdata->fd); in clientFunction() local
241 EXPECT_EQ(NO_ERROR, err); in clientFunction()
257 int err = AHardwareBuffer_sendHandleToUnixSocket(NULL, 0); in TEST() local
258 EXPECT_EQ(BAD_VALUE, err); in TEST()
259 err = 0; in TEST()
260 err = AHardwareBuffer_sendHandleToUnixSocket(buffer, 0); in TEST()
261 EXPECT_EQ(BAD_VALUE, err); in TEST()
264 err = AHardwareBuffer_allocate(&desc, &buffer); in TEST()
265 EXPECT_EQ(NO_ERROR, err); in TEST()
268 err = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, fds); in TEST()
[all …]
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BitmapTest.cpp28 int err = 0; in validateBitmapInfo() local
29 err = AndroidBitmap_getInfo(env, jbitmap, &info); in validateBitmapInfo()
30 ASSERT_EQ(ANDROID_BITMAP_RESULT_SUCCESS, err); in validateBitmapInfo()
40 int err = AndroidBitmap_lockPixels(env, jbitmap, &pixels); in validateNdkAccessAfterRecycle() local
41 ASSERT_EQ(err, ANDROID_BITMAP_RESULT_JNI_EXCEPTION); in validateNdkAccessAfterRecycle()
Dandroid_graphics_cts_ASurfaceTextureTest.cpp61 int err = ANativeWindow_lock(win, &outBuffer, &bounds); in basicTests() local
62 ASSERT(!err, "ANativeWindow_lock failed"); in basicTests()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp81 static bool not_accessible(const std::string& err) { in not_accessible() argument
82 return err.find("dlopen failed: library \"") == 0 && in not_accessible()
83err.find("is not accessible for the namespace \"classloader-namespace\"") != std::string::npos; in not_accessible()
86 static bool not_found(const std::string& err) { in not_found() argument
87 return err.find("dlopen failed: library \"") == 0 && in not_found()
88 err.find("\" not found") != std::string::npos; in not_found()
91 static bool wrong_arch(const std::string& library, const std::string& err) { in wrong_arch() argument
95 return err.find("dlopen failed: \"" + library + "\" has unexpected e_machine: ") == 0; in wrong_arch()
131 std::string err = dlerror(); in check_lib() local
132 if (!not_accessible(err) && !not_found(err) && !wrong_arch(path, err)) { in check_lib()
[all …]
/cts/tests/openglperf2/jni/graphics/
DRenderer.cpp162 GLuint err = glGetError(); in setUp() local
163 if (err != GL_NO_ERROR) { in setUp()
164 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "GLError %d", err); in setUp()
192 GLuint err = glGetError(); in setUp() local
193 if (err != GL_NO_ERROR) { in setUp()
194 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "GLError %d in setUp", err); in setUp()
217 GLuint err = glGetError(); in tearDown() local
218 if (err != GL_NO_ERROR) { in tearDown()
219 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "GLError %d in tearDown", err); in tearDown()
286 GLuint err = glGetError(); in draw() local
[all …]
/cts/hostsidetests/theme/
Dandroid_device.py39 (out, err) = adb_process.communicate(timeout=timeout)
40 return out.decode('utf-8').strip(), err.decode('utf-8').strip()
53 (out, err) = self.run_shell_command("getprop %s" % key)
68 (output, err) = self.run_shell_command("service check %s" % name)
83 (out, err) = self.run_adb_command("install -r -d -g %s" % apk_path)
85 return out, err, "Success" in result
89 (out, err) = self.run_adb_command("uninstall %s" % package)
98 (out, err) = self.run_shell_command("ps")
Dgenerate_images.py99 def print_adb_result(device, out, err): argument
103 if err is not None:
104 print("err:\n" + err)
127 (out, err, success) = device.install_apk(themeApkPath)
130 print_adb_result(device_serial, out, err)
135 (out, err) = device.run_instrumentation_test(
140 (out, err) = device.run_instrumentation_test(
145 print_adb_result(device_serial, out, err)
Davd.py68 (out, err) = self._emu_proc.communicate()
70 return out, err
/cts/hostsidetests/incident/src/com/android/server/cts/
DSettingsIncidentTest.java167 …String err = "Setting '" + setting.getName() + "' with LOCAL privacy didn't strip data for filter … in verifySettings() local
168 assertTrue(err, setting.getId().isEmpty()); in verifySettings()
169 assertTrue(err, setting.getName().isEmpty()); in verifySettings()
170 assertTrue(err, setting.getPkg().isEmpty()); in verifySettings()
171 assertTrue(err, setting.getValue().isEmpty()); in verifySettings()
172 assertTrue(err, setting.getDefaultValue().isEmpty()); in verifySettings()
176 …String err = "Setting '" + setting.getName() + "' with EXPLICIT privacy didn't strip data for filt… in verifySettings() local
177 assertTrue(err, setting.getId().isEmpty()); in verifySettings()
178 assertTrue(err, setting.getName().isEmpty()); in verifySettings()
179 assertTrue(err, setting.getPkg().isEmpty()); in verifySettings()
[all …]
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp239 media_status_t err, in OnErrorCB() argument
242 ALOGV("OnErrorCB: err(%d), actionCode(%d), detail(%s)", err, actionCode, detail); in OnErrorCB()
321 int err = AMediaExtractor_setDataSourceFd(ex, fd, offset, size); in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative() local
322 if (err != 0) { in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative()
323 ALOGE("setDataSource error: %d", err); in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative()
340 int err = AMediaExtractor_setDataSource(ex, tmp); in Java_android_media_cts_NativeDecoderTest_getSampleSizesNativePath() local
344 if (err != 0) { in Java_android_media_cts_NativeDecoderTest_getSampleSizesNativePath()
345 ALOGE("setDataSource error: %d", err); in Java_android_media_cts_NativeDecoderTest_getSampleSizesNativePath()
391 int err = AMediaExtractor_setDataSourceFd(ex, fd, offset, size); in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative() local
392 if (err != 0) { in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative()
[all …]
/cts/tests/tests/os/jni/
Dandroid_os_cts_TaggedPointer.cpp40 int err; in android_os_cts_TaggedPointer_hasTaggedPointer() local
52 err = sigaction(SIGSEGV, &sigsegv_act, &oldact); in android_os_cts_TaggedPointer_hasTaggedPointer()
53 if (err) { in android_os_cts_TaggedPointer_hasTaggedPointer()
Dandroid_os_cts_CpuInstructions.cpp40 int err; in test_instruction() local
46 err = sigaction(SIGILL, &sigill_act, &oldact); in test_instruction()
47 if (err) { in test_instruction()
/cts/tools/dasm/src/dasm/
DMain.java61 System.err.println("Command line option " + opt in incompleteOption()
93 System.err.println("DASM Error: " + e.getMessage()); in assemble()
96 System.err.println("Exception <" + e.getClass().getName() + ">" in assemble()
105 System.err.println("Found " + dAsm.errorCount() + " errors " in assemble()
143 System.err.println("Cannot create directory " + dest_dir); in assemble()
158 System.err.println("Exception <" + e.getClass().getName() + ">" in assemble()
231 System.err in printUsage()
/cts/hostsidetests/security/securityPatch/CVE-2016-2109/
Dpoc.c32 unsigned long err = 0; in main() local
42 if((err = ERR_get_error()) in main()
/cts/tools/vm-tests-tf/src/util/build/
DDFHBuildStep.java39 System.err.println("failed to create dir: " in build()
51 System.err.println(e); in build()
58 …System.err.println("error in DFHBuildStep for inputfile "+inputFile.fileName+", outputfile "+outpu… in build()
DDasmBuildStep.java71 System.err.println("DASM Error: " + e.getMessage()); in assemble()
75 System.err.println("Exception <" + e.getClass().getName() + ">" + e.getMessage() + in assemble()
85 System.err.println("Found " + dAsm.errorCount() + " errors " + in assemble()
118 System.err.println("Cannot create directory " + dest_dir); in assemble()
132 System.err.println("Exception <" + e.getClass().getName() + ">" + e.getMessage() + in assemble()
DJarBuildStep.java56 System.err.println("io exception:"+e.getMessage()); in build()
63 System.err.println("failed to create output dir: " in build()
98 System.err.println("exception in JarBuildStep for " + in build()
100 e.printStackTrace(System.err); in build()
/cts/hostsidetests/jvmti/redefining/app/src/android/jvmti/cts/
DJvmtiRedefineClassesTest.java59 public RedefineError(int err, Class<?> target, String base64string) { in RedefineError() argument
60 this(err, target, Base64.getDecoder().decode(base64string)); in RedefineError()
63 public RedefineError(int err, Class<?> klass, byte[] dex) { in RedefineError() argument
64 this.expectedError = err; in RedefineError()
86 private static void checkRedefinition(RedefineError err) { in checkRedefinition() argument
87 assertEquals(err.expectedError, redefineClass(err.target, err.dexData)); in checkRedefinition()
/cts/tools/utils/
DCollectAllTests.java68 System.err.println("usage: CollectAllTests <output-file> <manifest-file> <jar-file> " in main()
71 System.err.println("received:"); in main()
73 System.err.println(" " + arg); in main()
90 System.err.println("Invalid " + ATTRIBUTE_JAVA_PACKAGE_FILTER + ": " + in main()
104 System.err.println("Invalid architecture"); in main()
118 System.err.println("cannot open manifest " + manifestFile); in main()
165 System.err.println("Can't initialize XML Generator " + outputXmlFile); in main()
178 System.err.println("Can't initialize vogar expectation store from " in main()
180 e.printStackTrace(System.err); in main()
192 System.err.println("cannot open jarfile " + jarFileName); in main()
[all …]
/cts/tests/signature/src/android/signature/cts/
DLogHelper.java23 System.err.println(String.format("%s: %s", message, exception)); in loge()
/cts/tests/openglperf2/jni/primitive/contextswitch/
DContextSwitchRenderer.cpp219 GLuint err = glGetError(); in drawWorkload() local
220 if (err != GL_NO_ERROR) { in drawWorkload()
221 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "GLError %d in drawWorkload", err); in drawWorkload()

123