Home
last modified time | relevance | path

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

12

/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/tests/hardware/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/nativeopengl/standalone/jni/tests/
DEGLCleanup_test.cpp98 int err = pthread_cond_wait(&mCond, &mLock); in waitForEnd() local
99 if (err != 0) { in waitForEnd()
100 ALOGW("pthread_cond_wait failed: %d", err); in waitForEnd()
103 return err == 0; in waitForEnd()
141 int err = pthread_create(&newThread, &attr, ChainedThread::func, in startThread_l() local
143 return (err == 0); in startThread_l()
154 int err = pthread_mutex_lock(&mLock); in lock() local
155 if (err != 0) { in lock()
156 ALOGW("pthread_mutex_lock failed: %d", err); in lock()
158 return err == 0; in lock()
[all …]
/cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/
DCtsNativeScanner.java30 System.err.println("Arguments: " + Arrays.asList(args)); in usage()
31 System.err.println("Usage: cts-native-scanner -t TEST_SUITE"); in usage()
32 System.err.println(" This code reads from stdin the list of tests."); in usage()
33 System.err.println(" The format expected:"); in usage()
34 System.err.println(" TEST_CASE_NAME."); in usage()
35 System.err.println(" TEST_NAME"); in usage()
45 System.err.println("Unsupported flag: " + args[i]); in main()
66 System.err.println(message); in getArg()
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
DCtsJavaScanner.java30 System.err.println("Arguments: " + Arrays.asList(args)); in usage()
31 System.err.println("Usage: cts-java-scanner -s SOURCE_DIR -d DOCLET_PATH"); in usage()
45 System.err.println("Unsupported flag: " + args[i]); in main()
51 System.err.println("Source directory is required"); in main()
56 System.err.println("Doclet path is required"); in main()
68 System.err.println(message); in getArg()
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DRenderer.cpp161 GLuint err = glGetError(); in setUp() local
162 if (err != GL_NO_ERROR) { in setUp()
163 ALOGE("GLError %d", err); in setUp()
191 GLuint err = glGetError(); in setUp() local
192 if (err != GL_NO_ERROR) { in setUp()
193 ALOGE("GLError %d in setUp", err); in setUp()
216 GLuint err = glGetError(); in tearDown() local
217 if (err != GL_NO_ERROR) { in tearDown()
218 ALOGE("GLError %d in tearDown", err); in tearDown()
285 GLuint err = glGetError(); in draw() local
[all …]
/cts/hostsidetests/theme/
Drun_theme_capture_device.py83 def printAdbResult(device, out, err): argument
87 if err is not None:
88 print "err:\n" + err
107 (out, err, success) = device.installApk(themeApkPath)
110 printAdbResult(device, out, err)
115 …(out, err) = device.runInstrumentationTest("android.theme.app/android.support.test.runner.AndroidJ…
119 …(out, err) = device.runInstrumentationTest("android.theme.app/android.test.InstrumentationTestRunn…
123 printAdbResult(deviceSerial, out, err)
Dandroid_device.py48 (output, err) = self.runShellCommand("getprop dev.bootcomplete")
60 (out, err) = self.runAdbCommand("install -r -d -g " + apkPath)
62 return (out, err, "Success" in result)
65 (out, err) = self.runAdbCommand("uninstall " + package)
73 (out, err) = self.runShellCommand("ps")
/cts/suite/cts/hostTests/jank/app/src/com/android/cts/jank/
DCtsJankTestBase.java52 Scanner err = null; in runShellCommand() local
59 err = new Scanner(p.getErrorStream()); in runShellCommand()
65 } else if (err.hasNextLine()) { in runShellCommand()
66 errStr.append(err.nextLine()); in runShellCommand()
92 if (err != null) { in runShellCommand()
93 err.close(); in runShellCommand()
/cts/tools/signature-tools/src/signature/
DMain.java81 System.err.println("\nUNEXPECTED TOP-LEVEL EXCEPTION:"); in main()
85 System.err.println("\nUNEXPECTED TOP-LEVEL ERROR:"); in main()
91 System.err.println("error: no command specified"); in main()
105 System.err.println("android sigtools version " + Version.VERSION); in version()
113 System.err.println(USAGE_MESSAGE); in usage()
/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/tests/tests/os/jni/
Dandroid_os_cts_TaggedPointer.cpp41 int err; in android_os_cts_TaggedPointer_hasTaggedPointer() local
53 err = sigaction(SIGSEGV, &sigsegv_act, &oldact); in android_os_cts_TaggedPointer_hasTaggedPointer()
54 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/vm-tests-tf/src/util/build/
DJarBuildStep.java48 System.err.println("io exception:"+e.getMessage()); in build()
55 System.err.println("failed to create output dir: " in build()
62 Main main = new Main(System.out, System.err, "jar"); in build()
73 System.err.println("exception in JarBuildStep while calling jar with args:" + in 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()
DJavacBuildStep.java54 System.err.println("failed to create destination dir"); in build()
69 return Main.compile(commandLine, new PrintWriter(System.err)) == 0; in build()
DJackDexBuildStep.java49 System.err.println("failed to create output dir: " in build()
70 System.err.println("exception while dexing " in build()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp154 int err = AMediaExtractor_setDataSourceFd(ex, fd, offset, size); in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative() local
155 if (err != 0) { in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative()
156 ALOGE("setDataSource error: %d", err); in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative()
173 int err = AMediaExtractor_setDataSource(ex, tmp); in Java_android_media_cts_NativeDecoderTest_getSampleSizesNativePath() local
177 if (err != 0) { in Java_android_media_cts_NativeDecoderTest_getSampleSizesNativePath()
178 ALOGE("setDataSource error: %d", err); in Java_android_media_cts_NativeDecoderTest_getSampleSizesNativePath()
225 int err = AMediaExtractor_setDataSourceFd(ex, fd, offset, size); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
226 if (err != 0) { in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
227 ALOGE("setDataSource error: %d", err); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
378 int err = AMediaExtractor_setDataSourceFd(ex, fd, offset, size); in Java_android_media_cts_NativeDecoderTest_testPlaybackNative() local
[all …]
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DCtsXmlGenerator.java38 System.err.println("Arguments: " + Arrays.asList(args)); in usage()
39 System.err.println("Usage: cts-xml-generator -p PACKAGE_NAME -n NAME [-t TEST_TYPE]" in usage()
91 System.err.println( in main()
96 System.err.println(String.format( in main()
102 System.err.println("Unsupported flag: " + args[i]); in main()
140 System.err.println(message); in getArg()
/cts/tools/utils/
DCollectAllTests.java67 System.err.println("usage: CollectAllTests <output-file> <manifest-file> <jar-file> " in main()
70 System.err.println("received:"); in main()
72 System.err.println(" " + arg); in main()
89 System.err.println("Invalid " + ATTRIBUTE_JAVA_PACKAGE_FILTER + ": " + in main()
103 System.err.println("Invalid architecture"); in main()
117 System.err.println("cannot open manifest " + manifestFile); in main()
164 System.err.println("Can't initialize XML Generator " + outputXmlFile); in main()
177 System.err.println("Can't initialize vogar expectation store from " in main()
179 e.printStackTrace(System.err); in main()
191 System.err.println("cannot open jarfile " + jarFileName); in main()
[all …]
/cts/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/
DManifestGenerator.java74 System.err.println("Couldn't create manifest file"); in main()
121 System.err.println(message); in error()
122 System.err.println(USAGE); in error()
/cts/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/
DContextSwitchRenderer.cpp219 GLuint err = glGetError(); in drawWorkload() local
220 if (err != GL_NO_ERROR) { in drawWorkload()
221 ALOGE("GLError %d in drawWorkload", err); in drawWorkload()

12