Home
last modified time | relevance | path

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

1234

/system/unwinding/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 …]
DDwarfOpLogTest.cpp62 std::vector<std::string> expected{ in TYPED_TEST_P() local
/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/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("G|%d|fake_track|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/update_engine/payload_generator/
Dextent_ranges_unittest.cc36 const uint64_t* expected, in ExpectRangeEq()
129 static constexpr uint64_t expected[] = {}; in TEST() local
135 static constexpr uint64_t expected[] = {}; in TEST() local
146 static constexpr uint64_t expected[] = {0, 2, 3, 1}; in TEST() local
151 static constexpr uint64_t expected[] = {0, 4}; in TEST() local
160 static constexpr uint64_t expected[] = {0, 2, 3, 1}; in TEST() local
168 static constexpr uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, 50, in TEST() local
176 static constexpr uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local
183 static constexpr uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local
190 static constexpr uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local
[all …]
Dmerge_sequence_generator_unittest.cc38 const std::vector<CowMergeOperation>& expected) { in VerifyTransfers()
51 const std::vector<CowMergeOperation>& expected) { in GenerateSequence()
72 std::vector<CowMergeOperation> expected = { in TEST_F() local
94 std::vector<CowMergeOperation> expected = { in TEST_F() local
180 std::vector<CowMergeOperation> expected{ in TEST_F() local
195 std::vector<CowMergeOperation> expected{ in TEST_F() local
213 std::vector<CowMergeOperation> expected{ in TEST_F() local
276 std::vector<CowMergeOperation> 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/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()
48 void TestExternalFirmwareHandler(const ExternalFirmwareHandler& expected, in TestExternalFirmwareHandler()
57 void TestVector(const T& expected, const T& test, F function) { in TestVector()
67 void TestUeventdFile(const std::string& content, const UeventdConfiguration& expected) { in TestUeventdFile()
/system/netd/server/
DBandwidthControllerTest.cpp93 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands() local
251 std::string expected = { in TEST_F() local
302 std::vector<std::string> expected = makeInterfaceQuotaCommands(iface, 1, kOldQuota); in TEST_F() local
362 std::vector<std::string> expected = makeInterfaceSharedQuotaCommands(iface, 1, 123456, true); in TEST_F() local
378 std::vector<std::string> expected = makeInterfaceSharedQuotaCommands(iface, 1, kOldQuota, true); in TEST_F() local
404 auto expected = makeInterfaceSharedQuotaCommands(iface, 1, kQuota, first); in TEST_F() local
413 auto expected = removeInterfaceSharedQuotaCommands(iface, kQuota, last); in TEST_F() local
420 std::vector<std::string> expected = { in TEST_F() local
439 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.cpp61 auto expected = makeAddRemoveCommands(true); in TEST_F() 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/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
Dlogging_splitters_test.cpp148 std::vector expected = {ReduceToMaxSize(tag, long_string_x), ReduceToMaxSize(tag, long_string_y), in TEST() local
156 std::vector expected = { in TEST() local
195 std::vector expected = {first_string + '\n' + second_string, exact_string, in TEST() local
223 std::vector expected = { in TEST() local
249 std::vector expected = {ReduceToMaxSize(tag, long_file), ReduceToMaxSize(tag, long_file)}; in TEST() local
255 const std::string& expected) { in TestStderrOutputGenerator()
Dutf8_test.cpp182 std::wstring expected(convert_cases[i].wide); in TEST() local
251 std::string expected(convert_cases[i].utf8); in TEST() local
287 std::string expected(convert_cases[i].utf8); in TEST() local
330 std::string expected; in TEST() local
/system/extras/simpleperf/
Drecord_test.cpp108 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, {1, PERF_CONTEXT_USER, 2, 3, 4, 5}, {}, in TEST_F() local
123 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, {1, PERF_CONTEXT_USER, 3, 4, 5}, {}, in TEST_F() local
134 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, in TEST_F() local
/system/update_engine/aosp/
Ddynamic_partition_control_android_unittest.cc182 const PartitionSuffixSizes& expected) { in UpdatePartitionMetadata()
191 const DeltaArchiveManifest& expected) { in UpdatePartitionMetadata()
238 PartitionSuffixSizes expected{{S("system"), 2_GiB}, in TEST_P() local
255 PartitionSuffixSizes expected{{S("system"), 2_GiB}, in TEST_P() local
267 PartitionSuffixSizes expected{{T("system"), 2_GiB}, {T("vendor"), 1_GiB}}; in TEST_P() local
277 PartitionSuffixSizes expected{ in TEST_P() local
291 PartitionSuffixSizes expected{ in TEST_P() local
304 PartitionSuffixSizes expected{{S("system"), 2_GiB}, {S("vendor"), 1_GiB}}; in TEST_P() local
576 DeltaArchiveManifest expected; in TEST_P() local
605 DeltaArchiveManifest expected; in TEST_P() local
[all …]
/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/test/chqts/src/shared/
Dnano_string_test.cc39 uint8_t expected[kMemsetBufferLen]; in testMemset() local
71 uint8_t expected[arrayLength(kMemcpySrc)]; in testMemcpy() local
113 char expected[kStrncpyMax]; in testStrncpy() local
/system/logging/logd/
DLogBufferTest.cpp41 static std::vector<std::string> CompareLoggerEntries(const logger_entry& expected, in CompareLoggerEntries()
94 static std::string CompareMessages(const std::string& expected, const std::string& result) { in CompareMessages()
118 static std::string CompareRegexMessages(const std::string& expected, const std::string& result) { in CompareRegexMessages()
148 void CompareLogMessages(const std::vector<LogMessage>& expected, in CompareLogMessages()
/system/media/audio_utils/
Dfifo_index.cpp49 int audio_utils_fifo_index::wait(int op, uint32_t expected, const struct timespec *timeout) in wait()
/system/core/libprocessgroup/cgrouprc/
Dcgroup_file.cpp68 auto expected = sizeof(CgroupFile) + file_data->controller_count_ * sizeof(CgroupController); in LoadRcFile() local
/system/libziparchive/
Dzip_writer_test.cc51 const char* expected = "hello"; in TEST_F() local
356 const char* expected = "hello"; in TEST_F() local
406 static ::testing::AssertionResult AssertFileEntryContentsEq(const std::string& expected, in AssertFileEntryContentsEq()
/system/keymaster/tests/
Dhkdf_test.cpp68 const string expected = hex2str(test.output_hex); in TEST() local

1234