/external/libdrm/tests/ |
drmdevice.c | 33 print_device_info(drmDevicePtr device, int i) 35 printf("device[%i]\n", i); 36 printf("\tavailable_nodes %04x\n", device->available_nodes); 39 if (device->available_nodes & 1 << j) 40 printf("\t\tnodes[%d] %s\n", j, device->nodes[j]); 42 printf("\tbustype %04x\n", device->bustype); 44 if (device->bustype == DRM_BUS_PCI) { 46 printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); 47 printf("\t\t\tbu\t%02x\n", device->businfo.pci->bus); 48 printf("\t\t\tde\t%02x\n", device->businfo.pci->dev) 68 drmDevicePtr device; local [all...] |
/external/gptfdisk/ |
gdisk.cc | 16 string device = ""; local 29 cout << "Type device filename, or press <Enter> to exit: "; 30 device = ReadString(); 31 if (device.length() == 0) 33 else if (theGPT.LoadPartitions(device)) { 36 theGPT.MainMenu(device); 48 device = (string) argv[2]; 50 device = (string) argv[1]; 55 if (device != "") { 57 if (theGPT.LoadPartitions(device)) [all...] |
cgdisk.cc | 31 string device = ""; local 39 cout << "Type device filename, or press <Enter> to exit: "; 40 device = ReadString(); 41 if (device.length() == 0) 45 device = (string) argv[1]; 49 device = (string) argv[2]; 51 device = (string) argv[1]; 67 if (theGPT.LoadPartitions(device)) { 76 Report("Could not load partitions from '" + device + "'! Aborting!");
|
/external/mesa3d/src/gbm/main/ |
common.c | 42 struct udev_device *device; local 50 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); 51 if (device == NULL) { 53 "gbm: could not create udev device for fd %d", fd); 57 return device; 64 struct udev_device *device; local 69 device = _gbm_udev_device_new_from_fd(udev, fd); 70 if (device == NULL) 73 const_device_name = udev_device_get_devnode(device); 79 udev_device_unref(device); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
IBluetoothA2dpSink.aidl | 28 boolean connect(in BluetoothDevice device); 29 boolean disconnect(in BluetoothDevice device); 32 int getConnectionState(in BluetoothDevice device); 33 BluetoothAudioConfig getAudioConfig(in BluetoothDevice device); 34 boolean setPriority(in BluetoothDevice device, int priority); 35 int getPriority(in BluetoothDevice device); 36 boolean isA2dpPlaying(in BluetoothDevice device);
|
/system/connectivity/shill/test-scripts/ |
disable-device | 6 print "Usage: %s <device | interface>" % (sys.argv[0]) 13 device = flim.FindElementByNameSubstring('Device', name) variable 14 if device is None: 15 device = flim.FindElementByPropertySubstring('Device', 'Interface', name) variable 17 print "Disabling device %s" % (device.object_path) 21 device.Disable() 23 device.SetProperty("Powered", dbus.Boolean(0) [all...] |
enable-device | 6 print "Usage: %s <device | interface>" % (sys.argv[0]) 13 device = flim.FindElementByNameSubstring('Device', name) variable 14 if device is None: 15 device = flim.FindElementByPropertySubstring('Device', 'Interface', name) variable 17 print "Enabling device %s" % (device.object_path) 21 device.Enable() 23 device.SetProperty("Powered", dbus.Boolean(1) [all...] |
/external/autotest/client/deps/fakegudev/src/ |
gudev-exercise.c | 42 print_device(GUdevDevice *device) 48 printf (" Name: %s\n", g_udev_device_get_name (device)); 49 printf (" Device file: %s\n", g_udev_device_get_device_file (device)); 50 printf (" Devtype: %s\n", g_udev_device_get_devtype (device)); 51 printf (" Driver: %s\n", g_udev_device_get_driver (device)); 52 printf (" Subsystem: %s\n", g_udev_device_get_subsystem (device)); 53 printf (" Sysfs path: %s\n", g_udev_device_get_sysfs_path (device)); 58 const gchar * const * keys = g_udev_device_get_property_keys (device); 63 prop = g_udev_device_get_property (device, *keys) 80 GUdevDevice *device; local [all...] |
/external/libmtp/examples/ |
emptyfolders.c | 25 static void prune_empty_folders(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *files, LIBMTP_folder_t *folderlist, int do_delete) 46 if (LIBMTP_Delete_Object(device,folderlist->folder_id) != 0) { 48 LIBMTP_Dump_Errorstack(device); 49 LIBMTP_Clear_Errorstack(device); 55 prune_empty_folders(device,files,folderlist->child,do_delete); // recurse down 56 prune_empty_folders(device,files,folderlist->sibling,do_delete); // recurse along 82 LIBMTP_mtpdevice_t *device; local 87 device = LIBMTP_Get_First_Device(); 88 if (device == NULL) { 94 files = LIBMTP_Get_Filelisting_With_Callback(device,NULL,NULL) [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pDeviceList.java | 30 * A class representing a Wi-Fi P2p device list. 53 for (WifiP2pDevice device : devices) { 54 if (device.deviceAddress != null) { 55 mDevices.put(device.deviceAddress, new WifiP2pDevice(device)); 60 private void validateDevice(WifiP2pDevice device) { 61 if (device == null) throw new IllegalArgumentException("Null device"); 62 if (TextUtils.isEmpty(device.deviceAddress)) { 81 * Add/update a device to the list. If the device is not found, a new device entr 171 WifiP2pDevice device = mDevices.get(deviceAddress); local [all...] |
/frameworks/av/services/audiopolicy/enginedefault/src/ |
Engine.cpp | 250 uint32_t device = AUDIO_DEVICE_NONE; local 256 device = availableOutputDevicesType & AUDIO_DEVICE_OUT_SPEAKER; 261 device = getDeviceForStrategyInt( 265 // while media is playing on a remote device, use the the sonification behavior. 269 device = getDeviceForStrategyInt( 273 if ((device & AUDIO_DEVICE_OUT_SPEAKER) && 275 device |= AUDIO_DEVICE_OUT_SPEAKER_SAFE; 276 device &= ~AUDIO_DEVICE_OUT_SPEAKER; 280 // while media is playing (or has recently played), use the same device 281 device = getDeviceForStrategyInt 556 uint32_t device = AUDIO_DEVICE_NONE; local [all...] |
/art/tools/ |
libcore_failures.txt | 20 modes: [device], 26 modes: [device], 33 777 all directories on path to socket (on device without su).", 35 modes: [device], 39 description: "Issue with incorrect device time (1970)", 41 modes: [device], 48 description: "Issue with incorrect device time (1970). Test assumes that DateTime.now() 51 modes: [device], 57 modes: [device], 74 modes: [device], [all...] |
/device/google/dragon/sepolicy/ |
keys.conf | 2 ALL : device/google/dragon/sepolicy/certs/app.x509.pem
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
device_finder.py | 23 for device in DEVICES: 24 devices.extend(device.FindAllAvailableDevices(options)) 31 if not options.device or options.device == 'list': 33 elif options.device == 'android': 37 devices = [d for d in devices if d.guid == options.device] 39 devices.sort(key=lambda device: device.name)
|
/external/clang/test/Frontend/ |
stdlang.c | 6 __attribute__((device)) void f_device();
|
/external/libpcap/ |
pcap-bt-linux.h | 38 pcap_t *bt_create(const char *device, char *ebuf, int *is_ours);
|
pcap-bt-monitor-linux.h | 32 pcap_t *bt_monitor_create(const char *device, char *ebuf, int *is_ours);
|
pcap-can-linux.h | 35 pcap_t* can_create(const char *device, char *ebuf, int *is_ours);
|
pcap-canusb-linux.h | 35 pcap_t* canusb_create(const char *device, char *ebuf, int *is_ours);
|
pcap-netfilter-linux.h | 35 pcap_t *netfilter_create(const char *device, char *ebuf, int *is_ours);
|
pcap-septel.h | 6 * card code at the same time as another type of device. 12 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours);
|
pcap-usb-linux.h | 38 pcap_t *usb_create(const char *device, char *ebuf, int *is_ours);
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
preemption.c | 32 * A callback to notify the client application that a device's display has 35 void vlVdpPreemptionCallback(VdpDevice device, void *context) 43 VdpStatus vlVdpPreemptionCallbackRegister(VdpDevice device,
|
/external/webrtc/talk/media/devices/ |
deviceinfo.h | 37 bool GetUsbId(const Device& device, std::string* usb_id); 38 bool GetUsbVersion(const Device& device, std::string* usb_version);
|
win32deviceinfo.cc | 32 bool GetUsbId(const Device& device, std::string* usb_id) { 36 const size_t vid_location = device.id.find(vid); 38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { 42 const size_t pid_location = device.id.find(pid); 44 pid_location + sizeof(pid) - 1 + id_size > device.id.size()) { 47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1, 49 std::string id_product = device.id.substr(pid_location + sizeof(pid) -1, 58 bool GetUsbVersion(const Device& device, std::string* usb_version) [all...] |