/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationTest.java | 23 import com.android.sdklib.devices.Device; 24 import com.android.sdklib.devices.DeviceManager; 25 import com.android.sdklib.devices.Screen; 57 Collection<Device> devices = deviceManager.getDevices(DeviceManager.DeviceFilter.DEFAULT); local 58 assertNotNull(devices); 59 assertTrue(devices.size() > 0); 60 configuration.setDevice(devices.iterator().next(), false); 117 List<Device> devices = Lists.newArrayList(deviceManager.getDevices(DeviceManager.DeviceFilter.DEFAULT)); local 118 assertNotNull(devices); 119 assertTrue(devices.size() > 0) [all...] |
/external/ltp/testcases/kernel/power_management/ |
runpwtests03.sh | 34 cpufiles=$(find /sys/devices/system/cpu/cpu"${cpu}"/cpufreq/ \ 63 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor 90 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor 101 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_setspeed 120 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` 154 if [ ! -d /sys/devices/system/cpu/cpu0/cpufreq ] ; then
|
/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.
|
/external/webrtc/talk/media/devices/ |
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...] |
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...] |
macdevicemanagermm.mm | 33 #include "talk/media/devices/devicemanager.h" 108 bool GetQTKitVideoDevices(std::vector<Device>* devices) { 134 devices->push_back( 144 bool GetAVFoundationVideoDevices(std::vector<Device>* devices) { 149 return GetQTKitVideoDevices(devices); 157 NSArray* capture_devices = [AVCaptureDevice devices]; 175 devices->push_back( 185 return GetQTKitVideoDevices(devices); 188 return GetQTKitVideoDevices(devices);
|
/system/bt/stack/hid/ |
hidh_conn.cc | 110 hh_cb.devices[xx].in_use = false; 111 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; 127 tHID_CONN* p_hcon = &hh_cb.devices[dhandle].conn; 136 L2CA_SetIdleTimeoutByBdAddr(hh_cb.devices[dhandle].addr, 0, 218 p_hcon = &hh_cb.devices[i].conn; 219 p_dev = &hh_cb.devices[i]; 307 device = &hh_cb.devices[dhandle]; 332 dhandle = (PTR_TO_UINT(p_dev) - PTR_TO_UINT(&(hh_cb.devices[0]))) / 383 p_dev = &hh_cb.devices[dhandle]; 384 p_hcon = &hh_cb.devices[dhandle].conn [all...] |
/external/ltp/testcases/kdump/lib/ |
sysinfo.sh | 20 echo "------------- /PROC/DEVICES --------------" 22 cat /proc/devices
|
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
tpu_system_metadata.py | 44 'devices', 52 devices = [] 65 devices = sess.list_devices() 66 for device in devices: 96 'devices: {}'.format(devices)) 105 'TPU worker has some problems. Available devices: {}'.format( 106 master_address, devices)) 115 devices=devices) [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
device_mgr.h | 37 // Takes ownership of each device in 'devices'. 40 explicit DeviceMgr(const std::vector<Device*>& devices); 43 // Returns attributes of all devices. 44 void ListDeviceAttributes(std::vector<DeviceAttributes>* devices) const; 48 // Returns a string listing all devices. 58 // Clears given containers of all devices if 'container' is 59 // non-empty. Otherwise, clears default containers of all devices.
|
device_set.h | 31 // devices used by a model. 50 // Return the list of devices in this set. 51 const std::vector<Device*>& devices() const { return devices_; } function in class:tensorflow::DeviceSet 54 // wildcards for different components), fills "*devices" with all 55 // devices in "*this" that match "spec". 57 std::vector<Device*>* devices) const; 64 // with more preferable devices earlier.
|
/external/tensorflow/tensorflow/core/common_runtime/sycl/ |
sycl_device_factory.cc | 28 std::vector<Device *> *devices) override { 39 devices->push_back(new SYCLDevice(
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
virtual_cluster.h | 28 // Create a simple cluster that lists the devices (and their properties) 33 VirtualCluster(const std::unordered_map<string, DeviceProperties>& devices); 34 VirtualCluster(const std::unordered_map<string, DeviceProperties>& devices,
|
/external/tensorflow/tensorflow/python/client/ |
session_list_devices_test.py | 39 devices = sess.list_devices() 41 [d.name for d in devices]), devices) 64 devices = sess.list_devices() 66 [d.name for d in devices]), devices) 79 devices = sess.list_devices() 80 device_names = set([d.name for d in devices])
|
/external/webrtc/webrtc/voice_engine/ |
voe_hardware_impl.h | 22 int GetNumOfRecordingDevices(int& devices) override; 24 int GetNumOfPlayoutDevices(int& devices) override;
|
/hardware/interfaces/thermal/1.0/ |
IThermal.hal | 29 * devices (such as CPUs, GPUs and etc.) in the list must be kept 31 * they go offline, if these devices exist on boot. The method 59 * Retrieves the cooling devices information. 64 * @return devices If status code is SUCCESS, it's filled with the current 66 * devices in the list must be kept the same regardless the number 67 * of calls to this method even if they go offline, if these devices 69 * the list such cooling devices. 76 generates (ThermalStatus status, vec<CoolingDevice> devices);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
ShortcutsUpdater.java | 54 List<ShortcutInfo> devices = getDeviceShortcuts(roots); local 56 for (ShortcutInfo s : devices) { 60 mgr.setDynamicShortcuts(devices.subList(0, getNumDynSlots(mgr, devices.size()))); 76 * Return at most four awesome devices/roots to include as dynamic shortcuts. 79 List<ShortcutInfo> devices = new ArrayList<>(); local 87 // devices.add(createShortcut(root, R.drawable.ic_folder_shortcut)); 92 devices.add(0, createShortcut(root, R.drawable.ic_advanced_shortcut)); 96 devices.add(0, createShortcut(root, R.drawable.ic_folder_shortcut)); 98 // TODO: Hook up USB and MTP devices. In order to do this we nee [all...] |
/cts/common/device-side/test-app/ |
run_tests.sh | 20 if [ `adb devices | wc -l` -lt 3 ]; then 21 echo "NO DEVICES/EMULATORS AVAILABLE. CONNECT ONE." 25 # Take the last serial in the list of devices 26 SERIAL=`adb devices | egrep -o "^\w+" | tail -n1`
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
camera_characteristics.h | 45 const std::unordered_map<std::string, std::string>& devices);
|
/external/libusb-compat/examples/ |
lsusb.c | 35 for (dev = bus->devices; dev; dev = dev->next) {
|
/external/ltp/tools/pounder21/test_scripts/ |
cpufreq | 24 #CPUFREQ_ENABLED_CPUS=`/bin/ls -lad /sys/devices/system/cpu/cpu*/cpufreq 2> /dev/null | wc -l` 45 for i in /sys/devices/system/cpu/cpu*; do 58 for cpu in `ls -d /sys/devices/system/cpu/cpu*/cpufreq 2> /dev/null`; do 65 MATCHES=`(cat /sys/devices/system/cpu/cpu*/cpufreq/affected_cpus /dev/null 2> /dev/null | while read car cdr; do echo $cdr; done) | grep "^$CPU_NUM$" -c` 74 i="/sys/devices/system/cpu/cpu$1" 86 i=/sys/devices/system/cpu/cpu$f
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
context.cpp | 49 context::devices() const { function in class:context
|
/external/smali/ |
README.md | 16 - [Official dex bytecode reference](https://source.android.com/devices/tech/dalvik/dalvik-bytecode.html) 19 - [Official dex format reference](https://source.android.com/devices/tech/dalvik/dex-format.html)
|
/external/vulkan-validation-layers/tests/ |
test_environment.h | 42 const std::vector<Device *> &devices() { return devs_; } function in class:vk_testing::Environment
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
UsbUtil.java | 33 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local 35 for (UsbDevice device : devices.values()) { 79 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); local 80 for (UsbDevice dev : devices.values()) {
|