/external/tensorflow/tensorflow/python/framework/ |
D | device.py | 69 device_index=None): argument 89 self.device_index = device_index 97 self.device_index = None 167 self.device_index = int(y[1]) 173 self.device_index = int(y[2]) 193 if dev.device_index is not None: 194 self.device_index = dev.device_index 212 if self.device_index is not None: 213 device_index_string = str(self.device_index)
|
D | device_test.py | 39 device_type="CPU", device_index=2) 44 self.assertEqual(2, d.device_index) 47 d = device.DeviceSpec(device_type="GPU", device_index=0) 57 d.device_index = 0 63 d.device_index = 2 66 d.device_index = 1 69 d.device_index = None 99 self.assertEquals(None, d.device_index) 101 self.assertEquals(7, d.device_index) 103 self.assertEquals(7, d.device_index)
|
/external/adhd/cras/src/tests/ |
D | alsa_jack_unittest.cc | 206 unsigned int device_index, in run_test_with_elem_list() argument 221 device_index, in run_test_with_elem_list() 256 unsigned int device_index, in run_test_with_section() argument 272 device_index, in run_test_with_section() 418 int device_index, in run_gpio_jack_test() argument 438 jack_list = cras_alsa_jack_list_create(0, "c1", device_index, in run_gpio_jack_test() 456 int device_index = 1; in TEST() local 468 device_index, is_first_device, direction, should_create_jack, in TEST() 473 int device_index = 1; in TEST() local 485 device_index, is_first_device, direction, should_create_jack, in TEST() [all …]
|
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
D | audio_e2e_harness.cc | 75 int device_index; in RunHarness() local 76 for (device_index = 0; device_index < num_devices; device_index++) { in RunHarness() 77 ASSERT_EQ(0, hardware->GetPlayoutDeviceName(device_index, device_name, in RunHarness() 85 ASSERT_EQ(0, hardware->SetPlayoutDevice(device_index)); in RunHarness()
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | screen_capture_utils.cc | 22 for (int device_index = 0;; ++device_index) { in GetScreenList() local 25 enum_result = EnumDisplayDevices(NULL, device_index, &device, 0); in GetScreenList() 36 screen.id = device_index; in GetScreenList()
|
/external/adhd/cras/src/server/ |
D | cras_alsa_card.c | 85 unsigned device_index, in create_iodev_for_device() argument 98 if (alsa_iodev_index(node->iodev) == device_index) { in create_iodev_for_device() 101 card_name, dev_name, dev_id, device_index); in create_iodev_for_device() 113 device_index, in create_iodev_for_device() 128 info->card_index, device_index); in create_iodev_for_device() 136 device_index); in create_iodev_for_device() 161 size_t device_index) in should_ignore_dev() argument 168 device_index); in should_ignore_dev()
|
D | cras_alsa_jack.c | 126 size_t device_index; member 437 target_device_name, card_name, jack_list->device_index); in gpio_jack_match_device() 445 jack_list->device_index); in gpio_jack_match_device() 836 int device_index; in hctl_jack_device_index() local 844 device_index = atoi(substr); in hctl_jack_device_index() 845 if (device_index < 0) in hctl_jack_device_index() 847 return (unsigned int)device_index; in hctl_jack_device_index() 925 if (hctl_jack_device_index(name) != jack_list->device_index) in find_jack_controls() 981 != jack_list->device_index) in find_jack_controls() 1025 snd_ctl_elem_id_set_device(elem_id, jack_list->device_index); in find_hctl_jack_for_section() [all …]
|
D | cras_alsa_io.c | 135 uint32_t device_index; member 1566 size_t device_index, in set_iodev_name() argument 1578 device_index); in set_iodev_name() 1591 dev->info.stable_id = SuperFastHash((const char *)&device_index, in set_iodev_name() 1592 sizeof(device_index), in set_iodev_name() 1934 size_t device_index, in alsa_iodev_create() argument 1960 aio->device_index = device_index; in alsa_iodev_create() 1984 device_index); in alsa_iodev_create() 2054 set_iodev_name(iodev, card_name, dev_name, card_index, device_index, in alsa_iodev_create() 2061 device_index, in alsa_iodev_create() [all …]
|
D | cras_alsa_io.h | 41 size_t device_index,
|
D | cras_alsa_jack.h | 51 unsigned int device_index,
|
/external/adhd/cras/src/server/config/ |
D | cras_device_blacklist.c | 51 unsigned device_index) in cras_device_blacklist_check() argument 59 vendor_id, product_id, desc_checksum, device_index); in cras_device_blacklist_check()
|
D | cras_device_blacklist.h | 48 unsigned device_index);
|
/external/autotest/client/site_tests/audio_AlsaAPI/ |
D | audio_AlsaAPI.py | 62 for card_index, device_index in self._devices: 63 device = 'hw:%s,%s' % (card_index, device_index)
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
D | audio_mixer_manager_pulse_linux.h | 89 bool GetSinkInfoByIndex(int device_index)const ; 90 bool GetSourceInfoByIndex(int device_index) const;
|
D | audio_mixer_manager_pulse_linux.cc | 1131 int device_index) const { in GetSinkInfoByIndex() 1136 device_index, PaSinkInfoCallback, (void*) this); in GetSinkInfoByIndex() 1143 int device_index) const { in GetSourceInfoByIndex() 1148 _paContext, device_index, PaSourceInfoCallback, (void*) this); in GetSourceInfoByIndex()
|
/external/tensorflow/tensorflow/contrib/verbs/ |
D | rdma.cc | 122 int dev_num, device_index, device_to_open = 0; in set_device() local 131 for (device_index = 0; device_index < dev_num; device_index++) { in set_device() 133 ibv_get_device_name(dev_list[device_index]))) { in set_device() 134 CHECK(get_dev_active_port_count(dev_list[device_index]) != 0) in set_device() 135 << "Device " << ibv_get_device_name(dev_list[device_index]) in set_device() 137 return dev_list[device_index]; in set_device() 147 for (device_index = 0; device_index < dev_num; device_index++) { in set_device() 149 if (get_dev_active_port_count(dev_list[device_index]) > 0) { in set_device() 155 device_to_open = device_index; in set_device()
|
/external/tensorflow/tensorflow/python/client/ |
D | virtual_gpu_test.py | 107 for device_index in range(self._num_devices): 108 if self._device_probabilities[device_index] > random_num: 109 op_device += (device_index,)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.-device-spec.pbtxt | 19 …argspec: "args=[\'self\', \'job\', \'replica\', \'task\', \'device_type\', \'device_index\'], vara…
|
/external/tensorflow/tensorflow/contrib/framework/python/ops/ |
D | variables.py | 768 device_index=0, argument 789 self._device_index = device_index 798 device_index=self._device_index)
|
/external/tensorflow/tensorflow/python/distribute/ |
D | device_util.py | 52 replica=0, task=0, device_type="CPU", device_index=0)
|
/external/tensorflow/tensorflow/python/profiler/ |
D | pprof_profiler.py | 283 for device_index, device_stats in enumerate( 296 (device_index + 1, device_count, device_stats.device))
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu_system_metadata.py | 137 spec.device_index)
|
/external/webrtc/webrtc/sound/ |
D | pulseaudiosoundsystem.cc | 318 uint32_t device_index = symbol_table()->pa_stream_get_device_index()( in SetVolume() local 323 device_index, in SetVolume() 343 device_index, in SetVolume()
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | profile_analyzer_cli.py | 477 self, device_name, device_index, device_count, argument 536 device_index + 1, device_count, device_name)
|
/external/adhd/cras/ |
D | README | 27 <vendor_id>_<product_id>_<checksum>_<device_index> = 1
|