Searched refs:test (Results 1 - 25 of 103) sorted by relevance

12345

/system/core/libpixelflinger/tests/gglmul/
H A Dgglmul_test.cpp59 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 Dhkdf_test.cpp27 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 Dkdf2_test.cpp27 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 Dkdf1_test.cpp27 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 Dhmac_test.cpp28 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 DAndroid.mk15 LOCAL_MODULE:= test-pixelflinger-arm64-assembler-test
/system/core/libpixelflinger/tests/arch-arm64/disassembler/
H A DAndroid.mk10 LOCAL_MODULE:= test-pixelflinger-arm64-disassembler-test
/system/core/libpixelflinger/tests/arch-mips64/assembler/
H A DAndroid.mk15 LOCAL_MODULE:= test-pixelflinger-mips64-assembler-test
H A Dmips64_assembler_test.cpp372 void dataOpTest(dataOpTest_t test, ArmToMips64Assembler *a64asm, uint32_t Rd = R_v1, argument
386 regs[Rd] = test.RdValue;
387 regs[Rn] = test.RnValue;
388 regs[Rs] = test.RsValue;
390 if (test.preCond.mode) {
391 a64asm->set_condition(test.preCond.mode, test.preCond.Rcond1, test.preCond.Rcond2);
392 regs[test.preCond.Rcond1] = test
473 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 DAndroid.mk10 LOCAL_MODULE:= test-pixelflinger-mips64-disassembler-test
H A Dmips64_disassembler_test.cpp154 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/bt/hci/
H A DAndroid.mk55 $(LOCAL_PATH)/../osi/test \
61 ../osi/test/AllocationTestHarness.cpp \
62 ../osi/test/AlarmTestHarness.cpp \
63 ./test/hci_hal_h4_test.cpp \
64 ./test/hci_hal_mct_test.cpp \
65 ./test/hci_layer_test.cpp \
66 ./test/low_power_manager_test.cpp \
67 ./test/packet_fragmenter_test.cpp
/system/extras/tests/framebuffer/
H A DAndroid.mk10 LOCAL_MODULE:= test-fb-refresh
20 LOCAL_MODULE = test-fb-simple
/system/tools/aidl/tests/
H A Dtest_data_example_interface.cpp24 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/tpm/trunks/
H A Dtrunks_client.cc169 trunks::TrunksClientTest test; local
170 LOG(INFO) << "Running RNG test.";
171 if (!test.RNGTest()) {
176 if (!test.SignTest()) {
180 if (!test.DecryptTest()) {
184 if (!test.ImportTest()) {
188 if (!test.AuthChangeTest()) {
192 if (!test.VerifyKeyCreationTest()) {
196 LOG(INFO) << "Running Sealed Data test.";
197 if (!test
232 trunks::TrunksClientTest test; local
[all...]
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/
H A Dcol32cb16blend_test.c91 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 DAndroid.mk12 LOCAL_MODULE:= test-pixelflinger-arm64-col32cb16blend
/system/core/libpixelflinger/tests/arch-mips/col32cb16blend/
H A Dcol32cb16blend_test.c92 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 DAndroid.mk12 LOCAL_MODULE:= test-pixelflinger-mips-col32cb16blend
/system/core/libpixelflinger/tests/arch-mips64/col32cb16blend/
H A Dcol32cb16blend_test.c92 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...]
/system/core/libpixelflinger/tests/arch-arm64/t32cb16blend/
H A Dt32cb16blend_test.c100 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 DAndroid.mk12 LOCAL_MODULE:= test-pixelflinger-arm64-t32cb16blend
/system/core/libpixelflinger/tests/arch-mips/t32cb16blend/
H A Dt32cb16blend_test.c100 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)
/system/extras/simpleperf/runtest/
H A Druntest.py19 For a simpleperf runtest like one_function test, it contains following steps:
203 for test in root:
204 assert test.tag == 'test'
205 test_name = test.attrib['name']
211 for test_item in test:
302 """Run perf test on host."""
315 """Run perf test on device."""
424 def check_report_file(self, test, report_file, has_callgraph):
426 if not self._check_symbol_overhead_requirements(test, symbol
[all...]
/system/bt/vendor_libs/test_vendor_lib/
H A DAndroid.mk3 # test-vendor shared library for target
34 LOCAL_MODULE := test-vendor
44 # test-vendor unit tests for host
55 test/hci_transport_unittest.cc \
56 test/packet_stream_unittest.cc
69 LOCAL_MODULE := test-vendor_test_host

Completed in 438 milliseconds

12345