HomeSort by relevance Sort by last modified time
    Searched defs:devices (Results 51 - 75 of 845) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/tensorflow/tensorflow/core/distributed_runtime/
worker.cc 34 std::vector<DeviceAttributes> devices; local
35 dm->ListDeviceAttributes(&devices);
36 response->mutable_device_attributes()->Reserve(devices.size());
37 for (auto& d : devices) {
  /external/tensorflow/tensorflow/core/grappler/clusters/
single_machine.cc 81 std::vector<DeviceAttributes> devices; local
82 TF_RETURN_IF_ERROR(session_->ListDevices(&devices));
84 for (const auto& dev : devices) {
91 // Filter out the fake XLA devices to avoid double counting the actual
213 std::vector<Device*> devices = device_mgr->ListDevices(); local
216 for (Device* device : devices) {
402 std::vector<Device*> devices = device_mgr->ListDevices(); local
404 for (Device* device : devices) {
  /external/tensorflow/tensorflow/core/grappler/costs/
analytical_cost_estimator_test.cc 32 std::unordered_map<string, DeviceProperties> devices; variable
38 devices["/job:localhost/replica:0/task:0/cpu:0"] = cpu_device;
45 devices["/job:localhost/replica:0/task:0/device:GPU:0"] = gpu_device;
47 cluster_.reset(new VirtualCluster(devices));
  /external/vulkan-validation-layers/libs/vkjson/
vkjson.h 121 std::vector<VkJsonDevice> devices; member in struct:VkJsonInstance
  /external/webrtc/talk/media/devices/
devicemanager.cc 28 #include "talk/media/devices/devicemanager.h"
32 #include "talk/media/devices/deviceinfo.h"
33 #include "talk/media/devices/filevideocapturer.h"
34 #include "talk/media/devices/yuvframescapturer.h"
94 std::vector<Device> devices; local
96 if (GetAudioInputDevices(&devices) && !devices.empty()) {
99 if (GetAudioOutputDevices(&devices) && !devices.empty()) {
102 if (GetVideoCaptureDevices(&devices) && !devices.empty())
144 std::vector<Device> devices; local
287 std::vector<Device> devices; local
306 std::vector<Device> devices; local
    [all...]
devicemanager_unittest.cc 28 #include "talk/media/devices/devicemanager.h"
40 #include "talk/media/devices/filevideocapturer.h"
41 #include "talk/media/devices/v4llookup.h"
125 std::vector<Device> devices; local
128 EXPECT_TRUE(dm->GetVideoCaptureDevices(&devices));
152 // Test enumerating devices (although we may not find any).
164 // If we have any video devices, we should be able to pick a default.
170 // Test that we return correct ids for default and bogus devices.
237 static bool CompareDeviceList(std::vector<Device>& devices,
239 if (list_size != static_cast<int>(devices.size()))
272 std::vector<Device> devices; local
305 std::vector<std::string> devices; local
332 std::vector<std::string> devices; local
361 std::vector<std::string> devices; local
    [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...]
  /frameworks/av/services/audiopolicy/enginedefault/src/
Engine.cpp 308 // Force use of only devices on primary output if:
318 // TODO: getPrimaryOutput return only devices from first module in
333 // for phone strategy, we first consider the forced use and then the available devices by
477 audio_devices_t devices = desc->device() & local
480 devices != AUDIO_DEVICE_NONE) {
481 availableOutputDevicesType = availableOutputDevices.types() & ~devices;
667 // Allow only use of devices on primary input if in call and HAL does not support routing
    [all...]
  /frameworks/base/media/java/android/media/
AudioRecordingConfiguration.java 207 final AudioDeviceInfo[] devices = local
209 for (int j = 0; j < devices.length; j++) {
210 if (devices[j].getId() == devId) {
211 return devices[j];
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
RootScanner.java 135 // Update devices.
136 final MtpDeviceRecord[] devices = mManager.getDevices(); local
139 for (final MtpDeviceRecord device : devices) {
156 for (final MtpDeviceRecord device : devices) {
181 if (devices.length == 0) {
  /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));
  /frameworks/native/vulkan/vkjson/
vkjson.h 121 std::vector<VkJsonDevice> devices; member in struct:VkJsonInstance
  /packages/services/Telecomm/src/com/android/server/telecom/
WiredHeadsetManager.java 53 public void onAudioDevicesRemoved(AudioDeviceInfo[] devices) {
105 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_ALL); local
107 for (AudioDeviceInfo device : devices) {
  /sdk/dumpeventlog/src/com/android/dumpeventlog/
DumpEventLog.java 116 // now get the devices
117 IDevice[] devices = bridge.getDevices(); local
119 for (IDevice device : devices) {
  /system/bt/btif/include/
btif_hh.h 73 /* Control block to maintain properties of devices */
81 * BTIF-HH control block to maintain added devices and currently
82 * connected hid devices
86 btif_hh_device_t devices[BTIF_HH_MAX_HID]; member in struct:__anon1708
  /system/vold/
Keymaster.cpp 99 auto devices = KmDevice::enumerateAvailableDevices(); local
101 KmDevice::performHmacKeyAgreement(devices);
104 for (auto& dev : devices) {
  /test/vti/dashboard/src/main/java/com/android/vts/util/
TestRunMetadata.java 35 private final List<DeviceInfoEntity> devices; field in class:TestRunMetadata
45 * @param devices The list of device entities describing the test run.
47 public TestRunMetadata(String testName, TestRunEntity testRun, List<DeviceInfoEntity> devices) {
52 this.devices = devices;
71 this.devices.add(device);
79 for (DeviceInfoEntity device : this.devices) {
99 * @return The string descriptor of the devices used in the test run.
  /test/vti/dashboard/src/test/java/com/android/vts/job/
VtsAlertJobServletTest.java 103 List<String> devices = new ArrayList<>(); local
104 devices.add("flavor2");
111 testKey, user, branches, devices, testCaseNames, null);
128 List<String> devices = new ArrayList<>(); local
129 devices.add("flavor1");
136 testKey, user, branches, devices, testCaseNames, null);
  /test/vts/harnesses/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
ModuleDefMultiDeviceTest.java 67 ArrayList<ITestDevice> devices = new ArrayList<>(); local
68 devices.add(mMockDevice);
71 EasyMock.expect(mInvocationContext.getDevices()).andReturn(devices);
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
BasicAdapterTest.java 163 Set<BluetoothDevice> devices = adapter.getBondedDevices(); local
164 assertNotNull(devices);
165 for (BluetoothDevice device : devices) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
VulkanFeaturesTest.java 106 Log.d(TAG, "Inspecting " + mVulkanDevices.length + " devices");
110 " is supported, but no Vulkan physical devices are available",
113 " is supported, but no Vulkan physical devices are available",
116 " is supported, but no Vulkan physical devices are available",
120 assertNotNull("Vulkan physical devices are available, but system feature " +
123 assertNotNull("Vulkan physical devices are available, but system feature " +
176 assertTrue("Devices with Vulkan 1.1 must support SYNC_FD external semaphores",
180 assertTrue("Devices with Vulkan 1.1 must support SYNC_FD external fences",
184 assertTrue("Devices with Vulkan 1.1 must support sampler YCbCr conversion",
194 "VR high-performance devices must support Vulkan 1.0 with Hardware Level 0, "
339 JSONObject[] devices = new JSONObject[vkjson.length()]; 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...]
  /external/blktrace/btt/
bt_timeline.c 30 char *devices, *exes, *input_name, *output_name, *seek_name, *bno_dump_name; variable
  /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/e2fsprogs/misc/
blkid.c 64 "\tdev\tspecify device(s) to probe (default: all devices)\n",
282 char *devices[128] = { NULL, }; local
361 devices[numdev++] = argv[optind++];
387 /* Load any additional devices not in the cache */
389 blkid_get_dev(cache, devices[i], BLKID_DEV_NORMAL);
396 /* If we didn't specify a single device, show all available devices */
413 /* Add all specified devices to cache (optionally display tags) */
415 blkid_dev dev = blkid_get_dev(cache, devices[i],

Completed in 665 milliseconds

1 23 4 5 6 7 8 91011>>