Home
last modified time | relevance | path

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

12345

/system/core/libunwindstack/tests/
DDwarfCfaLogTest.cpp84 std::string expected = "4 unwind Illegal\n"; in TYPED_TEST_P() local
95 std::string expected = in TYPED_TEST_P() local
106 std::string expected = in TYPED_TEST_P() local
127 std::string expected = in TYPED_TEST_P() local
148 std::string expected = in TYPED_TEST_P() local
170 std::string expected = in TYPED_TEST_P() local
193 std::string expected = in TYPED_TEST_P() local
233 std::string expected = "4 unwind DW_CFA_set_loc " + address_str + "\n"; in TYPED_TEST_P() local
257 std::string expected = in TYPED_TEST_P() local
270 std::string expected = in TYPED_TEST_P() local
[all …]
/system/libbase/include/android-base/
Dexpected.h54 class expected; variable
115 constexpr expected(const expected<U, G>& rhs) { in expected() function
134 constexpr explicit expected(const expected<U, G>& rhs) { in expected() function
154 constexpr expected(expected<U, G>&& rhs) { in expected() function
173 constexpr explicit expected(expected<U, G>&& rhs) { in expected() function
186 constexpr expected(U&& v) : var_(std::in_place_index<0>, std::forward<U>(v)) {} in expected() function
196 constexpr explicit expected(U&& v) : var_(std::in_place_index<0>, T(std::forward<U>(v))) {} in expected() function
203 constexpr expected(const unexpected<G>& e) in expected() function
210 constexpr explicit expected(const unexpected<G>& e) in expected() function
218 constexpr expected(unexpected<G>&& e) in expected() function
[all …]
/system/update_engine/payload_generator/
Dextent_ranges_unittest.cc36 const uint64_t* expected, in ExpectRangeEq()
128 static const uint64_t expected[] = {}; in TEST() local
134 static const uint64_t expected[] = {}; in TEST() local
145 static const uint64_t expected[] = {0, 2, 3, 1}; in TEST() local
150 static const uint64_t expected[] = {0, 4}; in TEST() local
159 static const uint64_t expected[] = {0, 2, 3, 1}; in TEST() local
167 static const uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, 50, in TEST() local
175 static const uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local
182 static const uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local
189 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/netd/server/
DFirewallControllerTest.cpp115 ExpectedIptablesCommands expected = { in TEST_F() local
129 ExpectedIptablesCommands expected = { in TEST_F() local
143 ExpectedIptablesCommands expected = { in TEST_F() local
163 std::string expected = in TEST_F() local
193 std::string expected = in TEST_F() local
209 std::vector<std::string> expected = { in TEST_F() local
306 const uint32_t expected; in TEST_F() member
DBandwidthControllerTest.cpp161 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands() local
302 std::string expected = { in TEST_F() local
353 std::vector<std::string> expected = makeInterfaceQuotaCommands(iface, 1, kOldQuota); in TEST_F() local
413 std::vector<std::string> expected = makeInterfaceSharedQuotaCommands(iface, 1, 123456, true); in TEST_F() local
429 std::vector<std::string> expected = makeInterfaceSharedQuotaCommands(iface, 1, kOldQuota, true); in TEST_F() local
455 auto expected = makeInterfaceSharedQuotaCommands(iface, 1, kQuota, first); in TEST_F() local
464 auto expected = removeInterfaceSharedQuotaCommands(iface, kQuota, last); in TEST_F() local
471 std::vector<std::string> expected = { in TEST_F() local
490 std::vector<std::string> expected = { in TEST_F() local
518 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
/system/testing/gtest_extras/tests/
DSystemTests.cpp273 std::string expected = in TEST_F() local
284 std::string expected = in TEST_F() local
296 std::string expected = in TEST_F() local
308 std::string expected = in TEST_F() local
322 std::string expected = in TEST_F() local
337 std::string expected = in TEST_F() local
353 std::string expected = in TEST_F() local
369 std::string expected = in TEST_F() local
390 std::string expected = in TEST_F() local
412 std::string expected = in TEST_F() local
[all …]
/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/core/init/
Dueventd_parser_test.cpp28 void TestSubsystems(const Subsystem& expected, const Subsystem& test) { in TestSubsystems()
34 void TestPermissions(const Permissions& expected, const Permissions& test) { in TestPermissions()
43 void TestSysfsPermissions(const SysfsPermissions& expected, const SysfsPermissions& test) { in TestSysfsPermissions()
49 void TestVector(const T& expected, const T& test, F function) { in TestVector()
59 void TestUeventdFile(const std::string& content, const UeventdConfiguration& expected) { in TestUeventdFile()
/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/adb/fastdeploy/deploypatchgenerator/
Dpatch_utils_test.cpp65 const char expected[] = {0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11, 0x00}; in TEST() local
70 std::string expected("Some Data"); in TEST() local
97 APKMetaData expected; in TEST() 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/update_engine/
Ddynamic_partition_control_android_unittest.cc175 const PartitionSuffixSizes& expected) { in UpdatePartitionMetadata()
184 const DeltaArchiveManifest& expected) { in UpdatePartitionMetadata()
229 PartitionSuffixSizes expected{{S("system"), 2_GiB}, in TEST_P() local
246 PartitionSuffixSizes expected{{S("system"), 2_GiB}, in TEST_P() local
258 PartitionSuffixSizes expected{{T("system"), 2_GiB}, {T("vendor"), 1_GiB}}; in TEST_P() local
268 PartitionSuffixSizes expected{ in TEST_P() local
282 PartitionSuffixSizes expected{ in TEST_P() local
295 PartitionSuffixSizes expected{{S("system"), 2_GiB}, {S("vendor"), 1_GiB}}; in TEST_P() local
481 DeltaArchiveManifest expected; in TEST_P() local
510 DeltaArchiveManifest expected; in TEST_P() local
[all …]
/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/libbase/
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/core/logd/
DLogBufferTest.cpp51 static std::vector<std::string> CompareLoggerEntries(const logger_entry& expected, in CompareLoggerEntries()
104 static std::string CompareMessages(const std::string& expected, const std::string& result) { in CompareMessages()
128 static std::string CompareRegexMessages(const std::string& expected, const std::string& result) { in CompareRegexMessages()
158 void CompareLogMessages(const std::vector<LogMessage>& expected, in CompareLogMessages()
/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

12345