Lines Matching refs:Device
41 class Device; variable
74 virtual const Device* getDevice() const = 0;
122 class Device {
123 DISALLOW_COPY_AND_ASSIGN(Device);
126 Device() = default;
127 virtual ~Device() = default;
165 const std::vector<std::shared_ptr<Device>>& getDrivers() const { in getDrivers()
196 static std::shared_ptr<Device> getCpuDevice();
201 std::vector<std::shared_ptr<Device>> forTest_getDevices() const { return mDevices; } in forTest_getDevices()
204 void forTest_setDevices(std::vector<std::shared_ptr<Device>> devices) { in forTest_setDevices()
219 static std::shared_ptr<Device> forTest_makeDriverDevice(const SharedDevice& device);
222 return reinterpret_cast<const Device*>(device) == getCpuDevice().get(); in forTest_isCpuDevice()
235 std::vector<std::shared_ptr<Device>> mDevices;
238 std::vector<std::shared_ptr<Device>> mDevicesCpuOnly;