HomeSort by relevance Sort by last modified time
    Searched defs:device (Results 426 - 450 of 896) sorted by null

<<11121314151617181920>>

  /device/linaro/hikey/hifi/xaf/host-apf/utest/
xaf-dec-test.c 48 unsigned int device = 0; variable
294 pb_handle = xa_playback_open(card, device, pb_format.channels, pb_format.sample_rate,
  /external/ImageMagick/MagickCore/
random.c 528 *device;
549 device=StringToStringInfo(filename);
550 device=DestroyStringInfo(device);
567 device=StringToStringInfo(filename);
568 device=DestroyStringInfo(device);
574 device=StringToStringInfo(filename);
575 device=DestroyStringInfo(device);
520 *device; local
    [all...]
  /external/adhd/cras/src/server/
cras_a2dp_iodev.c 43 * together with the device open timestamp to estimate how many virtual
103 * buffer is consumed in a constant frame rate at bluetooth device side.
113 /* Calculate consumed frames since device has opened */
156 /* Assert format is set before opening device. */
198 struct cras_bt_device *device; local
214 device = cras_bt_transport_device(a2dpio->transport);
215 if (device)
216 cras_bt_device_cancel_suspend(device);
271 struct cras_bt_device *device; local
275 device = cras_bt_transport_device(a2dpio->transport)
413 struct cras_bt_device *device = local
452 struct cras_bt_device *device; local
527 struct cras_bt_device *device; local
    [all...]
cras_bt_io.c 33 /* The structure represents a virtual input or output device of a
34 * bluetooth audio device, speaker or headset for example. A node
36 * by the bluetooth audio device.
44 struct cras_bt_device *device; member in struct:bt_io
84 /* Forces bt device to switch to use the given profile. Note that if
88 static void bt_switch_to_profile(struct cras_bt_device *device,
94 cras_bt_device_set_active_profile(device,
99 cras_bt_device_set_active_profile(device,
108 /* Checks if bt device is active for the given profile.
110 static int device_using_profile(struct cras_bt_device *device,
    [all...]
cras_bt_transport.c 25 struct cras_bt_device *device; member in struct:cras_bt_transport
143 return transport->device;
205 if (!transport->device)
210 * device to use hardware volume. Also map the volume value from 0-127
214 cras_bt_device_set_use_hardware_volume(transport->device, 1);
216 transport->device,
271 /* Property: object Device [readonly] */
273 transport->device = cras_bt_device_get(obj_path);
274 if (!transport->device) {
275 syslog(LOG_ERR, "Device %s not found at update
    [all...]
cras_hfp_ag_profile.c 80 * device - The bt device associated with this audio gateway.
91 struct cras_bt_device *device; member in struct:audio_gateway
116 /* If the bt device is not using a2dp, do a deeper clean up
118 if (!cras_bt_device_has_a2dp(ag->device))
119 cras_bt_device_disconnect(ag->conn, ag->device);
124 /* Checks if there already a audio gateway connected for device. */
125 static int has_audio_gateway(struct cras_bt_device *device)
129 if (ag->device == device)
186 struct cras_bt_device *device = (struct cras_bt_device *)data; local
    [all...]
  /external/adhd/cras/src/tests/
bt_device_unittest.cc 77 struct cras_bt_device *device; local
79 device = cras_bt_device_create(NULL, FAKE_OBJ_PATH);
80 EXPECT_NE((void *)NULL, device);
82 device = cras_bt_device_get(FAKE_OBJ_PATH);
83 EXPECT_NE((void *)NULL, device);
85 cras_bt_device_destroy(device);
86 device = cras_bt_device_get(FAKE_OBJ_PATH);
87 EXPECT_EQ((void *)NULL, device);
91 struct cras_bt_device *device; local
92 device = cras_bt_device_create(NULL, FAKE_OBJ_PATH)
130 struct cras_bt_device *device; local
    [all...]
  /external/chromium-trace/catapult/third_party/pyserial/serial/
serialposix.py 29 # try to detect the OS so that a device can be selected...
30 # this code block should supply a device() and set_special_baudrate() function
36 def device(port): function
97 def device(port): function
119 def device(port): function
130 def device(port): function
153 def device(port): function
161 def device(port): function
171 def device(port): function
172 return '/dev/ttyf%d' % (port+1) #XXX different device names depending on flow contro
181 def device(port): function
191 def device(port): function
201 def device(port): function
228 def device(portum): function
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiVersionCheck.cpp 117 device = createTestDevice(m_context.getPlatformInterface(), m_context.getInstanceInterface(), m_context.getPhysicalDevice());
187 Move<VkDevice> device; member in class:vkt::api::__anon18865::APIEntryPointsTestInstance
260 if ((getDeviceProcAddr(*device, name) == DE_NULL) == shouldBeNonNull)
261 reportFail(log, "vkGetDeviceProcAddr", "device", name, shouldBeNonNull, failsQuantity);
  /external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
vktConditionalDispatchTests.cpp 174 const vk::VkDevice device = m_context.getDevice(); local
182 const compute::Buffer outputBuffer(vk, device, allocator, compute::makeBufferCreateInfo(bufferSizeBytes, vk::VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), vk::MemoryRequirement::HostVisible);
188 vk::flushAlloc(vk, device, alloc);
196 .build(vk, device));
201 .build(vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u));
203 const vk::Unique<vk::VkDescriptorSet> descriptorSet(compute::makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout));
208 .update(vk, device);
212 const vk::Unique<vk::VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u));
213 const vk::Unique<vk::VkPipelineLayout> pipelineLayout(compute::makePipelineLayout(vk, device, *descriptorSetLayout));
214 const vk::Unique<vk::VkPipeline> pipeline(compute::makeComputePipeline(vk, device, *pipelineLayout, *shaderModule))
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktDrawNegativeViewportHeightTests.cpp 95 const VkDevice device = m_context.getDevice(); local
112 m_vertexBuffer = Buffer::createAndAlloc(vk, device, BufferCreateInfo(dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT),
116 flushMappedMemoryRange(vk, device, m_vertexBuffer->getBoundMemory().getMemory(), m_vertexBuffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE);
134 m_colorTargetImage = Image::createAndAlloc(vk, device, targetImageCreateInfo, m_context.getDefaultAllocator(), m_context.getUniversalQueueFamilyIndex());
165 m_renderPass = createRenderPass(vk, device, &renderPassCreateInfo);
171 m_colorTargetView = createImageView(vk, device, &colorTargetViewInfo);
177 m_framebuffer = createFramebuffer(vk, device, &framebufferCreateInfo);
207 const Unique<VkShaderModule> vertexModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("vert"), 0));
208 const Unique<VkShaderModule> fragmentModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("frag"), 0));
211 m_pipelineLayout = createPipelineLayout(vk, device, &pipelineLayoutCreateInfo)
243 const VkDevice device = m_context.getDevice(); local
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/geometry/
vktGeometryInstancedRenderingTests.cpp 88 const VkDevice device,
126 device, // const VkDevice device
151 const VkDevice device = context.getDevice(); local
160 const Unique<VkImage> colorImage (makeImage (vk, device, makeImageCreateInfo(colorFormat, colorImageExtent, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT)));
161 const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, MemoryRequirement::Any));
162 const Unique<VkImageView> colorAttachment (makeImageView (vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresourceRange));
165 const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT)));
166 const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer(vk, device, allocator, *vertexBuffer, MemoryRequirement::HostVisible));
168 const Unique<VkShaderModule> vertexModule (createShaderModule (vk, device, context.getBinaryCollection().get("vert"), 0u))
360 const VkDevice device = context.getDevice(); local
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMultisampleBaseResolve.cpp 49 const VkDevice device = m_context.getDevice(); local
59 // Check if image size does not exceed device limits
62 // Check if device supports image format as color attachment
88 const de::UniquePtr<Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, MemoryRequirement::Any));
95 const de::UniquePtr<Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any));
167 const Unique<VkRenderPass> renderPass(createRenderPass(deviceInterface, device, &renderPassInfo));
172 const Unique<VkImageView> imageMSView(makeImageView(deviceInterface, device, **imageMS, mapImageViewType(m_imageType), imageMSInfo.format, fullImageRange));
173 const Unique<VkImageView> imageRSView(makeImageView(deviceInterface, device, **imageRS, mapImageViewType(m_imageType), imageMSInfo.format, fullImageRange));
191 const Unique<VkFramebuffer> framebuffer(createFramebuffer(deviceInterface, device, &framebufferInfo));
205 const Unique<VkPipelineLayout> pipelineLayout(createPipelineLayout(deviceInterface, device, &pipelineLayoutParams))
    [all...]
vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp 121 const VkDevice device = m_context.getDevice(); local
131 // Check if image size does not exceed device limits
134 // Check if device supports image format as color attachment
160 const de::UniquePtr<Image> imageMS(new Image(deviceInterface, device, allocator, imageMSInfo, MemoryRequirement::Any));
168 const de::UniquePtr<Image> imageRS(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any));
176 imagesPerSampleVec[sampleNdx] = de::SharedPtr<Image>(new Image(deviceInterface, device, allocator, imageRSInfo, MemoryRequirement::Any));
321 const Unique<VkRenderPass> renderPass(createRenderPass(deviceInterface, device, &renderPassInfo));
330 imageViewsShPtrs[0] = makeVkSharedPtr(makeImageView(deviceInterface, device, **imageMS, mapImageViewType(m_imageType), imageMSInfo.format, fullImageRange));
331 imageViewsShPtrs[1] = makeVkSharedPtr(makeImageView(deviceInterface, device, **imageRS, mapImageViewType(m_imageType), imageRSInfo.format, fullImageRange));
338 imageViewsShPtrs[firstSubpassAttachmentsCount + sampleNdx] = makeVkSharedPtr(makeImageView(deviceInterface, device, **imagesPerSampleVec[sampleNdx], mapImageViewType(m_imageType), imageRSInfo.format, fullImageRang (…)
    [all...]
vktPipelineMultisampleShaderBuiltInTests.cpp 638 const VkDevice device = m_context.getDevice(); local
643 .build(deviceInterface, device);
653 const VkDevice device = m_context.getDevice(); local
659 .build(deviceInterface, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u);
662 m_descriptorSet = makeDescriptorSet(deviceInterface, device, *m_descriptorPool, *descSetLayout);
666 m_buffer = de::MovePtr<Buffer>(new Buffer(deviceInterface, device, allocator, bufferSampleMaskInfo, MemoryRequirement::HostVisible));
670 flushAlloc(deviceInterface, device, m_buffer->getAllocation());
676 .update(deviceInterface, device);
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/protected_memory/
vktProtectedMemBlitImageTests.cpp 122 const vk::VkDevice device = ctx.getDevice(); local
141 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex));
142 vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
143 vk::Unique<vk::VkCommandBuffer> secondaryCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_SECONDARY));
335 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, device));
vktProtectedMemBufferValidator.hpp 181 const vk::VkDevice device = ctx.getDevice(); local
198 vk::flushMappedMemoryRange(vk, device, refUniform->getAllocation().getMemory(), refUniform->getAllocation().getOffset(), refDataSize);
208 vk::Unique<vk::VkShaderModule> resetSSBOShader (vk::createShaderModule(vk, device, ctx.getBinaryCollection().get("ResetSSBO"), 0));
209 vk::Unique<vk::VkShaderModule> validatorShader (vk::createShaderModule(vk, device, ctx.getBinaryCollection().get("BufferValidator"), 0));
216 .build(vk, device));
221 .build(vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u));
222 vk::Unique<vk::VkDescriptorSet> descriptorSet (makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout));
245 bufferView = vk::Move<vk::VkBufferView> (vk::createBufferView(vk, device, &viewParams));
262 .update(vk, device);
266 vk::Unique<vk::VkPipelineLayout> pipelineLayout (makePipelineLayout(vk, device, *descriptorSetLayout))
    [all...]
