Searched refs:productName (Results 1 – 5 of 5) sorted by relevance
85 public static String extractDeviceName(String productName) { in extractDeviceName() argument86 return productName.startsWith(kUSBPrefix) in extractDeviceName()87 ? productName.substring(kUSBPrefix.length()) in extractDeviceName()88 : productName; in extractDeviceName()
187 public PeripheralProfile getProfile(String productName) { in getProfile() argument189 if (productName.equals(profile.getProductName())) { in getProfile()
100 String productName = ""; in showPeripheralStatus() local102 productName = mOutputDevInfo.getProductName().toString(); in showPeripheralStatus()104 productName = mInputDevInfo.getProductName().toString(); in showPeripheralStatus()108 ctrlText = productName + " - UNSUPPORTED"; in showPeripheralStatus()110 ctrlText = productName; in showPeripheralStatus()
123 CharSequence productName = deviceInfo.getProductName(); in test_devicesInfoFields() local124 assertNotNull(productName); in test_devicesInfoFields()125 assertTrue(productName.length() != 0); in test_devicesInfoFields()
218 <T> T waitForValidProduct(Supplier<T> supplier, String productName, Predicate<T> tester) { in waitForValidProduct() argument227 logAlways("***Waiting for valid " + productName + "... retry=" + retry); in waitForValidProduct()