Home
last modified time | relevance | path

Searched defs:TEST (Results 1 – 25 of 42) sorted by relevance

12

/system/core/base/
Dstrings_test.cpp24 TEST(strings, split_empty) { in TEST() function
30 TEST(strings, split_single) { in TEST() function
36 TEST(strings, split_simple) { in TEST() function
44 TEST(strings, split_with_empty_part) { in TEST() function
52 TEST(strings, split_null_char) { in TEST() function
60 TEST(strings, split_any) { in TEST() function
68 TEST(strings, split_any_with_empty_part) { in TEST() function
76 TEST(strings, trim_empty) { in TEST() function
80 TEST(strings, trim_already_trimmed) { in TEST() function
84 TEST(strings, trim_left) { in TEST() function
[all …]
Dstringprintf_test.cpp23 TEST(StringPrintfTest, HexSizeT) { in TEST() function
29 TEST(StringPrintfTest, StringAppendF) { in TEST() function
35 TEST(StringPrintfTest, Errno) { in TEST() function
50 TEST(StringPrintfTest, At1023) { in TEST() function
54 TEST(StringPrintfTest, At1024) { in TEST() function
58 TEST(StringPrintfTest, At1025) { in TEST() function
Dfile_test.cpp29 TEST(file, ReadFileToString_ENOENT) { in TEST() function
37 TEST(file, ReadFileToString_success) { in TEST() function
46 TEST(file, WriteStringToFile) { in TEST() function
55 TEST(file, WriteStringToFile2) { in TEST() function
71 TEST(file, WriteStringToFd) { in TEST() function
83 TEST(file, ReadFully) { in TEST() function
99 TEST(file, WriteFully) { in TEST() function
/system/keymaster/
Dauthorization_set_test.cpp28 TEST(Construction, ListProvided) { in TEST() function
40 TEST(Construction, Copy) { in TEST() function
53 TEST(Construction, NullProvided) { in TEST() function
67 TEST(Lookup, NonRepeated) { in TEST() function
98 TEST(Lookup, Repeated) { in TEST() function
127 TEST(Lookup, Indexed) { in TEST() function
147 TEST(Serialization, RoundTrip) { in TEST() function
179 TEST(Deserialization, Deserialize) { in TEST() function
214 TEST(Deserialization, TooShortBuffer) { in TEST() function
224 TEST(Deserialization, InvalidLengthField) { in TEST() function
[all …]
Dandroid_keymaster_messages_test.cpp66 TEST(RoundTrip, EmptyKeymasterResponse) { in TEST() function
75 TEST(RoundTrip, EmptyKeymasterResponseError) { in TEST() function
84 TEST(RoundTrip, SupportedByAlgorithmRequest) { in TEST() function
94 TEST(RoundTrip, SupportedByAlgorithmAndPurposeRequest) { in TEST() function
106 TEST(RoundTrip, SupportedResponse) { in TEST() function
130 TEST(RoundTrip, GenerateKeyRequest) { in TEST() function
139 TEST(RoundTrip, GenerateKeyResponse) { in TEST() function
154 TEST(RoundTrip, GenerateKeyResponseTestError) { in TEST() function
170 TEST(RoundTrip, GetKeyCharacteristicsRequest) { in TEST() function
183 TEST(RoundTrip, GetKeyCharacteristicsResponse) { in TEST() function
[all …]
/system/core/init/
Dinit_parser_test.cpp25 TEST(init_parser, make_exec_oneshot_service_invalid_syntax) { in TEST() function
41 TEST(init_parser, make_exec_oneshot_service_too_many_supplementary_gids) { in TEST() function
112 TEST(init_parser, make_exec_oneshot_service_with_everything) { in TEST() function
116 TEST(init_parser, make_exec_oneshot_service_with_seclabel_uid_gid) { in TEST() function
120 TEST(init_parser, make_exec_oneshot_service_with_seclabel_uid) { in TEST() function
124 TEST(init_parser, make_exec_oneshot_service_with_seclabel) { in TEST() function
128 TEST(init_parser, make_exec_oneshot_service_with_just_command) { in TEST() function
132 TEST(init_parser, make_exec_oneshot_service_with_just_command_no_dash) { in TEST() function
Dutil_test.cpp22 TEST(util, read_file_ENOENT) { in TEST() function
30 TEST(util, read_file_success) { in TEST() function
39 TEST(util, decode_uid) { in TEST() function
/system/security/keystore/tests/
Dauth_token_table_test.cpp70 TEST(AuthTokenTableTest, Create) { in TEST() function
103 TEST(AuthTokenTableTest, SimpleAddAndFindTokens) { in TEST() function
132 TEST(AuthTokenTableTest, FlushTable) { in TEST() function
151 TEST(AuthTokenTableTest, TableOverflow) { in TEST() function
227 TEST(AuthTokenTableTest, AuthenticationNotRequired) { in TEST() function
236 TEST(AuthTokenTableTest, OperationHandleNotFound) { in TEST() function
252 TEST(AuthTokenTableTest, OperationHandleRequired) { in TEST() function
262 TEST(AuthTokenTableTest, AuthSidChanged) { in TEST() function
271 TEST(AuthTokenTableTest, TokenExpired) { in TEST() function
293 TEST(AuthTokenTableTest, MarkNonexistentEntryCompleted) { in TEST() function
[all …]
/system/extras/tests/audio/alsa/
Dpcmtest.cpp166 TEST(pcmtest, CheckAudioDir) { in TEST() function
171 TEST(pcmtest, GetSoundDevs) { in TEST() function
178 TEST(pcmtest, CheckPcmSanity0) { in TEST() function
182 TEST(pcmtest, CheckPcmSanity1) { in TEST() function
186 TEST(pcmtests, CheckMixerSanity) { in TEST() function
191 TEST(pcmtest, CheckTimesSanity0) { in TEST() function
195 TEST(pcmtest, CheckTimesSanity1) { in TEST() function
199 TEST(pcmtest, CheckPcmDevices) { in TEST() function
206 TEST(pcmtest, CheckMixerDevices) { in TEST() function
216 TEST(pcmtest, CheckTimer) { in TEST() function
/system/core/adb/
Dadb_io_test.cpp56 TEST(io, ReadFdExactly_whole) { in TEST() function
70 TEST(io, ReadFdExactly_eof) { in TEST() function
84 TEST(io, ReadFdExactly_partial) { in TEST() function
101 TEST(io, WriteFdExactly_whole) { in TEST() function
116 TEST(io, WriteFdExactly_partial) { in TEST() function
133 TEST(io, WriteFdExactly_ENOSPC) { in TEST() function
142 TEST(io, WriteFdExactly_string) { in TEST() function
156 TEST(io, WriteFdFmt) { in TEST() function
Dtransport_test.cpp23 TEST(transport, kick_transport) { in TEST() function
36 TEST(transport, kick_transport_already_kicked) { in TEST() function
50 TEST(transport, DISABLED_run_transport_disconnects_zeroed_atransport) { in TEST() function
Dadb_utils_test.cpp21 TEST(adb_utils, directory_exists) { in TEST() function
27 TEST(adb_utils, escape_arg) { function
/system/bt/osi/test/
Datomic_test.cpp37 TEST(AtomicTest, test_store_load_s32) { in TEST() function
53 TEST(AtomicTest, test_store_load_u32) { in TEST() function
69 TEST(AtomicTest, test_inc_dec_s32) { in TEST() function
98 TEST(AtomicTest, test_inc_dec_u32) { in TEST() function
127 TEST(AtomicTest, test_atomic_inc_thread) { in TEST() function
155 TEST(AtomicTest, test_atomic_inc_thread_single) { in TEST() function
178 TEST(AtomicTest, test_store_load_s64) { in TEST() function
194 TEST(AtomicTest, test_inc_dec_s64) { in TEST() function
247 TEST(AtomicTest, test_add_sub_u64) { in TEST() function
Dringbuffer_test.cpp8 TEST(RingbufferTest, test_new_simple) { in TEST() function
16 TEST(RingbufferTest, test_insert_basic) { in TEST() function
34 TEST(RingbufferTest, test_insert_full) { in TEST() function
61 TEST(RingbufferTest, test_multi_insert_delete) { in TEST() function
/system/core/libziparchive/
Dentry_name_utils_test.cc21 TEST(entry_name_utils, NullChars) { in TEST() function
31 TEST(entry_name_utils, InvalidSequence) { in TEST() function
41 TEST(entry_name_utils, TruncatedContinuation) { in TEST() function
53 TEST(entry_name_utils, BadContinuation) { in TEST() function
Dzip_archive_test.cc78 TEST(ziparchive, Open) { in TEST() function
85 TEST(ziparchive, OpenMissing) { in TEST() function
93 TEST(ziparchive, OpenAssumeFdOwnership) { in TEST() function
103 TEST(ziparchive, OpenDoNotAssumeFdOwnership) { in TEST() function
113 TEST(ziparchive, Iteration) { in TEST() function
149 TEST(ziparchive, IterationWithPrefix) { in TEST() function
178 TEST(ziparchive, IterationWithSuffix) { in TEST() function
211 TEST(ziparchive, IterationWithPrefixAndSuffix) { in TEST() function
241 TEST(ziparchive, IterationWithBadPrefixAndSuffix) { in TEST() function
259 TEST(ziparchive, FindEntry) { in TEST() function
[all …]
/system/bt/device/test/
Dinterop_test.cpp25 TEST(InteropTest, test_lookup_hit) { in TEST() function
33 TEST(InteropTest, test_lookup_miss) { in TEST() function
45 TEST(InteropTest, test_dynamic) { in TEST() function
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp49 TEST(RoundTripTest, EnrollRequestNullEnrolledNullHandle) { in TEST() function
76 TEST(RoundTripTest, EnrollRequestEmptyEnrolledEmptyHandle) { in TEST() function
105 TEST(RoundTripTest, EnrollRequestNonNullEnrolledOrHandle) { in TEST() function
141 TEST(RoundTripTest, EnrollResponse) { in TEST() function
164 TEST(RoundTripTest, VerifyRequest) { in TEST() function
194 TEST(RoundTripTest, VerifyResponse) { in TEST() function
217 TEST(RoundTripTest, VerifyResponseError) { in TEST() function
228 TEST(RoundTripTest, VerifyRequestError) { in TEST() function
239 TEST(RoundTripTest, EnrollResponseError) { in TEST() function
250 TEST(RoundTripTest, EnrollRequestError) { in TEST() function
/system/bt/btcore/test/
Dbdaddr_test.cpp25 TEST(HashFunctionBdaddrTest, test_same_pointer_is_same) { in TEST() function
32 TEST(HashFunctionBdaddrTest, test_same_value_is_same) { in TEST() function
41 TEST(HashFunctionBdaddrTest, test_different_value_is_different) { in TEST() function
/system/core/logcat/tests/
Dlogcat_test.cpp45 TEST(logcat, buckets) { in TEST() function
75 TEST(logcat, tail_3) { in TEST() function
99 TEST(logcat, tail_10) { in TEST() function
123 TEST(logcat, tail_100) { in TEST() function
147 TEST(logcat, tail_1000) { in TEST() function
171 TEST(logcat, tail_time) { in TEST() function
237 TEST(logcat, End_to_End) { in TEST() function
273 TEST(logcat, get_size) { in TEST() function
353 TEST(logcat, blocking) { in TEST() function
422 TEST(logcat, blocking_tail) { in TEST() function
[all …]
/system/core/libbacktrace/
Dbacktrace_test.cpp217 TEST(libbacktrace, local_no_unwind_frames) { in TEST() function
235 TEST(libbacktrace, local_trace) { in TEST() function
284 TEST(libbacktrace, local_trace_ignore_frames) { in TEST() function
288 TEST(libbacktrace, local_max_trace) { in TEST() function
331 TEST(libbacktrace, ptrace_trace) { in TEST() function
344 TEST(libbacktrace, ptrace_trace_shared_map) { in TEST() function
358 TEST(libbacktrace, ptrace_max_trace) { in TEST() function
383 TEST(libbacktrace, ptrace_ignore_frames) { in TEST() function
420 TEST(libbacktrace, ptrace_threads) { in TEST() function
470 TEST(libbacktrace, thread_current_level) { in TEST() function
[all …]
/system/core/gatekeeperd/tests/
Dgatekeeper_test.cpp47 TEST(GateKeeperTest, EnrollSuccess) { in TEST() function
54 TEST(GateKeeperTest, EnrollBogusData) { in TEST() function
66 TEST(GateKeeperTest, VerifySuccess) { in TEST() function
95 TEST(GateKeeperTest, TrustedReEnroll) { in TEST() function
150 TEST(GateKeeperTest, UntrustedReEnroll) { in TEST() function
195 TEST(GateKeeperTest, VerifyBogusData) { in TEST() function
/system/media/camera/tests/
Dcamera_metadata_tests.cpp47 TEST(camera_metadata, allocate_normal) { in TEST() function
63 TEST(camera_metadata, allocate_nodata) { in TEST() function
77 TEST(camera_metadata, clone_nodata) { in TEST() function
95 TEST(camera_metadata, allocate_nothing) { in TEST() function
107 TEST(camera_metadata, place_normal) { in TEST() function
136 TEST(camera_metadata, place_nospace) { in TEST() function
161 TEST(camera_metadata, place_extraspace) { in TEST() function
194 TEST(camera_metadata, get_size) { in TEST() function
210 TEST(camera_metadata, add_get_normal) { in TEST() function
392 TEST(camera_metadata, add_get_toomany) { in TEST() function
[all …]
/system/core/liblog/tests/
Dliblog_test.cpp44 TEST(liblog, __android_log_buf_print) { in TEST() function
59 TEST(liblog, __android_log_buf_write) { in TEST() function
74 TEST(liblog, __android_log_btwrite) { in TEST() function
102 TEST(liblog, concurrent_name(__android_log_buf_print, NUM_CONCURRENT)) { in TEST() function
122 TEST(liblog, __android_log_btwrite__android_logger_list_read) { in TEST() function
220 TEST(liblog, android_logger_list_read__cpu) { in TEST() function
437 TEST(liblog, max_payload) { in TEST() function
497 TEST(liblog, too_big_payload) { in TEST() function
554 TEST(liblog, dual_reader) { in TEST() function
601 TEST(liblog, android_logger_get_) { in TEST() function
[all …]
/system/core/libutils/
DSharedBufferTest.cpp26 TEST(SharedBufferTest, TestAlloc) { in TEST() function
42 TEST(SharedBufferTest, TestEditResize) { in TEST() function

12