OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UsbIds
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/device/usb/
usb_ids_unittest.cc
20
EXPECT_EQ(NULL,
UsbIds
::GetVendorName(0));
21
EXPECT_EQ(std::string("Google Inc."),
UsbIds
::GetVendorName(kGoogleVendorId));
25
EXPECT_EQ(NULL,
UsbIds
::GetProductName(0, 0));
26
EXPECT_EQ(NULL,
UsbIds
::GetProductName(kGoogleVendorId, 0));
27
EXPECT_EQ(std::string("Nexus S"),
UsbIds
::GetProductName(kGoogleVendorId,
usb_ids.h
26
//
UsbIds
provides a static mapping from a vendor ID to a name, as well as a
28
class
UsbIds
{
41
UsbIds
();
42
~
UsbIds
();
53
DISALLOW_COPY_AND_ASSIGN(
UsbIds
);
usb_ids.cc
29
const UsbVendor*
UsbIds
::FindVendor(uint16_t vendor_id) {
38
const char*
UsbIds
::GetVendorName(uint16_t vendor_id) {
45
const char*
UsbIds
::GetProductName(uint16_t vendor_id, uint16_t product_id) {
/external/chromium_org/chrome/common/extensions/permissions/
usb_device_permission.cc
41
const char* vendor = device::
UsbIds
::GetVendorName(i->vendor_id());
45
device::
UsbIds
::GetProductName(i->vendor_id(), i->product_id());
Completed in 157 milliseconds