HomeSort by relevance Sort by last modified time
    Searched refs:usb (Results 101 - 125 of 150) sorted by null

1 2 3 45 6

  /development/samples/USB/AdbTest/src/com/android/adb/
AdbMessage.java 19 import android.hardware.usb.UsbRequest;
  /external/aac/libSBRdec/src/
psdec.h 341 int usb);
psdec.cpp     [all...]
  /external/libusb-compat/examples/
testlibusb.c 9 #include <usb.h>
  /frameworks/base/core/java/android/hardware/usb/
UsbAccessory.java 17 package android.hardware.usb;
25 * A class representing a USB accessory, which is an external hardware component
26 * that communicates with an android application over USB.
27 * The accessory is the USB host and android the device side of the USB connection.
31 * The manufacturer, model and version strings are used by the USB Manager to choose
43 * <p>For more information about communicating with USB hardware, read the
44 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
UsbManager.java 18 package android.hardware.usb;
31 * This class allows you to access the state of USB and communicate with USB devices.
42 * <p>For more information about communicating with USB hardware, read the
43 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
50 * Broadcast Action: A sticky broadcast for USB state change events when in device mode.
52 * This is a sticky broadcast for clients that includes USB connected/disconnected state,
54 * <li> {@link #USB_CONNECTED} boolean indicating whether USB is connected or disconnected.
55 * <li> {@link #USB_CONFIGURED} boolean indicating whether USB is configured
    [all...]
  /frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
accessorychat.c 30 #include <linux/usb/f_accessory.h>
  /frameworks/base/services/jni/
com_android_server_UsbDeviceManager.cpp 30 #include <linux/usb/f_accessory.h>
139 jclass clazz = env->FindClass("com/android/server/usb/UsbDeviceManager");
141 ALOGE("Can't find com/android/server/usb/UsbDeviceManager");
152 return jniRegisterNativeMethods(env, "com/android/server/usb/UsbDeviceManager",
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
UsbSettings.java 23 import android.hardware.usb.UsbManager;
36 * USB storage settings.
119 Log.e(TAG, "USB is locked down");
123 //Enable MTP and PTP switch while USB is not in Accessory Mode, otherwise disable it
124 Log.e(TAG, "USB Normal Mode");
128 Log.e(TAG, "USB Accessory Mode");
137 // Don't allow any changes to take effect as the USB host will be disconnected, killing
142 // If this user is disallowed from using USB, don't handle their attempts to change the
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
edd.h 136 } __attribute__ ((packed)) usb; member in union:edd_device_params::__anon26373
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
edd.h 136 } __attribute__ ((packed)) usb; member in union:edd_device_params::__anon27964
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
edd.h 136 } __attribute__ ((packed)) usb; member in union:edd_device_params::__anon29478
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DemoKitActivity.java 37 import com.android.future.usb.UsbAccessory;
38 import com.android.future.usb.UsbManager;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
UsbStorageActivity.java 17 package com.android.systemui.usb;
33 import android.hardware.usb.UsbManager;
56 * This activity is shown to the user for him/her to enable USB mass storage
57 * on-demand (that is, when the USB cable is connected). It uses the alert
82 /** Used to detect when the USB cable is unplugged, so we can call finish() */
258 // will be hidden once USB mass storage kicks in (or fails)
  /system/core/adb/
transport.c 1068 void register_usb_transport(usb_handle *usb, const char *serial, const char *devpath, unsigned writeable)
1071 D("transport: %p init'ing for usb_handle %p (sn='%s')\n", t, usb,
1073 init_usb_transport(t, usb, (writeable ? CS_OFFLINE : CS_NOPERM));
1084 void unregister_usb_transport(usb_handle *usb)
1089 if (t->usb == usb && t->connection_state == CS_NOPERM) {
adb.c 102 { "usb", TRACE_USB },
221 //Close the associated usb
1355 int usb = 0; local
    [all...]
  /frameworks/base/services/java/com/android/server/
SystemServer.java 66 import com.android.server.usb.UsbService;
147 UsbService usb = null; local
404 * (for media / usb notifications) so we must start MountService first.
638 Slog.i(TAG, "USB Service");
639 // Manage USB host and device support
640 usb = new UsbService(context);
641 ServiceManager.addService(Context.USB_SERVICE, usb);
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 26 import android.hardware.usb.UsbManager;
  /frameworks/base/services/java/com/android/server/usb/
UsbSettingsManager.java 17 package com.android.server.usb;
31 import android.hardware.usb.UsbAccessory;
32 import android.hardware.usb.UsbDevice;
33 import android.hardware.usb.UsbInterface;
34 import android.hardware.usb.UsbManager;
81 // Temporary mapping USB device name to list of UIDs with permissions for the device
96 // This class is used to describe a USB device.
101 // USB Vendor ID (or -1 for unspecified)
103 // USB Product ID (or -1 for unspecified)
105 // USB device or interface class (or -1 for unspecified
    [all...]
UsbDebuggingManager.java 17 package com.android.server.usb;
254 "com.android.systemui.usb.UsbDebuggingActivity");
330 pw.println(" USB Debugging State:");
UsbDeviceManager.java 17 package com.android.server.usb;
31 import android.hardware.usb.UsbAccessory;
32 import android.hardware.usb.UsbManager;
64 * UsbDeviceManager manages USB state in device mode.
96 // Delay for debouncing USB disconnects.
97 // We often get rapid connect/disconnect events when enabling USB functions,
134 * Listens for uevent messages from the kernel to monitor the USB state
139 if (DEBUG) Slog.v(TAG, "USB UEVENT: " + event.toString());
197 // We do not show the USB notification if the primary volume supports mass storage.
244 // XOR the USB serial across the remaining 5 byte
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/
AutoLockTest.java 28 import android.hardware.usb.UsbAccessory;
29 import android.hardware.usb.UsbManager;
62 /** USB permission to connect to ADK. */
84 /** Usb Manager of the USB connections. */
90 /** USB accessory pointing to the ADK. */
92 /** File descriptor of the USB communication port. */
101 /** Thread lock for setting up the usb. */
120 Log.v(TAG, String.format("Received USB broadcast with action %s ", action));
144 // Invokes when the USB is detached
    [all...]
  /external/libusb_aah/libusb/os/
openbsd_usb.c 29 #include <dev/usb/usb.h>
39 usb_device_descriptor_t ddesc; /* usb device descriptor */
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBarPolicy.java 156 new com.android.systemui.usb.StorageNotification(context));
  /system/core/fastboot/
usb_osx.c 33 #include <IOKit/usb/IOUSBLib.h>
37 #include "usb.h"
52 /** An open usb device */
331 snprintf(handle->info.device_path, sizeof(handle->info.device_path), "usb:%lX", locationId);
380 /** Initializes the USB system. Returns 0 on success, -1 on error. */
399 ERR("Couldn't create USB matching dictionary.\n");
458 /* Something went wrong initializing USB. */
529 /* Attempt to work around crashes in the USB driver that may be caused

Completed in 833 milliseconds

1 2 3 45 6