/aosp12/system/core/init/ |
H A D | devices_test.cpp | 74 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST() 85 std::vector<std::string> expected_result{ in TEST() local 91 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST() 101 std::vector<std::string> expected_result{ in TEST() local 106 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST() 116 std::vector<std::string> expected_result{ in TEST() local 122 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST() 141 std::vector<std::string> expected_result{}; in TEST() local 152 std::vector<std::string> expected_result{"/dev/block/vbd/1234/mmcblk0"}; in TEST() local 163 std::vector<std::string> expected_result{}; in TEST() local [all …]
|
H A D | rlimit_parser_test.cpp | 27 const std::pair<int, rlimit>& expected_result) { in TestRlimitSuccess() argument 34 const auto& [expected_resource, expected_rlimit] = expected_result; in TestRlimitSuccess() 40 void TestRlimitFailure(std::vector<std::string> input, const std::string& expected_result) { in TestRlimitFailure() argument 46 EXPECT_EQ(expected_result, result.error().message()); in TestRlimitFailure() 105 for (const auto& [input, expected_result] : inputs_and_results) { in TEST() 106 TestRlimitSuccess(input, expected_result); in TEST() 124 for (const auto& [input, expected_result] : inputs_and_results) { in TEST() 125 TestRlimitFailure(input, expected_result); in TEST()
|
/aosp12/art/libnativeloader/ |
H A D | native_loader_test.cpp | 463 const std::vector<std::string> expected_result = {"libA.so", "libC.so", "libD.so"}; in TEST() local 466 ASSERT_EQ(expected_result, *result); in TEST() 476 const std::vector<std::string> expected_result = {"libB.so", "libC.so"}; in TEST() local 478 const std::vector<std::string> expected_result = {"libA.so", "libC.so"}; in TEST() local 482 ASSERT_EQ(expected_result, *result); in TEST() 492 const std::vector<std::string> expected_result = {"libC.so"}; in TEST() local 497 ASSERT_EQ(expected_result, *result); in TEST() 510 const std::vector<std::string> expected_result = {"libD.so"}; in TEST() local 512 const std::vector<std::string> expected_result = {"libC.so"}; in TEST() local 518 ASSERT_EQ(expected_result, *result); in TEST()
|
/aosp12/bootable/recovery/tests/unit/ |
H A D | parse_install_logs_test.cpp | 65 std::map<std::string, int64_t> expected_result = { in TEST() local 73 ASSERT_EQ(expected_result, metrics); in TEST()
|
/aosp12/art/compiler/optimizing/ |
H A D | codegen_test.cc | 638 bool expected_result = false; in TestComparison() local 644 expected_result = (i == j); in TestComparison() 648 expected_result = (i != j); in TestComparison() 652 expected_result = (i < j); in TestComparison() 656 expected_result = (i <= j); in TestComparison() 660 expected_result = (i > j); in TestComparison() 664 expected_result = (i >= j); in TestComparison() 668 expected_result = (x < y); in TestComparison() 672 expected_result = (x <= y); in TestComparison() 676 expected_result = (x > y); in TestComparison() [all …]
|
/aosp12/hardware/interfaces/tetheroffload/control/1.0/vts/functional/include/ |
H A D | OffloadControlTestV1_0.h | 43 virtual void initOffload(const bool expected_result) override { in initOffload() argument 47 ASSERT_EQ(expected_result, success) << msg; in initOffload()
|
H A D | OffloadControlTestBase.h | 75 virtual void initOffload(const bool expected_result) = 0;
|
/aosp12/system/libbase/ |
H A D | logging_splitters_test.cpp | 298 const char* expected_result = in TEST() local 311 expected_result); in TEST() 319 auto expected_result = "tag E 01-01 00:00:00 1234 4321 " + long_string_a + '\n' + in TEST() local 321 TestStderrOutputGenerator("tag", nullptr, 0, message.c_str(), expected_result); in TEST()
|
/aosp12/hardware/interfaces/tetheroffload/control/1.1/vts/functional/include/ |
H A D | OffloadControlTestV1_1.h | 47 void initOffload(const bool expected_result) override { in initOffload() argument 51 ASSERT_EQ(expected_result, success) << msg; in initOffload()
|
/aosp12/system/bt/types/test/ |
H A D | class_of_device_unittest.cc | 53 size_t expected_result = ClassOfDevice::kLength; in TEST() local 54 ASSERT_EQ(expected_result, cod.FromOctets(test_bytes)); in TEST()
|
H A D | raw_address_unittest.cc | 71 size_t expected_result = RawAddress::kLength; in TEST() local 72 ASSERT_EQ(expected_result, bdaddr.FromOctets(test_addr_array)); in TEST()
|
/aosp12/system/bt/gd/hci/ |
H A D | class_of_device_unittest.cc | 56 size_t expected_result = ClassOfDevice::kLength; in TEST() local 57 ASSERT_EQ(expected_result, cod.FromOctets(test_bytes)); in TEST()
|
H A D | address_unittest.cc | 76 size_t expected_result = Address::kLength; in TEST() local 77 ASSERT_EQ(expected_result, bdaddr.FromOctets(test_addr_array)); in TEST()
|
/aosp12/frameworks/native/cmds/installd/tests/ |
H A D | installd_dexopt_test.cpp | 970 bool expected_result) { in createProfileSnapshot() argument 974 ASSERT_EQ(expected_result, result); in createProfileSnapshot() 976 if (!expected_result) { in createProfileSnapshot() 1013 int expected_result) { in mergePackageProfiles() argument 1017 ASSERT_EQ(expected_result, result); in mergePackageProfiles() 1040 bool expected_result) { in preparePackageProfile() argument 1045 ASSERT_EQ(expected_result, result); in preparePackageProfile() 1047 if (!expected_result) { in preparePackageProfile() 1284 void createBootImageProfileSnapshot(const std::string& classpath, bool expected_result) { in createBootImageProfileSnapshot() argument 1288 ASSERT_EQ(expected_result, result); in createBootImageProfileSnapshot() [all …]
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | delta_performer_integration_test.cc | 896 ErrorCode expected_result, in VerifyPayloadResult() argument 903 LOG(INFO) << "Verifying payload for expected result " << expected_result; in VerifyPayloadResult() 906 EXPECT_EQ(expected_result, in VerifyPayloadResult() 910 if (expected_result != ErrorCode::kSuccess) { in VerifyPayloadResult() 953 ErrorCode expected_result = ErrorCode::kSuccess; in VerifyPayload() local 956 expected_result = ErrorCode::kSignedDeltaPayloadExpectedError; in VerifyPayload() 959 expected_result = ErrorCode::kDownloadPayloadPubKeyVerificationError; in VerifyPayload() 965 VerifyPayloadResult(performer, state, expected_result, minor_version); in VerifyPayload()
|
H A D | delta_performer_unittest.cc | 380 MetadataParseResult expected_result, actual_result; in DoMetadataSignatureTest() local 390 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest() 396 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest() 411 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest() 418 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest() 427 EXPECT_EQ(expected_result, actual_result); in DoMetadataSignatureTest()
|
/aosp12/bionic/tests/ |
H A D | glob_test.cpp | 215 int expected_result = expected_matches.empty() ? GLOB_NOMATCH : 0; in CheckGlob() local 216 ASSERT_EQ(expected_result, glob(pattern, GLOB_ALTDIRFUNC, nullptr, &g)) << pattern; in CheckGlob()
|
H A D | pthread_test.cpp | 253 void* expected_result = reinterpret_cast<void*>(123); in TEST() local 256 ASSERT_EQ(0, pthread_create(&t, nullptr, IdFn, expected_result)); in TEST() 260 ASSERT_EQ(expected_result, result); in TEST()
|
/aosp12/bootable/recovery/tests/unit/host/ |
H A D | update_simulator_test.cpp | 217 std::map<string, string> expected_result = { in TEST_F() local 232 for (const auto& [key, value] : expected_result) { in TEST_F()
|
/aosp12/system/core/fs_mgr/libfs_avb/tests/ |
H A D | avb_util_test.cpp | 55 bool TestVBMetaModification(VBMetaVerifyResult expected_result, const VBMetaData& vbmeta, 522 bool AvbUtilTest::TestVBMetaModification(VBMetaVerifyResult expected_result, in TestVBMetaModification() argument 535 if (result != expected_result) { in TestVBMetaModification()
|
/aosp12/art/runtime/mirror/ |
H A D | class-inl.h | 607 SubtypeCheckInfo::Result expected_result = in IsSubClass() local 609 DCHECK_EQ(expected_result, sc_result) in IsSubClass()
|
/aosp12/system/update_engine/cros/ |
H A D | update_attempter_unittest.cc | 123 bool expected_result = true; member 350 cfu_params_.expected_result, in TestCheckForUpdate() 1415 cfu_params_.expected_result = false; in TEST_F()
|
/aosp12/art/runtime/interpreter/ |
H A D | unstarted_runtime_test.cc | 167 const StackHandleScope<3>& expected_result) in RunArrayCopy() argument 186 CheckObjectArray(dst_handle.Get(), expected_result); in RunArrayCopy()
|