/system/unwinding/libunwindstack/tests/ |
D | DwarfCfaLogTest.cpp | 84 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 …]
|
D | DwarfOpLogTest.cpp | 62 std::vector<std::string> expected{ in TYPED_TEST_P() local
|
/system/libbase/include/android-base/ |
D | expected.h | 54 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/ |
D | trace-dev_test.cpp | 58 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 …]
|
D | str_parms_test.cpp | 20 static void test_str_parms_str(const char* str, const char* expected) { in test_str_parms_str()
|
/system/update_engine/payload_generator/ |
D | extent_ranges_unittest.cc | 36 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 …]
|
D | merge_sequence_generator_unittest.cc | 38 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/ |
D | SystemTests.cpp | 273 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/ |
D | ueventd_parser_test.cpp | 28 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/ |
D | BandwidthControllerTest.cpp | 93 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
|
D | StrictControllerTest.cpp | 103 std::vector<std::pair<IptablesTarget, std::string>> expected = { in TEST_F() local 114 const std::string expected = in TEST_F() local
|
D | IdletimerControllerTest.cpp | 61 auto expected = makeAddRemoveCommands(true); in TEST_F() local
|
/system/nvram/core/tests/ |
D | gtest_stubs.h | 40 #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/ |
D | chrono_utils_test.cpp | 49 void ExpectAboutEqual(T expected, T actual) { in ExpectAboutEqual() 63 auto expected = std::chrono::duration_cast<std::chrono::milliseconds>(stop - start); in TEST() local
|
D | logging_splitters_test.cpp | 148 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()
|
D | utf8_test.cpp | 182 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/ |
D | record_test.cpp | 108 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/ |
D | dynamic_partition_control_android_unittest.cc | 182 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/ |
D | variadic_tests.cpp | 30 #define PRINT_AND_EXPECT_EQ(expected, expr) { \ argument 37 #define PRINT_AND_EXPECT_NEAR(expected, expr) { \ argument
|
/system/chre/apps/test/chqts/src/shared/ |
D | nano_string_test.cc | 39 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/ |
D | LogBufferTest.cpp | 41 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/ |
D | fifo_index.cpp | 49 int audio_utils_fifo_index::wait(int op, uint32_t expected, const struct timespec *timeout) in wait()
|
/system/core/libprocessgroup/cgrouprc/ |
D | cgroup_file.cpp | 68 auto expected = sizeof(CgroupFile) + file_data->controller_count_ * sizeof(CgroupController); in LoadRcFile() local
|
/system/libziparchive/ |
D | zip_writer_test.cc | 51 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/ |
D | hkdf_test.cpp | 68 const string expected = hex2str(test.output_hex); in TEST() local
|