/frameworks/av/services/audioflinger/ |
AudioHwDevice.h | 63 * The "address" parameter qualifies the "devices" audio device type if needed. 65 * - Bluetooth devices use the MAC address of the device in the form "00:11:22:AA:BB:CC" 66 * - USB devices use the ALSA card and device numbers in the form "card=X;device=Y" 67 * - Other devices may use a number or any other string. 72 audio_devices_t devices,
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
UsbUtil.java | 28 * Util methods to work with USB devices. 36 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local 38 for (UsbDevice device : devices.values()) { 84 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local 85 for (UsbDevice dev : devices.values()) {
|
/test/vti/test_serving/gae/webapp/src/endpoint/ |
lab_info.py | 66 devices = [] 70 devices.append("%s=%s" % (device.serial, device.product)) 73 if devices: 74 lab.devices = ",".join(devices)
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
relay_device_controller.py | 34 devices: A list of RelayDevices attached to the boards. 67 devices = list() 70 for device in relay_rig.devices.values(): 71 devices.append(device) 73 return devices
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
DeviceListActivity.java | 41 * This Activity appears as a dialog. It lists any paired devices and 42 * devices detected in the area after discovery. When a device is chosen 79 // Initialize array adapters. One for already paired devices and 80 // one for newly discovered devices 84 // Find and set up the ListView for paired devices 89 // Find and set up the ListView for newly discovered devices 105 // Get a set of currently paired devices 108 // If there are paired devices, add each one to the ArrayAdapter 143 // Turn on sub-title for new devices 155 // The on-click listener for all devices in the ListView [all...] |
/external/libdrm/tests/ |
drmdevice.c | 111 drmDevicePtr *devices; local 122 devices = calloc(max_devices, sizeof(drmDevicePtr)); 123 if (devices == NULL) { 128 ret = drmGetDevices2(0, devices, max_devices); 131 free(devices); 136 print_device_info(devices[i], i, false); 139 if (devices[i]->available_nodes & 1 << j) { 140 printf("Opening device %d node %s\n", i, devices[i]->nodes[j]); 141 fd = open(devices[i]->nodes[j], O_RDONLY | O_CLOEXEC, 0); 156 drmFreeDevices(devices, ret) [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
device_factory.h | 37 // Append to "*devices" all suitable devices, respecting 40 // CPU devices are added first. 43 std::vector<Device*>* devices); 47 // devices of the same type, supply distinct name_prefix arguments. 54 std::vector<Device*>* devices) = 0; 61 // preferred over CPU, and by default, custom devices that don't set 63 // than CPU. Custom devices that want a higher priority can set the 65 // higher than the packaged devices. See calls to 67 // for built-in devices [all...] |
device_mgr.h | 37 // Takes ownership of each device in 'devices'. 40 explicit DeviceMgr(const std::vector<Device*>& devices); 43 // Returns attributes of all devices. 44 void ListDeviceAttributes(std::vector<DeviceAttributes>* devices) const; 48 // Returns a string listing all devices. 58 // Clears given containers of all devices if 'container' is 59 // non-empty. Otherwise, clears default containers of all devices.
|
device_set.h | 31 // devices used by a model. 50 // Return the list of devices in this set. 51 const std::vector<Device*>& devices() const { return devices_; } function in class:tensorflow::DeviceSet 54 // wildcards for different components), fills "*devices" with all 55 // devices in "*this" that match "spec". 57 std::vector<Device*>* devices) const; 64 // with more preferable devices earlier.
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
relay_rig.py | 33 """A group of relay boards and their connected devices. 36 boards, as well as the devices and relays associated with them. 42 The relay devices are stored in a dict of (device_name: device). These 61 # Similar to the dict above, except for devices. 77 self.devices = dict() 89 # Note: 'boards' is a necessary value, 'devices' is not. 90 if 'devices' in config: 91 for elem in config['devices']: 93 if relay_device.name in self.devices: 97 self.devices[relay_device.name] = relay_devic [all...] |
/external/autotest/server/site_tests/enterprise_CFM_USBPeripheralRebootStress/ |
enterprise_CFM_USBPeripheralRebootStress.py | 10 CMD = "usb-devices | grep ^P:" 18 """Stress test of USB devices in CfM mode by warm rebooting CfM 53 'After joining meeting list of USB devices is not the same.') 69 logging.info('These are devices not in the new list') 73 logging.info('These are devices not in the original list') 88 logging.info('The initial usb devices:\n %s', usb_original_output) 100 "After reboot list of USB devices is not the same.")
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
keyboard.py | 84 def __init__(self, devices): 86 'More than one device found: %s' % ', '.join(str(d) for d in devices)) 98 devices = script_common.GetDevices(args.devices, None) 99 if len(devices) > 1: 100 raise MultipleDevicesError(devices) 117 Keyboard(devices[0], next_char())
|
/external/e2fsprogs/lib/blkid/ |
libblkid.3.in | 20 library is used to identify block devices (disks) as to their content (e.g. 31 than root, or those not in the "disk" group) to locate devices by label/id. 38 multiple devices, use of the cache is highly recommended (even if empty) as 39 devices will be scanned at most one time and the on-disk cache will be 42 In some cases (modular kernels), block devices are not even visible until 44 some way to locate these devices without enumerating only visible devices,
|
/external/libpcap/ |
pcap_get_selectable_fd.3pcap | 44 devices opened with 54 (for example, regular network devices on FreeBSD 4.3 and 4.4, and Endace 55 DAG devices), so \-1 is returned for those devices. 76 do not work correctly on BPF devices; 108 work correctly on BPF devices, so the workaround isn't necessary, 113 doesn't work on character special files, including BPF devices, in Mac
|
/test/vts-testcase/nbu/src/ |
README.md | 18 actions and read status, thus coordinating actions across multiple devices. 37 ### Two Android Devices (DUT) 39 The two devices should be of the same model and build (identical fingerprint). 52 Based on the two devices' serial numbers, we need to create a config file. 55 blocks replaced with the information of your actual devices: 82 After all the tools are installed, connect the devices to the computer with USB 83 cables and make sure they show up as "device" in the output of `$ adb devices`
|
/tools/test/connectivity/tools/lab/tests/ |
health_checker_test.py | 122 "devices": { 131 'devices': { 144 "devices": { 153 'devices': { 166 "devices": { 175 'devices': { 197 'devices': {
|
/external/tensorflow/tensorflow/contrib/all_reduce/python/ |
all_reduce.py | 202 num_subchunks different other devices at each tick. Where multiple 203 independent data channels exist between devices, this strategy 224 devices = num_workers * num_gpus 225 if devices == 0: 240 pred_by_s_d = [[-1 for d in range(0, devices)] 242 rank_by_s_d = [[-1 for d in range(0, devices)] 245 for d in range(0, devices): 246 for t in range(0, devices): 249 pred_by_s_d[s][d] = perms_by_s[s][(t + devices - 1) % devices] [all...] |
/external/tensorflow/tensorflow/contrib/nccl/ops/ |
nccl_ops.cc | 42 data: the value of the reduction across all `num_devices` devices. 44 num_devices: The number of devices participating in this reduction. 62 assignment, and the op itself is assigned one of these devices. 65 data: the value of the reduction across all `num_devices` devices. 81 The graph should be constructed so that 'num_devices-1' devices run 87 num_devices: The number of devices participating in this reduction. 105 The graph should be constructed so that 'num_devices-1' devices run 112 num_devices: The number of devices participating in this reduction. 126 Sends `input` to all devices that are connected to the output. 129 valid device assignment, and the op itself is assigned one of these devices [all...] |
/external/webrtc/talk/media/devices/ |
fakedevicemanager.h | 36 #include "talk/media/devices/devicemanager.h" 52 std::vector<Device> devices; local 167 void SetAudioInputDevices(const std::vector<std::string>& devices) { 169 for (size_t i = 0; i < devices.size(); ++i) { 170 input_devices_.push_back(Device(devices[i], 175 void SetAudioOutputDevices(const std::vector<std::string>& devices) { 177 for (size_t i = 0; i < devices.size(); ++i) { 178 output_devices_.push_back(Device(devices[i], 183 void SetVideoCaptureDevices(const std::vector<std::string>& devices) { 185 for (size_t i = 0; i < devices.size(); ++i) [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
DeviceDescriptor.cpp | 17 #define LOG_TAG "APM::Devices" 52 // Devices are considered equal if they: 80 void DeviceVector::add(const DeviceVector &devices) 83 for (const auto& device : devices) { 126 audio_devices_t devices = AUDIO_DEVICE_NONE; local 129 devices |= itemAt(i)->type(); 132 return devices; 165 DeviceVector devices; local 172 devices.add(itemAt(i)); 178 return devices; 184 DeviceVector devices; local [all...] |
/device/google/cuttlefish_common/host/libs/vm_manager/ |
libvirt_manager.cpp | 159 void ConfigureSerialPort(xmlNode* devices, int port, DeviceSourceType type, 161 auto tty = xmlNewChild(devices, nullptr, xc("serial"), nullptr); 175 // This section adds <disk> elements to <devices> node. 176 void ConfigureDisk(xmlNode* devices, const std::string& name, 178 auto ch = xmlNewChild(devices, nullptr, xc("disk"), nullptr); 195 // This section adds <channel> elements to <devices> node. 196 void ConfigureVirtioChannel(xmlNode* devices, int port, const std::string& name, 201 auto vch = xmlNewChild(devices, nullptr, xc("channel"), nullptr); 216 // This section adds <interface> elements to <devices> node. 217 void ConfigureNIC(xmlNode* devices, const std::string& name 298 auto devices = xmlNewChild(root, nullptr, xc("devices"), nullptr); local [all...] |
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-alpha1/ |
sdklib-25.0.0-alpha1-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdklib/26.0.0/ |
sdklib-26.0.0-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdklib/26.0.0-beta6/ |
sdklib-26.0.0-beta6-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdklib/26.0.0-beta7/ |
sdklib-26.0.0-beta7-sources.jar | |