Home
last modified time | relevance | path

Searched refs:GetDevice (Results 1 – 13 of 13) sorted by relevance

/system/vold/
DEmulatedVolume.cpp78 dev_t before = GetDevice(mFuseWrite); in doMount()
101 while (before == GetDevice(mFuseWrite)) { in doMount()
DPublicVolume.cpp153 dev_t before = GetDevice(mFuseWrite); in doMount()
188 while (before == GetDevice(mFuseWrite)) { in doMount()
DUtils.h113 dev_t GetDevice(const std::string& path);
DUtils.cpp633 dev_t GetDevice(const std::string& path) { in GetDevice() function
/system/connectivity/apmanager/
Ddevice_info.cc121 if (GetDevice(device_name)) { in OnWiFiPhyInfoReceived()
187 scoped_refptr<Device> device = GetDevice(iter->second.device_name); in DelLinkMsgHandler()
305 scoped_refptr<Device> device = GetDevice(device_name); in OnWiFiInterfacePhyInfoReceived()
329 scoped_refptr<Device> DeviceInfo::GetDevice(const string& device_name) { in GetDevice() function in apmanager::DeviceInfo
Ddevice_info.h95 scoped_refptr<Device> GetDevice(const std::string& phy_name);
/system/connectivity/shill/
Dconnection_unittest.cc343 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex0)) in TEST_F()
415 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex1)) in TEST_F()
457 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex0)) in TEST_F()
580 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex0)) in TEST_F()
641 EXPECT_CALL(*device_info_, GetDevice(_)).WillOnce(Return(device)); in TEST_F()
717 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex0)) in TEST_F()
1092 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex1)) in TEST_F()
1101 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex1)) in TEST_F()
1111 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex1)) in TEST_F()
1128 EXPECT_CALL(*device_info_, GetDevice(kTestDeviceInterfaceIndex1)) in TEST_F()
Dconnection.cc337 DeviceRefPtr device = device_info_->GetDevice(interface_index_); in SetIsDefault()
377 DeviceRefPtr device = device_info_->GetDevice(interface_index_); in RequestRouting()
390 DeviceRefPtr device = device_info_->GetDevice(interface_index_); in ReleaseRouting()
606 DeviceRefPtr device = device_info_->GetDevice(interface_index); in OnRouteQueryResponse()
Ddevice_info_unittest.cc337 EXPECT_FALSE(device_info_.GetDevice(kTestDeviceIndex).get()); in TEST_F()
340 EXPECT_TRUE(device_info_.GetDevice(kTestDeviceIndex).get()); in TEST_F()
360 EXPECT_FALSE(device_info_.GetDevice(kTestDeviceIndex).get()); in TEST_F()
689 DeviceRefPtr device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
701 DeviceRefPtr device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
711 DeviceRefPtr device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
724 DeviceRefPtr renamed_device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
743 DeviceRefPtr initial_device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
760 DeviceRefPtr renamed_device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
831 EXPECT_FALSE(device_info_.GetDevice(kTestDeviceIndex).get()); in TEST_F()
[all …]
Dmock_device_info.h48 MOCK_CONST_METHOD1(GetDevice, DeviceRefPtr(int interface_index));
Ddevice_info.cc207 CHECK(!GetDevice(device->interface_index()).get()); in RegisterDevice()
640 DeviceRefPtr device = GetDevice(dev_index); in AddLinkMsgHandler()
699 DeviceRefPtr DeviceInfo::GetDevice(int interface_index) const { in GetDevice() function in shill::DeviceInfo
1093 DeviceRefPtr device = GetDevice(interface_index); in AddressMsgHandler()
1119 DeviceRefPtr device = GetDevice(interface_index); in RdnssMsgHandler()
1141 DCHECK(!GetDevice(dev_index)); in DelayedDeviceCreationTask()
Ddevice_info.h101 virtual DeviceRefPtr GetDevice(int interface_index) const;
/system/core/adb/
Dusb_osx.cpp177 kr = (*iface)->GetDevice(iface, &usbDevice); in AndroidInterfaceAdded()