Lines Matching defs:adaptor
189 return static_cast<ServiceMockAdaptor*>(service->adaptor());
318 adaptor(*GetAdaptor(service.get())) {
349 ServiceMockAdaptor& adaptor;
1468 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, kOkEndpointFrequency));
1469 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, kOkEndpointBssId));
1470 EXPECT_CALL(adaptor,
1472 EXPECT_CALL(adaptor,
1476 Mock::VerifyAndClearExpectations(&adaptor);
1479 EXPECT_CALL(adaptor,
1481 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, kGoodEndpointBssId));
1482 EXPECT_CALL(adaptor,
1485 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiPhyMode, _)).Times(0);
1488 Mock::VerifyAndClearExpectations(&adaptor);
1491 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, _)).Times(0);
1492 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, _)).Times(0);
1493 EXPECT_CALL(adaptor,
1495 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiPhyMode, _)).Times(0);
1498 Mock::VerifyAndClearExpectations(&adaptor);
1501 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, _)).Times(0);
1502 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, _)).Times(0);
1503 EXPECT_CALL(adaptor,
1505 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiPhyMode, _)).Times(0);
1508 Mock::VerifyAndClearExpectations(&adaptor);
1511 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, kOkEndpointFrequency));
1512 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, kOkEndpointBssId));
1513 EXPECT_CALL(adaptor,
1516 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiPhyMode, _)).Times(0);
1519 Mock::VerifyAndClearExpectations(&adaptor);
1522 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, _));
1523 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, _));
1524 EXPECT_CALL(adaptor, EmitUint8Changed(kSignalStrengthProperty, _));
1525 EXPECT_CALL(adaptor, EmitUint16Changed(
1529 Mock::VerifyAndClearExpectations(&adaptor);
1533 EXPECT_CALL(adaptor, EmitUint16Changed(_, _)).Times(AnyNumber());
1534 EXPECT_CALL(adaptor, EmitStringChanged(_, _)).Times(AnyNumber());
1535 EXPECT_CALL(adaptor, EmitUint8Changed(_, _)).Times(AnyNumber());
1536 EXPECT_CALL(adaptor, EmitBoolChanged(_, _)).Times(AnyNumber());
1540 Mock::VerifyAndClearExpectations(&adaptor);
1544 EXPECT_CALL(adaptor,
1546 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, kBadEndpointBssId));
1547 EXPECT_CALL(adaptor,
1550 Mock::VerifyAndClearExpectations(&adaptor);
1553 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, _)).Times(0);
1554 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, _)).Times(0);
1555 EXPECT_CALL(adaptor,
1559 Mock::VerifyAndClearExpectations(&adaptor);
1562 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, _)).Times(0);
1563 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, _)).Times(0);
1564 EXPECT_CALL(adaptor,
1567 Mock::VerifyAndClearExpectations(&adaptor);
1570 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, kOkEndpointFrequency));
1571 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, kOkEndpointBssId));
1572 EXPECT_CALL(adaptor,
1575 Mock::VerifyAndClearExpectations(&adaptor);
1579 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, _)).Times(0);
1580 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, _)).Times(0);
1581 EXPECT_CALL(adaptor,
1584 Mock::VerifyAndClearExpectations(&adaptor);
1588 EXPECT_CALL(adaptor, EmitUint16Changed(_, _)).Times(AnyNumber());
1589 EXPECT_CALL(adaptor, EmitStringChanged(_, _)).Times(AnyNumber());
1590 EXPECT_CALL(adaptor, EmitUint8Changed(_, _)).Times(AnyNumber());
1591 EXPECT_CALL(adaptor, EmitBoolChanged(_, _)).Times(AnyNumber());
1595 Mock::VerifyAndClearExpectations(&adaptor);
1598 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, _)).Times(0);
1599 EXPECT_CALL(adaptor
1600 EXPECT_CALL(adaptor,
1604 Mock::VerifyAndClearExpectations(&adaptor);
1607 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, _)).Times(0);
1608 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, _)).Times(0);
1609 EXPECT_CALL(adaptor, EmitUint8Changed(kSignalStrengthProperty, _));
1612 Mock::VerifyAndClearExpectations(&adaptor);
1615 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, kOkEndpointFrequency));
1616 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, kOkEndpointBssId));
1617 EXPECT_CALL(adaptor, EmitUint8Changed(kSignalStrengthProperty, _));
1620 Mock::VerifyAndClearExpectations(&adaptor);
1624 EXPECT_CALL(adaptor, EmitUint16Changed(_, _)).Times(AnyNumber());
1625 EXPECT_CALL(adaptor, EmitStringChanged(_, _)).Times(AnyNumber());
1626 EXPECT_CALL(adaptor, EmitUint8Changed(_, _)).Times(AnyNumber());
1627 EXPECT_CALL(adaptor, EmitBoolChanged(_, _)).Times(AnyNumber());
1638 EXPECT_CALL(adaptor, EmitUint16Changed(_, _)).Times(AnyNumber());
1639 EXPECT_CALL(adaptor, EmitStringChanged(_, _)).Times(AnyNumber());
1640 EXPECT_CALL(adaptor, EmitUint8Changed(_, _)).Times(AnyNumber());
1641 EXPECT_CALL(adaptor, EmitBoolChanged(_, _)).Times(AnyNumber());
1721 EXPECT_CALL(adaptor, EmitUint16Changed(_, _)).Times(AnyNumber());
1722 EXPECT_CALL(adaptor, EmitStringChanged(_, _)).Times(AnyNumber());
1723 EXPECT_CALL(adaptor, EmitUint8Changed(_, _)).Times(AnyNumber());
1724 EXPECT_CALL(adaptor, EmitBoolChanged(_, _)).Times(AnyNumber());
1730 EXPECT_CALL(adaptor, EmitUint16sChanged(
1733 Mock::VerifyAndClearExpectations(&adaptor);
1739 EXPECT_CALL(adaptor, EmitUint16sChanged(
1742 Mock::VerifyAndClearExpectations(&adaptor);
1745 EXPECT_CALL(adaptor, EmitUint16sChanged(
1748 Mock::VerifyAndClearExpectations(&adaptor);
1758 Mock::VerifyAndClearExpectations(&adaptor);
1765 Mock::VerifyAndClearExpectations(&adaptor);
1768 EXPECT_CALL(adaptor, EmitUint16sChanged(
1771 Mock::VerifyAndClearExpectations(&adaptor);
1965 ServiceMockAdaptor* adaptor = GetAdaptor(service.get());
1966 TestCommonPropertyChanges(service, adaptor);
1967 TestAutoConnectPropertyChange(service, adaptor);
1969 EXPECT_CALL(*adaptor,
1972 Mock::VerifyAndClearExpectations(adaptor);
1974 EXPECT_CALL(*adaptor,
1977 Mock::VerifyAndClearExpectations(adaptor);
2099 ServiceMockAdaptor* adaptor = GetAdaptor(wifi_service.get());
2102 EXPECT_CALL(*adaptor, EmitBoolChanged(kVisibleProperty, true));
2107 Mock::VerifyAndClearExpectations(adaptor);
2110 EXPECT_CALL(*adaptor, EmitBoolChanged(kVisibleProperty, false));
2113 Mock::VerifyAndClearExpectations(adaptor);
2117 EXPECT_CALL(*adaptor, EmitBoolChanged(kVisibleProperty, true));
2120 Mock::VerifyAndClearExpectations(adaptor);
2123 EXPECT_CALL(*adaptor, EmitBoolChanged(kVisibleProperty, _)).Times(0);
2126 Mock::VerifyAndClearExpectations(adaptor);
2129 EXPECT_CALL(*adaptor, EmitBoolChanged(kVisibleProperty, false));
2132 Mock::VerifyAndClearExpectations(adaptor);