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

1 2 34 5 6 7 8 91011>>

  /external/libusb/libusb/os/
openbsd_usb.c 155 char devices[USB_MAX_DEVICES]; local
171 bzero(devices, sizeof(devices));
173 if (devices[addr])
237 devices[addr] = 1;
255 * Only open ugen(4) attached devices read-write, all
  /external/mesa3d/src/loader/
loader.c 158 /* Arbitrary "maximum" value of drm devices. */
162 drmDevicePtr devices[MAX_DRM_DEVICES]; local
182 num_devices = drmGetDevices(devices, MAX_DRM_DEVICES);
196 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER &&
197 !drm_device_matches_tag(devices[i], default_tag)) {
205 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER &&
206 drm_device_matches_tag(devices[i], prime)) {
215 drmFreeDevices(devices, num_devices);
219 fd = loader_open_device(devices[i]->nodes[DRM_NODE_RENDER]);
220 drmFreeDevices(devices, num_devices)
    [all...]
  /external/tensorflow/tensorflow/c/
c_api_internal.h 135 std::vector<tensorflow::Device*> devices; // Owned by device_mgr. member in struct:TF_Session
  /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/contrib/nccl/kernels/
nccl_manager_test.cc 32 std::vector<Device*> devices; local
38 ->AddDevices(session_options, "", &devices);
41 for (Device* d : devices) {
55 devices = new std::vector<BaseGPUDevice*>(GetGPUDevices());
56 CHECK(!devices->empty());
57 LOG(ERROR) << "Running test with " << devices->size() << " gpus";
60 for (auto device : *devices) delete device;
61 delete devices;
69 static std::vector<BaseGPUDevice*>* devices; member in class:tensorflow::NcclManagerTest
114 auto* device = devices->at(i % devices->size())
184 std::vector<BaseGPUDevice*>* NcclManagerTest::devices = nullptr; member in class:NcclManagerTest
    [all...]
  /external/tensorflow/tensorflow/core/grappler/
grappler_item_builder.cc 99 std::vector<Device*> devices; local
101 options, "/job:localhost/replica:0/task:0", &devices));
102 std::unique_ptr<DeviceMgr> dvc_mgr(new DeviceMgr(devices));
122 FunctionLibraryRuntime* flr = pflr->GetFLR(devices[0]->name());
135 optimizer.Optimize(flr, env, devices[0], &graphptr, /*shape_map=*/nullptr);
  /external/tensorflow/tensorflow/core/grappler/optimizers/
memory_optimizer_test.cc 213 std::unordered_map<string, DeviceProperties> devices; local
214 devices["/job:localhost/replica:0/task:0/cpu:0"] = cpu_device;
215 devices["/job:localhost/replica:0/task:0/gpu:0"] = gpu_device;
216 return std::unique_ptr<VirtualCluster>(new VirtualCluster(devices));
  /external/tensorflow/tensorflow/core/profiler/internal/
tfprof_timeline.h 116 const std::map<string, Device>& devices() const { return devices_; } function in class:tensorflow::tfprof::MemoryTracker
  /external/tensorflow/tensorflow/python/eager/
context.py 162 """Initialize handle and devices."""
180 # Store list of devices
212 devices = self._context_devices
213 if devices is None:
217 return devices
221 return "Eager TensorFlow Context. Devices currently uninitialized."
223 devices = self._devices
224 lines = ["Eager TensorFlow Context with %d devices" % (len(devices))]
225 for i, d in enumerate(devices)
334 def devices(self): member in class:Context
    [all...]
  /external/v4l2_codec2/vda/
