File: current.txt

package info (click to toggle)
android-platform-frameworks-base 1%3A10.0.0%2Br36-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 321,788 kB
  • sloc: java: 962,234; cpp: 274,314; xml: 242,770; python: 5,060; sh: 1,432; ansic: 494; makefile: 47; sed: 19
file content (26 lines) | stat: -rw-r--r-- 1,248 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Signature format: 2.0
package com.android.future.usb {

  public class UsbAccessory {
    method public String getDescription();
    method public String getManufacturer();
    method public String getModel();
    method public String getSerial();
    method public String getUri();
    method public String getVersion();
  }

  public class UsbManager {
    method public static com.android.future.usb.UsbAccessory getAccessory(android.content.Intent);
    method public com.android.future.usb.UsbAccessory[] getAccessoryList();
    method public static com.android.future.usb.UsbManager getInstance(android.content.Context);
    method public boolean hasPermission(com.android.future.usb.UsbAccessory);
    method public android.os.ParcelFileDescriptor openAccessory(com.android.future.usb.UsbAccessory);
    method public void requestPermission(com.android.future.usb.UsbAccessory, android.app.PendingIntent);
    field public static final String ACTION_USB_ACCESSORY_ATTACHED = "android.hardware.usb.action.USB_ACCESSORY_ATTACHED";
    field public static final String ACTION_USB_ACCESSORY_DETACHED = "android.hardware.usb.action.USB_ACCESSORY_DETACHED";
    field public static final String EXTRA_PERMISSION_GRANTED = "permission";
  }

}