HomeSort by relevance Sort by last modified time
    Searched defs:usb (Results 126 - 150 of 206) sorted by null

1 2 3 4 56 7 8 9

  /frameworks/base/services/usb/java/com/android/server/usb/
UsbAlsaDevice.java 17 package com.android.server.usb;
23 import android.service.usb.UsbAlsaDeviceProto;
82 * @returns the USB device device address associated with this peripheral.
162 /** Start using this device as the selected USB Audio Device. */
171 /** Stop using this device as the selected USB Audio Device. */
UsbUserSettingsManager.java 17 package com.android.server.usb;
27 import android.hardware.usb.UsbAccessory;
28 import android.hardware.usb.UsbConstants;
29 import android.hardware.usb.UsbDevice;
30 import android.hardware.usb.UsbInterface;
31 import android.hardware.usb.UsbManager;
35 import android.service.usb.UsbSettingsAccessoryPermissionProto;
36 import android.service.usb.UsbSettingsDevicePermissionProto;
37 import android.service.usb.UsbUserSettingsManagerProto;
55 // Temporary mapping USB device name to list of UIDs with permissions for the devic
    [all...]
UsbAlsaManager.java 17 package com.android.server.usb;
22 import android.hardware.usb.UsbDevice;
28 import android.service.usb.UsbAlsaManagerProto;
33 import com.android.server.usb.descriptors.UsbDescriptorParser;
41 * UsbAlsaManager manages USB audio and MIDI devices.
55 // this is needed to map USB devices to ALSA Audio Devices, especially to remove an
56 // ALSA device when we are notified that its associated USB device has been removed.
66 // UsbMidiDevice for USB peripheral mode (gadget) device
83 * @param alsaDevice The selected UsbAlsaDevice for system USB audio.
96 // in SettingsObserver. Here we should log that a USB device is connecte
    [all...]
UsbMidiDevice.java 17 package com.android.server.usb;
27 import android.service.usb.UsbMidiDeviceProto;
  /frameworks/base/services/usb/java/com/android/server/usb/descriptors/
UsbEndpointDescriptor.java 16 package com.android.server.usb.descriptors;
18 import android.hardware.usb.UsbEndpoint;
21 import com.android.server.usb.descriptors.report.ReportCanvas;
25 * A Usb Endpoint Descriptor.
UsbInterfaceDescriptor.java 16 package com.android.server.usb.descriptors;
18 import android.hardware.usb.UsbEndpoint;
19 import android.hardware.usb.UsbInterface;
22 import com.android.server.usb.descriptors.report.ReportCanvas;
23 import com.android.server.usb.descriptors.report.UsbStrings;
29 * A common super-class for all USB Interface Descritor subtypes.
UsbTerminalTypes.java 16 package com.android.server.usb.descriptors;
26 // USB
UsbACInterface.java 16 package com.android.server.usb.descriptors;
20 import com.android.server.usb.descriptors.report.ReportCanvas;
21 import com.android.server.usb.descriptors.report.UsbStrings;
UsbDescriptorParser.java 16 package com.android.server.usb.descriptors;
18 import android.hardware.usb.UsbDevice;
25 * Class for parsing a binary stream of USB Descriptors.
42 // This may well be different than the overall USB Spec.
72 * @return the USB Spec value associated with the Device descriptor for the
223 Log.e(TAG, "Exception allocating USB descriptor.", ex);
234 Log.e(TAG, "Exception parsing USB descriptors.", ex);
370 // If not explicitly a USB connection or output, it could be an input.
408 // If not explicitly a USB connection or input, it could be an output.
553 * getInputHeadsetProbability() reports a probability of a USB Input peripheral being
    [all...]
  /frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