v4l2_device.cc 227 VLOGF(1) << "No devices supporting " << std::hex << "0x" << v4l2_pixfmt
278 const auto& devices = GetDevicesForType(type); local
279 for (const auto& device : devices) {
426 // all platforms are updated to use numbered devices.
430 // devices are actually available. Try to open the first 10; if not present,
437 Devices devices; local
446 devices.push_back(std::make_pair(path, supported_pixelformats));
453 devices_by_type_[type] = devices;
456 const V4L2Device::Devices& V4L2Device::GetDevicesForType(Type type)
465 const Devices& devices = GetDevicesForType(type); local
    [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...]
win32devicemanager.cc 28 #include "talk/media/devices/win32devicemanager.h"
144 // If there are multiple capture devices, we want the first USB one.
146 std::vector<Device> devices; local
147 ret = (GetVideoCaptureDevices(&devices) && !devices.empty());
149 *device = devices[0];
150 for (size_t i = 0; i < devices.size(); ++i) {
151 if (strnicmp(devices[i].id.c_str(), kUsbDevicePathPrefix,
153 *device = devices[i];
175 bool Win32DeviceManager::GetVideoCaptureDevices(std::vector<Device>* devices) {
278 CComPtr<IMMDeviceCollection> devices; local
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioInputDescriptor.cpp 293 snprintf(buffer, SIZE, " Devices %08x\n", mDevice);
326 uint32_t AudioInputCollection::activeInputsCountOnDevices(audio_devices_t devices) const
332 ((devices == AUDIO_DEVICE_IN_DEFAULT) ||
333 ((inputDescriptor->mDevice & devices & ~AUDIO_DEVICE_BIT_IN) != 0))) {
358 audio_devices_t devices = inputDesc->mProfile->getSupportedDevicesType(); local
359 return devices;
AudioOutputDescriptor.cpp 29 // A device mask for all audio output devices that are considered "remote" when evaluating
30 // active output devices in isStreamActiveRemotely()
201 snprintf(buffer, SIZE, " Devices %08x\n", device());
713 audio_devices_t devices = outputDesc->mProfile->getSupportedDevicesType(); local
714 return devices;
ConfigParsingUtils.cpp 101 status_t ConfigParsingUtils::loadHwModuleDevice(cnode *root, DeviceVector &devices)
145 devices.add(deviceDesc);
177 DeviceVector devices; local
178 loadDevicesFromTag(node->value, devices, module->getDeclaredDevices());
179 profile->setSupportedDevices(devices);
209 ALOGW_IF(!profile->hasSupportedDevices(), "load%s() invalid supported devices",
212 ALOGV("load%s() adding Supported Devices %04x, mFlags %04x",
228 DeviceVector devices; local
231 status_t tmpStatus = loadHwModuleDevice(node, devices);
237 module->setDeclaredDevices(devices);
    [all...]
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpManager.java 105 // Handle devices that fail to obtain storages just after opening a MTP session.
120 final ArrayList<MtpDeviceRecord> devices = new ArrayList<>(); local
125 devices.add(createDeviceRecord(device));
127 return devices.toArray(new MtpDeviceRecord[devices.size()]);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
CastTile.java 152 final Set<CastDevice> devices = mController.getCastDevices(); local
154 for (CastDevice device : devices) {
170 mDetailAdapter.updateItems(devices);
264 private void updateItems(Set<CastDevice> devices) {
267 if (devices != null && !devices.isEmpty()) {
269 for (CastDevice device : devices) {
281 // otherwise list all available devices, and don't move them around
283 for (CastDevice device : devices) {
286 items = new Item[devices.size()]
    [all...]
  /frameworks/base/tools/preload2/src/com/android/preload/
Main.java 275 IDevice devices[] = DeviceUtils.findDevices(DEFAULT_TIMEOUT_MILLIS); local
276 if (devices == null || devices.length == 0) {
277 throw new RuntimeException("Could not find any devices...");
282 DeviceWrapper deviceWrappers[] = new DeviceWrapper[devices.length];
283 for (int i = 0; i < devices.length; i++) {
284 deviceWrappers[i] = new DeviceWrapper(devices[i]);
  /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...]
  /hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/
Stream.impl.h 249 hidl_vec<DeviceAddress> devices; local
251 devices.resize(1);
252 devices[0].device = static_cast<AudioDevice>(device);
254 _hidl_cb(retval, devices);
258 Return<Result> Stream::setDevices(const hidl_vec<DeviceAddress>& devices) {
260 if (devices.size() > 1) {
264 if (devices.size() == 1) {
265 address = devices[0];
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DeviceMenuListener.java 30 import com.android.sdklib.devices.Device;
104 // Group the devices by manufacturer, then put them in the menu.
105 // If we don't have anything but Nexus devices, group them together rather than
112 List<Device> devices; local
119 devices = manufacturers.get(device.getManufacturer());
121 devices = new ArrayList<Device>();
122 manufacturers.put(device.getManufacturer(), devices); local
124 devices.add(device);
127 for (List<Device> devices : manufacturers.values()) {
131 item.setText(devices.get(0).getManufacturer())
    [all...]
  /test/vti/dashboard/src/main/java/com/android/vts/job/
VtsCoverageAlertJobServlet.java 125 List<DeviceInfoEntity> devices = new ArrayList<>(); local
131 devices.add(deviceEntity);
135 String footer = EmailHelper.getEmailFooter(testRunEntity, devices, link);
  /test/vti/dashboard/src/main/java/com/android/vts/servlet/
ShowPlanReleaseServlet.java 70 public final List<String> devices; field in class:ShowPlanReleaseServlet.TestPlanRunMetadata
75 this.devices = new ArrayList<>();
81 devices.add(device.branch + "/" + device.buildFlavor + " (" + device.buildId + ")");
88 obj.add("deviceInfo", new JsonPrimitive(StringUtils.join(devices, ", ")));
201 Map<Key, Entity> devices = datastore.get(deviceGets); local
202 for (Key key : devices.keySet()) {
204 DeviceInfoEntity device = DeviceInfoEntity.fromEntity(devices.get(key));
249 request.setAttribute("devices", new Gson().toJson(DatastoreHelper.getAllBuildFlavors()));
ShowPlanRunServlet.java 117 List<DeviceInfoEntity> devices = new ArrayList<>(); local
121 devices.add(deviceEntity);
124 new TestRunMetadata(key.getParent().getName(), testRunEntity, devices);
  /test/vti/test_serving/gae/webapp/src/proto/
model.py 123 # devices is a comma-separated list of serial=product pairs
124 devices = ndb.StringProperty() variable in class:LabModel
172 devices = messages.MessageField( variable in class:HostInfoMessage

Completed in 1201 milliseconds

1 2 34 5 6 7 8 91011>>