HomeSort by relevance Sort by last modified time
    Searched refs:device (Results 501 - 525 of 4438) sorted by null

<<21222324252627282930>>

  /external/autotest/client/deps/fakegudev/src/
fakegudev.c 24 * separated list of absolute paths to file that contain device descriptions for
27 * Device description files are standard GKeyFile's. Each device is a group. By
28 * convention, we use the device name as the group name. A device description
31 * [device]
32 * name=device
37 * The "parent" property on a device specifies a device path that will be looked
38 * up with g_udev_client_query_by_device_file() to find a parent device. Thi
758 FakeGUdevDevice *device = FAKE_G_UDEV_DEVICE (object); local
    [all...]
  /external/vulkan-validation-layers/layers/
object_tracker.h 67 uint64_t belongsTo; // Object Scope -- owning device/instance
71 uint64_t objTrackGetObjectCount(VkDevice device);
121 static void createDeviceRegisterExtensions(const VkDeviceCreateInfo *pCreateInfo, VkDevice device) {
122 layer_data *my_device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map);
123 VkLayerDispatchTable *pDisp = get_dispatch_table(object_tracker_device_table_map, device);
125 pDisp->CreateSwapchainKHR = (PFN_vkCreateSwapchainKHR)gpa(device, "vkCreateSwapchainKHR");
126 pDisp->DestroySwapchainKHR = (PFN_vkDestroySwapchainKHR)gpa(device, "vkDestroySwapchainKHR");
127 pDisp->GetSwapchainImagesKHR = (PFN_vkGetSwapchainImagesKHR)gpa(device, "vkGetSwapchainImagesKHR");
128 pDisp->AcquireNextImageKHR = (PFN_vkAcquireNextImageKHR)gpa(device, "vkAcquireNextImageKHR");
129 pDisp->QueuePresentKHR = (PFN_vkQueuePresentKHR)gpa(device, "vkQueuePresentKHR")
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
BluetoothScanner.java 46 public static class Device {
53 // the type of configuration this device needs, or -1 if the device does not
60 str.append("Device(addr=");
98 public void onScanningStopped(ArrayList<Device> devices) {
100 public void onDeviceAdded(Device device) {
102 public void onDeviceChanged(Device device) {
104 public void onDeviceRemoved(Device device)
388 Device device = null; local
435 Device device = mPresentDevices.get(i); local
    [all...]
  /external/skia/src/core/
SkBlitter_PM4f.cpp 22 SkState_Blitter(const SkPixmap& device, const SkPaint& paint)
23 : INHERITED(device)
24 , fState(device.info(), paint, nullptr)
37 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
41 fState.fProc1(fState.fXfer, device, &fState.fPM4f, 1, &alpha);
42 device = (typename State::DstType*)((char*)device + deviceRB);
50 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
54 fState.fProc1(fState.fXfer, device, &fState.fPM4f, width, nullptr);
56 device = (typename State::DstType*)((char*)device + deviceRB)
61 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
93 typename State::DstType* device = State::WritableAddr(fDevice, x, y); local
122 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
148 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
156 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
176 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
193 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
225 typename State::DstType* device = State::WritableAddr(fDevice, x, y); local
259 typename State::DstType* device = State::WritableAddr(fDevice, x, y); variable
    [all...]
  /development/python-packages/gdbrunner/
__init__.py 28 """ArgumentParser subclass that provides adb device selection."""
36 group = self.add_argument_group(title="device selection")
39 "-a", action="store_const", dest="device", const="-a",
42 "-d", action="store_const", dest="device", const="-d",
43 help="directs commands to the only connected USB device")
45 "-e", action="store_const", dest="device", const="-e",
49 help="directs commands to device/emulator with the given serial")
67 if result.device == "-a":
68 result.device = adb.get_device(adb_path=adb_path)
69 elif result.device == "-d"
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/compute/
vktComputeTestsUtil.cpp 36 const VkDevice device,
41 m_buffer = createBuffer(vk, device, &bufferCreateInfo);
42 m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement);
43 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset()));
47 const VkDevice device,
52 m_image = createImage(vk, device, &imageCreateInfo);
53 m_allocation = allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement);
54 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset()));
89 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex)
98 return createCommandPool(vk, device, &commandPoolParams)
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/include/
VolumeCurve.h 47 // A volume curve for a given use case and device category
53 VolumeCurve(device_category device, audio_stream_type_t stream) :
54 mDeviceCategory(device), mStreamType(stream) {}
71 // Volume Curves for a given use case indexed by device category
80 sp<VolumeCurve> getCurvesFor(device_category device) const
82 if (indexOfKey(device) < 0) {
85 return valueFor(device);
88 int getVolumeIndex(audio_devices_t device) const
90 device = Volume::getDeviceForVolume(device);
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothPbapClient.java 165 * @param device a remote device we want connect to
169 public boolean connect(BluetoothDevice device) {
171 log("connect(" + device + ") for PBAP Client.");
173 if (mService != null && isEnabled() && isValidDevice(device)) {
175 return mService.connect(device);
190 * @param device Remote Bluetooth Device
194 public boolean disconnect(BluetoothDevice device) {
196 log("disconnect(" + device + ")" + new Exception() )
    [all...]
BluetoothA2dpSink.java 53 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
74 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
87 * A2DP sink device is streaming music. This state can be one of
94 * A2DP sink device is NOT streaming music. This state can be one of
106 * <li> {@link #EXTRA_AUDIO_CONFIG} - The audio configuration for the remote device. </li>
107 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
119 * This extra represents the current audio configuration of the A2DP source device.
218 * Initiate connection to a profile of the remote bluetooth device.
225 * device is already connected or Bluetooth is not turned on.
234 * @param device Remote Bluetooth Devic
    [all...]
BluetoothA2dp.java 45 * <p> Android only supports one connected Bluetooth A2dp device at a time.
61 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
83 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li>
102 * A2DP sink device is streaming music. This state can be one of
109 * A2DP sink device is NOT streaming music. This state can be one of
209 * Initiate connection to a profile of the remote bluetooth device.
216 * device is already connected or Bluetooth is not turned on.
225 * @param device Remote Bluetooth Device
230 public boolean connect(BluetoothDevice device) {
    [all...]
  /frameworks/base/libs/usb/tests/accessorytest/
usb.c 78 static void send_string(struct usb_device *device, int index, const char* string) {
79 usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR,
91 struct usb_device *device = usb_device_open(devname); local
92 if (!device) {
97 vendorId = usb_device_get_vendor_id(device);
98 productId = usb_device_get_product_id(device);
103 fprintf(stderr, "Found android device in accessory mode\n");
104 current_device = device;
116 usb_descriptor_iter_init(device, &iter);
137 if (usb_device_claim_interface(device, intf->bInterfaceNumber))
211 struct usb_device* device = NULL; local
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
CompatibilityBuildProvider.java 27 import com.android.tradefed.device.DeviceNotAvailableException;
28 import com.android.tradefed.device.ITestDevice;
42 @Option(name="use-device-build-info", description="Bootstrap build info from device")
70 public IBuildInfo getBuild(ITestDevice device)
73 // return a regular build info without extracting device attributes into standard
77 String buildId = device.getBuildId();
78 String buildFlavor = device.getBuildFlavor();
82 // version and product info from device
84 device.getProperty("ro.product.brand")
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/build/
CtsBuildProvider.java 26 import com.android.tradefed.device.DeviceNotAvailableException;
27 import com.android.tradefed.device.ITestDevice;
42 @Option(name="use-device-build-info", description="Bootstrap build info from device")
76 public IBuildInfo getBuild(ITestDevice device)
79 // return a regular build info without extracting device attributes into standard
83 String buildId = device.getBuildId();
84 String buildFlavor = device.getBuildFlavor();
88 // version and product info from device
90 device.getProperty("ro.product.brand")
    [all...]
  /external/autotest/client/site_tests/network_MobileSuspendResume/
network_MobileSuspendResume.py 20 SHILL_LOG_SCOPES = 'cellular+dbus+device+dhcp+manager+modem+portal+service'
27 # Setting of device power can sometimes result with InProgress error
55 lambda s: 'Device' in s
75 def get_powered(self, device):
76 properties = device.GetProperties(utf8_strings=True)
78 logging.info('Power state of mobile device is %s.',
82 def _check_powered(self, device, check_enabled):
83 properties = device.GetProperties(utf8_strings=True)
87 def check_powered(self, device, check_enabled):
88 logging.info('Polling to check device state is %s.'
    [all...]
  /external/libmtp/examples/
albumart.c 45 LIBMTP_mtpdevice_t *device = NULL; local
121 device = LIBMTP_Get_First_Device();
122 if (device == NULL) {
138 int ret = LIBMTP_Create_New_Album(device,album);
140 ret = LIBMTP_Send_Representative_Sample(device,album->album_id, albumart);
143 LIBMTP_Dump_Errorstack(device);
144 LIBMTP_Clear_Errorstack(device);
149 LIBMTP_Dump_Errorstack(device);
150 LIBMTP_Clear_Errorstack(device);
156 LIBMTP_Release_Device(device);
    [all...]
  /external/webrtc/talk/media/devices/
dummydevicemanager_unittest.cc 31 using cricket::Device;
53 std::vector<Device> audio_ins, audio_outs, video_ins;
62 Device device; local
65 cricket::DeviceManagerInterface::kDefaultDeviceName, &device));
66 EXPECT_EQ("-1", device.id);
68 cricket::DeviceManagerInterface::kDefaultDeviceName, &device));
69 EXPECT_EQ("-1", device.id);
70 EXPECT_FALSE(dm.GetAudioInputDevice("_NOT A REAL DEVICE_", &device));
71 EXPECT_FALSE(dm.GetAudioOutputDevice("_NOT A REAL DEVICE_", &device));
77 Device device; local
    [all...]
  /external/autotest/client/tests/kvm/tests/
cdrom.py 16 5) Mount cdrom device.
44 (device, file) = (None, None)
47 device = re.findall("(ide\d+-cd\d+): .*", blocks)[0]
49 device = None
56 d = block['device']
58 device = re.findall("(ide\d+-cd\d+)", d)[0]
60 device = None
67 logging.debug("Device name: %s, ISO: %s" % (device, file))
68 return (device, file
    [all...]
  /frameworks/av/services/camera/libcameraservice/common/
FrameProcessorBase.cpp 30 FrameProcessorBase::FrameProcessorBase(wp<CameraDeviceBase> device) :
32 mDevice(device),
34 sp<CameraDeviceBase> cameraDevice = device.promote();
104 sp<CameraDeviceBase> device; local
106 device = mDevice.promote();
107 if (device == 0) return false;
110 res = device->waitForNextFrame(kWaitDuration);
112 processNewFrames(device);
121 void FrameProcessorBase::processNewFrames(const sp<CameraDeviceBase> &device) {
126 ALOGV("%s: Camera %d: Process new frames", __FUNCTION__, device->getId())
    [all...]
  /cts/hostsidetests/theme/
run_theme_capture_device.py 83 def printAdbResult(device, out, err):
84 print "device: " + device
97 print "Found device: " + deviceSerial
98 device = androidDevice(deviceSerial)
100 outPath = outPath + "/%d" % (device.getSdkLevel())
101 density = device.getDensity()
107 device.uninstallApk("android.theme.app")
109 (out, err, success) = device.installApk(themeApkPath)
117 (out, err) = device.runInstrumentationTest("android.theme.app/android.support.test.runner.AndroidJUnitRunner"
    [all...]
  /developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
DeviceListFragment.java 48 private WifiP2pDevice device; field in class:DeviceListFragment
64 * @return this device
67 return device;
94 WifiP2pDevice device = (WifiP2pDevice) getListAdapter().getItem(position); local
95 ((DeviceActionListener) getActivity()).showDetails(device);
125 WifiP2pDevice device = items.get(position); local
126 if (device != null) {
130 top.setText(device.deviceName);
133 bottom.setText(getDeviceStatus(device.status));
143 * Update UI for this device
    [all...]
  /development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DeviceListFragment.java 48 private WifiP2pDevice device; field in class:DeviceListFragment
64 * @return this device
67 return device;
94 WifiP2pDevice device = (WifiP2pDevice) getListAdapter().getItem(position); local
95 ((DeviceActionListener) getActivity()).showDetails(device);
125 WifiP2pDevice device = items.get(position); local
126 if (device != null) {
130 top.setText(device.deviceName);
133 bottom.setText(getDeviceStatus(device.status));
143 * Update UI for this device
    [all...]
  /device/generic/goldfish/fingerprint/
fingerprint.c 54 * shown below. When device is not authenticating or enrolling, it is expected to be in
57 * Note that this is completely independent of device wake state. If the hardware device was in
58 * the "scan" state when the device drops into power collapse, it should resume scanning when power
78 fingerprint_device_t device; // "inheritance" member in struct:qemu_fingerprint_device_t
238 static uint64_t fingerprint_get_auth_id(struct fingerprint_device* device) {
242 qemu_fingerprint_device_t* qdev = (qemu_fingerprint_device_t*)device;
253 static int fingerprint_set_active_group(struct fingerprint_device *device, uint32_t gid,
256 qemu_fingerprint_device_t* qdev = (qemu_fingerprint_device_t*)device;
285 static int fingerprint_authenticate(struct fingerprint_device *device,
    [all...]
  /external/autotest/client/site_tests/platform_UdevVars/
platform_UdevVars.py 34 devices = sorted(devices, key=lambda device: natural_key(device.device_node))
43 for device in self._input_devices():
44 name = device.parent.attributes.get('name', '')
45 logging.debug(' %s [%s]', device.device_node, name)
46 role = device.get('POWERD_ROLE', None)
49 self.devices_with_role[role].append(device)
56 for device in self.devices_with_role[role]:
57 path = device.device_node
58 name = device.parent.attributes.get('name', ''
    [all...]
  /external/autotest/server/site_tests/brillo_RecoverFromBadImage/
brillo_RecoverFromBadImage.py 21 """Ensures that a Brillo device can recover from a bad image."""
51 'Device has no non-active slot that we can use')
67 raise error.TestError('Error resolving device slots')
73 """Returns the block device of the partition.
78 @return Path to the device containing the partition.
80 @raise TestError: If the partition name could not be mapped to a device.
84 for device in host.run_output(cmd).splitlines():
85 if os.path.basename(device) == partition:
86 logging.info('Mapped partition %s to device %s',
87 partition, device)
    [all...]
  /external/libpcap/tests/
capturetest.c 60 register char *cp, *cmdbuf, *device; local
72 device = NULL;
83 device = optarg;
119 if (device == NULL) {
120 device = pcap_lookupdev(ebuf);
121 if (device == NULL)
125 pd = pcap_create(device, ebuf);
131 device, pcap_statustostr(status));
136 device, pcap_statustostr(status));
141 device, pcap_statustostr(status))
    [all...]

Completed in 682 milliseconds

<<21222324252627282930>>