/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/ |
CompilationBuilder.h | 45 int finish(const std::vector<std::shared_ptr<Device>>& devices);
|
/test/vti/dashboard/src/main/webapp/js/ |
test_acknowledgments.js | 169 var devices = Array.from(deviceSet); 170 devices.sort(); 177 'devices' : devices, 182 var newAck = createAcknowledgment(newKey, test, branches, devices, testCaseNames, note); 203 * @param devices (Set) The list of all devoces in the acknowledgment. 207 function showModal(ack, key, test, branches, devices, testCases, note) { 241 deviceHeader.append('<b>Devices:</b>'); 244 addChips(deviceSet, deviceChips, devices, allDevicesLabel); 322 * @param devices (Set) The list of all devoces in the acknowledgment 176 'branches' : branches, property in class:saveCallback.data [all...] |
/test/vti/test_serving/gae/webapp/src/tasks/ |
indexing.py | 48 devices = device_query.fetch() 49 for device in devices: 85 devices = device_query.fetch() 86 for device in devices:
|
/external/autotest/client/profilers/powertop/src/ |
urbnum.c | 48 static struct device_data *devices; variable in typeref:struct:device_data 53 ptr = devices; 68 ptr = devices; 96 ptr->next = devices; 97 devices = ptr; 119 /* some devices have bogus names */ 140 dir = opendir("/sys/bus/usb/devices"); 148 sprintf(pathname, "/sys/bus/usb/devices/%s", dirent->d_name); 161 dev = devices; 177 dev = devices; [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...] |
/test/vts-testcase/kernel/api/sysfs/ |
KernelApiSysfsTest.py | 111 Confirm /sys/devices/system/cpu/online exists and is read-only. 115 filepath = '/sys/devices/system/cpu/online' 127 f = '/sys/devices/system/cpu/online' 135 'malformatted range in /sys/devices/system/cpu/online') 143 f = '/sys/devices/system/cpu/cpu%s/cpufreq/scaling_cur_freq' % cpu 147 f = '/sys/devices/system/cpu/cpu%s/cpufreq/scaling_min_freq' % cpu 151 f = '/sys/devices/system/cpu/cpu%s/cpufreq/scaling_max_freq' % cpu 155 f = '/sys/devices/system/cpu/cpu%s/cpufreq/scaling_available_frequencies' % cpu 161 f = '/sys/devices/system/cpu/cpu%s/cpufreq/stats/time_in_state' % cpu 188 '''Check the value of /sys/devices/system/cpu/kernel_max.'' [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
program.cpp | 44 return !count(dev, prog.context().devices()); 89 return !count(dev, ctx.devices()); 140 return !count(dev, ctx.devices()); 180 ref_vector<device>(prog.context().devices())); 206 ref_vector<device>(prog.context().devices())); 285 ref_vector<device>(ctx.devices()))); 334 buf.as_scalar<cl_uint>() = (prog.devices().size() ? 335 prog.devices().size() : 336 prog.context().devices().size()); 340 buf.as_vector<cl_device_id>() = (prog.devices().size() [all...] |
/external/f2fs-tools/lib/ |
libf2fs_io.c | 47 if (c.devices[i].start_blkaddr <= blk_addr && 48 c.devices[i].end_blkaddr >= blk_addr) { 50 c.devices[i].start_blkaddr << F2FS_BLKSIZE_BITS; 51 return c.devices[i].fd; 270 if (fsync(c.devices[i].fd) < 0) { 285 f2fs_sparse_file = sparse_file_import(c.devices[0].fd, 321 ret = ftruncate(c.devices[0].fd, 0); 323 lseek(c.devices[0].fd, 0, SEEK_SET); 344 sparse_file_write(f2fs_sparse_file, c.devices[0].fd, 361 ret = fsync(c.devices[i].fd) [all...] |
/external/webrtc/talk/media/devices/ |
linuxdevicemanager.cc | 28 #include "talk/media/devices/linuxdevicemanager.h" 32 #include "talk/media/devices/libudevsymboltable.h" 33 #include "talk/media/devices/v4llookup.h" 113 LOG(LS_ERROR) << "Can't enumerate devices"; 118 // device at index 0, but Enumerate(Capture|Playback)Devices does not include 137 std::vector<Device>* devices) { 148 devices->push_back(Device(device_name, device_name)); 241 static void ScanV4L2Devices(std::vector<Device>* devices) { 242 LOG(LS_INFO) << ("Enumerating V4L2 devices"); 271 devices->push_back [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...] |
/external/ImageMagick/MagickCore/ |
opencl.c | 199 if (clEnv->devices != (MagickCLDevice *) NULL) 202 clEnv->devices[i]=RelinquishMagickCLDevice(clEnv->devices[i]); 203 clEnv->devices=(MagickCLDevice *) RelinquishMagickMemory(clEnv->devices); 381 clEnv->devices[i]->enabled=MagickFalse; 385 device=clEnv->devices[i]; 395 other_device=clEnv->devices[j]; 796 Set the score for all devices that match this device. 800 device=clEnv->devices[i] 2138 *devices; local [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.cpp | 721 AudioHardwareALSA::openOutputStream(uint32_t devices, 728 ALOGV("openOutputStream: devices 0x%x channels %d sampleRate %d", 729 devices, *channels, *sampleRate); 738 if (devices & (devices - 1)) { 740 ALOGE("openOutputStream called with bad devices"); 746 if((devices == AudioSystem::DEVICE_OUT_DIRECTOUTPUT) && 775 alsa_handle.devices = devices; 805 alsa_handle.devices = AudioSystem::DEVICE_OUT_PROXY [all...] |
/build/make/core/ |
device.mk | 25 $(info DEVICES.$(1).$(v) := $(DEVICES.$(1).$(v))))\ 29 define dump-devices 30 $(foreach p,$(DEVICES),$(call dump-device,$(p))) 44 #TODO: check to make sure that devices have all the necessary vars defined 45 define import-devices 46 $(call import-nodes,DEVICES,$(1),$(_device_var_list)) 56 $(foreach d,$(DEVICES), \ 57 $(if $(filter $(dn),$(DEVICES.$(d).DEVICE_NAME)), \
|
/device/google/cuttlefish_common/guest/hals/audio/ |
vsoc_audio_input_stream.h | 39 audio_devices_t devices, const audio_config& config, 158 GceAudioInputStream(cvd::GceAudio* dev, audio_devices_t devices,
|
/device/google/cuttlefish_common/host/libs/usbip/ |
server.cpp | 27 Server::Server(const std::string& name, const DevicePool& devices) 28 : name_{name}, device_pool_{devices} {}
|
/external/autotest/client/cros/cellular/ |
mm.py | 84 devices = EnumerateDevices(manager) 86 matches = [(m, path) for m, path in devices if modem_pattern in path]
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
wait_for_devices.py | 6 """Waits for the given devices to be available.""" 26 help='Seconds to wait for the devices.') 29 help='Serials of the devices to wait for.') 36 devices = device_utils.DeviceUtils.HealthyDevices( 38 parallel_devices = device_utils.DeviceUtils.parallel(devices)
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
agents_unittest.py | 16 devices = device_utils.DeviceUtils.HealthyDevices() 19 self.device = devices[0]
|
/external/libdrm/tests/amdgpu/ |
amdgpu_test.c | 2 * Copyright 2014 Advanced Micro Devices, Inc. 54 * Open handles for amdgpu devices 122 " p - Display information of AMDGPU devices in system\n" 127 /* Open AMD devices. 132 drmDevicePtr devices[MAX_CARDS_SUPPORTED]; local 141 drm_count = drmGetDevices2(0, devices, MAX_CARDS_SUPPORTED); 152 if (devices[i]->bustype != DRM_BUS_PCI) 156 if (devices[i]->deviceinfo.pci->vendor_id != 0x1002) 165 if (devices[i]->available_nodes & 1 << drm_node) 167 devices[i]->nodes[drm_node] [all...] |
/external/linux-kselftest/tools/testing/selftests/cpu-hotplug/ |
cpu-on-off-test.sh | 24 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 30 online_cpus=`cat $SYSFS/devices/system/cpu/online` 40 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 56 for cpu in $SYSFS/devices/system/cpu/cpu*; do 75 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online 80 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online 85 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online 90 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
|
/external/ltp/tools/pounder21/test_scripts/ |
get_hw_info | 43 echo "Registered Devices:" 45 cat /proc/devices 75 echo "Network Devices:"
|
/external/tensorflow/tensorflow/core/common_runtime/ |
device_factory.h | 37 // Append to "*devices" all suitable devices, respecting 40 // CPU devices are added first. 43 std::vector<Device*>* devices); 47 // devices of the same type, supply distinct name_prefix arguments. 54 std::vector<Device*>* devices) = 0; 61 // preferred over CPU, and by default, custom devices that don't set 63 // than CPU. Custom devices that want a higher priority can set the 65 // higher than the packaged devices. See calls to 67 // for built-in devices [all...] |
/external/tensorflow/tensorflow/core/distributed_runtime/ |
rpcbench_test.cc | 46 std::vector<DeviceAttributes>* devices) { 93 // Get attributes for all devices. 99 TF_CHECK_OK(session->ListDevices(devices)); 105 std::vector<DeviceAttributes> devices; // One per process member in struct:tensorflow::Cluster 111 MakeGRPCCluster(options, kWorkers, &workers, &devices); 112 LOG(ERROR) << "C " << workers.size() << " " << devices.size() << " " 126 CHECK_GE(cluster->devices.size(), width); 142 s.WithDevice(cluster->devices[use_multiple_devices ? j : 0].name()), 178 graph::SetDefaultDevice(cluster->devices[0].name(), &def);
|
scheduler.h | 71 GreedyScheduler(const DeviceSet* devices, const CostModel* cost_model, 95 PriorityScheduler(const DeviceSet* devices, const CostModel* cost_model,
|