/external/libmojo/third_party/catapult/devil/devil/utils/ |
battor_device_mapping.py | 13 obtained via 'adb devices' or 'usb-devices', and is not expected 19 obtained via 'usb-devices', and is not expected to change for 53 the user could move around the devices in the ports without affecting 68 can change if devices are connected and disconnected (even if connected
|
/external/libusb/libusb/os/ |
linux_udev.c | 255 struct udev_list_entry *devices, *entry; local 271 devices = udev_enumerate_get_list_entry(enumerator); 273 udev_list_entry_foreach(entry, devices) {
|
/external/tensorflow/tensorflow/contrib/kfac/python/ops/ |
estimator.py | 36 def __init__(self, devices): 52 devices: An iterable of device strings (or None). Successive calls to 53 __call__ will give contexts which place devices on these devices in 56 self._cycle = None if devices is None else itertools.cycle(devices) 129 computations will be placed on these devices in a round-robin fashion. 130 Can be None, which means that no devices are specified. 132 computations will be placed on these devices in a round-robin fashion. 133 Can be None, which means that no devices are specified [all...] |
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
static_schedule_test.cc | 42 std::unordered_map<string, DeviceProperties> devices; local 43 devices["/job:localhost/replica:0/task:0/cpu:0"] = cpu_device; 44 return std::unique_ptr<VirtualCluster>(new VirtualCluster(devices));
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
scc_test.cc | 31 std::unordered_map<string, DeviceProperties> devices; variable 33 devices["MY_DEVICE"] = unknown_device; 34 cluster_.reset(new VirtualCluster(devices));
|
/frameworks/ml/nn/runtime/test/ |
TestExecution.cpp | 160 std::vector<std::shared_ptr<Device>> devices; local 163 devices.push_back(device); 164 return static_cast<Result>(builder()->finish(devices));
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.cpp | 46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, 69 if (!AudioSystem::isInputDevice((AudioSystem::audio_devices)devices)) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
AddAccessoryPreferenceFragment.java | 76 public void updateList(List<BluetoothDevice> devices, String currentTargetAddress, 88 if (devices == null) { 92 // Add entries for the discovered Bluetooth devices 93 for (BluetoothDevice bt : devices) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
AndroidJUnitLaunchAction.java | 59 * Launch a instrumentation test run on given Android devices. 67 public boolean doLaunchAction(DelayedLaunchInfo info, Collection<IDevice> devices) { 69 mLaunchInfo.getRunner(), JOINER.join(devices)); 74 mLaunchInfo.setDevices(devices);
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
ShowPlanRunServlet.java | 117 List<DeviceInfoEntity> devices = new ArrayList<>(); local 121 devices.add(deviceEntity); 124 new TestRunMetadata(key.getParent().getName(), testRunEntity, devices);
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
EmailHelper.java | 56 * @param devices The list of devices whose fingerprints to include in the email, or null. 61 TestRunEntity testRun, List<DeviceInfoEntity> devices, String link) { 64 if (devices != null) { 65 for (DeviceInfoEntity device : devices) {
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
Workspace.java | 177 private JTable devices; field in class:Workspace 194 devices.changeSelection(0, 0, false, false); 259 devices = new JTable(devicesTableModel); 260 devices.getSelectionModel().addListSelectionListener(new DeviceSelectedListener()); 261 devices.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 262 devices.setBorder(null); 263 JScrollPane devicesScroller = new JScrollPane(devices); 1413 private ArrayList<IDevice> devices; field in class:Workspace.DevicesTableModel [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkQueryUtil.cpp | 78 vector<VkPhysicalDevice> devices; local 84 devices.resize(numDevices); 85 VK_CHECK(vk.enumeratePhysicalDevices(instance, &numDevices, &devices[0])); 87 if ((size_t)numDevices != devices.size()) 91 return devices;
|
/external/tensorflow/tensorflow/c/eager/ |
c_api_test.cc | 100 TF_DeviceList* devices = TFE_ContextListDevices(ctx, status.get()); local 103 const int num_devices = TF_DeviceListCount(devices); 105 const string device_type(TF_DeviceListType(devices, i, status.get())); 107 const string device_name(TF_DeviceListName(devices, i, status.get())); 112 TF_DeleteDeviceList(devices); 116 TF_DeleteDeviceList(devices); 174 TF_DeviceList* devices = TFE_ContextListDevices(ctx, status); local 180 const int num_devices = TF_DeviceListCount(devices); 183 EXPECT_NE("", TF_DeviceListName(devices, i, status)) << i; 186 TF_DeleteDeviceList(devices); 220 TF_DeviceList* devices = TFE_ContextListDevices(ctx, status.get()); local 289 TF_DeviceList* devices = TFE_ContextListDevices(ctx, status.get()); local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_sharding.cc | 61 "devices=", VectorString(tile_assignment_), "}"); 71 const auto& devices = tile_assignment_; member in namespace:xla 73 std::find(devices.begin(), devices.end(), device) != devices.end(); 152 "UniqueDevice() called on sharding that executes on multiple devices"); 309 std::vector<int64> devices(proto.tile_assignment_devices().begin(),
|
/external/toybox/toys/pending/ |
fsck.c | 39 struct double_list *devices; 373 dlist_add(&TT.devices, xstrdup(*arg)); 388 if (!TT.devices || (toys.optflags & FLAG_A)) { 394 dev = TT.devices; 421 llist_traverse(TT.devices, llist_free_double);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
CastControllerImpl.java | 134 final ArraySet<CastDevice> devices = new ArraySet<CastDevice>(); local 143 devices.add(device); 144 return devices; 159 devices.add(device); 162 return devices;
|
/frameworks/compile/libbcc/gdb_plugin/ |
android-commands.py | 25 # set-android-device to select a target (only if multiple devices are attached) 116 devices = self.devices() 117 if len(devices) == 1: 118 self.set_current_device(devices[0]) 122 if len(devices) == 0: 123 msg = "No devices detected. Please connect a device and " 125 msg = "Too many devices (" + ", ".join(devices) + ") detected. " \ 245 # Returns the list of serial numbers of connected devices 246 def devices(self): member in class:ADB [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
HearingAidService.java | 56 // Upper limit of all HearingAid devices: Bonded or Connected 312 List<BluetoothDevice> devices = new ArrayList<>(); local 315 devices.add(sm.getDevice()); 318 return devices; 362 ArrayList<BluetoothDevice> devices = new ArrayList<>(); local 364 return devices; 368 return devices; 383 devices.add(device); 388 return devices; 393 * Get the list of devices that have state machines 399 List<BluetoothDevice> devices = new ArrayList<>(); local [all...] |
/device/linaro/hikey/audio/ |
audio_hw.c | 70 int devices; member in struct:alsa_audio_device 212 if (((adev->devices & AUDIO_DEVICE_OUT_ALL) != val) && (val != 0)) { 213 adev->devices &= ~AUDIO_DEVICE_OUT_ALL; 214 adev->devices |= val; 434 audio_devices_t devices, 591 audio_devices_t devices, 686 adev->devices = AUDIO_DEVICE_NONE;
|
/tools/acloud/public/ |
device_driver.py | 57 """A class that manages a pool of devices.""" 59 def __init__(self, cfg, devices=None): 60 self._devices = devices or [] 166 """Creates |num| devices for given build_target and build_id. 177 num: Number of devices to create. 223 self.devices.append(avd.AndroidVirtualDevice( 230 """Deletes devices. 243 """Waits for all devices to boot up. 259 def devices(self): member in class:AndroidVirtualDevicePool 260 """Returns a list of devices in the pool [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioStreamInALSA.cpp | 144 if ((mHandle->devices == AudioSystem::DEVICE_IN_VOICE_CALL) && 176 } else if(mHandle->devices == AudioSystem::DEVICE_IN_FM_RX) { 178 } else if (mHandle->devices == AudioSystem::DEVICE_IN_FM_RX_A2DP) { 193 if ((mHandle->devices == AudioSystem::DEVICE_IN_VOICE_CALL) && 225 } else if(mHandle->devices == AudioSystem::DEVICE_IN_FM_RX) { 227 } else if (mHandle->devices == AudioSystem::DEVICE_IN_FM_RX_A2DP) { 259 if((mHandle->devices == AudioSystem::DEVICE_IN_ANLG_DOCK_HEADSET)|| 260 (mHandle->devices == AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)){ 294 if((mHandle->devices == AudioSystem::DEVICE_IN_ANLG_DOCK_HEADSET)|| 295 (mHandle->devices == AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)) [all...] |
audio_hw_hal.cpp | 65 /* output devices */ 96 /* input devices */ 516 uint32_t devices, 532 out->qcom_out = qadev->hwif->openOutputSession(devices, format,&status,sessionId,samplingRate,channels); 554 audio_devices_t devices, 569 devices = convert_audio_device(devices, HAL_API_REV_2_0, HAL_API_REV_1_0); 572 out->qcom_out = qadev->hwif->openOutputStream(devices, 622 audio_devices_t devices, 638 devices = convert_audio_device(devices, HAL_API_REV_2_0, HAL_API_REV_1_0) [all...] |
/system/bt/btif/src/ |
btif_hh.cc | 116 * turned ON by default. Add devices to this list to apply the 333 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && 334 btif_hh_cb.devices[i].dev_handle == handle) { 335 return &btif_hh_cb.devices[i]; 352 if (btif_hh_cb.devices[i].dev_status != BTHH_CONN_STATE_UNKNOWN && 353 btif_hh_cb.devices[i].bd_addr == bd_addr) { 354 return &btif_hh_cb.devices[i]; 373 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && 374 btif_hh_cb.devices[i].bd_addr == bd_addr) { 375 return &btif_hh_cb.devices[i] [all...] |
/external/tensorflow/tensorflow/contrib/estimator/python/estimator/ |
replicate_model_fn_test.py | 132 estimator.model_fn, devices=['/gpu:0', '/gpu:1', '/gpu:2']) 136 devices=['/gpu:0', '/gpu:1', '/gpu:2'], 222 devices=['/gpu:0', '/gpu:1']) 251 self.model_fn, losses.Reduction.MEAN, devices=['/gpu:0', '/gpu:1']) 289 devices=['/gpu:0', '/gpu:1']) 312 devices=['/gpu:0', '/gpu:1']) 341 self.model_fn, losses.Reduction.MEAN, devices=['/gpu:0', '/gpu:1']) 370 self.model_fn, devices=['/gpu:0', '/gpu:1']) 385 self.model_fn, devices=['/gpu:0']) 407 self.model_fn, devices=['/gpu:0'] [all...] |