/system/core/libpixelflinger/tests/gglmul/ |
H A D | gglmul_test.cpp | 59 gglClampx_test_t *test = &gglClampx_tests[i]; local 61 test->input, test->output); 62 if(gglClampx(test->input) == test->output) 90 gglClz_test_t *test = &gglClz_tests[i]; local 91 printf("Test input=0x%08x output=%2d :", test->input, test->output); 92 if(gglClz(test->input) == test 128 gglMulx_test_t *test = &gglMulx_tests[i]; local 171 gglMulAddx_test_t *test = &gglMulAddx_tests[i]; local 214 gglMulSubx_test_t *test = &gglMulSubx_tests[i]; local 256 gglMulii_test_t *test = &gglMulii_tests[i]; local [all...] |
/system/keymaster/ |
H A D | hkdf_test.cpp | 27 namespace test { namespace in namespace:keymaster 36 // These test cases are taken from 61 for (auto& test : kHkdfTests) { 62 const string key = hex2str(test.key_hex); 63 const string salt = hex2str(test.salt_hex); 64 const string info = hex2str(test.info_hex); 65 const string expected = hex2str(test.output_hex); 77 } // namespace test
|
H A D | kdf2_test.cpp | 27 namespace test { namespace in namespace:keymaster 68 for (auto& test : kKdf2Tests) { 69 const string key = hex2str(test.key_hex); 70 const string info = hex2str(test.info_hex); 71 const string expected_output = hex2str(test.expected_output_hex); 77 kdf2.Init(test.digest_type, reinterpret_cast<const uint8_t*>(key.data()), key.size())); 84 } // namespace test
|
H A D | kdf1_test.cpp | 27 namespace test { namespace in namespace:keymaster 44 for (auto& test : kKdf1Tests) { 45 const string key = hex2str(test.key_hex); 46 const string expected_output = hex2str(test.expected_output_hex); 52 kdf1.Init(test.digest_type, reinterpret_cast<const uint8_t*>(key.data()), key.size())); 58 } // namespace test
|
H A D | hmac_test.cpp | 28 namespace test { namespace in namespace:keymaster 50 "The test message for the MD2, MD5, and SHA-1 hashing algorithms.", 63 const HmacTest& test(kHmacTests[i]); 66 const string key = hex2str(test.key); 70 uint8_t digest_copy[sizeof(test.digest)]; 71 memcpy(digest_copy, test.digest, sizeof(test.digest)); 74 Buffer data_buffer(test.data, strlen(test.data)); 83 } // namespace test [all...] |
/system/core/libpixelflinger/tests/arch-arm64/assembler/ |
H A D | Android.mk | 15 LOCAL_MODULE:= test-pixelflinger-arm64-assembler-test
|
/system/core/libpixelflinger/tests/arch-arm64/disassembler/ |
H A D | Android.mk | 10 LOCAL_MODULE:= test-pixelflinger-arm64-disassembler-test
|
/system/core/libpixelflinger/tests/arch-mips64/assembler/ |
H A D | Android.mk | 15 LOCAL_MODULE:= test-pixelflinger-mips64-assembler-test
|
H A D | mips64_assembler_test.cpp | 371 void dataOpTest(dataOpTest_t test, ArmToMips64Assembler *a64asm, uint32_t Rd = R_v1, argument 385 regs[Rd] = test.RdValue; 386 regs[Rn] = test.RnValue; 387 regs[Rs] = test.RsValue; 389 if (test.preCond.mode) { 390 a64asm->set_condition(test.preCond.mode, test.preCond.Rcond1, test.preCond.Rcond2); 391 regs[test.preCond.Rcond1] = test 472 dataTransferTest(dataTransferTest_t test, ARMAssemblerInterface *a64asm, uint32_t Rd = R_v1, uint32_t Rn = R_t0,uint32_t Rm = R_t1) argument [all...] |
/system/core/libpixelflinger/tests/arch-mips64/disassembler/ |
H A D | Android.mk | 10 LOCAL_MODULE:= test-pixelflinger-mips64-disassembler-test
|
H A D | mips64_disassembler_test.cpp | 154 test_table_entry_t *test; local 155 test = &test_table[i]; 156 mips_disassem(&test->code, instr, 0); 157 if(strcmp(instr, test->instr) != 0) 162 "Actual : %s\n", test->code, test->instr, instr); 168 test_branches_table_entry_t *test; local 169 test = &test_branches_table[i]; 170 mips_disassem(&test->code, instr, 0); 171 //printf("DBG code address: %lx\n", (uint64_t)(&test 189 test_jump_table_entry_t *test; local [all...] |
/system/extras/libfec/ |
H A D | Android.mk | 5 include $(LOCAL_PATH)/test/Android.mk
|
/system/extras/tests/framebuffer/ |
H A D | Android.mk | 10 LOCAL_MODULE:= test-fb-refresh 20 LOCAL_MODULE = test-fb-simple
|
/system/tools/aidl/tests/ |
H A D | test_data_example_interface.cpp | 24 const char kCanonicalName[] = "android.test.IExampleInterface"; 35 "android.test.IAuxInterface2", 40 package android.test; 43 import android.test.CompoundParcelable; 45 import android.test.IAuxInterface2; 72 android/test/IExampleInterface.aidl \ 74 ./android/test/CompoundParcelable.aidl \ 76 ./android/test/IAuxInterface2.aidl 78 android/test/IExampleInterface.aidl : 80 ./android/test/CompoundParcelabl [all...] |
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/ |
H A D | col32cb16blend_test.c | 91 struct test_t test = tests[i]; local 93 printf("Testing - %s:",test.name); 98 for(j = 0; j < test.count; ++j) 100 dst_c[j] = test.dst_color; 101 dst_asm[j] = test.dst_color; 105 scanline_col32cb16blend_c(dst_c, test.src_color, test.count); 106 scanline_col32cb16blend_arm64(dst_asm, test.src_color, test.count); 114 for(j = 0; j < test [all...] |
H A D | Android.mk | 12 LOCAL_MODULE:= test-pixelflinger-arm64-col32cb16blend
|
/system/core/libpixelflinger/tests/arch-mips/col32cb16blend/ |
H A D | col32cb16blend_test.c | 92 struct test_t test = tests[i]; local 94 printf("Testing - %s:",test.name); 99 for(j = 0; j < test.count; ++j) 101 dst_c[j] = test.dst_color; 102 dst_asm[j] = test.dst_color; 106 scanline_col32cb16blend_c(dst_c, test.src_color, test.count); 107 scanline_col32cb16blend_mips(dst_asm, test.src_color, test.count); 114 for(j = 0; j < test [all...] |
H A D | Android.mk | 12 LOCAL_MODULE:= test-pixelflinger-mips-col32cb16blend
|
/system/core/libpixelflinger/tests/arch-mips64/col32cb16blend/ |
H A D | col32cb16blend_test.c | 92 struct test_t test = tests[i]; local 94 printf("Testing - %s:",test.name); 99 for(j = 0; j < test.count; ++j) 101 dst_c[j] = test.dst_color; 102 dst_asm[j] = test.dst_color; 106 scanline_col32cb16blend_c(dst_c, test.src_color, test.count); 107 scanline_col32cb16blend_mips64(dst_asm, test.src_color, test.count); 114 for(j = 0; j < test [all...] |
H A D | Android.mk | 12 LOCAL_MODULE:= test-pixelflinger-mips64-col32cb16blend
|
/system/core/libpixelflinger/tests/arch-arm64/t32cb16blend/ |
H A D | t32cb16blend_test.c | 100 struct test_t test = tests[i]; local 102 printf("Testing - %s:",test.name); 107 for(j = 0; j < test.count; ++j) 109 dst_c[j] = test.dst_color; 110 dst_asm[j] = test.dst_color; 111 src[j] = test.src_color; 114 scanline_t32cb16blend_c(dst_c,src,test.count); 115 scanline_t32cb16blend_arm64(dst_asm,src,test.count); 123 for(j = 0; j < test.count; ++j)
|
H A D | Android.mk | 12 LOCAL_MODULE:= test-pixelflinger-arm64-t32cb16blend
|
/system/core/libpixelflinger/tests/arch-mips/t32cb16blend/ |
H A D | t32cb16blend_test.c | 100 struct test_t test = tests[i]; local 102 printf("Testing - %s:",test.name); 107 for(j = 0; j < test.count; ++j) 109 dst_c[j] = test.dst_color; 110 dst_asm[j] = test.dst_color; 111 src[j] = test.src_color; 114 scanline_t32cb16blend_c(dst_c,src,test.count); 115 scanline_t32cb16blend_mips(dst_asm,src,test.count); 123 for(j = 0; j < test.count; ++j)
|
H A D | Android.mk | 12 LOCAL_MODULE:= test-pixelflinger-mips-t32cb16blend
|
/system/core/libpixelflinger/tests/codegen/ |
H A D | Android.mk | 14 LOCAL_MODULE:= test-opengl-codegen
|