Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 43) sorted by relevance

12

/cts/suite/audio_quality/lib/src/
DReport.cpp66 void Report::printf(const char* fmt, ...) in printf() function in Report
96 printf(" <test title=\"%s\" result=\"pass\" >", it->first.string()); in writeResult()
98 printf(" <test title=\"%s\" result=\"fail\" >", it->first.string()); in writeResult()
100 printf(" <details>\n%s", it->second.string()); in writeResult()
101 printf(" </details>"); in writeResult()
102 printf(" </test>"); in writeResult()
108 printf("<?xml version='1.0' encoding='utf-8' standalone='yes' ?>"); in writeReport()
109 printf("<audio-test-results-report report-version=\"1\" creation-time=\"%s\">", in writeReport()
111 printf(" <verifier-info version-name=\"1\" version-code=\"1\" />"); in writeReport()
112 printf(" <device-info>"); in writeReport()
[all …]
/cts/suite/audio_quality/lib/include/
DLog.h40 void printf(LogLevel level, const char* fmt, ...);
55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \
56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0)
57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0)
58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0)
59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0)
60 #define LOGV(x...) do { Log::Instance()->printf(Log::ELogV, x); } while(0)
62 #define MSG(x...) do { Log::Instance()->printf(Log::ELogE, x); } while(0)
64 #define ASSERT(cond) if(!(cond)) { Log::Instance()->printf(Log::ELogE, \
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dfloat16_gen.c214 printf("static short[] %s = {\n", INPUT_ARRAY); in printInput()
217 printf("(short) 0x%04x, // %s\n", input[x].value, input[x].description); in printInput()
219 printf("};\n\n"); in printInput()
230 printf("static short[][][] %s = {\n", fieldName); in printReferenceOutput()
233 printf("{"); in printReferenceOutput()
239 printf("{ (short) 0x%04x, (short) 0x%04x},", resultBounds[0], in printReferenceOutput()
242 printf("},\n"); in printReferenceOutput()
245 printf("};\n\n"); in printReferenceOutput()
272 printf("%s", preamble); in main()
280 printf("}"); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/
Dpoc.c118 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
120 printf("[*] open file(%s) succ!\n", dev_path); in open_driver()
128 printf("[*] NVMAP_IOC_CREATE, last error = %d\n", errno); in trigger_nvmap_create()
135 printf("[*] NVMAP_IOC_ALLOC, last error = %d\n", errno); in trigger_nvmap_alloc()
140 printf("[*] NVMAP_IOC_FREE last error = %d\n", errno); in trigger_nvmap_free()
145 printf("[*] setpriority(%d) errno = %d\n", privi, errno); in setup_privi_and_affinity()
149 printf("[*] sched_setaffinity(%ld) errno = %d\n", cpu_mask, errno); in setup_privi_and_affinity()
187 printf("[*] NVMAP_IOC_RESERVE errno = %d\n", errno); in trigger_rw_handle()
204 printf("[*] Begin to trigger bug....\n"); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8426/
Dpoc.c31 #define ERR(fmt, ...) printf(fmt ": %d(%s)\n", ##__VA_ARGS__, errno, strerror(errno))
58 printf("[-] set affinity failed: [%d]-%s\n", errno, strerror(errno)); in set_affinity()
96 printf("[+] open OK\n"); in main()
105 printf("[+] ioctl OK, fd = %d\n", o_args.channel_fd); in main()
117 printf("[+] create close thread %d failed %d %s\n", i, errno, strerror(errno)); in main()
125 printf("[+] %03d times\n", i); in main()
131 printf("[+] ioctl OK, fd = %d\n", o_args.channel_fd); in main()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DComparisonReport.java91 System.out.printf("add: %s: %s\n", testCaseName, testApkType); in writeComparsionReport()
93 System.out.printf("KF: %s\n", testCaseName); in writeComparsionReport()
98 System.out.printf( in writeComparsionReport()
106 pWriter.printf("no,Module,TestCase,abi\n"); in writeComparsionReport()
120 System.out.printf( in writeComparsionReport()
124 pWriter.printf( in writeComparsionReport()
137 pWriter.printf("no,TestCase,Apk,Type\n"); in writeComparsionReport()
140 pWriter.printf("%d,%s,%s\n", j++, test.getKey(), test.getValue()); in writeComparsionReport()
143 System.out.printf( in writeComparsionReport()
154 pWriter.printf( in writeComparsionReport()
[all …]
DTestSuiteContentReport.java172 System.err.printf( in startElement()
321 …System.out.printf("no,type,name,size,relative path,id,content id,parent id,description,test class"… in printTestSuiteContent()
323 System.out.printf(",%s,%s,%s,%s,%s", in printTestSuiteContent()
326 System.out.printf(",%s,%s\n", in printTestSuiteContent()
331 System.out.printf("%d,%s,%s,%d,%s,%s,%s,%s", in printTestSuiteContent()
338 System.out.printf(",%s", entry.getFileMetadata().getDescription()); in printTestSuiteContent()
348 System.out.printf(",%s", tClass.getTestClass()); in printTestSuiteContent()
364 System.out.printf(",%s,%s,%s,%s,%s", rtHit.trim(), pkg.trim(), in printTestSuiteContent()
380 System.out.printf(",%s,%s", testFile.trim(), pushList.trim()); in printTestSuiteContent()
382 System.out.printf("\n"); in printTestSuiteContent()
[all …]
DTestCaseReport.java240 System.err.printf("%s#%s with Suppress:\n", className, mName); in parseApkTestCase()
378 System.err.printf("class: %s\n", c.getName()); in parseJarTestCase()
383 System.err.printf("test: %s\n", m.getName()); in parseJarTestCase()
432 System.err.printf( in listTestCases()
502 System.out.printf( in printTestSuite()
544 pWriter.printf( in printTestSuiteSummary()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13253/
Dpoc.cpp38 printf("Failed to retrieve 'media.drm' service.\n"); in main()
43 printf("makeCrypto failed.\n"); in main()
52 printf("createPlugin failed.\n"); in main()
62 printf("setHeap failed.\n"); in main()
80 printf("OVERFLOW DETECTED\n"); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3818/
Dpoc.c32 printf("%lu\n", rlim.rlim_cur); in main()
33 printf("%lu\n", rlim.rlim_max); in main()
45 printf("%p\n", mem); in main()
50 printf("filled\n"); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8425/
Dpoc.c31 #define ERR(fmt, ...) printf(fmt ": %d(%s)\n", ##__VA_ARGS__, errno, strerror(errno))
58 printf("[-] set affinity failed: [%d]-%s\n", errno, strerror(errno)); in set_affinity()
96 printf("[+] open OK\n"); in main()
105 printf("[+] ioctl OK, fd = %d\n", o_args.channel_fd); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0844/
Dpoc.c56 printf("[-] call ioctl %d\n", i); in trigger()
58 printf("%s, %s\n", __func__, strerror(errno)); in trigger()
73 printf("socket = %d, %s\n", sockfd, strerror(errno)); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8429/
Dpoc.c98 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
100 printf("[*] open file(%s) succ!\n", dev_path); in open_driver()
138 printf("[*] data = %p\n", data); in prepare_data()
143 printf("[*] mprotect, error = %d\n", errno); in prepare_data()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DDepPrinter.java98 mPWriter.printf(String.format("%s [label=\"%s\"", sourceNode, exeName)); in writeDigraph()
150 mPWriter.printf(String.format("%s [label=\"%s\"", sourceNode, rcName)); in writeRcDigraph()
160 mPWriter.printf(String.format("%s [label=\"%s\"", targetNode, targetFile)); in writeRcDigraph()
179 mPWriter.printf(" fillcolor=\"gold1\" style=\"filled\""); in checkDelta()
183 mPWriter.printf(" fillcolor=\"green\" style=\"filled\""); in checkDelta()
186 mPWriter.printf(" fillcolor=\"red\" style=\"filled\""); in checkDelta()
291 mPWriter.printf(String.format("%s [label=\"%s\"", targetNode, dep)); in printDep()
296 mPWriter.printf(", shape=diamond"); in printDep()
339 System.out.printf(USAGE_MESSAGE); in printUsage()
DReleaseParser.java230 pWriter.printf( in writeRelesaeContentCsvFile()
233 pWriter.printf( in writeRelesaeContentCsvFile()
268 pWriter.printf("release,compatibility:exclude-filter\n"); in writeKnownFailureCsvFile()
270 pWriter.printf("%s,%s\n", relNameVer, kf); in writeKnownFailureCsvFile()
DTestSuiteParser.java168 System.err.printf( in praseModule()
239 System.err.printf("%s#%s with Suppress:\n", className, mName); in parseApkTestCase()
250 System.err.printf( in parseApkTestCase()
260 System.err.printf("To count Parameterized tests: %s\n", className); in parseApkTestCase()
388 System.err.printf("Unknown test class type: %s\n", classDef.getType()); in chkTestClassType()
507 pWriter.printf( in writeCsvFile()
559 pWriter.printf( in writeModuleCsvFile()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8430/
Dpoc.c108 printf("open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
111 printf("open file(%s) succ!\n", dev_path); in open_driver()
117 printf("open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
120 printf("open file(%s) succ!\n", dev_path); in open_driver()
/cts/hostsidetests/sustainedperf/dhrystone/
Ddhry_1.c190 printf ("Measured time too small to obtain meaningful results\n"); in main()
191 printf ("Please increase number of runs\n"); in main()
192 printf ("\n"); in main()
206 printf ("%6.1f \n", Dhrystones_Per_Second); in main()
/cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/
Dconnector.cpp61 printf("%s\n", buf); in main()
63 printf("[connector] read() failed"); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/
Dpoc.c36 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)
37 #define ERR(fmt, ...) printf(fmt ": %d(%d)\n", ##__VA_ARGS__, errno, errno)
77 printf("[-] set affinity failed: [%d]-%d\n", errno, errno); in set_affinity()
/cts/suite/audio_quality/test/
DLogTest.cpp37 printf("printf %d %d %d %d %d %d\n", 0, 1, 2, 3, 4, 5); in TEST_F()
52 printf("printf " PrintABCDEF "\n", a, b, c, d, e, f); in TEST_F()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/
Dpoc.c25 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)
26 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno))
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2412/
Dpoc.cpp93 printf("heap corruption\n"); in main()
96 printf("get activitymanger failed\n"); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6733/
Dpoc.c91 printf("[-] set affinity failed: [%d]-%s\n", errno, strerror(errno)); in set_affinity()
122 printf("[+] open failed %d %s\n", errno, strerror(errno)); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/
Dpoc.c29 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)
30 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno))

12