UsbStrings.java 16 package com.android.server.usb.descriptors.report;
18 import com.android.server.usb.descriptors.UsbACInterface;
19 import com.android.server.usb.descriptors.UsbASFormat;
20 import com.android.server.usb.descriptors.UsbDescriptor;
21 import com.android.server.usb.descriptors.UsbTerminalTypes;
27 * A class to provide human-readable strings for various USB constants.
153 sTerminalNames.put(UsbTerminalTypes.TERMINAL_USB_STREAMING, "USB Streaming");
301 * Retrieves the name for the specified USB class ID.
313 * Retrieves the name for the specified USB audio subclass ID.
325 * Retrieves the name for the specified USB audio format ID
    [all...]
  /frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/
UsbAoapDeviceTestActivity.java 16 package com.android.hardware.usb.aoapdevicetest;
24 import android.hardware.usb.UsbAccessory;
25 import android.hardware.usb.UsbManager;
41 "com.android.hardware.usb.aoapdevicetest.ACTION_USB_ACCESSORY_PERMISSION";
70 throw new RuntimeException("USB accessory is null.");
  /frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
UsbAoapHostTestActivity.java 16 package com.android.hardware.usb.aoaphosttest;
23 import android.hardware.usb.UsbAccessory;
24 import android.hardware.usb.UsbConstants;
25 import android.hardware.usb.UsbDevice;
26 import android.hardware.usb.UsbDeviceConnection;
27 import android.hardware.usb.UsbEndpoint;
28 import android.hardware.usb.UsbInterface;
29 import android.hardware.usb.UsbManager;
  /hardware/interfaces/usb/1.0/default/
