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

<<11121314151617181920>>

  /external/deqp/external/vulkancts/framework/vulkan/
vkDeviceDriverImpl.inl 5 void DeviceDriver::destroyDevice (VkDevice device, const VkAllocationCallbacks* pAllocator) const
7 m_vk.destroyDevice(device, pAllocator);
10 void DeviceDriver::getDeviceQueue (VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex, VkQueue* pQueue) const
12 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
25 VkResult DeviceDriver::deviceWaitIdle (VkDevice device) const
27 return m_vk.deviceWaitIdle(device);
30 VkResult DeviceDriver::allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) const
32 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory);
35 void DeviceDriver::freeMemory (VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator) const
37 m_vk.freeMemory(device, memory, pAllocator)
    [all...]
vkConcreteDeviceInterface.inl 4 virtual void destroyDevice (VkDevice device, const VkAllocationCallbacks* pAllocator) const;
5 virtual void getDeviceQueue (VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex, VkQueue* pQueue) const;
8 virtual VkResult deviceWaitIdle (VkDevice device) const;
9 virtual VkResult allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) const;
10 virtual void freeMemory (VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator) const;
11 virtual VkResult mapMemory (VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) const;
12 virtual void unmapMemory (VkDevice device, VkDeviceMemory memory) const;
13 virtual VkResult flushMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges) const;
14 virtual VkResult invalidateMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges) const;
15 virtual void getDeviceMemoryCommitment (VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) const
    [all...]
vkVirtualDeviceInterface.inl 4 virtual void destroyDevice (VkDevice device, const VkAllocationCallbacks* pAllocator) const = 0;
5 virtual void getDeviceQueue (VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex, VkQueue* pQueue) const = 0;
8 virtual VkResult deviceWaitIdle (VkDevice device) const = 0;
9 virtual VkResult allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) const = 0;
10 virtual void freeMemory (VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator) const = 0;
11 virtual VkResult mapMemory (VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) const = 0;
12 virtual void unmapMemory (VkDevice device, VkDeviceMemory memory) const = 0;
13 virtual VkResult flushMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges) const = 0;
14 virtual VkResult invalidateMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges) const = 0;
15 virtual void getDeviceMemoryCommitment (VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) const = 0
    [all...]
  /external/chromium-trace/catapult/devil/devil/utils/
reset_usb.py 17 _LSUSB_BUS_DEVICE_RE = re.compile(r'^Bus (\d{3}) Device (\d{3}):')
24 def reset_usb(bus, device):
25 """Reset the USB device with the given bus and device."""
26 usb_file_path = '/dev/bus/usb/%03d/%03d' % (bus, device)
33 """Reset the USB device for the given Android device."""
37 device = None
42 device = int(device_info.get('device'))
    [all...]
  /external/deqp/android/scripts/
install.py 47 def installToDevice (device, printPrefix=""):
49 print "Installing to %s (%s)...\n" % (device.serial, device.model),
51 print printPrefix + "Installing to %s\n" % device.serial,
53 install(['-s', device.serial], printPrefix)
56 padLen = max([len(device.model) for device in devices])+1
58 common.parallelApply(installToDevice, [(device, ("(%s):%s" % (device.model, ' ' * (padLen - len(device.model))))) for device in devices])
    [all...]
  /external/dhcpcd-6.8.2/dev/
