Home
last modified time | relevance | path

Searched refs:device_id (Results 1 – 25 of 42) sorted by relevance

12

/hardware/interfaces/tv/input/aidl/vts/functional/
DVtsHalTvInputTargetTest.cpp103 int32_t device_id = device_info_.keyAt(i); in updateAllStreamConfigurations() local
104 updateStreamConfigurations(device_id); in updateAllStreamConfigurations()
161 int32_t device_id = device_info_.keyAt(i); in TEST_P() local
162 ALOGD("GetStreamConfigTest: device_id=%d", device_id); in TEST_P()
163 ASSERT_TRUE(updateStreamConfigurations(device_id).isOk()); in TEST_P()
178 int32_t device_id = stream_config_.keyAt(j); in TEST_P() local
183 ALOGD("OpenAndCloseStreamTest: open stream, device_id=%d, stream_id=%d", device_id, in TEST_P()
185 ASSERT_TRUE(tv_input_->openStream(device_id, stream_id, &handle).isOk()); in TEST_P()
190 ALOGD("OpenAndCloseStreamTest: close stream, device_id=%d, stream_id=%d", device_id, in TEST_P()
192 ASSERT_TRUE(tv_input_->closeStream(device_id, stream_id).isOk()); in TEST_P()
[all …]
/hardware/libhardware/include/hardware/
Dtv_input.h84 int device_id; member
192 int device_id; member
336 int device_id, int* num_configurations,
350 int (*open_stream)(struct tv_input_device* dev, int device_id,
362 int (*close_stream)(struct tv_input_device* dev, int device_id,
385 int (*request_capture)(struct tv_input_device* dev, int device_id,
397 int (*cancel_capture)(struct tv_input_device* dev, int device_id,
/hardware/libhardware/include_all/hardware/
Dtv_input.h84 int device_id; member
192 int device_id; member
336 int device_id, int* num_configurations,
350 int (*open_stream)(struct tv_input_device* dev, int device_id,
362 int (*close_stream)(struct tv_input_device* dev, int device_id,
385 int (*request_capture)(struct tv_input_device* dev, int device_id,
397 int (*cancel_capture)(struct tv_input_device* dev, int device_id,
/hardware/interfaces/tv/input/1.0/vts/functional/
DVtsHalTvInputV1_0TargetTest.cpp94 int32_t device_id = device_info_.keyAt(i); in updateAllStreamConfigurations() local
95 updateStreamConfigurations(device_id); in updateAllStreamConfigurations()
197 int32_t device_id = device_info_.keyAt(i); in TEST_P() local
198 Result result = updateStreamConfigurations(device_id); in TEST_P()
212 int32_t device_id = stream_config_.keyAt(j); in TEST_P() local
217 tv_input_->openStream(device_id, stream_id, in TEST_P()
222 result = tv_input_->closeStream(device_id, stream_id); in TEST_P()
270 int32_t device_id = device_info_.keyAt(0); in TEST_P() local
273 if (stream_config_.indexOfKey(device_id) >= 0) { in TEST_P()
275 hidl_vec<TvStreamConfig> config = stream_config_.valueFor(device_id); in TEST_P()
[all …]
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/
Dxtestext1.h89 int XTestPressKey(Display *display, int device_id, unsigned long delay, unsigned int keycode, unsig…
90 int XTestPressButton(Display * display, int device_id, unsigned long delay, unsigned int button_num…
91 int XTestMovePointer(Display *display, int device_id, unsigned long delay[], int x[], int y[], unsi…
DXInput.h85 _class = ((XDevice *) d)->device_id << 8 | type;}}
127 { _class = ((XDevice *) d)->device_id << 8 | _devicePointerMotionHint;}
130 { _class = ((XDevice *) d)->device_id << 8 | _deviceButton1Motion;}
133 { _class = ((XDevice *) d)->device_id << 8 | _deviceButton2Motion;}
136 { _class = ((XDevice *) d)->device_id << 8 | _deviceButton3Motion;}
139 { _class = ((XDevice *) d)->device_id << 8 | _deviceButton4Motion;}
142 { _class = ((XDevice *) d)->device_id << 8 | _deviceButton5Motion;}
145 { _class = ((XDevice *) d)->device_id << 8 | _deviceButtonMotion;}
148 { _class = ((XDevice *) d)->device_id << 8 | _deviceOwnerGrabButton;}
151 { _class = ((XDevice *) d)->device_id << 8 | _deviceButtonGrab;}
[all …]
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
DNativeGpuInfo_darwin.cpp79 uint32_t device_id = GetEntryProperty(serv, CFSTR("device-id")); in GetGPUInfoMac() local
80 if (device_id) { in GetGPUInfoMac()
81 res.push_back(std::make_pair(vendor_id, device_id)); in GetGPUInfoMac()
Dgpuinfo_unittest.cpp414 EXPECT_STREQ("0ffa", nvidia_info.device_id.c_str()); in TEST()
442 EXPECT_STREQ("6660", ati_info.device_id.c_str()); in TEST()
472 EXPECT_STREQ("1916", intel_info.device_id.c_str()); in TEST()
528 EXPECT_STREQ("13ba", nvidia_info.device_id.c_str()); in TEST()
547 EXPECT_STREQ("13ba", nvidia_info.device_id.c_str()); in TEST()
Demugl_config_unittest.cpp474 gpulist->currGpu().device_id = "TEST GPU0 DEVICEID"; in TEST()
481 gpulist->currGpu().device_id = "TEST GPU1 DEVICEID"; in TEST()
488 gpulist->currGpu().device_id = "TEST GPU2 DEVICEID"; in TEST()
495 gpulist->currGpu().device_id = "TEST GPU3 DEVICEID"; in TEST()
513 EXPECT_STREQ("TEST GPU0 DEVICEID", gpu_props.props[0].device_id); in TEST()
514 EXPECT_STREQ("TEST GPU1 DEVICEID", gpu_props.props[1].device_id); in TEST()
515 EXPECT_STREQ("TEST GPU2 DEVICEID", gpu_props.props[2].device_id); in TEST()
516 EXPECT_STREQ("TEST GPU3 DEVICEID", gpu_props.props[3].device_id); in TEST()
Dgpuinfo.cpp78 if (!infos[i].device_id.empty()) { in dump()
79 ss << " Device ID: " << infos[i].device_id << std::endl; in dump()
110 const char* bl_device_id = bl_entry.device_id; in gpuinfo_query_list()
120 if (bl_device_id && (gpuinfo.device_id != bl_device_id)) in gpuinfo_query_list()
Demugl_config.cpp81 res.props[i].device_id = strdup(infos[i].device_id.c_str()); in emuglConfig_get_host_gpu_props()
179 free(proplist.props[i].device_id); in free_emugl_host_gpu_props()
DNativeGpuInfo_linux.cpp70 gpulist->currGpu().device_id = parse_last_hexbrackets(key); in parse_gpu_info_list_linux()
DNativeGpuInfo_windows.cpp69 gpulist->currGpu().device_id = std::move(toLower(result)); in parse_windows_gpu_ids()
291 gpu.device_id = deviceidBuf; in queryGpuInfoD3D()
/hardware/google/gfxstream/host/gl/gl-host-common/include/host-common/opengl/
Dgpuinfo.h47 const char* device_id; member
74 device_id(_device_id), in GpuInfo()
85 std::string device_id; variable
Demugl_config.h69 char* device_id; member
/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/
Ddevice_select_x11.c112 xdev->deviceinfo.pci->device_id == devices[i].dev_info.device_id) in device_select_find_xcb_pci_default()
Ddevice_select_wayland.c134 info.dev_info->deviceinfo.pci->device_id == devices[i].dev_info.device_id) in device_select_find_wayland_pci_default()
Ddevice_select.h34 uint32_t device_id; member
Ddevice_select_layer.c253 drm_device->dev_info.device_id = properties.properties.deviceID; in fill_drm_device_info()
269 unsigned vendor_id, device_id; in device_select_find_explicit_default() local
270 int matched = sscanf(selection, "%x:%x", &vendor_id, &device_id); in device_select_find_explicit_default()
276 pci_infos[i].dev_info.device_id == device_id) in device_select_find_explicit_default()
350 id.did == pci_infos[i].dev_info.device_id) { in device_select_find_boot_vga_vid_did()
/hardware/google/gfxstream/host/include/gfxstream/
Dvirtio-gpu-gfxstream-renderer-unstable.h23 struct stream_renderer_device_id device_id; member
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedLogicalRequestState.h108 uint32_t device_id);
DEmulatedLogicalRequestState.cpp86 HalCameraMetadata* result_metadata, uint32_t device_id) { in UpdateActivePhysicalId() argument
91 auto device_id_str = std::to_string(device_id); in UpdateActivePhysicalId()
/hardware/qcom/audio/post_proc/
Deffect_api.h20 int offload_update_mixer_and_effects_ctl(int card, int device_id,
/hardware/google/gfxstream/guest/mesa/include/GL/
Dmesa_glinterop.h127 uint32_t device_id; member
/hardware/interfaces/audio/core/all-versions/default/util/
DCoreUtils.cpp65 micInfo->deviceId = halMicInfo.device_id; in microphoneInfoFromHal()
103 strncpy(halMicInfo->device_id, micInfo.deviceId.c_str(), AUDIO_MICROPHONE_ID_MAX_LEN); in microphoneInfoToHal()
104 halMicInfo->device_id[AUDIO_MICROPHONE_ID_MAX_LEN - 1] = '\0'; in microphoneInfoToHal()

12