Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 94) sorted by relevance

1234

/system/core/libunwindstack/tests/
DDwarfCfaLogTest.cpp83 std::string expected = "4 unwind Illegal\n"; in TYPED_TEST_P() local
94 std::string expected = in TYPED_TEST_P() local
105 std::string expected = in TYPED_TEST_P() local
126 std::string expected = in TYPED_TEST_P() local
147 std::string expected = in TYPED_TEST_P() local
169 std::string expected = in TYPED_TEST_P() local
192 std::string expected = in TYPED_TEST_P() local
232 std::string expected = "4 unwind DW_CFA_set_loc " + address_str + "\n"; in TYPED_TEST_P() local
256 std::string expected = in TYPED_TEST_P() local
269 std::string expected = in TYPED_TEST_P() local
[all …]
DDwarfOpLogTest.cpp62 std::vector<std::string> expected{ in TYPED_TEST_P() local
/system/update_engine/payload_generator/
Dextent_ranges_unittest.cc35 const uint64_t* expected, in ExpectRangeEq()
127 static const uint64_t expected[] = {}; in TEST() local
133 static const uint64_t expected[] = {}; in TEST() local
144 static const uint64_t expected[] = {0, 2, 3, 1}; in TEST() local
149 static const uint64_t expected[] = {0, 4}; in TEST() local
158 static const uint64_t expected[] = {0, 2, 3, 1}; in TEST() local
166 static const uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, 50, in TEST() local
174 static const uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local
181 static const uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local
188 static const uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local
[all …]
/system/core/libcutils/
Dtrace-dev_test.cpp58 std::string expected = android::base::StringPrintf("B|%d|fake_name", getpid()); in TEST_F() local
63 std::string expected = android::base::StringPrintf("B|%d|", getpid()); in TEST_F() local
86 std::string expected = android::base::StringPrintf("B|%d|", getpid()); in TEST_F() local
107 std::string expected = android::base::StringPrintf("S|%d|fake_name|12345", getpid()); in TEST_F() local
112 std::string expected = android::base::StringPrintf("S|%d|", getpid()); in TEST_F() local
135 std::string expected = android::base::StringPrintf("S|%d|", getpid()); in TEST_F() local
156 std::string expected = android::base::StringPrintf("F|%d|fake_name|12345", getpid()); in TEST_F() local
161 std::string expected = android::base::StringPrintf("F|%d|", getpid()); in TEST_F() local
184 std::string expected = android::base::StringPrintf("F|%d|", getpid()); in TEST_F() local
205 std::string expected = android::base::StringPrintf("C|%d|fake_name|12345", getpid()); in TEST_F() local
[all …]
Dstr_parms_test.cpp20 static void test_str_parms_str(const char* str, const char* expected) { in test_str_parms_str()
/system/testing/gtest_extras/tests/
DSystemTests.cpp189 std::string expected = in TEST_F() local
200 std::string expected = in TEST_F() local
212 std::string expected = in TEST_F() local
224 std::string expected = in TEST_F() local
235 std::string expected = in TEST_F() local
247 std::string expected = in TEST_F() local
259 std::string expected = in TEST_F() local
272 std::string expected = in TEST_F() local
286 std::string expected = in TEST_F() local
300 std::string expected = in TEST_F() local
[all …]
/system/netd/server/
DFirewallControllerTest.cpp118 ExpectedIptablesCommands expected = { in TEST_F() local
132 ExpectedIptablesCommands expected = { in TEST_F() local
146 ExpectedIptablesCommands expected = { in TEST_F() local
166 std::string expected = in TEST_F() local
196 std::string expected = in TEST_F() local
212 std::vector<std::string> expected = { in TEST_F() local
309 const uint32_t expected; in TEST_F() member
DBandwidthControllerTest.cpp159 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands() local
300 std::string expected = { in TEST_F() local
352 std::vector<std::string> expected = makeInterfaceQuotaCommands(iface, 1, kOldQuota); in TEST_F() local
412 std::vector<std::string> expected = makeInterfaceSharedQuotaCommands(iface, 1, 123456, true); in TEST_F() local
428 std::vector<std::string> expected = makeInterfaceSharedQuotaCommands(iface, 1, kOldQuota, true); in TEST_F() local
454 auto expected = makeInterfaceSharedQuotaCommands(iface, 1, kQuota, first); in TEST_F() local
463 auto expected = removeInterfaceSharedQuotaCommands(iface, kQuota, last); in TEST_F() local
470 std::vector<std::string> expected = { in TEST_F() local
489 std::vector<std::string> expected = { in TEST_F() local
517 std::vector<std::string> expected = { in TEST_F() local
DStrictControllerTest.cpp103 std::vector<std::pair<IptablesTarget, std::string>> expected = { in TEST_F() local
114 const std::string expected = in TEST_F() local
DIdletimerControllerTest.cpp59 auto expected = makeAddRemoveCommands(true); in TEST_F() local
/system/core/init/
Dueventd_parser_test.cpp26 void TestSubsystems(const Subsystem& expected, const Subsystem& test) { in TestSubsystems()
32 void TestPermissions(const Permissions& expected, const Permissions& test) { in TestPermissions()
41 void TestSysfsPermissions(const SysfsPermissions& expected, const SysfsPermissions& test) { in TestSysfsPermissions()
47 void TestVector(const T& expected, const T& test, F function) { in TestVector()
57 void TestUeventdFile(const std::string& content, const UeventdConfiguration& expected) { in TestUeventdFile()
/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc71 Time expected; in TEST_F() local
80 Time::Exploded expected; in TEST_F() local
89 Time::Exploded expected; in TEST_F() local
Dpolicy_test_utils.h58 void ExpectStatus(EvalStatus expected, T method, R* result, Args... args) { in ExpectStatus()
80 void ExpectPolicyStatus(EvalStatus expected, in ExpectPolicyStatus()
Dumtest_utils.h41 static void ExpectVariableHasValue(const T& expected, Variable<T>* variable) { in ExpectVariableHasValue()
/system/core/adb/
Dadb_io_test.cpp46 const char expected[] = "Foobar"; in POSIX_TEST() local
60 const char expected[] = "Foobar"; in POSIX_TEST() local
85 std::string expected(input); in POSIX_TEST() local
91 const char expected[] = "Foobar"; in POSIX_TEST() local
114 std::string expected(buf); in POSIX_TEST() local
/system/netd/libnetdutils/
DSyscallsTest.cpp71 sockaddr_nl expected = {}; in TEST_F() local
95 sockaddr_nl expected = {}; in TEST_F() local
114 sockaddr_nl expected = {}; in TEST_F() local
132 sockaddr_nl expected = {}; in TEST_F() local
149 sockaddr_nl expected = {}; in TEST_F() local
169 sockaddr_nl expected = {}; in TEST_F() local
184 sockaddr_nl expected = {}; in TEST_F() local
/system/bt/vendor_libs/test_vendor_lib/packets/hci/test/
Devent_builder_test.cc56 std::vector<uint8_t> expected({ in TEST() local
90 std::vector<uint8_t> expected({ in TEST() local
124 std::vector<uint8_t> expected({ in TEST() local
147 std::vector<uint8_t> expected({ in TEST() local
/system/nvram/core/tests/
Dgtest_stubs.h40 #define ASSERT_EQ(expected, actual) ASSERT_MSG(expected == actual) argument
48 #define EXPECT_EQ(expected, actual) EXPECT_MSG((expected) == (actual)) argument
49 #define EXPECT_NE(expected, actual) EXPECT_MSG((expected) != (actual)) argument
/system/core/debuggerd/libdebuggerd/test/
Dtombstone_test.cpp338 std::string expected = android::base::StringPrintf( in TEST_F() local
352 std::string expected = "pid: 2, tid: 3, name: some_thread >>> some_process <<<\nuid: 1\n"; in TEST_F() local
390 std::string expected = in TEST_F() local
476 std::string expected = in TEST_F() local
568 std::string expected = in TEST_F() local
698 std::string expected = in TEST_F() local
/system/core/libpixelflinger/tests/gglmul/
Dgglmul_test.cpp123 GGLfixed actual, expected; in gglMulx_test() local
166 GGLfixed actual, expected; in gglMulAddx_test() local
209 GGLfixed actual, expected; in gglMulSubx_test() local
251 int64_t actual, expected; in gglMulii_test() local
/system/extras/simpleperf/
Drecord_test.cpp103 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, {1, PERF_CONTEXT_USER, 2, 3, 4, 5}, {}, in TEST_F() local
118 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, {1, PERF_CONTEXT_USER, 3, 4, 5}, {}, 0); in TEST_F() local
128 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, in TEST_F() local
/system/core/base/
Dchrono_utils_test.cpp49 void ExpectAboutEqual(T expected, T actual) { in ExpectAboutEqual()
63 auto expected = std::chrono::duration_cast<std::chrono::milliseconds>(stop - start); in TEST() local
/system/core/adb/sysdeps/win32/
Derrno_test.cpp23 void TestAdbStrError(int err, const char* expected) { in TestAdbStrError()
/system/media/audio_utils/tests/
Dvariadic_tests.cpp30 #define PRINT_AND_EXPECT_EQ(expected, expr) { \ argument
37 #define PRINT_AND_EXPECT_NEAR(expected, expr) { \ argument
/system/chre/apps/chqts/src/shared/
Dnano_string_test.cc39 uint8_t expected[kMemsetBufferLen]; in testMemset() local
72 uint8_t expected[arrayLength(kMemcpySrc)]; in testMemcpy() local
115 char expected[kStrncpyMax]; in testStrncpy() local

1234