/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BootManagerPolicyDxe/ |
BootManagerPolicyDxe.c | 32 @retval EFI_SUCCESS Network devices are connected.
45 EFI_DEVICE_PATH_PROTOCOL *Devices;
56 Devices = NULL;
62 TempDevicePath = Devices;
63 Devices = AppendDevicePathInstance (Devices, SingleDevice);
69 if (Devices != NULL) {
74 GetDevicePathSize (Devices),
75 Devices
81 FreePool (Devices);
[all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/ |
Devices.c | 2 Main file for devices shell Driver1 function.
32 @param[in, out] Devices On successful return this buffer will be
33 contain the number of devices controlled.
51 IN OUT UINTN *Devices,
66 || Devices == NULL
76 *Devices = 0;
97 Status = PARSE_HANDLE_DATABASE_UEFI_DRIVERS(TheHandle, Devices, &HandleBuffer);
98 if (!EFI_ERROR(Status) && Devices != NULL && HandleBuffer != NULL) {
99 for (Count = 0 ; Count < *Devices ; Count++) {
123 Function for 'devices' command. [all...] |
UefiShellDriver1CommandsLib.inf | 27 Devices.c
|
/external/v4l2_codec2/vda/ |
v4l2_device.h | 122 using Devices = std::vector<std::pair<std::string, std::vector<uint32_t>>>; 136 // Enumerate all V4L2 devices on the system for |type| and store the results 140 // Return device information for all devices of |type| available in the 141 // system. Enumerates and queries devices on first run and caches the results 143 const Devices& GetDevicesForType(Type type); 149 // Stores information for all devices available on the system 151 std::map<Type, Devices> devices_by_type_;
|
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/python/cpython2/Mac/Modules/cg/ |
CFMLateImport.h | 46 #include <Devices.h>
|
/compatibility/cdd/3_software/ |
3_5_api-behavioral-compatibility.md | 8 * [C-0-1] Devices MUST NOT change the behavior or semantics of a 10 * [C-0-2] Devices MUST NOT alter the lifecycle or lifecycle semantics of 12 * [C-0-3] Devices MUST NOT change the semantics of a standard permission. 13 * Devices MUST NOT alter the limitations enforced on background applications.
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
unlock_bootloader.py | 6 """A script to open the unlock bootloader on-screen prompt on all devices.""" 29 # Reboot all devices into bootloader if they aren't there already. 31 for d in adb_wrapper.AdbWrapper.Devices(desired_state=None): 46 # Wait for the rebooted devices to show up in fastboot. 48 logging.info('Waiting for devices to reboot...') 53 fastbooted_devices = set([str(d) for d in fastboot.Fastboot.Devices()]) 55 logging.info('All devices in fastboot.') 135 reboot_into_bootloader(args.devices) 136 devices = [ 137 d for d in fastboot.Fastboot.Devices() if not args.devices o [all...] |
/device/linaro/bootloader/edk2/StdLib/ |
StdLib.inc | 67 DevConsole|StdLib/LibC/Uefi/Devices/daConsole.inf
68 DevShell|StdLib/LibC/Uefi/Devices/daShell.inf # DEPRECATED! Please use DevMedia for new code.
69 DevMedia|StdLib/LibC/Uefi/Devices/daShell.inf
70 DevUtility|StdLib/LibC/Uefi/Devices/daUtility.inf
|
StdLib.dsc | 125 StdLib/LibC/Uefi/Devices/daUtility.inf
126 StdLib/LibC/Uefi/Devices/daConsole.inf
127 StdLib/LibC/Uefi/Devices/daShell.inf
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_session_test.cc | 37 static SessionOptions Devices(int num_cpus, int num_gpus) { 94 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); 130 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); 162 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); 166 options.config.add_device_filters(cluster->devices()[0].name()); 173 graph::SetDefaultDevice(cluster->devices()[0].name(), &graph_copy); 180 graph::SetDefaultDevice(cluster->devices()[1].name(), &graph_copy); 192 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); 284 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); 302 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ |
UsbEnumer.c | 562 // Remove all the devices on its downstream ports. Search from devices[1].
563 // Devices[0] is the root hub.
567 Child = Bus->Devices[Index];
576 Bus->Devices[Index] = NULL;
578 Bus->Devices[Index]->DisconnectFail = TRUE;
594 Bus->Devices[Device->Address] = NULL;
597 Bus->Devices[Device->Address]->DisconnectFail = TRUE;
628 Device = Bus->Devices[Index];
762 if (Bus->Devices[Address] == NULL) { [all...] |
/external/autotest/client/common_lib/cros/fake_device_server/ |
devices.py | 5 """Module contains a simple implementation of the devices RPC.""" 20 DEVICES_PATH = 'devices' 23 class Devices(resource_method.ResourceMethod): 42 @param resource: A resource delegate for storing devices. 47 super(Devices, self).__init__(resource) 99 """GET .../(device_id) gets device info or lists all devices. 101 Supports both the GET / LIST commands for devices. List lists all 102 devices a user has access to, however, this implementation just returns 103 all devices. 118 listing['devices'] = self.resource.get_data_vals( [all...] |
devices_unittest.py | 7 """Unit tests for devices.py.""" 14 from fake_device_server import devices 22 """Tests for the Devices class.""" 31 self.devices = devices.Devices( 44 new_device = self.devices.create_device(None, good_device_config) 52 self.devices.create_device, None, bad_device_config) 58 returned_json = self.devices.GET(1234) 63 self.devices.GET, 1235 [all...] |
server.py | 20 from fake_device_server import devices 58 devices_handler = devices.Devices(devices_resource, 63 devices_handler, '/' + devices.DEVICES_PATH,
|
registration_tickets_unittest.py | 15 from fake_device_server import devices 34 self.devices = devices.Devices( 41 resource_delegate.ResourceDelegate(self.tickets), self.devices,
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
fastboot.py | 77 def Devices(self, timeout=None, retries=None): 78 """Outputs list of devices in fastboot mode.""" 79 output = self._RunFastbootCommand(['devices'])
|
adb_wrapper_devicetest.py | 21 devices = adb_wrapper.AdbWrapper.Devices() 22 assert devices, 'A device must be attached' 23 self._adb = devices[0]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/SataSiI3132Dxe/ |
SiI3132AtaPassThru.c | 35 List = SataPort->Devices.ForwardLink;
37 while (List != &SataPort->Devices) {
349 Used to retrieve the list of legal port numbers for ATA devices on an ATA controller.
350 These can either be the list of ports where ATA devices are actually present or the
409 Used to retrieve the list of legal port multiplier port numbers for ATA devices on a port of an ATA
410 controller. These can either be the list of port multiplier ports where ATA devices are actually
445 @retval EFI_NOT_FOUND There are no more ATA devices on this port of the ATA controller.
475 List = SataPort->Devices.ForwardLink;
476 if (List != &SataPort->Devices) {
487 if (List != &SataPort->Devices) {
[all...] |
/external/tensorflow/tensorflow/core/debug/ |
grpc_session_debug_test.cc | 45 SessionOptions Devices(int num_cpus, int num_gpus) { 157 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 0), 2, &cluster)); 194 cluster->devices()[0].name()), 227 TF_CHECK_OK(test::TestCluster::MakeTestCluster(Devices(1, 1), 2, &cluster)); 244 for (const auto& a_dev : cluster->devices()) { 245 for (const auto& b_dev : cluster->devices()) { 286 // CUDA and SYCL devices do not have an Identity op for strings
|
/external/autotest/client/common_lib/cros/ |
dbus_send_unittest.py | 58 string "Devices" 158 'Devices': ['/device/eth0', '/device/eth1'],
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
fastboot.py | 95 def Devices(cls, timeout=None, retries=None): 96 """Outputs list of devices in fastboot mode. 101 output = cls._RunFastbootCommand(['devices'])
|
adb_compatibility_devicetest.py | 96 devices = adb_wrapper.AdbWrapper.Devices() 97 self.assertNotEqual(0, len(devices), 'No devices found.') 191 # devices [-l] 218 print 'connected devices:' 220 for d in adb_wrapper.AdbWrapper.Devices(): 223 print ' <failed to list devices>'
|
/external/chromium-trace/catapult/systrace/bin/ |
adb_profile_chrome_startup | 69 devices = [a.GetDeviceSerial() for a in adb_wrapper.AdbWrapper.Devices()] 70 if len(devices) == 0: 71 raise RuntimeError('No ADB devices connected.') 72 elif len(devices) >= 2: 73 raise RuntimeError('Multiple devices connected, serial number required') 74 options.device_serial_number = devices[0] 79 devices = device_utils.DeviceUtils.HealthyDevices() 80 if len(devices) != 1: 83 device = devices[0 [all...] |
/external/chromium-trace/catapult/systrace/profile_chrome/ |
main.py | 91 devices = [a.GetDeviceSerial() for a in adb_wrapper.AdbWrapper.Devices()] variable 92 if len(devices) == 0: 93 raise RuntimeError('No ADB devices connected.') 94 elif len(devices) >= 2: 95 raise RuntimeError('Multiple devices connected, serial number required') 96 options.device_serial_number = devices[0]
|