Home
last modified time | relevance | path

Searched refs:service0 (Results 1 – 8 of 8) sorted by relevance

/system/bt/service/test/
Dgatt_identifier_unittest.cpp35 auto service0 = GattIdentifier::CreateServiceId(kAddr0, kId0, kUUID0, true); in TEST() local
37 EXPECT_TRUE(service0->IsService()); in TEST()
38 EXPECT_FALSE(service0->IsCharacteristic()); in TEST()
39 EXPECT_FALSE(service0->IsDescriptor()); in TEST()
41 EXPECT_FALSE(service0->GetOwningServiceId()); in TEST()
42 EXPECT_FALSE(service0->GetOwningCharacteristicId()); in TEST()
50 EXPECT_TRUE(*service1 != *service0); in TEST()
51 EXPECT_TRUE(*service2 != *service0); in TEST()
52 EXPECT_TRUE(*service3 != *service0); in TEST()
53 EXPECT_TRUE(*service4 != *service0); in TEST()
[all …]
/system/connectivity/shill/wifi/
Dwifi_provider_unittest.cc462 MockWiFiServiceRefPtr service0 = AddMockService(vector<uint8_t>(1, '0'), in TEST_F() local
471 AddEndpointToService(service0, endpoint); in TEST_F()
475 EXPECT_CALL(*service0, ResetWiFi()).Times(1); in TEST_F()
477 EXPECT_CALL(manager_, DeregisterService(RefPtrMatch(service0))).Times(1); in TEST_F()
482 Mock::VerifyAndClearExpectations(service0.get()); in TEST_F()
996 WiFiServiceRefPtr service0 = GetService( in TEST_F() local
1000 const string service_ssid(service0->ssid().begin(), service0->ssid().end()); in TEST_F()
1002 EXPECT_EQ(kModeManaged, service0->mode()); in TEST_F()
1003 EXPECT_TRUE(service0->IsSecurityMatch(kSecurityPsk)); in TEST_F()
1004 EXPECT_FALSE(service0->hidden_ssid()); in TEST_F()
[all …]
Dwifi_unittest.cc2120 MockWiFiServiceRefPtr service0( in TEST_F() local
2122 EXPECT_EQ(service0, GetCurrentService()); in TEST_F()
2133 EXPECT_EQ(service0, GetCurrentService()); in TEST_F()
2142 EXPECT_EQ(service0, GetCurrentService()); in TEST_F()
2220 MockWiFiServiceRefPtr service0(SetupConnectedService("", in TEST_F() local
2224 EXPECT_EQ(service0, GetCurrentService()); in TEST_F()
2227 InitiateDisconnect(service0); in TEST_F()
2229 EXPECT_EQ(service0, GetCurrentService()); in TEST_F()
2233 EXPECT_CALL(*service0, SetState(Service::kStateIdle)).Times(AtLeast(1)); in TEST_F()
2234 EXPECT_CALL(*service0, SetFailure(_)).Times(0); in TEST_F()
[all …]
/system/connectivity/shill/wimax/
Dwimax_provider_unittest.cc345 scoped_refptr<MockWiMaxService> service0( in TEST_F() local
347 EXPECT_CALL(*service0, IsStarted()).WillOnce(Return(true)); in TEST_F()
348 EXPECT_CALL(*service0, GetNetworkObjectPath()) in TEST_F()
350 EXPECT_CALL(*service0, Start(_)).Times(0); in TEST_F()
351 EXPECT_CALL(*service0, Stop()).Times(1); in TEST_F()
352 service0->set_network_id("1234"); in TEST_F()
353 service0->InitStorageIdentifier(); in TEST_F()
371 provider_.services_[service0->GetStorageIdentifier()] = service0; in TEST_F()
400 scoped_refptr<MockWiMaxService> service0( in TEST_F() local
402 service0->set_network_id(kNetworkId); in TEST_F()
[all …]
Dwimax_unittest.cc124 scoped_refptr<NiceMock<MockWiMaxService>> service0( in TEST_F() local
128 device_->SelectService(service0); in TEST_F()
135 device_->OnServiceStopped(service0); in TEST_F()
216 scoped_refptr<NiceMock<MockWiMaxService>> service0( in TEST_F() local
220 device_->SelectService(service0); in TEST_F()
224 EXPECT_CALL(*service0, SetState(Service::kStateIdle)).Times(2); in TEST_F()
/system/connectivity/shill/vpn/
Dvpn_provider_unittest.cc224 scoped_refptr<MockVPNService> service0( in TEST_F() local
231 provider_.services_.push_back(service0.get()); in TEST_F()
240 EXPECT_EQ(service0, provider_.services_[0]); in TEST_F()
246 EXPECT_EQ(service0, provider_.services_[0]); in TEST_F()
248 provider_.RemoveService(service0); in TEST_F()
388 scoped_refptr<MockVPNService> service0( in TEST_F() local
395 AddService(service0); in TEST_F()
/system/connectivity/shill/
Dservice_unittest.cc202 bool SortingOrderIs(const ServiceRefPtr& service0, in SortingOrderIs() argument
207 services.push_back(service0); in SortingOrderIs()
211 return (service0.get() == services[0].get() && in SortingOrderIs()
215 bool DefaultSortingOrderIs(const ServiceRefPtr& service0, in DefaultSortingOrderIs() argument
219 service0, service1, kShouldCompareConnectivityState); in DefaultSortingOrderIs()
/system/connectivity/shill/doc/
Dservice-api.txt6 Object path [variable prefix]/{service0,service1,...}