Home
last modified time | relevance | path

Searched refs:SetDevice (Results 1 – 25 of 37) sorted by relevance

12

/external/webrtc/modules/audio_device/win/
Daudio_device_module_win.h36 virtual int SetDevice(int index) = 0;
37 virtual int SetDevice(AudioDeviceModule::WindowsDeviceType device) = 0;
60 virtual int SetDevice(int index) = 0;
61 virtual int SetDevice(AudioDeviceModule::WindowsDeviceType device) = 0;
Dcore_audio_output_win.h40 int SetDevice(int index) override;
41 int SetDevice(AudioDeviceModule::WindowsDeviceType device) override;
Dcore_audio_input_win.h40 int SetDevice(int index) override;
41 int SetDevice(AudioDeviceModule::WindowsDeviceType device) override;
Dcore_audio_output_win.cc62 int CoreAudioOutput::SetDevice(int index) { in SetDevice() function in webrtc::webrtc_win::CoreAudioOutput
66 return CoreAudioBase::SetDevice(index); in SetDevice()
69 int CoreAudioOutput::SetDevice(AudioDeviceModule::WindowsDeviceType device) { in SetDevice() function in webrtc::webrtc_win::CoreAudioOutput
75 return SetDevice((device == AudioDeviceModule::kDefaultDevice) ? 0 : 1); in SetDevice()
Dcore_audio_input_win.cc64 int CoreAudioInput::SetDevice(int index) { in SetDevice() function in webrtc::webrtc_win::CoreAudioInput
68 return CoreAudioBase::SetDevice(index); in SetDevice()
71 int CoreAudioInput::SetDevice(AudioDeviceModule::WindowsDeviceType device) { in SetDevice() function in webrtc::webrtc_win::CoreAudioInput
77 return SetDevice((device == AudioDeviceModule::kDefaultDevice) ? 0 : 1); in SetDevice()
Daudio_device_module_win.cc227 return output_->SetDevice(index); in SetPlayoutDevice()
235 return output_->SetDevice(device); in SetPlayoutDevice()
240 return input_->SetDevice(index); in SetRecordingDevice()
247 return input_->SetDevice(device); in SetRecordingDevice()
Dcore_audio_base_win.h86 int SetDevice(int index);
Dcore_audio_base_win.cc293 int CoreAudioBase::SetDevice(int index) { in SetDevice() function in webrtc::webrtc_win::CoreAudioBase
755 if (SetDevice(kDefault) == -1) { in SwitchDeviceIfNeeded()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dset_device.cc23 Status SetDevice(const GraphDef& input_graph_def, in SetDevice() function
44 REGISTER_GRAPH_TRANSFORM("set_device", SetDevice);
Dset_device_test.cc32 Status SetDevice(const GraphDef& input_graph_def,
90 TF_ASSERT_OK(SetDevice(graph_def, context, &result)); in TEST()
113 TF_ASSERT_OK(SetDevice(graph_def, context, &result)); in TEST()
/external/tensorflow/tensorflow/core/debug/
Dgrpc_session_debug_test.cc215 void SetDevice(GraphDef* graph, const string& name, const string& dev) { in SetDevice() function
247 SetDevice(&def, a->name(), a_dev.name()); in TEST_F()
248 SetDevice(&def, b->name(), b_dev.name()); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dcpu_binary_ops_test.cc32 SetDevice(tensorflow::DEVICE_CPU, std::move(device_cpu)); in SetUp()
Dcpu_unary_ops_test.cc32 SetDevice(tensorflow::DEVICE_CPU, std::move(device_cpu)); in SetUp()
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dcluster.h60 void SetDevice(const std::string& device) { device_ = device; } in SetDevice() function
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session_test.cc399 void SetDevice(GraphDef* graph, const string& name, const string& dev) { in SetDevice() function
440 SetDevice(&def, a->name(), a_dev.name()); in TEST()
441 SetDevice(&def, b->name(), b_dev.name()); in TEST()
442 SetDevice(&def, c->name(), c_dev.name()); in TEST()
512 SetDevice(&def, fill_node->name(), cluster->devices()[0].name()); in TEST()
513 SetDevice(&def, fill_node->name(), cluster->devices()[1].name()); in TEST()
552 SetDevice(&def, a->name(), a_dev.name()); in TEST()
553 SetDevice(&def, b->name(), b_dev.name()); in TEST()
605 SetDevice(&def, a->name(), src.name()); in TEST()
606 SetDevice(&def, b->name(), dst0.name()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Ddepthwise_conv_ops_test.cc43 SetDevice(DEVICE_GPU, in Run()
Dops_testutil.h77 void SetDevice(const DeviceType& device_type, std::unique_ptr<Device> device);
Dops_testutil.cc103 void OpsTestBase::SetDevice(const DeviceType& device_type, in SetDevice() function in tensorflow::OpsTestBase
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_nearest_neighbor_op_test.cc47 SetDevice(DEVICE_GPU, std::move(device_gpu)); in SetUp()
86 SetDevice(DEVICE_GPU, std::move(device_gpu)); in SetUp()
/external/tensorflow/tensorflow/compiler/tests/
Dunary_ops_composition_test.cc59 SetDevice(DeviceType(xla_device_name), in RunComposedOp()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcore.cc221 SetDevice(device); in Execute()
Deager_operation.h72 void SetDevice(VariantDevice device) { in SetDevice() function
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_resource_ops_test.cc110 SetDevice(DEVICE_GPU, std::move(device)); in TEST_F()
Dtrt_engine_op_test.cc91 OpsTestBase::SetDevice(DEVICE_GPU, std::move(device));
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_copy_node.cc128 op.SetDevice(send_device_); in StartSend()
281 op.SetDevice(recv_device_); in StartRecv()

12