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

/system/core/include/ctest/
H A Dctest.h29 * Adds a test to the test suite.
31 #define addTest(test) addNamedTest(#test, &test)
34 * Asserts that a condition is true. The test fails if it isn't.
39 * Asserts that a condition is false. The test fails if the value is true.
43 /** Fails a test with the given message. */
58 * Runs a test suite.
63 void addNamedTest(const char* name, void (*test)(voi
[all...]
/system/extras/tests/framebuffer/
H A DAndroid.mk10 LOCAL_MODULE:= test-fb-refresh
20 LOCAL_MODULE = test-fb-simple
28 LOCAL_MODULE = test-mdp
/system/core/libpixelflinger/tests/codegen/
H A DAndroid.mk14 LOCAL_MODULE:= test-opengl-codegen
/system/extras/tests/bionic/libstdc++/
H A DAndroid.mk15 # Build control file for Bionic's test programs
16 # define the BIONIC_TESTS environment variable to build the test programs
23 # used to define a simple test program and build it as a standalone
29 define device-test
41 # same as 'device-test' but builds a host executable instead
44 define host-test
71 $(call host-test, $(sources))
77 # compiler flags, so only build this test for device/Bionic
82 $(call device-test, $(sources))
/system/core/libdiskconfig/
H A Ddiskutils.c33 write_raw_image(const char *dst, const char *src, loff_t offset, int test) argument
49 if (!test) {
79 if (test)
H A Dwrite_lst.c70 wlist_commit(int fd, struct write_list *lst, int test) argument
78 if (!test) {
H A Ddiskconfig.c414 * Basically, this does the same thing as apply_disk_config in test mode,
434 apply_disk_config(struct disk_info *dinfo, int test) argument
445 if ((rv = wlist_commit(fd, wr_lst, test)) >= 0)
446 rv = test ? 0 : sync_ptable(fd);
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_cleanup_push.c86 static int test( int do_exit ) function
130 test(0);
131 test(1);
/system/extras/tests/bionic/libc/
H A DAndroid.mk15 # Build control file for Bionic's test programs
16 # define the BIONIC_TESTS environment variable to build the test programs
22 # used to define a simple test program and build it as a standalone
28 define device-test
43 # same as 'device-test' but builds a host executable instead
46 define host-test
91 $(call host-test, $(sources))
92 $(call device-test, $(sources))
125 $(call host-test, $(sources))
128 $(call device-test,
[all...]
/system/core/include/diskconfig/
H A Ddiskconfig.h111 int wlist_commit(int fd, struct write_list *lst, int test);
115 int apply_disk_config(struct disk_info *dinfo, int test);
120 int write_raw_image(const char *dst, const char *src, loff_t offset, int test);
/system/core/libcorkscrew/
H A DAndroid.mk60 # Build test.
62 LOCAL_SRC_FILES := test.c
84 # Build test.
86 LOCAL_SRC_FILES := test.c
/system/extras/tests/sdcard/
H A DAndroid.mk15 # Build control file for Bionic's test programs
16 # define the BIONIC_TESTS environment variable to build the test programs
/system/core/libion/
H A Dion_test.c23 int test = -1; variable
55 printf("ion alloc test: passed\n");
251 test = ALLOC_TEST;
254 test = MAP_TEST;
257 test = SHARE_TEST;
261 printf("test %d, len %u, align %u, map_flags %d, prot %d, heap_mask %d,"
262 " alloc_flags %d\n", test, len, align, map_flags, prot,
264 switch (test) {
275 printf("must specify a test (alloc, map, share)\n");
/system/core/fastboot/
H A Dusbtest.c130 int (*test)(usb_handle *usb); member in struct:__anon291
194 if(tests[i].test) {
200 if(tests[i].test(usb)) {
/system/core/libctest/
H A Dctest.c41 /** Gets the test suite. Creates it if necessary. */
58 void addNamedTest(const char* name, TestCase* test) { argument
64 testSuite->tests[index] = test;
76 // Copy test output to stdout.
86 /** Runs a single test case. */
92 // Child process. Runs test case.
158 // Exit the process for this test case.
/system/core/sh/
H A Dnodes.h65 union node *test; member in struct:nif
H A Dnodes.c148 calcsize(n->nif.test);
246 new->nif.test = copynode(n->nif.test);
H A Dparser.c319 n1->nif.test = list(0);
328 n2->nif.test = list(0);
H A Deval.c264 evaltree(n->nif.test, EV_TESTED);
H A Djobs.c1288 cmdtxt(n->nif.test);
/system/core/init/
H A Dinit_parser.c520 const char *test = act->name + strlen("property:"); local
523 if (!strncmp(name, test, name_length) &&
524 test[name_length] == '=' &&
525 (!strcmp(test + name_length + 1, value) ||
526 !strcmp(test + name_length + 1, "*"))) {
/system/core/libcutils/arch-x86/
H A Dsse2-memset32-atom.S211 test $3, %edx
218 test $3, %edx
222 test $3, %edx
H A Dsse2-memset16-atom.S305 test $0x01, %edx
/system/security/keystore/
H A Dkeystore.cpp935 static ResponseCode test(KeyStore* keyStore, int, uid_t, Value*, Value*, Value*) { function
1339 {test, CommandCodes[TEST], STATE_ANY, P_TEST, {0, 0, 0}},

Completed in 5942 milliseconds