HomeSort by relevance Sort by last modified time
    Searched refs:devices (Results 251 - 275 of 1444) sorted by null

<<11121314151617181920>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
AndroidJUnitLaunchInfo.java 81 public void setDevices(Collection<IDevice> devices) {
82 mDevices = devices;
  /external/autotest/server/hosts/
testbed_unittest.py 25 """Test locate_device call can allocate devices by given builds.
40 devices = testbed_1.locate_devices(images)
41 self.assertEqual(devices, dict(zip(serials, [BOARD_1_BUILD_1]*3)))
45 """Test locate_device call cannot allocate devices by given builds.
48 less than the number of devices the testbed has, it should fail to
49 locate devices for the test.
68 """Test locate_device call cannot allocate devices by given builds.
70 If the given builds are more than the number of devices the testbed has,
71 it should fail to locate devices for the test.
91 """Test locate_device call can allocate devices by given builds
    [all...]
  /external/f2fs-tools/lib/
libf2fs_zoned.c 29 struct device_info *dev = c.devices + i;
64 struct device_info *dev = c.devices + i;
109 struct device_info *dev = c.devices + j;
217 struct device_info *dev = c.devices + j;
281 struct device_info *dev = c.devices + i;
289 struct device_info *dev = c.devices + i;
301 ERR_MSG("%d: Zoned block devices are not supported\n", i);
307 ERR_MSG("%d: Zoned block devices are not supported\n", i);
  /external/tensorflow/tensorflow/python/grappler/
tf_optimizer.i 77 std::vector<tensorflow::Device*> devices;
78 tensorflow::Status status = tensorflow::DeviceFactory::AddDevices(options, "", &devices);
83 for (const tensorflow::Device* device : devices) {
  /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...]
  /hardware/libhardware_legacy/audio/
AudioDumpInterface.cpp 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status);
100 devices, lFormat, lChannels, lRate);
126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels,
134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics);
166 devices, lFormat, lChannels, lRate);
261 uint32_t devices,
266 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mLatency(0), mDevice(devices),
422 uint32_t devices,
427 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mDevice(devices),
    [all...]
AudioHardwareGeneric.cpp 68 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate);
102 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate,
106 if (!AudioSystem::isInputDevice((AudioSystem::audio_devices)devices)) {
122 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics);
195 uint32_t devices,
225 mDevice = devices;
314 uint32_t devices,
335 mDevice = 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) {
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
CachedBluetoothDeviceManagerTest.java 144 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); local
145 assertThat(devices).contains(cachedDevice1);
146 assertThat(devices).contains(cachedDevice2);
194 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); local
195 assertThat(devices).contains(cachedDevice1);
196 assertThat(devices).contains(cachedDevice2);
201 devices = mCachedDeviceManager.getCachedDevicesCopy();
202 assertThat(devices).contains(cachedDevice1);
203 assertThat(devices).doesNotContain(cachedDevice2);
208 devices = mCachedDeviceManager.getCachedDevicesCopy()
262 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); local
333 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); local
506 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); local
543 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); local
    [all...]
  /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()));
  /test/vti/test_serving/gae/webapp/src/endpoint/
job_queue.py 104 devices = device_query.fetch()
105 for device in devices:
168 devices = device_query.fetch()
174 logging.debug("[heartbeat] - devices = {}".format(
175 ", ".join([device.serial for device in devices])))
177 for device in devices:
182 for device in devices:
188 for device in devices:
  /external/tensorflow/tensorflow/contrib/estimator/python/estimator/
replicate_model_fn.py 54 devices=None):
66 If `devices` are `None`, then all available GPUs are going to be used for
138 devices: Optional list of devices to replicate the model across. This
155 devices,
170 """Variables are placed on a single device and shared across all devices.
180 """Variables are placed on all devices in a round-robin fashion.
183 copy of each variable that is shared across all devices.
190 devices=None,
196 if not devices
    [all...]
  /external/autotest/server/cros/servo/
