/cts/suite/audio_quality/lib/src/ |
D | Report.cpp | 66 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/ |
D | Log.h | 40 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/hostsidetests/securitybulletin/securityPatch/CVE-2016-8426/ |
D | poc.c | 31 #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/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/ |
D | poc.c | 118 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/tests/tests/renderscript/src/android/renderscript/cts/ |
D | float16_gen.c | 214 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-3818/ |
D | poc.c | 32 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/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ComparisonReport.java | 91 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 …]
|
D | TestSuiteContentReport.java | 172 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 …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13253/ |
D | poc.cpp | 38 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-8425/ |
D | poc.c | 31 #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/ |
D | poc.c | 56 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/ |
D | poc.c | 98 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/hostsidetests/securitybulletin/securityPatch/CVE-2016-8430/ |
D | poc.c | 108 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/tools/release-parser/src/com/android/cts/releaseparser/ |
D | DepPrinter.java | 98 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()
|
D | ReleaseParser.java | 230 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()
|
/cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/ |
D | connector.cpp | 61 printf("%s\n", buf); in main() 63 printf("[connector] read() failed"); in main()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | dhry_1.c | 190 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/suite/audio_quality/test/ |
D | LogTest.cpp | 37 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-8482/ |
D | poc.c | 36 #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/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/ |
D | poc.c | 25 #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/ |
D | poc.cpp | 93 printf("heap corruption\n"); in main() 96 printf("get activitymanger failed\n"); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-6733/ |
D | poc.c | 91 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/ |
D | poc.c | 29 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) 30 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno))
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0334/ |
D | poc.c | 39 printf("Leaked ptr is %p\n", open_args.context); in main()
|
/cts/tests/tests/jni/libjnitest/ |
D | helper.h | 50 char *failure(const char *format, ...) __attribute__((format(printf, 1, 2)));
|