Home
last modified time | relevance | path

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

12345

/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
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 …]
DDwarfOpLogTest.cpp64 std::vector<std::string> expected{ in TYPED_TEST_P() local
/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.cc35 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/
Dtests.rs21 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/
DSystemTests.cpp276 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/
Dbootimg.rs235 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/
DBandwidthControllerTest.cpp93 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
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/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/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/update_engine/aosp/
Ddynamic_partition_control_android_unittest.cc181 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/
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.cpp151 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()
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/libziparchive/
Dzip_writer_test.cc51 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/
Drecord_test.cpp127 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/
Dvariadic_tests.cpp30 #define PRINT_AND_EXPECT_EQ(expected, expr) { \ argument
37 #define PRINT_AND_EXPECT_NEAR(expected, expr) { \ argument
/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/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/security/mls/mls-rs-crypto-boringssl/src/
Dhash.rs117 let expected = vec![ in hmac_sha256() localVariable
140 let expected = vec![ in hmac_sha512() localVariable
/system/chre/chpp/test/
Dpacket_util.cpp390 const ChppTransportHeader &expected) { in comparePacketHeader()
401 const ChppEmptyPacket &expected) { in comparePacket()
414 const ChppResetPacket &expected) { in comparePacket()
/system/media/audio_utils/
Dfifo_index.cpp49 int audio_utils_fifo_index::wait(int op, uint32_t expected, const struct timespec *timeout) in wait()

12345