Searched refs:list_device (Results 1 – 2 of 2) sorted by relevance
166 std::vector<DevicePolicy::UsbDeviceId> list_device; in TEST() local167 ASSERT_TRUE(policy.GetUsbDetachableWhitelist(&list_device)); in TEST()168 EXPECT_EQ(2, list_device.size()); in TEST()169 EXPECT_EQ(0x413c, list_device[0].vendor_id); in TEST()170 EXPECT_EQ(0x2105, list_device[0].product_id); in TEST()171 EXPECT_EQ(0x0403, list_device[1].vendor_id); in TEST()172 EXPECT_EQ(0x6001, list_device[1].product_id); in TEST()227 std::vector<DevicePolicy::UsbDeviceId> list_device; in TEST() local255 EXPECT_FALSE(policy.GetUsbDetachableWhitelist(&list_device)); in TEST()
18 static int list_device(struct dirtree *new) in list_device() function48 dirtree_read("/sys/bus/usb/devices/", list_device); in lsusb_main()