| /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 234 std::string expected = "4 unwind DW_CFA_set_loc " + address_str + "\n"; in TYPED_TEST_P() local 258 std::string expected = in TYPED_TEST_P() local 271 std::string expected = in TYPED_TEST_P() local [all …]
|
| D | DwarfOpLogTest.cpp | 64 std::vector<std::string> expected{ in TYPED_TEST_P() local
|
| /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 | 35 const uint64_t* expected, in ExpectRangeEq() 128 static constexpr uint64_t expected[] = {}; in TEST() local 134 static constexpr uint64_t expected[] = {}; in TEST() local 145 static constexpr uint64_t expected[] = {0, 2, 3, 1}; in TEST() local 150 static constexpr uint64_t expected[] = {0, 4}; in TEST() local 159 static constexpr uint64_t expected[] = {0, 2, 3, 1}; in TEST() local 167 static constexpr uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, 50, in TEST() local 175 static constexpr uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local 182 static constexpr uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local 189 static constexpr uint64_t expected[] = {0, 2, 3, 1, 100, 50, 200, in TEST() local [all …]
|
| /system/security/keystore2/src/maintenance/ |
| D | tests.rs | 21 let expected = vec![0x31, 0x00]; in test_encode_module_info_empty() localVariable 65 let expected = hex::decode(concat!( in test_encode_module_info_same_name_length() localVariable 92 let expected = hex::decode(concat!( in test_encode_module_info_version_irrelevant() localVariable 120 let expected = hex::decode(concat!( in test_encode_module_info_alphaordering_irrelevant() localVariable 153 let expected = hex::decode(concat!( in test_encode_module_info() localVariable
|
| /system/testing/gtest_extras/gtest_isolated/tests/ |
| D | SystemTests.cpp | 276 std::string expected = in TEST_F() local 287 std::string expected = in TEST_F() local 299 std::string expected = in TEST_F() local 311 std::string expected = in TEST_F() local 325 std::string expected = in TEST_F() local 340 std::string expected = in TEST_F() local 356 std::string expected = in TEST_F() local 372 std::string expected = in TEST_F() local 393 std::string expected = in TEST_F() local 415 std::string expected = in TEST_F() local [all …]
|
| /system/tools/mkbootimg/rust/ |
| D | bootimg.rs | 235 let expected = Ok(BootImage::V0(Ref::<&[u8], boot_img_hdr_v0>::new(&buffer).unwrap())); in parse_v0() localVariable 253 let expected = Ok(BootImage::V1(Ref::<&[u8], boot_img_hdr_v1>::new(&buffer).unwrap())); in parse_v1() localVariable 274 let expected = Ok(BootImage::V2(Ref::<&[u8], boot_img_hdr_v2>::new(&buffer).unwrap())); in parse_v2() localVariable 289 let expected = Ok(BootImage::V3(Ref::<&[u8], boot_img_hdr_v3>::new(&buffer).unwrap())); in parse_v3() localVariable 307 let expected = Ok(BootImage::V4(Ref::<&[u8], boot_img_hdr_v4>::new(&buffer).unwrap())); in parse_v4() localVariable 369 let expected = in vendor_parse_v3() localVariable 388 let expected = in vendor_parse_v4() localVariable
|
| /system/netd/server/ |
| D | BandwidthControllerTest.cpp | 93 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands() local 231 std::string expected = { in TEST_F() local 282 std::vector<std::string> expected = makeInterfaceQuotaCommands(iface, 1, kOldQuota); in TEST_F() local 342 std::vector<std::string> expected = makeInterfaceSharedQuotaCommands(iface, 1, 123456, true); in TEST_F() local 358 std::vector<std::string> expected = makeInterfaceSharedQuotaCommands(iface, 1, kOldQuota, true); in TEST_F() local 384 auto expected = makeInterfaceSharedQuotaCommands(iface, 1, kQuota, first); in TEST_F() local 393 auto expected = removeInterfaceSharedQuotaCommands(iface, kQuota, last); in TEST_F() local 400 std::vector<std::string> expected = { in TEST_F() local 419 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/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/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/update_engine/aosp/ |
| D | dynamic_partition_control_android_unittest.cc | 181 const PartitionSuffixSizes& expected) { in UpdatePartitionMetadata() 190 const DeltaArchiveManifest& expected) { in UpdatePartitionMetadata() 237 PartitionSuffixSizes expected{{S("system"), 2_GiB}, in TEST_P() local 254 PartitionSuffixSizes expected{{S("system"), 2_GiB}, in TEST_P() local 266 PartitionSuffixSizes expected{{T("system"), 2_GiB}, {T("vendor"), 1_GiB}}; in TEST_P() local 276 PartitionSuffixSizes expected{ in TEST_P() local 290 PartitionSuffixSizes expected{ in TEST_P() local 303 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/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 | 151 std::vector expected = {ReduceToMaxSize(tag, long_string_x), ReduceToMaxSize(tag, long_string_y), in TEST() local 159 std::vector expected = { in TEST() local 198 std::vector expected = {first_string + '\n' + second_string, exact_string, in TEST() local 226 std::vector expected = { in TEST() local 252 std::vector expected = {ReduceToMaxSize(tag, long_file), ReduceToMaxSize(tag, long_file)}; in TEST() local 258 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/libziparchive/ |
| D | zip_writer_test.cc | 51 const char* expected = ""; in TEST_F() local 76 const char* expected = ""; in TEST_F() local 100 const char* expected = "hello"; in TEST_F() local 440 const char* expected = "hello"; in TEST_F() local 490 static ::testing::AssertionResult AssertFileEntryContentsEq(const std::string& expected, in AssertFileEntryContentsEq()
|
| /system/extras/simpleperf/ |
| D | record_test.cpp | 127 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, ips, {}, 0); in TEST_F() local 162 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, {1, PERF_CONTEXT_USER, 3, 4, 5}, {}, in TEST_F() local 174 SampleRecord expected(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, in TEST_F() local
|
| /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/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/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/security/mls/mls-rs-crypto-boringssl/src/ |
| D | hash.rs | 117 let expected = vec![ in hmac_sha256() localVariable 140 let expected = vec![ in hmac_sha512() localVariable
|
| /system/chre/chpp/test/ |
| D | packet_util.cpp | 390 const ChppTransportHeader &expected) { in comparePacketHeader() 401 const ChppEmptyPacket &expected) { in comparePacket() 414 const ChppResetPacket &expected) { in comparePacket()
|
| /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()
|