/frameworks/base/core/java/android/bluetooth/ |
BluetoothInputDevice.java | 33 * Device Profile. 48 * Device profile. 54 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 122 * Initiate connection to a profile of the remote bluetooth device. 127 * device is already connected or Bluetooth is not turned on. 136 * @param device Remote Bluetooth Device 141 public boolean connect(BluetoothDevice device) { 142 if (DBG) log("connect(" + device + ")"); 144 isValidDevice(device)) { [all...] |
BluetoothDevicePicker.java | 23 * A helper to show a system "Device Picker" activity to the user. 38 * Broadcast when one BT device is selected from BT device picker screen. 47 * Broadcast when someone want to select one BT device from devices list. 50 * - {@link #EXTRA_FILTER_TYPE} (int): what kinds of device should be 61 /** Ask device picker to show all kinds of BT devices */ 63 /** Ask device picker to show BT devices that support AUDIO profiles */ 65 /** Ask device picker to show BT devices that support Object Transfer */ 67 /** Ask device picker to show BT devices that support 70 /** Ask device picker to show BT devices that support Network Access Point (NAP) profile * [all...] |
BluetoothPan.java | 54 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 55 * <li> {@link #EXTRA_LOCAL_ROLE} - Which local role the remote device is 74 * The local role of the PAN profile that the remote device is bound to. 80 * The local device is acting as a Network Access Point. 85 * The local device is acting as a PAN User. 143 * Initiate connection to a profile of the remote bluetooth device. 146 * device is already connected or Bluetooth is not turned on. 155 * @param device Remote Bluetooth Device 160 public boolean connect(BluetoothDevice device) { [all...] |
/development/host/windows/usb/api/ |
adb_helper_routines.h | 43 /** \brief Given the hardware device information enumerates interfaces for
44 this device.
46 @param[in] hardware_dev_info A handle to hardware device information obtained
48 @param[in] class_id Device class ID how it is specified by our USB driver.
54 all interfaces found for this device (matching all filters).
64 /** \brief Enumerates all interfaces for our device class.
66 This routine uses SetupDiGetClassDevs to get our device info and calls
68 @param[in] class_id Device class ID how it is specified by our USB driver
76 all interfaces found for this device (matching all filters).
86 /** \brief Given the hardware device information and data gets data details. [all...] |
/external/skia/src/core/ |
SkBlitter_RGB16.cpp | 64 SkRGB16_Blitter(const SkBitmap& device, const SkPaint& paint); 89 SkRGB16_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint); 103 SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint); 114 SkRGB16_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 135 SkRGB16_Shader16_Blitter(const SkBitmap& device, const SkPaint& paint); 146 SkRGB16_Shader_Xfermode_Blitter(const SkBitmap& device, const SkPaint& paint); 164 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint) 165 : INHERITED(device, paint) { 211 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); variable 227 *device = SkAlphaMulRGB16(*device, SkAlpha255To256(255 - aa)) 240 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable 279 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable 302 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable 382 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); variable 485 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 501 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 578 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable 587 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable 642 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); variable 666 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 682 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); local 703 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable 767 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable 900 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable 965 uint16_t* device = fDevice.getAddr16(x, y); local 979 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); variable [all...] |
/external/qemu/distrib/sdl-1.2.12/src/joystick/darwin/ |
SDL_sysjoystick.c | 79 IOHIDDeviceInterface ** interface; /* interface to device, NULL = no interface */ 85 long axes; /* number of axis (calculated, not reported by device) */ 86 long buttons; /* number of buttons (calculated, not reported by device) */ 87 long hats; /* number of hat switches (calculated, not reported by device) */ 88 long elements; /* number of total elements (shouldbe total of above) (calculated, not reported by device) */ 97 struct joystick_hwdata* pNext; /* next device */ 157 recDevice *device = (recDevice *) refcon; local 158 device->removed = 1; 159 device->uncentered = 1; 164 /* Create and open an interface to device, required prior to extracting values or building queues 576 recDevice *device, *lastDevice; local 685 recDevice *device = gpDeviceList; local 700 recDevice *device = gpDeviceList; local 724 recDevice *device = joystick->hwdata; local [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/ |
DeviceBridge.java | 17 package com.android.hierarchyviewerlib.device; 47 * A bridge to the device. 132 * Sets up a just-connected device to work with the view server. 135 * device. 137 * @param device 139 public static void setupDeviceForward(IDevice device) { 141 if (device.getState() == IDevice.DeviceState.ONLINE) { 144 device.createForward(localPort, DEFAULT_SERVER_PORT); 145 sDevicePortMap.put(device, localPort); 147 Log.e(TAG, "Timeout setting up port forwarding for " + device); [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/ |
DeviceInfoCollector.java | 16 package com.android.cts.tradefed.device; 19 import com.android.tradefed.device.DeviceNotAvailableException; 20 import com.android.tradefed.device.ITestDevice; 27 * Collects info from device under test. 29 * This class simply serves as a conduit for grabbing info from device using the device info 41 * Installs and runs the device info collector instrumentation, and forwards results 44 * @param device 48 public static void collectDeviceInfo(ITestDevice device, File testApkDir, 57 instrTest.setDevice(device); [all...] |
/development/tools/emulator/system/camera/ |
EmulatedQemuCameraDevice.h | 22 * an emulated camera device connected to the host. 32 /* Encapsulates an emulated camera device connected to the host. 49 * device_name - Name of the camera device connected to the host. The name 58 * Emulated camera device abstract interface implementation. 64 /* Connects to the camera device. */ 67 /* Disconnects from the camera device. */ 70 /* Starts capturing frames from the camera device. */ 73 /* Stops capturing frames from the camera device. */ 100 * Qemu camera device data members 108 /* Name of the camera device connected to the host. * [all...] |
/device/samsung/maguro/ |
setup-makefiles.sh | 17 DEVICE=maguro 20 mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE 22 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/device-vendor.mk 37 # This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh 39 \$(call inherit-product, vendor/__MANUFACTURER__/__DEVICE__/device-vendor-blobs.mk) 42 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/BoardConfigVendor.mk 57 # This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.s [all...] |
full_maguro.mk | 18 # device-specific aspects (drivers) with a device-agnostic 25 PRODUCT_COPY_FILES := device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml 34 #$(call inherit-product, device/sample/products/backup_overlay.mk) 35 # Inherit from maguro device 36 $(call inherit-product, device/samsung/maguro/device.mk)
|
/device/ti/panda/ |
setup-makefiles.sh | 17 DEVICE=panda 20 mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE 22 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/device-vendor.mk 37 # This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh 39 \$(call inherit-product, vendor/__MANUFACTURER__/__DEVICE__/device-vendor-blobs.mk) 42 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/BoardConfigVendor.mk 57 # This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.s [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/ |
SDL_ggivideo.c | 81 static void GGI_DeleteDevice(SDL_VideoDevice *device) 83 SDL_free(device->hidden); 84 SDL_free(device); 89 SDL_VideoDevice *device; local 92 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 93 if ( device ) { 94 SDL_memset(device, 0, (sizeof *device)); 95 device->hidden = (struct SDL_PrivateVideoData *) 96 SDL_malloc((sizeof *device->hidden)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
Overlay.java | 19 import org.eclipse.swt.graphics.Device; 29 private Device mDevice; 45 * @param device The device to allocate resources for; the parameter passed 46 * to {@link #paint} will correspond to this device. 48 public void create(Device device) { 49 mDevice = device; 69 /** Returns the device associated with this overlay */ 70 public Device getDevice() [all...] |
/external/bluetooth/bluez/test/ |
apitest | 133 print 'Failed to get default device: %s' % e 137 self.device = dbus.Interface(obj, 'org.bluez.Adapter') 139 print 'Failed to setup device path: %s' % e 151 print 'Failed to setup signal handler for device path: %s' % e 173 print ' -i <dev> Specify device (e.g. "hci0" or "/org/bluez/hci0")' 217 for device in devices: 218 print device 229 print self.device.GetAddress() 231 print self.device.GetManufacturer() 233 print self.device.GetVersion( [all...] |
/frameworks/base/core/tests/hosttests/src/android/content/pm/ |
PackageManagerHostTests.java | 157 * Assumes adb is running as root in device under test. 161 * @throws ShellCommandUnresponsiveException if the device did not output anything for 163 * @throws IOException if connection to device was lost. 193 * Assumes adb is running as root in device under test. 200 * @throws ShellCommandUnresponsiveException if the device did not output anything for 202 * @throws IOException if connection to device was lost. 210 if (expectedLocation == PackageManagerHostTestUtils.InstallLocation.DEVICE) { 221 * Installs the Auto app using the preferred device install location specified, 222 * and verifies it was installed on the device. 224 * Assumes adb is running as root in device under test [all...] |
/cts/apps/cts-usb-accessory/ |
cts-usb-accessory.c | 70 static void send_string(struct usb_device *device, int index, const char* string) { 71 int ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 85 struct usb_device *device = usb_device_open(devname); local 86 if (!device) { 91 vendorId = usb_device_get_vendor_id(device); 92 productId = usb_device_get_product_id(device); 101 printf("Found Android device in accessory mode (%x:%x)...\n", 103 sDevice = device; 105 usb_descriptor_iter_init(device, &iter); 126 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) [all...] |
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
accessorychat.c | 77 static void send_string(struct usb_device *device, int index, const char* string) { 78 int ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 92 struct usb_device *device = usb_device_open(devname); local 93 if (!device) { 98 vendorId = usb_device_get_vendor_id(device); 99 productId = usb_device_get_product_id(device); 109 printf("Found android device in accessory mode\n"); 110 sDevice = device; 112 usb_descriptor_iter_init(device, &iter); 133 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) [all...] |
/external/bluetooth/bluez/audio/ |
main.c | 44 #include "device.h" 73 struct audio_device *device; local 92 device = manager_find_device(NULL, &src, &dst, AUDIO_HEADSET_INTERFACE, 94 if (!device) 95 device = manager_find_device(NULL, &src, &dst, 99 if (!device) 102 if (device->headset) { 103 if (headset_get_state(device) < HEADSET_STATE_CONNECTED) { 108 if (!get_hfp_active(device)) { 114 if (headset_connect_sco(device, chan) < 0 [all...] |
manager.c | 53 #include "../src/device.h" 58 #include "device.h" 160 static void handle_uuid(const char *uuidstr, struct audio_device *device) 177 if (!server_is_enabled(&device->src, uuid16)) { 185 if (device->headset) 186 headset_update(device, uuid16, uuidstr); 188 device->headset = headset_init(device, uuid16, 196 if (device->headset) 197 headset_update(device, uuid16, uuidstr) 419 struct audio_device *device = user_data; local 447 struct audio_device *device = user_data; local 463 struct audio_device *device; local 542 struct audio_device *device = user_data; local 563 struct audio_device *device; local 1335 struct btd_device *device; local [all...] |
/external/bluetooth/bluez/src/ |
bluetoothd.8.in | 44 is the address of the local device. The file is line separated, with 47 \fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP Remote device address. 55 Default location for the device name cache. The directory 57 is the address of the local device. The file is line separated, with 60 \fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP Remote device address. 62 \fIname\fP Remote device name, terminated with newline. 68 is the address of the local device. The file is line separated, with 71 \fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP\fB:\fP\fInn\fP Remote device address. 73 \fInnnnnnnnnnnnnnnn\fP Remote device LMP features coded as an 8 byte bitfield. 79 is the address of the local device. The file is line separated, wit [all...] |
/external/iproute2/examples/ |
cbqinit.eth1 | 5 DEVICE=eth1 8 # Attach CBQ on $DEVICE. It will have handle 1:. 9 # $BANDWIDTH is real $DEVICE bandwidth (10Mbit). 13 $TC qdisc add dev $DEVICE root handle 1: cbq \ 23 # This rate is viewed with "tc -s class ls dev $DEVICE" 25 $TC class add dev $DEVICE parent 1:0 classid :1 est 1sec 8sec cbq \ 35 $TC class add dev $DEVICE parent 1:1 classid :2 est 1sec 8sec cbq \ 43 $TC qdisc add dev $DEVICE parent 1:2 sfq quantum 1514b perturb 15 47 $TC class add dev $DEVICE parent 1:1 classid :3 est 2sec 16sec cbq \ 51 $TC qdisc add dev $DEVICE parent 1:3 sfq quantum 1514b perturb 1 [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Blit.cpp | 156 IDirect3DDevice9 *device = getDevice(); local 158 HRESULT hr = device->CreateVertexBuffer(sizeof(quad), D3DUSAGE_WRITEONLY, 0, D3DPOOL_DEFAULT, &mQuadVertexBuffer, NULL); 177 hr = device->CreateVertexDeclaration(elements, &mQuadVertexDeclaration); 190 IDirect3DDevice9 *device = getDevice(); local 209 hr = (device->*createShader)(static_cast<const DWORD*>(shaderCode->GetBufferPointer()), &shader); 222 HRESULT hr = (device->*setShader)(shader); 265 IDirect3DDevice9 *device = getDevice(); local 269 device->SetTexture(0, texture); 270 device->SetRenderTarget(0, dest); 276 device->SetSamplerState(0, D3DSAMP_MINFILTER, D3DTEXF_LINEAR) 298 IDirect3DDevice9 *device = getDevice(); local 391 IDirect3DDevice9 *device = getDevice(); local 433 IDirect3DDevice9 *device = getDevice(); local 450 IDirect3DDevice9 *device = getDevice(); local 476 IDirect3DDevice9 *device = getDevice(); local 487 IDirect3DDevice9 *device = getDevice(); local 539 IDirect3DDevice9 *device = getDevice(); local [all...] |
/sdk/chimpchat/src/com/android/chimpchat/adb/ |
AdbBackend.java | 33 * Backend implementation that works over ADB to talk to the device. 37 // How long to wait each time we check for the device to be connected. 80 * Checks the attached devices looking for one whose device id matches the specified regex. 83 * @return the Device (if found), or null (if not found). 87 for (IDevice device : bridge.getDevices()) { 88 String serialNumber = device.getSerialNumber(); 90 return device; 104 IDevice device = findAttachedDevice(deviceIdRegex); local 105 // Only return the device when it is online 106 if (device != null && device.getState() == IDevice.DeviceState.ONLINE) [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestUtils.java | 153 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { 156 mDevice = device; 213 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { 216 mDevice = device; 267 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { 268 super(device, BluetoothProfile.PAN, expectedFlags); 538 * Puts the local device into discoverable mode and checks to make sure that the local device 581 * Puts the local device into connectable only mode and checks to make sure that the local 582 * device is in in connectable mode and that the correct actions were broadcast [all...] |