• Home
  • Raw
  • Download

Lines Matching refs:api_

1219     EXPECT_CALL(api_, qwave_supported()).WillRepeatedly(Return(true));  in DscpManagerTest()
1220 EXPECT_CALL(api_, CreateHandle(_, _)) in DscpManagerTest()
1222 dscp_manager_ = std::make_unique<DscpManager>(&api_, INVALID_SOCKET); in DscpManagerTest()
1229 MockQwaveApi api_; member in net::DscpManagerTest
1247 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, _, _, _)) in TEST_F()
1249 EXPECT_CALL(api_, SetFlow(_, kFakeFlowId1, _, _, _, _, _)); in TEST_F()
1252 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, _, _, _)) in TEST_F()
1254 EXPECT_CALL(api_, SetFlow(_, _, _, _, _, _, _)).Times(0); in TEST_F()
1258 EXPECT_CALL(api_, RemoveSocketFromFlow(_, _, kFakeFlowId1, _)); in TEST_F()
1259 EXPECT_CALL(api_, CloseHandle(kFakeHandle1)); in TEST_F()
1266 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, _, _, _)) in TEST_F()
1268 EXPECT_CALL(api_, SetFlow(_, kFakeFlowId1, _, _, _, _, _)); in TEST_F()
1270 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, _, _, _)).Times(0); in TEST_F()
1271 EXPECT_CALL(api_, SetFlow(_, _, _, _, _, _, _)).Times(0); in TEST_F()
1275 EXPECT_CALL(api_, RemoveSocketFromFlow(_, _, kFakeFlowId1, _)); in TEST_F()
1276 EXPECT_CALL(api_, CloseHandle(kFakeHandle1)); in TEST_F()
1283 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, _, _, _)) in TEST_F()
1285 EXPECT_CALL(api_, SetFlow(_, kFakeFlowId1, _, _, _, _, _)); in TEST_F()
1291 EXPECT_CALL(api_, RemoveSocketFromFlow(_, NULL, kFakeFlowId1, _)); in TEST_F()
1294 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, _, _, _)) in TEST_F()
1296 EXPECT_CALL(api_, SetFlow(_, kFakeFlowId2, _, _, _, _, _)); in TEST_F()
1300 EXPECT_CALL(api_, RemoveSocketFromFlow(_, _, kFakeFlowId2, _)); in TEST_F()
1301 EXPECT_CALL(api_, CloseHandle(kFakeHandle1)); in TEST_F()
1309 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, _, _, _)) in TEST_F()
1311 EXPECT_CALL(api_, SetFlow(_, kFakeFlowId1, _, _, _, _, _)) in TEST_F()
1316 EXPECT_CALL(api_, RemoveSocketFromFlow(_, _, kFakeFlowId1, _)) in TEST_F()
1322 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, _, _, _)).WillOnce(Return(false)); in TEST_F()
1323 EXPECT_CALL(api_, SetFlow(_, _, _, _, _, _, _)).Times(0); in TEST_F()
1324 EXPECT_CALL(api_, CloseHandle(kFakeHandle1)); in TEST_F()
1325 EXPECT_CALL(api_, CreateHandle(_, _)) in TEST_F()
1332 EXPECT_CALL(api_, AddSocketToFlow(_, _, _, QOSTrafficTypeControl, _, _)) in TEST_F()
1334 EXPECT_CALL(api_, SetFlow(_, kFakeFlowId2, _, _, _, _, _)) in TEST_F()
1339 EXPECT_CALL(api_, RemoveSocketFromFlow(_, _, kFakeFlowId2, _)); in TEST_F()
1340 EXPECT_CALL(api_, CloseHandle(kFakeHandle2)); in TEST_F()