Home
last modified time | relevance | path

Searched refs:device1 (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/test/chromedriver/chrome/
Ddevice_manager_unittest.cc80 scoped_ptr<Device> device1; in TEST() local
83 ASSERT_TRUE(device_manager.AcquireDevice(&device1).IsOk()); in TEST()
86 device1.reset(NULL); in TEST()
88 ASSERT_FALSE(device_manager.AcquireDevice(&device1).IsOk()); in TEST()
94 scoped_ptr<Device> device1; in TEST() local
97 ASSERT_TRUE(device_manager.AcquireSpecificDevice("a", &device1).IsOk()); in TEST()
100 device1.reset(NULL); in TEST()
102 ASSERT_FALSE(device_manager.AcquireSpecificDevice("a", &device1).IsOk()); in TEST()
103 ASSERT_FALSE(device_manager.AcquireSpecificDevice("b", &device1).IsOk()); in TEST()
109 scoped_ptr<Device> device1; in TEST() local
[all …]
/external/chromium_org/apps/
Dsaved_devices_service_unittest.cc78 device1 = new MockUsbDevice("", 1); in SetUp()
87 scoped_refptr<MockUsbDevice> device1; member in apps::SavedDevicesServiceTest
98 saved_devices->RegisterDevice(device1, NULL); in TEST_F()
106 ASSERT_TRUE(saved_devices->IsRegistered(device1)); in TEST_F()
115 device1->NotifyDisconnect(); in TEST_F()
118 ASSERT_FALSE(saved_devices->IsRegistered(device1)); in TEST_F()
147 ASSERT_FALSE(saved_devices->IsRegistered(device1)); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_apitest.cc58 DialDeviceData device1; in IN_PROC_BROWSER_TEST_F() local
59 device1.set_device_id("1"); in IN_PROC_BROWSER_TEST_F()
60 device1.set_label("1"); in IN_PROC_BROWSER_TEST_F()
61 device1.set_device_description_url(GURL("http://127.0.0.1/dd.xml")); in IN_PROC_BROWSER_TEST_F()
63 devices.push_back(device1); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/metrics/
Dchromeos_metrics_provider_unittest.cc229 PairedDevice device1 = system_profile.hardware().bluetooth().paired_device(0); in TEST_F() local
232 device1.bluetooth_class()); in TEST_F()
233 EXPECT_EQ(PairedDevice::DEVICE_COMPUTER, device1.type()); in TEST_F()
234 EXPECT_EQ(0x001122U, device1.vendor_prefix()); in TEST_F()
235 EXPECT_EQ(PairedDevice::VENDOR_ID_USB, device1.vendor_id_source()); in TEST_F()
236 EXPECT_EQ(0x05ACU, device1.vendor_id()); in TEST_F()
237 EXPECT_EQ(0x030DU, device1.product_id()); in TEST_F()
238 EXPECT_EQ(0x0306U, device1.device_id()); in TEST_F()
/external/chromium_org/components/proximity_auth/
Dproximity_auth_system_unittest.cc12 RemoteDevice device1 = {"device 1"}; in TEST() local
16 device_list.push_back(device1); in TEST()
23 EXPECT_EQ(device1.name, returned_list[0].name); in TEST()
/external/chromium_org/extensions/browser/api/serial/
Dserial_apitest.cc36 base::DictionaryValue* device1 = new base::DictionaryValue(); in RunAsync() local
37 device1->SetString("path", "\\\\COM800\\"); in RunAsync()
39 devices->Append(device1); in RunAsync()
/external/wpa_supplicant_8/src/ap/
Dvlan_init.c341 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_rem()
355 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_rem()
387 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_add()
403 os_snprintf(if_request.device1, sizeof(if_request.device1), "vlan%d", in vlan_add()
419 if_request.device1); in vlan_add()
428 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_add()
435 __func__, if_request.device1, strerror(errno)); in vlan_add()
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dimage_writer_private_apitest.cc56 linked_ptr<RemovableStorageDevice> device1(expected1); in SetUpInProcessBrowserTestFixture() local
57 device_list->data.push_back(device1); in SetUpInProcessBrowserTestFixture()
/external/libnl/include/linux/
Dif_vlan.h47 char device1[24]; member
/external/iproute2/include/linux/
Dif_vlan.h49 char device1[24]; member
/external/kernel-headers/original/uapi/linux/
Dif_vlan.h50 char device1[24]; member
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/toolbox/
DOverridesUI.js117 function compareDevices(device1, device2) argument
119 return device1.title < device2.title ? -1 : (device1.title > device2.title ? 1 : 0);