Searched refs:result2 (Results 1 – 8 of 8) sorted by relevance
/system/libbase/ |
D | result_test.cpp | 141 Result<std::string> result2 = result.error(); in TEST() local 143 ASSERT_FALSE(result2.ok()); in TEST() 144 ASSERT_FALSE(result2.has_value()); in TEST() 146 EXPECT_EQ(0, result2.error().code()); in TEST() 147 EXPECT_EQ(error_text, result2.error().message()); in TEST() 157 Result<std::string> result2 = Error() << result.error(); in TEST() local 159 ASSERT_FALSE(result2.ok()); in TEST() 160 ASSERT_FALSE(result2.has_value()); in TEST() 162 EXPECT_EQ(0, result2.error().code()); in TEST() 163 EXPECT_EQ(error_text, result2.error().message()); in TEST() [all …]
|
D | expected_test.cpp | 766 auto result2 = test("test2"); in TEST() local 767 ASSERT_TRUE(result2.ok()); in TEST() 768 EXPECT_EQ("test2test22", result2->string); in TEST()
|
/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | wifi_scan_result.cc | 51 const WifiScanResult &result2) { in areEqual() argument 54 return strcmp(result1.mSsid, result2.mSsid) == 0 && in areEqual() 55 bssidsAreEqual(result1, result2); in areEqual() 59 const WifiScanResult &result2) { 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 | 48 const WifiScanResult &result2); 51 const WifiScanResult &result2);
|
/system/core/init/ |
D | subcontext_test.cpp | 124 auto result2 = subcontext.Execute(std::vector<std::string>{"generate_sane_error"}); in TEST() local 125 ASSERT_FALSE(result2.ok()); in TEST() 126 EXPECT_EQ("Sane error!", result2.error().message()); in TEST()
|
/system/chre/pal/util/tests/ |
D | wifi_scan_cache_test.cc | 339 chreWifiScanResult result2 = {}; in TEST_F() local 349 chreWifiScanCacheScanEventAdd(&result2); in TEST_F() 362 result2.ageMs = gWifiScanResultList[1].ageMs; in TEST_F() 364 memcmp(&gWifiScanResultList[1], &result2, sizeof(chreWifiScanResult)), 0); in TEST_F()
|
/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 224 Stats result2 = {}; in TEST_F() local 225 ASSERT_EQ(0, bpfGetUidStatsInternal(TEST_UID2, &result2, mFakeAppUidStatsMap)); in TEST_F() 226 expectStatsEqual(value2, result2); in TEST_F() 269 Stats result2 = {}; in TEST_F() local 270 ASSERT_EQ(0, bpfGetIfaceStatsInternal(IFACE_NAME2, &result2, mFakeIfaceStatsMap, in TEST_F() 272 expectStatsEqual(value2, result2); in TEST_F()
|
/system/keymaster/tests/ |
D | android_keymaster_test.cpp | 4075 auto result2 = keymaster.GetHmacSharingParameters(); in TEST_F() local 4076 EXPECT_EQ(KM_ERROR_OK, result2.error); in TEST_F() 4077 paramsVec.push_back(std::move(result2.params)); in TEST_F()
|