/foundation/distributedhardware/distributed_input/services/source/inputinject/test/sourceinjectunittest/ |
H A D | distributed_input_sourceinject_test.cpp | 373 VirtualDevice* device = nullptr; in HWTEST_F() local 374 int32_t ret = DistributedInputInject::GetInstance().inputNodeManager_->GetDevice(deviceId, dhId, device); in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_statemachine.cpp | 60 LOG_DEBUG("[HIDH Machine]%{public}s():Device is br/edr device", __FUNCTION__); in SetDeviceType() 71 LOG_DEBUG("[HIDH Machine]%{public}s():Device is ble device", __FUNCTION__); in SetDeviceType() 76 LOG_ERROR("[HIDH Machine]%{public}s():Unknown device!", __FUNCTION__); in SetDeviceType() 161 LOG_ERROR("[HIDH Machine]%{public}s():[Disconnected]Unknown device!", __FUNCTION__); in Dispatch() 252 LOG_ERROR("[HIDH Machine]%{public}s():[Connecting]Unknown device!", __FUNCTION__); in Dispatch() 349 LOG_ERROR("[HIDH Machine]%{public}s():[Disconnecting]Unknown device!", __FUNCTION__); in Dispatch() 441 LOG_ERROR("[HIDH Machine]%{public}s():[Connected]Unknown device!", __FUNCTION__); in Dispatch() 778 RawAddress device(address_); in NotifyStateTransitions() 781 service->NotifyStateChanged(device, toState); in NotifyStateTransitions()
|
/third_party/alsa-lib/src/rawmidi/ |
H A D | rawmidi.c | 44 While more than one process may not open a given MIDI device in the same 45 direction simultaneously, separate processes may open a single MIDI device 46 in different directions (i.e. process one opens a MIDI device in write 47 direction and process two opens the same device in read direction). 52 instruct device driver to return the -EBUSY error when device is already occupied 56 Note: In opposite (default) behaviour, application is blocked until device resources 61 Using #SND_RAWMIDI_APPEND flag (output only) instruct device driver to append 63 to output ring buffer in the kernel space. This flag also means that device 64 is not opened exclusively, so more applications can share given rawmidi device [all...] |
/third_party/backends/backend/ |
H A D | canon630u.c | 79 Canon_Device *device; member 116 the device. It should be the first option in the options array 838 DBG (2, "sane_open: no devicename, opening first device\n"); in sane_open() 850 scanner->device = dev; in sane_open()
|
H A D | umax1220u.c | 81 Umax_Device *device; member 114 the device. It should be the first option in the options array 708 DBG (2, "sane_open: no devicename, opening first device\n"); in sane_open() 720 scanner->device = dev; in sane_open()
|
H A D | hp3900_config.c | 42 /* returns device model according to given product and vendor id's */ 49 static SANE_Int cfg_chipset_model_get(SANE_Int device); 364 SANE_Int vendor, product, device; in cfg_device_get() member 369 /*vendor, prodct, device */ in cfg_device_get() 389 rst = myreg[a].device; in cfg_device_get() 398 static SANE_Int cfg_chipset_model_get(SANE_Int device) in cfg_chipset_model_get() argument 403 SANE_Int device, chipset; in cfg_chipset_model_get() member 408 /*device , chipset */ in cfg_chipset_model_get() 426 if (device == myreg[a].device) in cfg_chipset_model_get() 486 SANE_Int device; cfg_buttons_get() member 532 SANE_Int device; cfg_sscg_get() member 584 SANE_Int device; cfg_motor_get() member 634 SANE_Int device; cfg_sensor_get() member 999 SANE_Int device; cfg_constrains_get() member 1085 SANE_Int device; cfg_autoref_get() member [all...] |
/third_party/alsa-utils/bat/ |
H A D | alsa.c | 97 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 107 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 116 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 126 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 139 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 162 _("Get parameter from device error: ")); in set_snd_pcm_params() 172 _("Get parameter from device error: ")); in set_snd_pcm_params() 192 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 202 fprintf(bat->err, _("Set parameter to device error: ")); in set_snd_pcm_params() 212 _("Get parameter from device erro in set_snd_pcm_params() [all...] |
/third_party/FreeBSD/sys/dev/usb/net/ |
H A D | if_axge.c | 64 * Various supported device vendors/products. 361 error = usbd_transfer_setup(uaa->device, &iface_index, sc->sc_xfer, in axge_attach() 369 ue->ue_udev = uaa->device; in axge_attach()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_meta_clear.c | 269 struct panvk_physical_device *dev = cmdbuf->device->physical_device; in panvk_meta_clear_attachment() 271 struct panvk_meta *meta = &cmdbuf->device->physical_device->meta; in panvk_meta_clear_attachment()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_screen.c | 55 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv30_screen_get_param() 733 ret = nouveau_bo_wrap(screen->base.device, fifo->notify, &screen->notify); in nv30_screen_create()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiMaintenance3Check.cpp | 225 // Create a limits vector based on runtime limit information for the device. 540 const auto& device = m_context.getDevice(); in iterate() local 675 vkd.getDescriptorSetLayoutSupport(device, &pCreateInfo, &pSupport); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawShaderDrawParametersTests.cpp | 288 const vk::VkDevice device = m_context.getDevice(); in iterate() local 290 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() 409 // Check if shader draw parameters is supported on the physical device. in checkSupport() 430 TCU_THROW(NotSupportedError, "shaderDrawParameters feature not supported by the device"); in checkSupport()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsicsSampled.cpp | 41 const VkDevice device, in makeGraphicsPipeline() 122 device, // const VkDevice device in makeGraphicsPipeline() 570 // Check if device supports image format for sampled images in checkSupport() 574 // Check if device supports image format for color attachment in checkSupport() 578 // Make sure device supports VK_FORMAT_R32_UINT format for color attachment in checkSupport() 40 makeGraphicsPipeline(const DeviceInterface& vk, const VkDevice device, const VkPipelineLayout pipelineLayout, const VkRenderPass renderPass, const VkShaderModule vertexModule, const VkShaderModule fragmentModule, const VkShaderModule geometryModule) makeGraphicsPipeline() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawShaderDrawParametersTests.cpp | 288 const vk::VkDevice device = m_context.getDevice(); in iterate() local 290 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() 409 // Check if shader draw parameters is supported on the physical device. in checkSupport() 430 TCU_THROW(NotSupportedError, "shaderDrawParameters feature not supported by the device"); in checkSupport()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DPipelineStateBuilder.cpp | 552 gpu->device()->CreateGraphicsPipelineState(&psoDesc, IID_PPV_ARGS(&pipelineState))); in create_pipeline_state() 708 gpu->device()->CreateComputePipelineState(&psoDesc, IID_PPV_ARGS(&pipelineState))); in MakeComputePipeline()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesShaderIntrinsicsSampled.cpp | 41 const VkDevice device, in makeGraphicsPipeline() 122 device, // const VkDevice device in makeGraphicsPipeline() 570 // Check if device supports image format for sampled images in checkSupport() 574 // Check if device supports image format for color attachment in checkSupport() 578 // Make sure device supports VK_FORMAT_R32_UINT format for color attachment in checkSupport() 40 makeGraphicsPipeline(const DeviceInterface& vk, const VkDevice device, const VkPipelineLayout pipelineLayout, const VkRenderPass renderPass, const VkShaderModule vertexModule, const VkShaderModule fragmentModule, const VkShaderModule geometryModule) makeGraphicsPipeline() argument
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_policy_service.cpp | 423 WriteServiceStartupError("[Policy Service] Register for device status events failed"); in Init() 425 CHECK_AND_RETURN_RET_LOG(status == SUCCESS, false, "[Policy Service] Register for device status events failed"); in Init() 729 // set to avrcp device in SetSystemVolumeLevel() 831 AUDIO_ERR_LOG("device %{public}d is not supported", deviceType); in GetVolumeGroupType() 892 AUDIO_DEBUG_LOG("Resetting offload not available on this output device! Release."); in ResetOffloadMode() 917 AUDIO_INFO_LOG("sessionId[%{public}d] not fetch device, Offload Skipped", sessionId); in OffloadStreamSetCheck() 1068 // set to avrcp device in SetStreamMute() 1172 for (auto device : connectedDevices_) { in GetSelectedDeviceInfo() 1173 if (GetRemoteModuleName(device->networkId_, device in GetSelectedDeviceInfo() 6072 sptr<AudioDeviceDescriptor> device = new AudioDeviceDescriptor(*devDes); GetDevicesForGroup() local 9812 Bluetooth::BluetoothRemoteDevice device = Bluetooth::BluetoothRemoteDevice(address); ScoInputDeviceFetchedForRecongnition() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_relational_ver_p2p_sync_test.cpp | 849 * @tc.setup: create virtual device B, and get a KvStoreNbDelegate as deviceA in SetUp() 881 * @tc.teardown: Release device A, B, C in TearDown() 1484 * @tc.desc: Test ability sync failed when one device hasn't distributed table. 1538 * @tc.steps: step1. create table A and device A push data to device B in HWTEST_F() 1550 * @tc.steps: step2. create table B and device B push data to device A in HWTEST_F() 1591 * @tc.steps: step1. device A create table and device B insert data and device in HWTEST_F() 2135 std::string device = deviceMap[j]; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_relational_sync_test.cpp | 49 "device BLOB," \ 53 "UNIQUE(device, ori_device));" \ 93 "device BLOB," \ in FakeOldVersionDB() 104 "device BLOB," \ in FakeOldVersionDB() 119 "\t UPDATE naturalbase_rdb_aux_student_1_log SET timestamp=get_sys_time(0), device='', " in FakeOldVersionDB() 130 void AddDeviceSchema(RelationalVirtualDevice *device, sqlite3 *db, const std::string &name) in AddDeviceSchema() argument 139 device->SetLocalFieldInfo(table.GetFieldInfos()); in AddDeviceSchema() 140 device->SetTableInfo(table); in AddDeviceSchema() 552 "\t UPDATE naturalbase_rdb_aux_student_1_log SET data_key=-1,timestamp=get_sys_time(0), device=''," in HWTEST_F() 612 * @tc.desc: Sync device wit [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_impl.cpp | 226 std::string RdbServiceImpl::ObtainDistributedTableName(const std::string &device, const std::string &table) in ObtainDistributedTableName() argument 228 ZLOGI("device=%{public}s table=%{public}s", Anonymous::Change(device).c_str(), table.c_str()); in ObtainDistributedTableName() 229 auto uuid = DmAdapter::GetInstance().GetUuidByNetworkId(device); in ObtainDistributedTableName() 392 const std::string& device, const std::string& sql, const std::vector<std::string>& selectionArgs) 405 rdbQuery.MakeRemoteQuery(DmAdapter::GetInstance().ToUUID(device), sql, ValueProxy::Convert(selectionArgs));
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_direct.c | 610 /* some buggy drivers require the device resumed before prepared; 611 * when a device has RESUME flag and is in SUSPENDED state, resume 1814 long card = 0, device = 0, subdevice = 0; local 1890 if (strcmp(id, "device") == 0) { 1891 err = snd_config_get_integer(n, &device); 1907 if (device < 0) 1908 device = 0; 1911 return (direction << 1) + (device << 2) + (subdevice << 8) + (card << 12);
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfswipe.c | 166 ntfs_log_info("\nUsage: %s [options] device\n" in usage() 307 if (!opts.device) { in parse_options() 308 opts.device = argv[optind-1]; in parse_options() 310 opts.device = NULL; in parse_options() 421 if (opts.device == NULL) { in parse_options() 423 ntfs_log_error("You must specify exactly one device.\n"); in parse_options() 2173 vol = utils_mount_volume(opts.device, flags); in main()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkCommandBuffer.cpp | 1220 CommandBuffer::CommandBuffer(Device *device, VkCommandBufferLevel pLevel) in CommandBuffer() argument 1221 : device(device) in CommandBuffer() 1278 auto debuggerContext = device->getDebuggerContext(); in end() 1349 // SwiftShader only has one device, so we ignore the device mask in setDeviceMask() 1735 auto debuggerContext = device->getDebuggerContext(); in submit()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Device.cpp | 130 DeviceBase* device, in ValidateLayoutAndGetComputePipelineDescriptorWithDefaults() 138 device, {{ in ValidateLayoutAndGetComputePipelineDescriptorWithDefaults() 153 DeviceBase* device, in ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults() 164 device, GetRenderStagesAndSetDummyShader(device, &descriptor))); in ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults() 210 dawn::WarningLog() << "No Dawn device uncaptured error callback was set. This is " in Initialize() 220 dawn::WarningLog() << "No Dawn device lost callback was set. This is probably not " in Initialize() 221 "intended. If you really want to ignore device lost " in Initialize() 239 // Starting from now the backend can start doing reentrant calls so the device is marked as in Initialize() 271 // since AttachmentStates are cached by the device, object in DestroyObjects() 129 ValidateLayoutAndGetComputePipelineDescriptorWithDefaults( DeviceBase* device, const ComputePipelineDescriptor& descriptor, ComputePipelineDescriptor* outDescriptor) ValidateLayoutAndGetComputePipelineDescriptorWithDefaults() argument 152 ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults( DeviceBase* device, const RenderPipelineDescriptor& descriptor, RenderPipelineDescriptor* outDescriptor) ValidateLayoutAndGetRenderPipelineDescriptorWithDefaults() argument [all...] |
/foundation/ability/ability_runtime/test/mock/common/include/ |
H A D | mock_single_kv_store.h | 72 DistributedKv::Status RemoveDeviceData(const std::string &device) override
|