Home
last modified time | relevance | path

Searched refs:result1 (Results 1 – 11 of 11) sorted by relevance

/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dwifi_scan_result.cc50 bool WifiScanResult::areEqual(const WifiScanResult &result1, in areEqual() argument
54 return strcmp(result1.mSsid, result2.mSsid) == 0 && in areEqual()
55 bssidsAreEqual(result1, result2); in areEqual()
58 bool WifiScanResult::bssidsAreEqual(const WifiScanResult &result1, in bssidsAreEqual() argument
60 return memcmp(result1.mBssid, result2.mBssid, CHRE_WIFI_BSSID_LEN) == 0; in bssidsAreEqual()
/system/chre/apps/test/common/chre_cross_validator_wifi/inc/
Dwifi_scan_result.h47 static bool areEqual(const WifiScanResult &result1,
50 static bool bssidsAreEqual(const WifiScanResult &result1,
/system/bt/types/test/
Dclass_of_device_unittest.cc94 const ClassOfDevice result1 = {{0x4c, 0x21, 0xab}}; in TEST() local
95 EXPECT_EQ(0, memcmp(&cod, &result1, sizeof(cod))); in TEST()
Draw_address_unittest.cc187 const RawAddress result1 = {{0xab, 0x01, 0x4c, 0xd5, 0x21, 0x9f}}; in TEST() local
188 EXPECT_EQ(0, memcmp(&addr, &result1, sizeof(addr))); in TEST()
/system/bt/gd/hci/
Dclass_of_device_unittest.cc97 const ClassOfDevice result1 = {{0x4c, 0x21, 0xab}}; in TEST() local
98 ASSERT_EQ(0, memcmp(cod.data(), result1.data(), ClassOfDevice::kLength)); in TEST()
Daddress_unittest.cc191 const Address result1 = {{0x9f, 0x21, 0xd5, 0x4c, 0x01, 0xab}}; in TEST() local
193 ASSERT_EQ("ab:01:4c:d5:21:9f", result1.ToString()); in TEST()
195 ASSERT_EQ(0, memcmp(addr.data(), result1.data(), Address::kLength)); in TEST()
/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp197 Stats result1 = {}; in TEST_F() local
198 ASSERT_EQ(0, bpfGetUidStatsInternal(TEST_UID1, &result1, mFakeAppUidStatsMap)); in TEST_F()
199 expectStatsEqual(value1, result1); in TEST_F()
220 Stats result1 = {}; in TEST_F() local
221 ASSERT_EQ(0, bpfGetUidStatsInternal(TEST_UID1, &result1, mFakeAppUidStatsMap)); in TEST_F()
222 expectStatsEqual(value1, result1); in TEST_F()
265 Stats result1 = {}; in TEST_F() local
266 ASSERT_EQ(0, bpfGetIfaceStatsInternal(IFACE_NAME1, &result1, mFakeIfaceStatsMap, in TEST_F()
268 expectStatsEqual(value1, result1); in TEST_F()
/system/bt/service/test/
Dparcelable_unittest.cc139 ScanResult result1(kTestAddress, kTestBytes, kTestRssi); in TEST() local
144 result = TestData<ScanResult, android::bluetooth::ScanResult>(result1); in TEST()
/system/libbase/
Dresult_test.cpp256 auto result1 = ReturnConstructorTracker(""); in TEST() local
257 ASSERT_RESULT_OK(result1); in TEST()
258 EXPECT_EQ("literal string", result1->string); in TEST()
Dexpected_test.cpp756 auto result1 = test(""); in TEST() local
757 ASSERT_TRUE(result1.ok()); in TEST()
758 EXPECT_EQ("literal string", result1->string); in TEST()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp4071 auto result1 = keymaster.GetHmacSharingParameters(); in TEST_F() local
4072 EXPECT_EQ(KM_ERROR_OK, result1.error); in TEST_F()
4073 paramsVec.push_back(std::move(result1.params)); in TEST_F()