Usb.cpp 30 #include "Usb.h"
34 namespace usb { namespace in namespace:android::hardware
85 Return<void> Usb::switchRole(const hidl_string& portName,
302 Return<void> Usb::queryPortStatus() {
316 android::hardware::usb::V1_0::implementation::Usb *usb; member in struct:android::hardware::usb::V1_0::implementation::data
337 if (payload->usb->mCallback != NULL) {
341 payload->usb->mCallback->notifyPortStatusChange(currentPortStatus, status);
368 payload.usb = (android::hardware::usb::V1_0::implementation::Usb *)param
459 Usb *usb; member in namespace:android::hardware::usb::V1_0::implementation
    [all...]
  /packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
UsbBackend.java 16 package com.android.settings.connecteddevice.usb;
21 import android.hardware.usb.UsbManager;
22 import android.hardware.usb.UsbPort;
23 import android.hardware.usb.UsbPortStatus;
30 * Provides access to underlying system USB functionality.
  /packages/services/Car/car-usb-handler/src/android/car/usb/handler/
UsbHostController.java 16 package android.car.usb.handler;
22 import android.hardware.usb.UsbDevice;
23 import android.hardware.usb.UsbManager;
33 * Controller used to handle USB device connections.
34 * TODO: Support handling multiple new USB devices at the same time.
49 /** Options for USB device changed */
163 Log.v(TAG, "Usb Device: " + device + " was sent to component: "
217 Log.d(TAG, "USB device detached");
UsbHostManagementActivity.java 16 package android.car.usb.handler;
26 import android.hardware.usb.UsbDevice;
27 import android.hardware.usb.UsbManager;
41 * Activity to handle USB device attached.
43 * When user plugs in USB device: a) Device was used before and user selected handler for it. In
UsbSettingsStorage.java 16 package android.car.usb.handler;
25 import android.hardware.usb.UsbDevice;
31 * Provides API to persist USB device settings.
87 Log.w(TAG, "Usb setting missing for device: " + device);
96 * Saves or updates settings for USB device.
111 * Delete settings for USB device.
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
UsbSettingsStorage.java 16 package com.google.android.car.kitchensink.setting.usb;
31 * Provides API to persist USB device settings.
70 Log.w(TAG, "Usb setting missing for device serial: " + serialNumber
80 * Saves or updates settings for USB device.
95 * Delete settings for USB device.
  /packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
UsbAoapHostActivity.java 16 package com.google.android.car.usb.aoap.host;
23 import android.hardware.usb.UsbDevice;
24 import android.hardware.usb.UsbDeviceConnection;
25 import android.hardware.usb.UsbManager;
  /system/core/fastboot/
usb_linux.cpp 44 #include <linux/usb/ch9.h>
51 #include "usb.h"
79 // 16KiB chunks and having the USB driver stitch them back together while
110 /* True if name isn't a valid name for a USB device in /sys/bus/usb/devices.
172 snprintf(info.device_path, sizeof(info.device_path), "usb:%s", sysfs_name);
186 "/sys/bus/usb/devices/%s/serial", sysfs_name);
252 // For USB 3.0 devices skip the SS Endpoint Companion descriptor
281 "/sys/bus/usb/devices/%s/%s", sysfs_name, sysfs_node);
313 /* Given the name of a USB device in sysfs, get the name for the sam
335 std::unique_ptr<usb_handle> usb; local
    [all...]
  /tools/test/connectivity/acts/framework/acts/controllers/
monsoon.py 16 """Interface for a USB-connected Monsoon power meter
93 # Try all devices connected through USB virtual serial ports until we
274 """Set the USB passthrough mode: 0 = off, 1 = on, 2 = auto.
279 """Get the USB passthrough mode: 0 = off, 1 = on, 2 = auto.
282 Current USB passthrough mode.
289 raise MonsoonError("Error reading Monsoon USB passthrough status")
331 for main, usb, aux, voltage in data:
790 def usb(self, state): member in class:Monsoon
791 """Sets the monsoon's USB passthrough mode. This is specific to the
792 USB port in front of the monsoon box which connects to the powere
    [all...]
  /device/google/wahoo/usb/
Usb.cpp 17 #define LOG_TAG "android.hardware.usb@1.1-service.wahoo"
36 #include "Usb.h"
40 namespace usb { namespace in namespace:android::hardware
161 const PortRole &newRole, struct Usb *usb) {
178 pthread_mutex_lock(&usb->mPartnerLock);
179 usb->mPartnerUp = false;
192 int err = pthread_cond_timedwait(&usb->mPartnerCV, &usb->mPartnerLock, &to);
197 } else if (!usb->mPartnerUp)
533 android::hardware::usb::V1_1::implementation::Usb *usb; member in struct:android::hardware::usb::V1_1::implementation::data
    [all...]
UsbGadget.cpp 17 #define LOG_TAG "android.hardware.usb.gadget@1.0-service.wahoo"
53 #define PERSISTENT_VENDOR_CONFIG "persist.vendor.usb.usbradio.config"
54 #define VENDOR_CONFIG "vendor.usb.config"
58 namespace usb { namespace in namespace:android::hardware
298 // vendor.usb.config will reflect the current configured functions
441 if (inotify_add_watch(inotifyFd, "/dev/usb-ffs/mtp/", IN_ALL_EVENTS) == -1)
447 mEndpointList.push_back("/dev/usb-ffs/mtp/ep1");
448 mEndpointList.push_back("/dev/usb-ffs/mtp/ep2");
449 mEndpointList.push_back("/dev/usb-ffs/mtp/ep3");
455 if (inotify_add_watch(inotifyFd, "/dev/usb-ffs/ptp/", IN_ALL_EVENTS) == -1
    [all...]
  /external/libxaac/decoder/
ixheaacd_freq_sca.c 660 WORD16 num_lf_bands, num_hf_bands, lsb, usb; local
683 usb = pstr_freq_band_data->freq_band_table[LOW][num_lf_bands];
689 if ((lsb > NO_ANALYSIS_CHANNELS) || (lsb >= usb)) {
699 pstr_freq_band_data->sub_band_end = usb;
  /external/syslinux/com32/gplinclude/disk/
geom.h 63 * "USB"
119 * ---USB---
152 } __attribute__ ((packed)) usb; member in union:edd_device_parameters::__anon36949

Completed in 724 milliseconds

1 2 3 4 56 7 8 9