vktProtectedMemCopyBufferToImageTests.cpp 124 const vk::VkDevice device = ctx.getDevice(); local
142 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex));
143 vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
144 vk::Unique<vk::VkCommandBuffer> secondaryCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_SECONDARY));
295 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, device));
vktProtectedMemCopyImageTests.cpp 122 const vk::VkDevice device = ctx.getDevice(); local
141 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex));
142 vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
143 vk::Unique<vk::VkCommandBuffer> secondaryCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_SECONDARY));
333 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, device));
vktProtectedMemCopyImageToBufferTests.cpp 125 const vk::VkDevice device = ctx.getDevice(); local
144 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex));
145 vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
146 vk::Unique<vk::VkCommandBuffer> secondaryCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_SECONDARY));
296 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, device));
vktProtectedMemFillUpdateCopyBufferTests.cpp 146 const vk::VkDevice device = ctx.getDevice(); local
168 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex));
169 vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
170 vk::Unique<vk::VkCommandBuffer> secondaryCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_SECONDARY));
284 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, device));
vktProtectedMemWorkgroupStorageTests.cpp 193 const vk::VkDevice device = ctx.getDevice(); local
198 vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFamilyIndex));
204 vk::Unique<vk::VkShaderModule> computeShader (vk::createShaderModule(vk, device, ctx.getBinaryCollection().get("comp"), 0));
268 descriptorSetLayout = layoutBuilder.build(vk, device);
269 descriptorPool = poolBuilder.build(vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u);
270 descriptorSet = makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout);
274 vk::Unique<vk::VkPipelineLayout> pipelineLayout (makePipelineLayout(vk, device, *descriptorSetLayout));
292 updateBuilder.update(vk, device);
297 const vk::Unique<vk::VkFence> fence (vk::createFence(vk, device));
298 vk::Unique<vk::VkPipeline> pipeline (makeComputePipeline(vk, device, *pipelineLayout, *computeShader, DE_NULL))
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/synchronization/
vktSynchronizationBasicSemaphoreTests.cpp 50 const VkDevice device = context.getDevice(); local
53 const Unique<VkSemaphore> semaphore (createSemaphore (vk, device));
54 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex));
55 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool));
89 const Unique<VkFence> fence (createFence(vk, device));
95 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, FENCE_WAIT))
105 const VkDevice& device = context.getDevice(); local
117 err = vk.createSemaphore(device, &sci, DE_NULL, &semaphore);
135 VK_CHECK(vk.createFence(device, &fci, DE_NULL, &fence));
140 vk.waitForFences(device, 1, &fence, VK_TRUE, ~(0ull))
    [all...]
vktSynchronizationOperationSingleQueueTests.cpp 82 const VkDevice device = m_context.getDevice(); local
85 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex));
86 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool));
87 const Unique<VkEvent> event (createEvent(vk, device));
112 submitCommandsAndWait(vk, device, queue, *cmdBuffer);
137 const VkDevice device = m_context.getDevice(); local
140 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex));
141 const Move<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool));
166 submitCommandsAndWait(vk, device, queue, *cmdBuffer);
192 const VkDevice device = m_context.getDevice() local
280 const VkDevice device = m_context.getDevice(); local
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationCommonEdgeTests.cpp 249 const VkDevice device = context.getDevice(); local
336 const Buffer vertexBuffer(vk, device, allocator,
347 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), vertexDataSizeBytes);
356 const Image colorAttachmentImage (vk, device, allocator,
363 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
367 const Unique<VkImageView> colorAttachmentView (makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
368 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
369 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u));
370 const Unique<VkCommandPool> cmdPool (makeCommandPool (vk, device, queueFamilyIndex));
371 const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer (vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY))
    [all...]

Completed in 1847 milliseconds

<<11121314151617181920>>