pd_device.py 14 """Base clase for all PD devices
17 in TypeC FAFT tests. The base class is specific for Type C devices that
136 """Class for PD devices that have console access
204 disconnects in devices which support this feature. To disconnect,
244 logging.warn('DRP on both devices, 2nd power swap failed')
378 """Class for PD Plankton devices
382 for PD console devices.
592 contains methods to determine if USB PD devices are accessible
595 multiple PD devices.
655 is unique to Plankton PD devices
    [all...]
  /external/autotest/site_utils/
acts_lib.py 140 devices,
149 @param devices: The list of devices in the environment.
161 devices=devices,
167 """A container for testing android devices on a test station."""
169 def __init__(self, devices, testbed_name):
172 @param devices: The devices on the testbed to use.
175 self.devices = device
    [all...]
  /external/autotest/client/cros/cellular/pseudomodem/
dbus_std_ifaces.py 336 self.devices = []
343 Adds a device to the list of devices that are managed by this modem
351 self.devices.append(device)
358 Removes a device from the list of devices that are managed by this
366 if device in self.devices:
367 self.devices.remove(device)
385 for device in self.devices:
  /external/chromium-trace/catapult/devil/devil/android/tools/
device_recovery.py 6 """A script to recover devices in a known bad state."""
120 def RecoverDevices(devices, blacklist, enable_usb_reset=False):
121 """Attempts to recover any inoperable devices in the provided list.
124 devices: The list of devices to attempt to recover.
129 statuses = device_status.DeviceStatus(devices, blacklist)
177 device_utils.DeviceUtils.parallel(devices).pMap(
187 parser.add_argument('--known-devices-file', action='append', default=[],
203 devices = [device_utils.DeviceUtils(s)
206 RecoverDevices(devices, blacklist, enable_usb_reset=args.enable_usb_reset
    [all...]
  /external/libmojo/third_party/catapult/devil/devil/android/tools/
device_recovery.py 6 """A script to recover devices in a known bad state."""
103 def RecoverDevices(devices, blacklist):
104 """Attempts to recover any inoperable devices in the provided list.
107 devices: The list of devices to attempt to recover.
112 statuses = device_status.DeviceStatus(devices, blacklist)
152 device_utils.DeviceUtils.parallel(devices).pMap(
162 parser.add_argument('--known-devices-file', action='append', default=[],
194 devices = [device_utils.DeviceUtils(s)
197 RecoverDevices(devices, blacklist
    [all...]
  /external/ltp/testcases/kernel/power_management/
pm_include.sh 51 /sys/devices/system/cpu/cpu${cpu}/topology/physical_package_id)
70 if [ ! -d /sys/devices/system/cpu/cpu${cpu}/cpufreq ] ; then
79 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies \
84 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors \
127 /sys/devices/system/cpu/cpu?/topology/physical_package_id \
  /frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
UsbHostManagementActivity.java 84 LinkedList<UsbDevice> devices = UsbUtil.findAllPossibleAndroidDevices(usbManager); local
85 if (devices.size() > 0) {
86 mUsbDevice = devices.getLast();
169 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local
171 sb.append("Usb devices\n");
172 for (UsbDevice device : devices.values()) {
  /device/google/wahoo/
init.hardware.rc 20 write /sys/devices/system/cpu/cpu2/online 0
21 write /sys/devices/system/cpu/cpu3/online 0
22 write /sys/devices/system/cpu/cpu4/online 0
23 write /sys/devices/system/cpu/cpu5/online 0
24 write /sys/devices/system/cpu/cpu6/online 0
25 write /sys/devices/system/cpu/cpu7/online 0
28 write /sys/devices/soc/${ro.boot.bootdevice}/clkscale_enable 1
29 write /sys/devices/soc/${ro.boot.bootdevice}/clkgate_enable 1
45 write /sys/devices/soc/${ro.boot.bootdevice}/clkscale_enable 0
46 write /sys/devices/soc/${ro.boot.bootdevice}/clkgate_enable
    [all...]
  /development/python-packages/fastboot/
device.py 69 devices = _subprocess_check_output([self.path, 'devices']).splitlines()
70 return len(devices) == 1 and devices[0].split()[1] == 'fastboot'
132 skip_secondary: on A/B devices, flashes only the primary images if true.
  /external/autotest/server/cros/bluetooth/
bluetooth_tester.py 99 """Discover remote devices.
101 Activates device discovery and collects the set of devices found,
104 @param br_edr: Whether to detect BR/EDR devices.
105 @param le_public: Whether to detect LE Public Address devices.
106 @param le_random: Whether to detect LE Random Address devices.
108 @return List of devices found as tuples with the format
113 devices = self._proxy.discover_devices(br_edr, le_public, le_random)
114 if devices == False:
121 in json.loads(devices)
  /external/autotest/server/site_tests/bluetooth_Sanity_Discovery/
bluetooth_Sanity_Discovery.py 23 """Retrieve devices from client and look for tester.
28 # Get the set of devices known to the DUT.
29 devices = self.device.get_devices()
30 if devices == False:
31 raise error.TestFail('Could not retrieve devices from DUT')
34 for device in devices:
65 self.interactive.append_list_item('devices', item_name,
112 self.interactive.append_output('<h2>Devices Found</h2>')
113 self.interactive.append_list('devices')
123 # Discover devices from the DUT
    [all...]
  /external/autotest/server/site_tests/bluetooth_Sanity_LEDiscovery/
bluetooth_Sanity_LEDiscovery.py 23 """Retrieve devices from client and look for tester.
28 # Get the set of devices known to the DUT.
29 devices = self.device.get_devices()
30 if devices == False:
31 raise error.TestFail('Could not retrieve devices from DUT')
34 for device in devices:
65 self.interactive.append_list_item('devices', item_name,
113 self.interactive.append_output('<h2>Devices Found</h2>')
114 self.interactive.append_list('devices')
124 # Discover devices from the DUT
    [all...]
  /external/libmojo/third_party/catapult/devil/devil/android/
device_errors.py 106 """Exception for having no devices attached."""
110 'No devices attached.', is_infra_error=True)
114 """Exception for having multiple attached devices without selecting one."""
116 def __init__(self, devices):
117 parallel_devices = parallelizer.Parallelizer(devices)
121 'by serial.\n\nAvailable devices:\n')
122 for d, desc in zip(devices, descriptions):

Completed in 827 milliseconds

<<11121314151617181920>>