Searched defs:device (Results 1 - 25 of 839) sorted by path

1234567891011>>

/external/blktrace/
H A Dblkiomon.c121 fprintf(debug.fp, "device %16d\n", bit->device);
148 fprintf(debug.fp, "device %16d %16d\n", bit1->device, bit2->device);
167 "blkiomon: could not allocate device statistic");
175 static struct dstat *blkiomon_find_dstat(struct rb_search *search, __u32 device) argument
186 if (dstat->msg.stat.device < device)
188 else if (dstat->msg.stat.device > devic
198 blkiomon_get_dstat(__u32 device) argument
[all...]
H A Dblkiomon.h37 __u32 device; member in struct:blkiomon_stat
82 bstat->device = cpu_to_be32(bstat->device);
105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device));
H A Dblkparse.c333 fprintf(stderr, "Out of memory, CPU info for device %s (%d)\n",
376 fprintf(stderr, "Out of memory, device %s (%d)\n", name, size);
610 MAJOR(bit->device), MINOR(bit->device),
812 else if (t->bit->device < __t->bit->device)
814 else if (t->bit->device > __t->bit->device)
856 static struct trace *trace_rb_find(dev_t device, unsigned long sequence, argument
867 if (device < __
[all...]
H A Dblktrace_api.h103 __u32 device; /* device identifier (dev_t) */ member in struct:blk_io_trace
/external/blktrace/btt/
H A Dbno_dump.c27 static FILE *bno_dump_open(__u32 device, char rwc) argument
33 mjr = device >> MINORBITS;
34 mnr = device & ((1 << MINORBITS) - 1);
51 void *bno_dump_alloc(__u32 device) argument
58 bdp->rfp = bno_dump_open(device, 'r');
59 bdp->wfp = bno_dump_open(device, 'w');
60 bdp->cfp = bno_dump_open(device, 'c');
H A Ddevmap.c26 char device[32], devno[32]; member in struct:devmap
39 if (sscanf(line, "%s %s", dmp->device, dmp->devno) != 2) {
48 char *dev_map_find(__u32 device) argument
53 sprintf(this, "%u,%u", MAJOR(device), MINOR(device));
58 return dmp->device;
H A Ddevs.c62 struct d_info *__dip_find(__u32 device) argument
67 __list_for_each(p, &dev_heads[DEV_HASH(device)]) {
69 if (device == dip->device)
106 static inline char *mkhandle(char *str, __u32 device, char *post) argument
108 int mjr = device >> MINORBITS;
109 int mnr = device & ((1 << MINORBITS) - 1);
125 struct d_info *dip_alloc(__u32 device, struct io *iop) argument
127 struct d_info *dip = __dip_find(device);
136 dip->device
[all...]
H A Dglobals.h143 __u32 device; member in struct:d_info
203 char *dev_map_find(__u32 device);
208 struct d_info *dip_alloc(__u32 device, struct io *iop);
210 struct d_info *__dip_find(__u32 device);
272 void *bno_dump_alloc(__u32 device);
343 void *unplug_hist_alloc(__u32 device);
H A Dlatency.c29 FILE *latency_open(__u32 device, char *name, char *post) argument
37 mjr = device >> MINORBITS;
38 mnr = device & ((1 << MINORBITS) - 1);
52 dip->q2d_ofp = latency_open(dip->device, q2d_name, "q2d");
53 dip->d2c_ofp = latency_open(dip->device, d2c_name, "d2c");
54 dip->q2c_ofp = latency_open(dip->device, q2c_name, "q2c");
H A Dunplug_hist.c33 void *unplug_hist_alloc(__u32 device) argument
40 hbp->dev = device;
50 dip = __dip_find(u_iop->t.device);
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c23 * Description: Implements hal for bluedroid a2dp audio device
86 struct audio_hw_device device; member in struct:a2dp_audio_device
1288 static int adev_dump(const audio_hw_device_t *device, int fd) argument
1290 UNUSED(device);
1298 static int adev_close(hw_device_t *device) argument
1302 free(device);
1307 hw_device_t** device)
1326 adev->device.common.tag = HARDWARE_DEVICE_TAG;
1327 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0;
1328 adev->device
1306 adev_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/external/bluetooth/bluedroid/btif/src/
H A Dbluetooth.c89 /* health device profile */
475 static int close_bluetooth_stack(struct hw_device_t* device) argument
477 UNUSED(device);
H A Dbtif_rc.c134 rc_device_t device; variable
270 BTIF_TRACE_ERROR("%s ERROR: uinput device is not in the system", __FUNCTION__);
287 BTIF_TRACE_ERROR("%s ERROR: uinput device open failed", __FUNCTION__);
300 BTIF_TRACE_ERROR("%s Unable to write device information", __FUNCTION__);
316 BTIF_TRACE_ERROR("%s Unable to create uinput device", __FUNCTION__);
452 /* report connection state if device is AVRCP target */
499 /* report connection state if device is AVRCP target */
553 * the remote device is not of type headset
867 ** which causes the audio to be on th device's speaker. Delay between
1529 // Just discard the message, if the device send
[all...]
/external/bluetooth/bluedroid/test/bluedroidtest/
H A Dbluedroidtest.c405 hw_device_t* device; local
412 err = module->methods->open(module, BT_HARDWARE_MODULE_ID, &device);
414 bt_device = (bluetooth_device_t *)device;
/external/bluetooth/bluedroid/test/suite/support/
H A Dhal.c44 hw_device_t *device; local
45 if (module->methods->open(module, BT_STACK_MODULE_ID, &device)) {
49 bt_device = (bluetooth_device_t *)device;
/external/checkpolicy/
H A Dpolicy_define.c4062 int define_pcidevice_context(unsigned long device) argument
4086 newc->u.device = device;
4097 device2 = c->u.device;
4098 if (device == device2) {
4100 device);
/external/chromium_org/android_webview/native/permission/
H A Dmedia_access_permission_request.cc18 // Return the device specified by |device_id| if exists, otherwise the first
19 // available device is returned.
60 const MediaStreamDevice* device = GetDeviceByIdOrFirstAvailable( local
62 if (device)
63 devices.push_back(*device);
70 const MediaStreamDevice* device = GetDeviceByIdOrFirstAvailable( local
72 if (device)
73 devices.push_back(*device);
/external/chromium_org/android_webview/renderer/
H A Dprint_web_view_helper_linux.cc169 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size, local
172 if (!device)
178 skia::AdoptRef(new skia::VectorCanvas(device));
194 // Done printing. Close the device context to retrieve the compiled metafile.
/external/chromium_org/apps/
H A Dsaved_devices_service.cc17 #include "device/usb/usb_device.h"
18 #include "device/usb/usb_device_handle.h"
30 using device::UsbDevice;
31 using device::UsbDeviceHandle;
41 // The device that the app has permission to access.
44 // The type of device saved.
50 // The vendor ID of the device that the app had permission to access.
53 // The product ID of the device that the app had permission to access.
56 // The serial number of the device that the app has permission to access.
62 const SavedDeviceEntry& device) {
60 AddSavedDeviceEntry(Profile* profile, const std::string& extension_id, const SavedDeviceEntry& device) argument
174 RegisterDevice( scoped_refptr<device::UsbDevice> device, base::string16* serial_number) argument
226 OnDisconnect( scoped_refptr<UsbDevice> device) argument
[all...]
/external/chromium_org/ash/system/bluetooth/
H A Dtray_bluetooth.cc32 // Updates bluetooth device |device| in the |list|. If it is new, append to the
34 // with new device info provided by |device|.
36 const BluetoothDeviceInfo& device) {
39 if ((*it).address == device.address) {
40 *it = device;
45 list->push_back(device);
303 // Add bluetooth device requires a browser window, hide it for non logged in
326 // Returns true if the device wit
35 UpdateBluetoothDeviceListHelper(BluetoothDeviceList* list, const BluetoothDeviceInfo& device) argument
[all...]
/external/chromium_org/ash/system/chromeos/audio/
H A Daudio_detailed_view.cc20 base::string16 GetAudioDeviceName(const chromeos::AudioDevice& device) { argument
21 switch (device.type) {
32 base::UTF8ToUTF16(device.display_name));
36 base::UTF8ToUTF16(device.display_name));
40 base::UTF8ToUTF16(device.display_name));
42 return base::UTF8ToUTF16(device.display_name);
171 chromeos::AudioDevice& device = iter->second;
172 CrasAudioHandler::Get()->SwitchToDevice(device, true);
H A Dtray_audio_delegate_chromeos.cc28 chromeos::AudioDevice device; local
29 if (!CrasAudioHandler::Get()->GetPrimaryActiveOutputDevice(&device))
32 if (device.type == chromeos::AUDIO_TYPE_HEADPHONE)
34 else if (device.type == chromeos::AUDIO_TYPE_USB)
36 else if (device.type == chromeos::AUDIO_TYPE_BLUETOOTH)
38 else if (device.type == chromeos::AUDIO_TYPE_HDMI)
/external/chromium_org/ash/system/chromeos/bluetooth/
H A Dbluetooth_notification_controller.cc14 #include "device/bluetooth/bluetooth_adapter_factory.h"
15 #include "device/bluetooth/bluetooth_device.h"
25 using device::BluetoothAdapter;
26 using device::BluetoothAdapterFactory;
27 using device::BluetoothDevice;
43 // Identifier for the notification that a device has been paired with the
50 // back to the underlying device.
80 // Address of the device being paired.
108 // Cancel the pairing of the device, if the object still exists.
109 BluetoothDevice* device
125 BluetoothDevice* device = adapter_->GetDevice(address_); local
175 DeviceAdded(BluetoothAdapter* adapter, BluetoothDevice* device) argument
183 DeviceChanged(BluetoothAdapter* adapter, BluetoothDevice* device) argument
198 DeviceRemoved(BluetoothAdapter* adapter, BluetoothDevice* device) argument
204 RequestPinCode(BluetoothDevice* device) argument
211 RequestPasskey(BluetoothDevice* device) argument
218 DisplayPinCode( BluetoothDevice* device, const std::string& pincode) argument
228 DisplayPasskey(BluetoothDevice* device, uint32 passkey) argument
238 KeysEntered(BluetoothDevice* device, uint32 entered) argument
243 ConfirmPasskey(BluetoothDevice* device, uint32 passkey) argument
253 AuthorizePairing( BluetoothDevice* device) argument
280 const BluetoothDevice* device = *iter; local
310 NotifyPairing( BluetoothDevice* device, const base::string16& message, bool with_buttons) argument
342 NotifyPairedDevice( BluetoothDevice* device) argument
[all...]
/external/chromium_org/ash/system/chromeos/network/
H A Dnetwork_state_list_detailed_view.cc463 const chromeos::DeviceState* device = local
465 show_other_mobile = (device && device->support_network_scan());
/external/chromium_org/ash/system/win/audio/
H A Dtray_audio_delegate_win.cc100 ScopedComPtr<IMMDevice> device = local
102 if (!device ||
103 FAILED(device->Activate(__uuidof(IAudioSessionManager), CLSCTX_ALL, NULL,

Completed in 659 milliseconds

1234567891011>>