HomeSort by relevance Sort by last modified time
    Searched full:device (Results 1 - 25 of 5346) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bluetooth/bluez/src/
device.h 25 #define DEVICE_INTERFACE "org.bluez.Device"
48 void device_set_name(struct btd_device *device, const char *name);
49 void device_get_name(struct btd_device *device, char *name, size_t len);
50 device_type_t device_get_type(struct btd_device *device);
51 void device_remove(struct btd_device *device, gboolean remove_stored);
52 gint device_address_cmp(struct btd_device *device, const gchar *address);
53 int device_browse_primary(struct btd_device *device, DBusConnection *conn,
55 int device_browse_sdp(struct btd_device *device, DBusConnection *conn,
57 void device_probe_drivers(struct btd_device *device, GSList *profiles);
58 const sdp_record_t *btd_device_get_record(struct btd_device *device,
    [all...]
device.c 52 #include "device.h"
68 /* When all services should trust a remote device */
83 struct btd_device *device; member in struct:bonding_req
90 struct btd_device *device; member in struct:authentication_req
97 struct btd_device *device; member in struct:browse_req
117 GSList *drivers; /* List of device drivers */
158 if (req->device)
159 btd_device_unref(req->device);
174 struct btd_device *device = req->device; local
191 struct btd_device *device = user_data; local
242 struct btd_device *device = user_data; local
345 struct btd_device *device = data; local
379 struct btd_device *device = data; local
415 struct btd_device *device = user_data; local
491 struct btd_device *device = data; local
570 struct btd_device *device = user_data; local
685 struct btd_device *device = user_data; local
711 struct btd_device *device = bonding->device; local
763 struct btd_device *device = user_data; local
805 struct btd_device *device = user_data; local
949 struct btd_device *device; local
1322 struct btd_device *device = req->device; local
1482 struct btd_device *device = req->device; local
1567 struct btd_device *device = req->device; local
1654 struct btd_device *device = req->device; local
1690 struct btd_device *device = req->device; local
1889 struct btd_device *device = user_data; local
1955 struct btd_device *device; local
2005 struct btd_device *device = user_data; local
2057 struct btd_device *device = user_data; local
2263 struct btd_device *device = auth->device; local
2278 struct btd_device *device = auth->device; local
2294 struct btd_device *device = auth->device; local
2309 struct btd_device *device = auth->device; local
2386 struct btd_device *device; local
    [all...]
event.c 53 #include "device.h"
65 struct btd_device **device,
80 *device = adapter_get_device(conn, *adapter, peer_addr);
82 *device = adapter_find_device(*adapter, peer_addr);
84 if (create && !*device) {
85 error("Unable to get device object!");
95 * level events(eg: device attached/dettached.
127 const char *pincode, struct btd_device *device)
129 struct btd_adapter *adapter = device_get_adapter(device);
135 device_get_address(device, &dba)
158 struct btd_device *device; local
188 struct btd_device *device = user_data; local
198 struct btd_device *device = user_data; local
213 struct btd_device *device; local
225 struct btd_device *device; local
237 struct btd_device *device; local
249 struct btd_device *device; local
262 struct btd_device *device; local
280 struct btd_device *device; local
362 struct btd_device *device; local
386 struct btd_device *device; local
444 struct btd_device *device; local
467 struct btd_device *device; local
480 struct btd_device *device; local
498 struct btd_device *device; local
516 struct btd_device *device; local
    [all...]
  /frameworks/base/core/java/android/bluetooth/
IBluetoothHeadset.aidl 28 boolean connect(in BluetoothDevice device);
29 boolean disconnect(in BluetoothDevice device);
32 int getConnectionState(in BluetoothDevice device);
33 boolean setPriority(in BluetoothDevice device, int priority);
34 int getPriority(in BluetoothDevice device);
35 boolean startVoiceRecognition(in BluetoothDevice device);
36 boolean stopVoiceRecognition(in BluetoothDevice device);
37 boolean isAudioConnected(in BluetoothDevice device);
40 int getBatteryUsageHint(in BluetoothDevice device);
43 boolean createIncomingConnect(in BluetoothDevice device);
    [all...]
IBluetoothA2dp.aidl 28 boolean connect(in BluetoothDevice device);
29 boolean disconnect(in BluetoothDevice device);
32 int getConnectionState(in BluetoothDevice device);
33 boolean setPriority(in BluetoothDevice device, int priority);
34 int getPriority(in BluetoothDevice device);
35 boolean isA2dpPlaying(in BluetoothDevice device);
38 boolean suspendSink(in BluetoothDevice device);
39 boolean resumeSink(in BluetoothDevice device);
40 boolean connectSinkInternal(in BluetoothDevice device);
41 boolean disconnectSinkInternal(in BluetoothDevice device);
    [all...]
  /external/bluetooth/bluez/tools/
rfcomm.conf 6 # # Automatically bind the device at startup
9 # # Bluetooth address of the device
10 # device 11:22:33:44:55:66;
16 # comment "Example Bluetooth device";
  /external/kernel-headers/original/linux/
attribute_container.h 12 #include <linux/device.h>
22 int (*match)(struct attribute_container *, struct device *);
41 void attribute_container_create_device(struct device *dev,
43 struct device *,
45 void attribute_container_add_device(struct device *dev,
47 struct device *,
49 void attribute_container_remove_device(struct device *dev,
51 struct device *,
53 void attribute_container_device_trigger(struct device *dev,
55 struct device *,
    [all...]
transport_class.h 12 #include <linux/device.h>
19 int (*setup)(struct transport_container *, struct device *,
21 int (*configure)(struct transport_container *, struct device *,
23 int (*remove)(struct transport_container *, struct device *,
64 void transport_remove_device(struct device *);
65 void transport_add_device(struct device *);
66 void transport_setup_device(struct device *);
67 void transport_configure_device(struct device *);
68 void transport_destroy_device(struct device *);
71 transport_register_device(struct device *dev
    [all...]
  /development/tools/hosttestlib/src/com/android/hosttest/
DeviceConnector.java 29 * The maximum time to wait for a device to be connected.
34 * Initializes DDMS library, and connects to specified Android device
36 * @param deviceSerial the device serial to connect to. If <code>null</code> connect to first
37 * discovered device.
40 * @throws IllegalArgumentException if no device cannot be found.
46 for (IDevice device : adbBridge.getDevices()) {
48 return device;
49 } else if (deviceSerial.equals(device.getSerialNumber())) {
50 return device;
54 System.out.println("Waiting for device...")
57 IDevice device = listener.waitForDevice(MAX_WAIT_DEVICE_TIME); local
    [all...]
  /external/kernel-headers/original/asm-x86/
swiotlb.h 8 extern dma_addr_t swiotlb_map_single(struct device *hwdev, void *ptr,
10 extern void *swiotlb_alloc_coherent(struct device *hwdev, size_t size,
12 extern void swiotlb_unmap_single(struct device *hwdev, dma_addr_t dev_addr,
14 extern void swiotlb_sync_single_for_cpu(struct device *hwdev,
17 extern void swiotlb_sync_single_for_device(struct device *hwdev,
20 extern void swiotlb_sync_single_range_for_cpu(struct device *hwdev,
24 extern void swiotlb_sync_single_range_for_device(struct device *hwdev,
28 extern void swiotlb_sync_sg_for_cpu(struct device *hwdev,
31 extern void swiotlb_sync_sg_for_device(struct device *hwdev,
34 extern int swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg
    [all...]
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
WindowUpdater.java 17 package com.android.hierarchyviewerlib.device;
26 * This class handles automatic updating of the list of windows in the device
27 * selector for device with protocol version 3 or above of the view server. It
38 public void windowsChanged(IDevice device);
40 public void focusChanged(IDevice device);
45 for (IDevice device : sListeningThreads.keySet()) {
46 sListeningThreads.get(device).interrupt();
52 public static void startListenForWindowChanges(IWindowChangeListener listener, IDevice device) {
56 if (sWindowChangeListeners.containsKey(device)) {
57 sWindowChangeListeners.get(device).add(listener)
125 private IDevice device; field in class:WindowUpdater.WindowChangeMonitor
    [all...]
  /development/data/etc/
vold.conf 4 ## This is the direct uevent device path to the SD slot on the device
  /external/grub/lib/
Makefile.am 6 libcommon_a_SOURCES = getopt.c getopt1.c getopt.h device.c device.h
  /frameworks/base/core/java/android/os/
package.html 4 communication on the device.
  /frameworks/base/services/input/
EventHub.cpp 115 // --- EventHub::Device ---
117 EventHub::Device::Device(int fd, int32_t id, const String8& path,
130 EventHub::Device::~Device() {
136 void EventHub::Device::close() {
201 Device* device = mClosingDevices;
202 mClosingDevices = device->next;
203 delete device;
    [all...]
  /frameworks/base/libs/rs/
rsDevice.cpp 23 Device::Device() {
27 Device::~Device() {
30 void Device::addContext(Context *rsc) {
34 void Device::removeContext(Context *rsc) {
44 Device * d = new Device();
49 Device * d = static_cast<Device *>(dev)
    [all...]
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/models/
DeviceSelectionModel.java 20 import com.android.hierarchyviewerlib.device.DeviceBridge.ViewServerInfo;
21 import com.android.hierarchyviewerlib.device.Window;
27 * This class stores the list of windows for each connected device. It notifies
29 * in the device selector.
64 public boolean containsDevice(IDevice device) {
66 return mDeviceMap.containsKey(device);
70 public void addDevice(IDevice device, Window[] windows, ViewServerInfo info) {
72 mDeviceMap.put(device, new DeviceInfo(windows, info));
73 mDeviceList.add(device);
75 notifyDeviceConnected(device);
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothStressTest.java 73 * Stress test for putting the device in and taking the device out of discoverable mode.
142 * Stress test for pairing and unpairing with a remote device.
144 * In this test, the local device initiates pairing with a remote device, and then unpairs with
145 * the device after the pairing has successfully completed.
154 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local
157 mTestUtils.unpair(adapter, device);
161 mTestUtils.pair(adapter, device, BluetoothTestRunner.sDevicePairPasskey,
163 mTestUtils.unpair(adapter, device);
180 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local
207 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local
240 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local
273 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local
306 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local
336 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local
370 BluetoothDevice device = adapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); local
    [all...]
  /system/core/include/usbhost/
usbhost.h 64 /* Callback indicating that initial device discovery is done.
78 * added_cb will be called immediately for each existing USB device,
79 * and subsequently each time a new device is added.
90 /* Creates a usb_device object for a USB device */
93 /* Releases all resources associated with the USB device */
94 void usb_device_close(struct usb_device *device);
96 /* Creates a usb_device object for already open USB device */
100 int usb_device_get_fd(struct usb_device *device);
102 /* Returns the name for the USB device, which is the same as
105 const char* usb_device_get_name(struct usb_device *device);
    [all...]
  /frameworks/base/core/java/android/server/
BluetoothA2dpService.java 73 BluetoothDevice device =
88 if (mAudioDevices.containsKey(device)) {
89 int state = mAudioDevices.get(device);
90 handleSinkStateChange(device, state, BluetoothA2dp.STATE_DISCONNECTED);
116 private boolean isPhoneDocked(BluetoothDevice device) {
123 if (dockDevice != null && device.equals(dockDevice)) {
182 private boolean isSinkDevice(BluetoothDevice device) {
183 ParcelUuid[] uuids = mBluetoothService.getRemoteUuids(device.getAddress());
190 private synchronized void addAudioSink(BluetoothDevice device) {
191 if (mAudioDevices.get(device) == null)
202 BluetoothDevice device = mAdapter.getRemoteDevice(address); local
472 BluetoothDevice device = mAdapter.getRemoteDevice(address); local
    [all...]
BluetoothInputProfileHandler.java 64 boolean connectInputDevice(BluetoothDevice device,
66 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress());
68 getInputDeviceConnectionState(device) != BluetoothInputDevice.STATE_DISCONNECTED ||
69 getInputDevicePriority(device) == BluetoothInputDevice.PRIORITY_OFF) {
82 boolean connectInputDeviceInternal(BluetoothDevice device) {
83 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress());
84 handleInputDeviceStateChange(device, BluetoothInputDevice.STATE_CONNECTING);
86 handleInputDeviceStateChange(device, BluetoothInputDevice.STATE_DISCONNECTED);
92 boolean disconnectInputDevice(BluetoothDevice device,
94 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress())
203 BluetoothDevice device = adapter.getRemoteDevice(address); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothProfile.java 38 boolean connect(BluetoothDevice device);
40 boolean disconnect(BluetoothDevice device);
42 int getConnectionStatus(BluetoothDevice device);
44 boolean isPreferred(BluetoothDevice device);
46 int getPreferred(BluetoothDevice device);
48 void setPreferred(BluetoothDevice device, boolean preferred);
52 /** Display order for device profile settings. */
57 * @param device the Bluetooth device (to distinguish between PAN roles)
59 int getNameResource(BluetoothDevice device);
    [all...]
  /cts/tools/host/src/com/android/cts/
DeviceManager.java 39 /** Time to wait after device reports that boot is complete. */
44 /** This is used during device restart for blocking until the device has been reconnected. */
75 * @param num the number of required device
88 throw new DeviceNotAvailableException("The number of connected device("
103 + num + ") of idle device(s).");
111 * @return The device list.
133 * Append the device to the device list.
135 * @param device The device to be appended to the device list
341 TestDevice device = searchTestDevice(deviceSerialNumber); local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/dummy/
SDL_nullvideo.c 79 static void DUMMY_DeleteDevice(SDL_VideoDevice *device)
81 SDL_free(device->hidden);
82 SDL_free(device);
87 SDL_VideoDevice *device; local
90 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
91 if ( device ) {
92 SDL_memset(device, 0, (sizeof *device));
93 device->hidden = (struct SDL_PrivateVideoData *)
94 SDL_malloc((sizeof *device->hidden))
    [all...]
  /development/tools/labpretest/
labpretest.sh 7 # session. It puts a device into bootloader mode, reboots into bootloader mode,
8 # determines device type, erases user cache, flashes a generic userdata image,
24 device=''
31 d) device="$OPTARG";;
35 h) echo "options: [-d <device ID>, -i <loop count>, -m <monkey events> -x (skips monkey)]"; exit;;
66 # device
80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`
86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`
99 # Blocks until device is in fastboot mode or
103 # device
    [all...]

Completed in 637 milliseconds

1 2 3 4 5 6 7 8 91011>>