Home
last modified time | relevance | path

Searched refs:adaptor (Results 1 – 25 of 36) sorted by relevance

12

/system/connectivity/shill/
Dservice_property_change_test.cc49 ServiceMockAdaptor* adaptor) { in TestCommonPropertyChanges() argument
53 EXPECT_CALL(*adaptor, EmitStringChanged(kStateProperty, _)); in TestCommonPropertyChanges()
55 Mock::VerifyAndClearExpectations(adaptor); in TestCommonPropertyChanges()
61 EXPECT_CALL(*adaptor, EmitBoolChanged(kConnectableProperty, _)); in TestCommonPropertyChanges()
63 Mock::VerifyAndClearExpectations(adaptor); in TestCommonPropertyChanges()
66 EXPECT_CALL(*adaptor, EmitStringChanged(kGuidProperty, _)); in TestCommonPropertyChanges()
68 Mock::VerifyAndClearExpectations(adaptor); in TestCommonPropertyChanges()
73 EXPECT_CALL(*adaptor, EmitBoolChanged(kAutoConnectProperty, _)); in TestCommonPropertyChanges()
75 Mock::VerifyAndClearExpectations(adaptor); in TestCommonPropertyChanges()
78 EXPECT_CALL(*adaptor, EmitIntChanged(kPriorityProperty, _)); in TestCommonPropertyChanges()
[all …]
Dipconfig_unittest.cc230 IPConfigMockAdaptor* adaptor = GetAdaptor(); in TEST_F() local
233 EXPECT_CALL(*adaptor, EmitStringChanged(kAddressProperty, _)); in TEST_F()
234 EXPECT_CALL(*adaptor, EmitStringsChanged(kNameServersProperty, _)); in TEST_F()
236 Mock::VerifyAndClearExpectations(adaptor); in TEST_F()
238 EXPECT_CALL(*adaptor, EmitStringChanged(kAddressProperty, _)); in TEST_F()
239 EXPECT_CALL(*adaptor, EmitStringsChanged(kNameServersProperty, _)); in TEST_F()
241 Mock::VerifyAndClearExpectations(adaptor); in TEST_F()
244 EXPECT_CALL(*adaptor, EmitStringChanged(kAddressProperty, _)); in TEST_F()
245 EXPECT_CALL(*adaptor, EmitStringsChanged(kNameServersProperty, _)); in TEST_F()
247 Mock::VerifyAndClearExpectations(adaptor); in TEST_F()
[all …]
Dservice_property_change_test.h30 ServiceMockAdaptor* adaptor);
34 ServiceMockAdaptor* adaptor);
38 ServiceMockAdaptor* adaptor);
Dprotobuf_lite_streams.cc41 auto* adaptor(new CopyingInputStreamAdaptor( in protobuf_lite_file_input_stream() local
44 adaptor->SetOwnsCopyingStream(true); in protobuf_lite_file_input_stream()
45 return adaptor; in protobuf_lite_file_input_stream()
Dservice_property_change_notifier.cc32 ServiceAdaptorInterface* adaptor) : rpc_adaptor_(adaptor) {} in ServicePropertyChangeNotifier() argument
Dservice_property_change_notifier.h41 explicit ServicePropertyChangeNotifier(ServiceAdaptorInterface* adaptor);
Dservice_unittest.cc123 return static_cast<ServiceMockAdaptor*>(service_->adaptor()); in GetAdaptor()
1482 ServiceMockAdaptor* adaptor = GetAdaptor(); in TEST_F() local
1484 EXPECT_CALL(*adaptor, EmitStringChanged(_, _)).Times(0); in TEST_F()
1488 EXPECT_CALL(*adaptor, EmitStringChanged(kNameProperty, in TEST_F()
1493 EXPECT_CALL(*adaptor, EmitStringChanged(_, _)).Times(0); in TEST_F()
1497 EXPECT_CALL(*adaptor, EmitStringChanged(kNameProperty, in TEST_F()
1506 ServiceMockAdaptor* adaptor = GetAdaptor(); in TEST_F() local
1508 EXPECT_CALL(*adaptor, EmitBoolChanged(_, _)).Times(0); in TEST_F()
1513 EXPECT_CALL(*adaptor, EmitBoolChanged(kConnectableProperty, true)); in TEST_F()
1519 EXPECT_CALL(*adaptor, EmitBoolChanged(kConnectableProperty, false)); in TEST_F()
[all …]
/system/connectivity/shill/wifi/
Dwifi_service_unittest.cc189 return static_cast<ServiceMockAdaptor*>(service->adaptor()); in GetAdaptor()
318 adaptor(*GetAdaptor(service.get())) { in WiFiServiceUpdateFromEndpointsTest()
349 ServiceMockAdaptor& adaptor; member in shill::WiFiServiceUpdateFromEndpointsTest
1468 EXPECT_CALL(adaptor, EmitUint16Changed(kWifiFrequency, kOkEndpointFrequency)); in TEST_F()
1469 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, kOkEndpointBssId)); in TEST_F()
1470 EXPECT_CALL(adaptor, in TEST_F()
1472 EXPECT_CALL(adaptor, in TEST_F()
1476 Mock::VerifyAndClearExpectations(&adaptor); in TEST_F()
1479 EXPECT_CALL(adaptor, in TEST_F()
1481 EXPECT_CALL(adaptor, EmitStringChanged(kWifiBSsid, kGoodEndpointBssId)); in TEST_F()
[all …]
Dwifi_service.cc840 adaptor()->EmitUint16Changed(kWifiFrequency, frequency_); in UpdateFromEndpoints()
844 adaptor()->EmitStringChanged(kWifiBSsid, bssid_); in UpdateFromEndpoints()
848 adaptor()->EmitStringChanged(kCountryProperty, country_code_); in UpdateFromEndpoints()
852 adaptor()->EmitStringmapChanged(kWifiVendorInformationProperty, in UpdateFromEndpoints()
857 adaptor()->EmitUint16Changed(kWifiPhyMode, physical_mode_); in UpdateFromEndpoints()
859 adaptor()->EmitUint16sChanged(kWifiFrequencyListProperty, frequency_list_); in UpdateFromEndpoints()
1272 adaptor()->EmitRpcIdentifierChanged(kDeviceProperty, in SetWiFi()
1275 adaptor()->EmitRpcIdentifierChanged( in SetWiFi()
/system/connectivity/shill/wimax/
Dwimax_service_unittest.cc102 return static_cast<ServiceMockAdaptor*>(service_->adaptor()); in GetAdaptor()
149 ServiceMockAdaptor* adaptor = GetAdaptor(); in TEST_F() local
150 EXPECT_CALL(*adaptor, EmitBoolChanged(kConnectableProperty, _)) in TEST_F()
152 EXPECT_CALL(*adaptor, EmitBoolChanged(kVisibleProperty, true)); in TEST_F()
167 EXPECT_CALL(*adaptor, EmitBoolChanged(kVisibleProperty, false)); in TEST_F()
350 ServiceMockAdaptor* adaptor = GetAdaptor(); in TEST_F() local
351 TestCommonPropertyChanges(service_, adaptor); in TEST_F()
352 TestAutoConnectPropertyChange(service_, adaptor); in TEST_F()
354 EXPECT_CALL(*adaptor, in TEST_F()
357 Mock::VerifyAndClearExpectations(adaptor); in TEST_F()
[all …]
Dwimax_service.cc253 adaptor()->EmitRpcIdentifierChanged(kDeviceProperty, in SetDevice()
256 adaptor()->EmitRpcIdentifierChanged( in SetDevice()
/system/connectivity/shill/cellular/
Dcellular_service.cc216 adaptor()->EmitStringmapChanged(kCellularApnProperty, apn_info_); in SetApn()
222 adaptor()->EmitStringmapChanged(kCellularLastGoodApnProperty, in SetLastGoodApn()
228 adaptor()->EmitStringmapChanged(kCellularLastGoodApnProperty, in ClearLastGoodApn()
336 adaptor()->EmitBoolChanged(kOutOfCreditsProperty, state); in SignalOutOfCreditsChanged()
393 adaptor()->EmitStringChanged(kActivationTypeProperty, in SetActivationType()
420 adaptor()->EmitStringChanged(kActivationStateProperty, state); in SetActivationState()
436 adaptor()->EmitStringmapChanged(kPaymentPortalProperty, olp); in SetOLP()
444 adaptor()->EmitStringChanged(kUsageURLProperty, url); in SetUsageURL()
452 adaptor()->EmitStringChanged(kNetworkTechnologyProperty, in SetNetworkTechnology()
461 adaptor()->EmitStringChanged(kRoamingStateProperty, state); in SetRoamingState()
[all …]
Dcellular.cc977 adaptor()->EmitBoolChanged(kCellularAllowRoamingProperty, value); in SetAllowRoaming()
1237 adaptor()->EmitStringmapChanged(kHomeProviderProperty, home_provider_); in set_home_provider()
1245 adaptor()->EmitStringChanged(kCarrierProperty, carrier_); in set_carrier()
1253 if (adaptor()) in set_scanning_supported()
1254 adaptor()->EmitBoolChanged(kSupportNetworkScanProperty, in set_scanning_supported()
1267 adaptor()->EmitStringChanged(kEsnProperty, esn_); in set_esn()
1275 adaptor()->EmitStringChanged(kFirmwareRevisionProperty, firmware_revision_); in set_firmware_revision()
1283 adaptor()->EmitStringChanged(kHardwareRevisionProperty, hardware_revision_); in set_hardware_revision()
1293 adaptor()->EmitStringChanged(kImeiProperty, imei_); in set_imei()
1301 adaptor()->EmitStringChanged(kImsiProperty, imsi_); in set_imsi()
[all …]
Dcellular_capability_classic_unittest.cc90 static_cast<DeviceMockAdaptor*>(cellular_->adaptor()); in SetUp()
/system/firewalld/
Dfirewalld.gyp22 'target_name': 'firewalld-dbus-adaptor',
58 'firewalld-dbus-adaptor',
/system/connectivity/apmanager/
Dservice.h54 ServiceAdaptorInterface* adaptor() const { return adaptor_.get(); } in adaptor() function
Dconfig.h91 ConfigAdaptorInterface* adaptor() const { return adaptor_.get(); } in adaptor() function
/system/connectivity/apmanager/dbus/
Dservice_dbus_adaptor.cc73 adaptor_.SetConfig(config->adaptor()->GetRpcObjectIdentifier()); in SetConfig()
Dmanager_dbus_adaptor.cc63 *out_service = service->adaptor()->GetRpcObjectIdentifier(); in CreateService()
/system/connectivity/shill/ethernet/
Dethernet_eap_service_unittest.cc53 return static_cast<ServiceMockAdaptor*>(service_->adaptor()); in GetAdaptor()
Dethernet.cc148 adaptor()->EmitBoolChanged(kLinkUpProperty, link_up_); in LinkEvent()
160 adaptor()->EmitBoolChanged(kLinkUpProperty, link_up_); in LinkEvent()
382 adaptor()->EmitBoolChanged(kEapAuthenticationCompletedProperty, in SetIsEapAuthenticated()
Dethernet_service_unittest.cc68 return static_cast<ServiceMockAdaptor*>(service_->adaptor()); in GetAdaptor()
/system/update_engine/
Dupdate_engine.gyp95 'target_name': 'update_engine-dbus-adaptor',
212 'update_engine-dbus-adaptor',
DAndroid.mk120 LOCAL_MODULE := update_engine-dbus-adaptor
241 update_engine-dbus-adaptor \
292 update_engine-dbus-adaptor \
/system/connectivity/shill/vpn/
Dvpn_service_unittest.cc116 return static_cast<ServiceMockAdaptor*>(service_->adaptor()); in GetAdaptor()

12