udev.c 30 # warning per device initialization checks.
59 struct udev_device *device; local
62 device = udev_device_new_from_subsystem_sysname(udev, "net", ifname);
63 if (device) {
65 r = udev_device_get_is_initialized(device);
69 udev_device_unref(device);
78 struct udev_device *device; local
81 device = udev_monitor_receive_device(monitor);
82 if (device == NULL) {
83 syslog(LOG_ERR, "libudev: received NULL device");
    [all...]
  /external/libdrm/tests/kms/
libkms-test-framebuffer.c 39 struct kms_framebuffer *kms_framebuffer_create(struct kms_device *device,
53 fb->device = device;
74 err = drmIoctl(device->fd, DRM_IOCTL_MODE_CREATE_DUMB, &args);
88 err = drmModeAddFB2(device->fd, width, height, format, handles,
100 struct kms_device *device = fb->device; local
105 err = drmModeRmFB(device->fd, fb->id);
114 err = drmIoctl(device->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &args);
124 struct kms_device *device = fb->device local
    [all...]
  /external/opencv3/modules/cudawarping/src/
resize.cpp 51 namespace cv { namespace cuda { namespace device namespace in namespace:cv::cuda
64 {device::resize<uchar> , 0 /*device::resize<uchar2>*/ , device::resize<uchar3> , device::resize<uchar4> },
65 {0 /*device::resize<schar>*/, 0 /*device::resize<char2>*/ , 0 /*device::resize<char3>*/, 0 /*device::resize<char4>*/},
66 {device::resize<ushort> , 0 /*device::resize<ushort2>*/, device::resize<ushort3> , device::resize<u (…)
    [all...]
  /frameworks/native/vulkan/libvulkan/
api_gen.cpp 80 VKAPI_ATTR VkResult disabledCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR*, const VkAllocationCallbacks*, VkSwapchainKHR*) {
81 driver::Logger(device).Err(device, "VK_KHR_swapchain not enabled. Exported vkCreateSwapchainKHR not executed.");
85 VKAPI_ATTR void disabledDestroySwapchainKHR(VkDevice device, VkSwapchainKHR, const VkAllocationCallbacks*) {
86 driver::Logger(device).Err(device, "VK_KHR_swapchain not enabled. Exported vkDestroySwapchainKHR not executed.");
89 VKAPI_ATTR VkResult disabledGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR, uint32_t*, VkImage*) {
90 driver::Logger(device).Err(device, "VK_KHR_swapchain not enabled. Exported vkGetSwapchainImagesKHR not executed.");
94 VKAPI_ATTR VkResult disabledAcquireNextImageKHR(VkDevice device, VkSwapchainKHR, uint64_t, VkSemaphore, VkFence, uint32_t*)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hid/
HidService.java 152 BluetoothDevice device = (BluetoothDevice) msg.obj;
153 if (!connectHidNative(Utils.getByteAddress(device)) ) {
154 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING);
155 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED);
158 mTargetDevice = device;
163 BluetoothDevice device = (BluetoothDevice) msg.obj;
164 if (!disconnectHidNative(Utils.getByteAddress(device)) ) {
165 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING);
166 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED);
173 BluetoothDevice device = getDevice((byte[]) msg.obj)
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/device/
DeviceInfoCollector.java 16 package com.android.cts.tradefed.device;
24 import com.android.tradefed.device.DeviceNotAvailableException;
25 import com.android.tradefed.device.ITestDevice;
34 * Collects info from device under test.
36 * This class simply serves as a conduit for grabbing info from device using the device info
52 private static final String DEVICE_INFO_FILES = "device-info-files";
65 * Installs and runs the device info collector instrumentation, and forwards results
68 * @param device
72 public static void collectDeviceInfo(ITestDevice device, String abi, File testApkDir
    [all...]
  /external/autotest/server/site_tests/bluetooth_Sanity_Discovery/
bluetooth_Sanity_Discovery.py 25 @return True if device has been found, False otherwise.
29 devices = self.device.get_devices()
34 for device in devices:
36 if self.address == device['Address']:
38 device.get('RSSI'))
42 if device.get('Name') != device['Alias']:
43 logging.info('Device name not yet received')
45 if self.name != device['Alias']:
48 '"%s" != "%s"' % (device['Alias']
    [all...]
  /external/autotest/server/site_tests/bluetooth_Sanity_LEDiscovery/
bluetooth_Sanity_LEDiscovery.py 25 @return True if device has been found, False otherwise.
29 devices = self.device.get_devices()
34 for device in devices:
36 if self.address == device['Address']:
38 device.get('RSSI'))
42 if device.get('Name') != device['Alias']:
43 logging.info('Device name not yet received')
45 if self.name != device['Alias']:
48 '"%s" != "%s"' % (device['Alias']
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
RemoteDevices.java 71 DeviceProperties getDeviceProperties(BluetoothDevice device) {
73 return mDevices.get(device);
89 BluetoothDevice device = local
92 mDevices.put(device, prop);
177 void setAlias(BluetoothDevice device, String mAlias) {
183 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
197 /* Clearing the Uuids local copy when the device is unpaired. If not cleared,
216 private void sendUuidIntent(BluetoothDevice device) {
217 DeviceProperties prop = getDeviceProperties(device);
219 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
234 DeviceProperties device; local
306 BluetoothDevice device = getDevice(address); local
327 BluetoothDevice device = getDevice(address); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
ApkInstallManager.java 34 * Registers which apk was installed on which device.
37 * information about whether a new APK should be installed on a device prior to running the
40 * The manager uses {@link IProject} and {@link IDevice} to identify the target device and the
51 * Internal struct to associate a project and a device.
54 public ApkInstall(IProject project, String packageName, IDevice device) {
57 this.device = device;
65 return (device == apkObj.device && project.equals(apkObj.project) &&
74 return (device.getSerialNumber() + project.getName() + packageName).hashCode()
79 final IDevice device; field in class:ApkInstallManager.ApkInstall
    [all...]
  /build/core/
device.mk 22 define dump-device
30 $(foreach p,$(DEVICES),$(call dump-device,$(p)))
34 # $(1): device to inherit
36 define inherit-device
42 # $(1): device makefile list
51 # $(1): short device name like "sooner"
53 define _resolve-short-device-name
65 $(error No matches for device "$(dn)"), \
66 $(error Device "$(dn)" ambiguous: matches $(d)) \
72 # $(1): short device name like "sooner
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
LocationCheck.java 21 import com.android.tradefed.device.DeviceNotAvailableException;
22 import com.android.tradefed.device.ITestDevice;
41 private boolean hasLocationFeature(ITestDevice device) throws DeviceNotAvailableException {
42 String adbFeatures = device.executeShellCommand("pm list features");
47 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
50 if (!hasLocationFeature(device)) {
63 super.run(device, buildInfo);
  /cts/common/host-side/util/src/com/android/compatibility/common/util/
MonitoringUtils.java 20 import com.android.tradefed.device.DeviceNotAvailableException;
21 import com.android.tradefed.device.ITestDevice;
29 * Utility functions related to device state monitoring during compatibility test.
36 public static boolean checkDeviceConnectivity(ITestDevice device)
40 if (device.checkConnectivity()) {
53 public static void checkDeviceConnectivity(ITestDevice device, ITestInvocationListener listener,
55 if (!checkDeviceConnectivity(device)) {
57 InputStreamSource bugSource = device.getBugreport();
  /external/autotest/client/cros/faft/utils/
firmware_check_keys.py 15 device = None variable in class:firmwareCheckKeys
20 device = InputDevice(evdev)
21 if device.is_keyboard():
22 print 'keyboard device %s' % evdev
23 self.device = device
29 self.ev.read(self.device.f)
41 if not self.device:
42 logging.error("Could not find a keyboard device")
  /external/blktrace/btt/
bno_dump.c 27 static FILE *bno_dump_open(__u32 device, char rwc)
33 mjr = device >> MINORBITS;
34 mnr = device & ((1 << MINORBITS) - 1);
51 void *bno_dump_alloc(__u32 device)
58 bdp->rfp = bno_dump_open(device, 'r');
59 bdp->wfp = bno_dump_open(device, 'w');
60 bdp->cfp = bno_dump_open(device, 'c');
  /external/clang/lib/Headers/
cuda_builtin_vars.h 43 __attribute__((device)) unsigned int __fetch_builtin_##FIELD(void) { \
57 __attribute__((device)) TypeName() __DELETE; \
58 __attribute__((device)) TypeName(const TypeName &) __DELETE; \
59 __attribute__((device)) void operator=(const TypeName &) const __DELETE; \
60 __attribute__((device)) TypeName *operator&() const __DELETE
95 extern const __attribute__((device)) __attribute__((weak))
104 __attribute__((device)) const int warpSize = 32;
  /external/libmtp/examples/
delfile.c 3 * Example program to delete a file off the device.
33 extern LIBMTP_mtpdevice_t *device;
50 ret = LIBMTP_Delete_Object(device, id);
52 LIBMTP_Dump_Errorstack(device);
53 LIBMTP_Clear_Errorstack(device);
103 ret = LIBMTP_Delete_Object(device, id);
107 LIBMTP_Dump_Errorstack(device);
108 LIBMTP_Clear_Errorstack(device);
newplaylist.c 3 * Example program to create a playlist on a device.
39 LIBMTP_mtpdevice_t *device = NULL; local
83 device = LIBMTP_Get_First_Device();
84 if (device == NULL) {
95 int ret = LIBMTP_Create_New_Playlist(device,playlist);
98 LIBMTP_Dump_Errorstack(device);
99 LIBMTP_Clear_Errorstack(device);
105 LIBMTP_Release_Device(device);
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
MtpClient.java 44 * and notifies the application when the MTP device list changes.
57 // so we can inform when the device has been detached.
114 * Called when a new device has been added
116 * @param device the new device that was added
118 public void deviceAdded(MtpDevice device);
121 * Called when a new device has been removed
123 * @param device the device that was removed
125 public void deviceRemoved(MtpDevice device);
274 MtpDevice device = getDevice(deviceName); local
306 MtpDevice device = getDevice(deviceName); local
321 MtpDevice device = getDevice(deviceName); local
342 MtpDevice device = getDevice(deviceName); local
378 MtpDevice device = getDevice(deviceName); local
393 MtpDevice device = getDevice(deviceName); local
411 MtpDevice device = getDevice(deviceName); local
    [all...]
  /hardware/libhardware/include/hardware/
vehicle_camera.h 47 * Name of the vehicle device to open. Extend this list as
61 * Describes the current state of camera device
116 * @param device - device handle
119 * -EPERM if device is invalid or not initialized
121 int (*get_capabilities)(struct vehicle_camera_device_t *device, vehicle_camera_cap_t *cap);
125 * @param device - device handle
128 * -EPERM if device is not initialized
131 int (*get_camera_crop)(struct vehicle_camera_device_t *device, android_native_rect_t *rect)
    [all...]

Completed in 581 milliseconds

<<11121314151617181920>>