/external/skqp/infra/cts/ |
run_testlab.go | 34 // loads a file with the whitelisted devices and versions. Make sure to include 35 // human readable names for the devices. 40 // latest version. To see available devices and version run with 113 // Get list of all available devices. 114 devices, ignoredDevices, err := getAvailableDevices(WHITELIST_DEV_IDS, *minAPIVersion, *maxAPIVersion) 116 sklog.Fatalf("Unable to retrieve available devices: %s", err) 119 sklog.Infof("Selected devices:") 120 logDevices(devices) 122 if err := runTests(apk_path, devices, ignoredDevices, client, *dryRun); err != nil { 128 // available devices and then returns a list of devices to be tested and the lis [all...] |
/test/vti/dashboard/src/test/java/com/android/vts/entity/ |
TestAcknowledgmentEntityTest.java | 62 List<String> devices = new ArrayList<>(); local 63 devices.add("device1"); 68 new TestAcknowledgmentEntity(key, user, branches, devices, testCaseNames, note); 78 ((List<String>) e.getProperty(TestAcknowledgmentEntity.DEVICES)) 79 .containsAll(devices)); 90 Assert.assertTrue(deserialized.devices.containsAll(devices)); 108 Assert.assertFalse(e.hasProperty(TestAcknowledgmentEntity.DEVICES)); 117 Assert.assertEquals(0, deserialized.devices.size()); 129 List<String> devices = new ArrayList<>() local [all...] |
/external/autotest/client/site_tests/platform_UdevVars/ |
platform_UdevVars.py | 30 """Obtain a list of all /dev/input/event* udev devices.""" 31 devices = self.udev.list_devices(subsystem='input') 32 # only consider the event devices 33 devices = filter(attrgetter('device_node'), devices) 34 devices = sorted(devices, key=lambda device: natural_key(device.device_node)) 35 return devices 39 """Get information on input devices and roles from udev.""" 42 logging.debug('Input devices:' [all...] |
/external/webrtc/talk/media/devices/ |
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...] |
/hardware/interfaces/camera/provider/ |
README.md | 7 query, and open individual camera devices. 9 It also allows for direct control of the flash unit of camera devices that have 13 [source.android.com](http://source.android.com/devices/camera/index.html).
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothSummaryUpdater.java | 121 final Set<BluetoothDevice> devices = mBluetoothAdapter.getBondedDevices(); local 122 if (devices == null) { 123 Log.e(TAG, "getConnectedDeviceSummary, bonded devices are null"); 125 } else if (devices.isEmpty()) { 126 Log.e(TAG, "getConnectedDeviceSummary, no bonded devices"); 129 for (BluetoothDevice device : devices) { 140 + devices.size()); 141 for (BluetoothDevice device : devices) {
|
/platform_testing/scripts/perf-setup/ |
bullhead-setup.sh | 8 cpubase=/sys/devices/system/cpu 22 echo -n 0 > /sys/devices/system/cpu/cpu4/online 23 echo -n 0 > /sys/devices/system/cpu/cpu5/online
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/vkjson/ |
vkjson_instance.cc | 146 std::vector<VkPhysicalDevice> devices(count, VK_NULL_HANDLE); 147 result = vkEnumeratePhysicalDevices(vkinstance, &count, devices.data()); 153 instance.devices.reserve(devices.size()); 154 for (auto device : devices) 155 instance.devices.emplace_back(VkJsonGetDevice(device));
|
/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);
|
/external/autotest/client/cros/faft/utils/ |
cgpt_handler.py | 22 devices: a dictionary keyed by the storage device names (as in 48 self.devices = {} 84 self.devices[dev_name] = device_data 99 result = self.devices[device][partition_name]
|
/external/autotest/server/site_tests/bluetooth_Sanity_Discoverable/ |
bluetooth_Sanity_Discoverable.py | 27 devices = self.tester.discover_devices() 28 if devices == False: 29 raise error.TestFail('Tester could not discover devices') 31 # Iterate the devices we received in the discovery phase and 33 for address, address_type, rssi, flags, eirdata in devices:
|
/external/chromium-trace/catapult/devil/devil/android/ |
device_blacklist.py | 24 A dict containing bad devices. 49 blacklist: list of bad devices to write to the blacklist file. 55 def Extend(self, devices, reason='unknown'): 56 """Adds devices to blacklist file. 59 devices: list of bad devices to be added to the blacklist file. 67 device_dicts = {device: event_info for device in devices} 69 ','.join(devices), self._path, reason)
|
/frameworks/av/media/libaudiohal/2.0/ |
DeviceHalHidl.h | 35 // Sets the value of 'devices' to a bitmask of 1 or more values of audio_devices_t. 36 virtual status_t getSupportedDevices(uint32_t *devices); 73 audio_devices_t devices, 83 audio_devices_t devices,
|
DeviceHalLocal.h | 28 // Sets the value of 'devices' to a bitmask of 1 or more values of audio_devices_t. 29 virtual status_t getSupportedDevices(uint32_t *devices); 66 audio_devices_t devices, 76 audio_devices_t devices,
|
/frameworks/av/media/libaudiohal/4.0/ |
DeviceHalHidl.h | 36 // Sets the value of 'devices' to a bitmask of 1 or more values of audio_devices_t. 37 virtual status_t getSupportedDevices(uint32_t *devices); 74 audio_devices_t devices, 84 audio_devices_t devices,
|
DeviceHalLocal.h | 29 // Sets the value of 'devices' to a bitmask of 1 or more values of audio_devices_t. 30 virtual status_t getSupportedDevices(uint32_t *devices); 67 audio_devices_t devices, 77 audio_devices_t devices,
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
DeviceHalInterface.h | 34 // Sets the value of 'devices' to a bitmask of 1 or more values of audio_devices_t. 35 virtual status_t getSupportedDevices(uint32_t *devices) = 0; 72 audio_devices_t devices, 82 audio_devices_t devices,
|
/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) {
|
/system/core/adb/ |
console.cpp | 64 // No specific device was given, so get the list of connected devices and 67 std::string devices; local 69 if (!adb_query("host:devices", &devices, &error)) { 76 for (const auto& device : android::base::Split(devices, "\n")) {
|
/external/ltp/testcases/kernel/power_management/ |
runpwtests01.sh | 34 test_file="/sys/devices/system/cpu/sched_mc_power_savings" 55 if [ ! -f /sys/devices/system/cpu/sched_mc_power_savings ] ; then
|
runpwtests02.sh | 34 test_file="/sys/devices/system/cpu/sched_smt_power_savings" 53 if [ ! -f /sys/devices/system/cpu/sched_smt_power_savings ] ; then
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
context.hpp | 57 devices() const;
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_testlib.h | 45 // configure the number of devices of each type) and a count of 57 // Returns a vector of devices available in this test cluster. 58 const std::vector<DeviceAttributes>& devices() const { return devices_; } function in class:tensorflow::test::TestCluster
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
virtual_cluster.cc | 27 const std::unordered_map<string, DeviceProperties>& devices) 31 devices_ = devices; 35 const std::unordered_map<string, DeviceProperties>& devices, 38 devices_ = 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));
|