/external/bluetooth/bluez/input/ |
device.c | 50 #include "../src/device.h" 55 #include "device.h" 89 struct btd_device *device; member in struct:input_device 148 device_remove_disconnect_watch(idev->device, idev->dc_id); 151 btd_device_unref(idev->device); 169 error("Can't open input device: %s (%d)", 187 error("Can't write device information: %s (%d)", 205 error("Can't create uinput device: %s (%d)", 397 device_remove_disconnect_watch(idev->device, idev->dc_id); 593 error("Rejected connection from unknown device %s", dst_addr) [all...] |
/external/bluetooth/bluez/tools/ |
bccmd.c | 62 static inline int transport_open(int transport, char *device, speed_t bcsp_rate) 66 return csr_open_hci(device); 69 return csr_open_usb(device); 72 return csr_open_bcsp(device, bcsp_rate); 74 return csr_open_h4(device); 76 return csr_open_3wire(device); 1084 { "disabletx", cmd_disabletx, "", "Disable TX on the device" }, 1085 { "enabletx", cmd_enabletx, "", "Enable TX on the device" }, 1111 "\t-d <device> Select the device\n 1148 char *device = NULL; local [all...] |
/external/bluetooth/hcidump/src/ |
hcidump.c | 191 printf("device: hci%d ", dev); 240 printf("device: disconnected\n"); 543 perror("Can't open device"); 548 perror("Can't get device info"); 555 perror("Can't access device"); 591 /* Bind socket to the HCI device */ 596 printf("Can't attach to device hci%d. %s(%d)\n", 845 " -i, --device=hci_dev HCI device\n" 873 { "device", 1, 0, 'i' } 904 int device = 0; local [all...] |
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
internet_options_handler.cc | 385 LOG(ERROR) << "Didn't find cellular device, it should have been available."; 705 // Device settings. 706 const chromeos::NetworkDevice* device = local 708 if (device) { 709 dictionary->SetString("manufacturer", device->manufacturer()); 710 dictionary->SetString("modelId", device->model_id()); 711 dictionary->SetString("firmwareRevision", device->firmware_revision()); 712 dictionary->SetString("hardwareRevision", device->hardware_revision()); 714 StringPrintf("%u", device->prl_version())); 715 dictionary->SetString("meid", device->meid()) [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
channelmanager.cc | 80 AudioOptions(int o, const Device* in, const Device* out) 83 const Device* in_device; 84 const Device* out_device; 95 explicit VideoOptions(const Device* d) : cam_device(d), result(false) {} 96 const Device* cam_device; 164 // Init the device manager immediately, and set up our default video device. 219 // device might have been unplugged. In this case, we fallback to the 220 // default device but keep the user preferences. The preferences ar 225 Device device; local 497 Device device; local [all...] |
devicemanager.cc | 130 static bool GetVideoDevices(std::vector<Device>* out); 136 static bool GetDevices(const CLSID& catid, std::vector<Device>* out); 137 static bool GetCoreAudioDevices(bool input, std::vector<Device>* devs); 138 static bool GetWaveDevices(bool input, std::vector<Device>* devs); 145 extern bool GetQTKitVideoDevices(std::vector<Device>* out); 203 std::vector<Device> devices; 217 bool DeviceManager::GetAudioInputDevices(std::vector<Device>* devices) { 221 bool DeviceManager::GetAudioOutputDevices(std::vector<Device>* devices) { 225 bool DeviceManager::GetAudioInputDevice(const std::string& name, Device* out) { 229 bool DeviceManager::GetAudioOutputDevice(const std::string& name, Device* out) 490 CComPtr<IMMDevice> device; local 930 udev_device* device = LATE(udev_monitor_receive_device)(udev_monitor_); local [all...] |
/external/kernel-headers/original/linux/ |
device.h | 2 * device.h - generic, centralized driver model 30 struct device; 48 int (*match)(struct device * dev, struct device_driver * drv); 49 int (*uevent)(struct device *dev, char **envp, 51 int (*probe)(struct device * dev); 52 int (*remove)(struct device * dev); 53 void (*shutdown)(struct device * dev); 54 int (*suspend)(struct device * dev, pm_message_t state); 55 int (*resume)(struct device * dev); 65 int bus_for_each_dev(struct bus_type * bus, struct device * start, void * data 299 struct device { struct [all...] |
/external/libpcap/ |
pcap-dos.h | 109 extern struct device el2_dev LOCKED_VAR; /* 3Com EtherLink II */ 110 extern struct device el3_dev LOCKED_VAR; /* EtherLink III */ 111 extern struct device tc59_dev LOCKED_VAR; /* 3Com Vortex Card (?) */ 112 extern struct device tc515_dev LOCKED_VAR; 113 extern struct device tc90x_dev LOCKED_VAR; 114 extern struct device tc90bcx_dev LOCKED_VAR; 115 extern struct device wd_dev LOCKED_VAR; 116 extern struct device ne_dev LOCKED_VAR; 117 extern struct device acct_dev LOCKED_VAR; 118 extern struct device cs89_dev LOCKED_VAR 142 struct device { struct [all...] |
pcap-int.h | 95 char *device; /* device name */ member in struct:pcap_md 101 int ifindex; /* interface index of device we're bound to */ 102 int lo_ifindex; /* interface index of the loopback device */
|
/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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
SDL_dgavideo.c | 108 static void DGA_DeleteDevice(SDL_VideoDevice *device) 110 if (device != NULL) { 111 SDL_free(device->hidden); 112 SDL_free(device); 119 SDL_VideoDevice *device = NULL; local 123 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 124 if ( device ) { 125 SDL_memset(device, 0, (sizeof *device)); 126 device->hidden = (struct SDL_PrivateVideoData * [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/ |
SDL_gapivideo.c | 36 // there is some problems in runnings apps from a device landscape mode 38 // TODO: finish Axim Dell X30 and user landscape mode, device landscape mode 39 // TODO: finish Axim Dell X30 user portrait, device landscape stylus conversion 235 static void GAPI_DeleteDevice(SDL_VideoDevice *device) 242 SDL_free(device->hidden); 243 SDL_free(device); 248 SDL_VideoDevice *device; local 260 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 261 if ( device ) { 262 SDL_memset(device, 0, (sizeof *device)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemvideo.c | 122 static void GEM_DeleteDevice(SDL_VideoDevice *device) 124 SDL_free(device->hidden); 125 SDL_free(device); 130 SDL_VideoDevice *device; local 135 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 136 if ( device ) { 137 SDL_memset(device, 0, (sizeof *device)); 138 device->hidden = (struct SDL_PrivateVideoData *) 139 SDL_malloc((sizeof *device->hidden)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/ |
SDL_dspvideo.c | 162 static int DSp_GetMainDevice (_THIS, GDHandle *device); 230 static void DSp_DeleteDevice(SDL_VideoDevice *device) 233 if (device) { 235 if (device->hidden) { 237 if (device->hidden->dspinfo) 238 SDL_free(device->hidden->dspinfo); 240 SDL_free(device->hidden); 242 SDL_free(device); 248 SDL_VideoDevice *device; local 251 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11video.c | 90 static void X11_DeleteDevice(SDL_VideoDevice *device) 92 if ( device ) { 93 if ( device->hidden ) { 94 SDL_free(device->hidden); 96 if ( device->gl_data ) { 97 SDL_free(device->gl_data); 99 SDL_free(device); 106 SDL_VideoDevice *device = NULL; local 110 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); 111 if ( device ) { [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/tcpdump/ |
tcpdump.c | 453 register char *cp, *infile, *cmdbuf, *device, *RFileName, *WFileName, *WFileNameAlt; local 486 device = NULL; 606 device = devpointer->name; 610 device = optarg; 870 if (device == NULL) { 871 device = pcap_lookupdev(ebuf); 872 if (device == NULL) 876 if(strlen(device) == 1) //we assume that an ASCII string is always longer than 1 char 878 fprintf(stderr, "%s: listening on %ws\n", program_name, device); 882 fprintf(stderr, "%s: listening on %s\n", program_name, device); [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Program.cpp | 915 // Applies all the uniforms set for this program object to the Direct3D 9 device 1504 IDirect3DDevice9 *device = getDevice(); local [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...] |
BluetoothHealthProfileHandler.java | 72 HealthChannel(BluetoothDevice device, BluetoothHealthAppConfiguration config, 77 mDevice = device; 190 boolean connectChannelToSource(BluetoothDevice device, 192 return connectChannel(device, config, BluetoothHealth.CHANNEL_TYPE_ANY); 195 private HealthChannel getMainChannel(BluetoothDevice device, 198 if (chan.mDevice.equals(device) && chan.mConfig.equals(config)) { 205 boolean connectChannel(BluetoothDevice device, 208 mBluetoothService.getObjectPathFromAddress(device.getAddress()); 214 HealthChannel chan = new HealthChannel(device, config, null, false, null); 221 callHealthChannelCallback(config, device, prevState, state, null, chan.mId) 382 BluetoothDevice device = adapter.getRemoteDevice(address); local [all...] |
/frameworks/base/media/libmedia/ |
IAudioPolicyService.cpp | 69 audio_devices_t device, 75 data.writeInt32(static_cast <uint32_t>(device)); 83 audio_devices_t device, 88 data.writeInt32(static_cast <uint32_t>(device)); 374 audio_devices_t device = local 379 reply->writeInt32(static_cast<uint32_t> (setDeviceConnectionState(device, 387 audio_devices_t device = local 390 reply->writeInt32(static_cast<uint32_t> (getDeviceConnectionState(device,
|
/frameworks/base/services/jni/ |
com_android_server_location_GpsLocationProvider.cpp | 255 hw_device_t* device; local 256 err = module->methods->open(module, GPS_HARDWARE_MODULE_ID, &device); 258 gps_device_t* gps_device = (gps_device_t *)device;
|
/hardware/msm7k/libaudio/ |
AudioHardware.cpp | 244 // even if the new device selected is the same as current one. 360 static status_t set_volume_rpc(uint32_t device, 366 LOGD("rpc_snd_set_volume(%d, %d, %d)\n", device, method, volume); 369 if (device == -1UL) return NO_ERROR; 373 LOGE("Can not open snd device"); 377 * device, # Any hardware device enum, including 386 args.device = device; 435 static status_t do_route_audio_rpc(uint32_t device, 833 int device; local 1095 int device; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransfer.java | 65 * This class run an actual Opp transfer session (from connect target device to 368 * 3) new a thread to connect to target device 369 * 3.1) Try a few times to do SDP query for target device OPUSH channel 560 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 561 if (V) Log.v(TAG, "ACTION_UUID for device " + device); 562 if (device.equals(mBatch.mDestination)) { 571 if (V) Log.v(TAG, "SDP get OPP result for device " + device); 588 private final BluetoothDevice device; field in class:BluetoothOppTransfer.SocketConnectThread [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceProfilesSettings.java | 46 * for a particular device, and allows them to be individually connected 57 public static final String EXTRA_DEVICE = "device"; 95 BluetoothDevice device; local 97 device = savedInstanceState.getParcelable(EXTRA_DEVICE); 100 device = args.getParcelable(EXTRA_DEVICE); 108 if (device == null) { 109 Log.w(TAG, "Activity started without a remote Bluetooth device"); 118 mCachedDevice = deviceManager.findDevice(device); 120 Log.w(TAG, "Device not found, cannot connect to it"); 254 BluetoothDevice device = mCachedDevice.getDevice() local 271 final CachedBluetoothDevice device = mCachedDevice; local 329 BluetoothDevice device = mCachedDevice.getDevice(); local [all...] |