/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | wifi_scan_result.cc | 50 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/ |
D | wifi_scan_result.h | 47 static bool areEqual(const WifiScanResult &result1, 50 static bool bssidsAreEqual(const WifiScanResult &result1,
|
/system/bt/types/test/ |
D | class_of_device_unittest.cc | 94 const ClassOfDevice result1 = {{0x4c, 0x21, 0xab}}; in TEST() local 95 EXPECT_EQ(0, memcmp(&cod, &result1, sizeof(cod))); in TEST()
|
D | raw_address_unittest.cc | 187 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/ |
D | class_of_device_unittest.cc | 97 const ClassOfDevice result1 = {{0x4c, 0x21, 0xab}}; in TEST() local 98 ASSERT_EQ(0, memcmp(cod.data(), result1.data(), ClassOfDevice::kLength)); in TEST()
|
D | address_unittest.cc | 191 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/ |
D | BpfNetworkStatsTest.cpp | 197 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/ |
D | parcelable_unittest.cc | 139 ScanResult result1(kTestAddress, kTestBytes, kTestRssi); in TEST() local 144 result = TestData<ScanResult, android::bluetooth::ScanResult>(result1); in TEST()
|
/system/libbase/ |
D | result_test.cpp | 256 auto result1 = ReturnConstructorTracker(""); in TEST() local 257 ASSERT_RESULT_OK(result1); in TEST() 258 EXPECT_EQ("literal string", result1->string); in TEST()
|
D | expected_test.cpp | 756 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/ |
D | android_keymaster_test.cpp | 4071 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()
|