/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/ |
D | QualcommCamera.cpp | 94 QCamera2HardwareInterface *util_get_Hal_obj( struct camera_device * device) in util_get_Hal_obj() argument 97 if(device && device->priv){ in util_get_Hal_obj() 98 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in util_get_Hal_obj() 131 camera_device *device = NULL; in camera_device_open() local 149 device = &camHal->hw_dev; in camera_device_open() 150 device->common.close = close_camera_device; in camera_device_open() 151 device->ops = &QCamera2HardwareInterface::mCameraOps; in camera_device_open() 152 device->priv = (void *)camHal; in camera_device_open() 160 device = NULL; in camera_device_open() 166 *hw_device = (hw_device_t*)&device->common; in camera_device_open() [all …]
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_device_impl.cpp | 43 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device); 45 int gralloc_device_close(struct hw_device_t *device); 63 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { in gralloc_device_open() argument 67 *device = reinterpret_cast<hw_device_t *>(dev); in gralloc_device_open() 98 int GrallocImpl::CloseDevice(hw_device_t *device __unused) { in CloseDevice() 103 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities() argument 105 if (device != nullptr) { in GetCapabilities() 116 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_t function) { in GetFunction() argument 117 if (!device) { in GetFunction() 176 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump() argument [all …]
|
D | gr_device_impl.h | 47 static int CloseDevice(hw_device_t *device); 48 static void GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, 51 struct gralloc1_device *device, int32_t /*gralloc1_function_descriptor_t*/ descriptor); 63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size, 65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device, 67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device, 69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device, 71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device, 74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device, 77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device, [all …]
|
/hardware/interfaces/camera/device/3.2/ |
D | Android.bp | 4 name: "android.hardware.camera.device@3.2_hal", 14 name: "android.hardware.camera.device@3.2_genc++", 16 …re:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.2", 18 ":android.hardware.camera.device@3.2_hal", 21 "android/hardware/camera/device/3.2/types.cpp", 22 "android/hardware/camera/device/3.2/CameraDeviceAll.cpp", 23 "android/hardware/camera/device/3.2/CameraDeviceCallbackAll.cpp", 24 "android/hardware/camera/device/3.2/CameraDeviceSessionAll.cpp", 29 name: "android.hardware.camera.device@3.2_genc++_headers", 31 …re:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.2", [all …]
|
/hardware/interfaces/camera/device/1.0/ |
D | Android.bp | 4 name: "android.hardware.camera.device@1.0_hal", 14 name: "android.hardware.camera.device@1.0_genc++", 16 …re:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@1.0", 18 ":android.hardware.camera.device@1.0_hal", 21 "android/hardware/camera/device/1.0/types.cpp", 22 "android/hardware/camera/device/1.0/CameraDeviceAll.cpp", 23 "android/hardware/camera/device/1.0/CameraDeviceCallbackAll.cpp", 24 "android/hardware/camera/device/1.0/CameraDevicePreviewCallbackAll.cpp", 29 name: "android.hardware.camera.device@1.0_genc++_headers", 31 …re:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@1.0", [all …]
|
/hardware/qcom/display/sdm845/libgralloc1/ |
D | gr_device_impl.cpp | 46 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device); 48 int gralloc_device_close(struct hw_device_t *device); 66 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { in gralloc_device_open() argument 70 *device = reinterpret_cast<hw_device_t *>(dev); in gralloc_device_open() 101 int GrallocImpl::CloseDevice(hw_device_t *device __unused) { in CloseDevice() 106 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities() argument 108 if (device != nullptr) { in GetCapabilities() 119 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_t function) { in GetFunction() argument 120 if (!device) { in GetFunction() 179 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump() argument [all …]
|
D | gr_device_impl.h | 47 static int CloseDevice(hw_device_t *device); 48 static void GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, 51 struct gralloc1_device *device, int32_t /*gralloc1_function_descriptor_t*/ descriptor); 63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size, 65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device, 67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device, 69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device, 71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device, 74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device, 77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device, [all …]
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_device_impl.cpp | 46 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device); 48 int gralloc_device_close(struct hw_device_t *device); 66 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { in gralloc_device_open() argument 70 *device = reinterpret_cast<hw_device_t *>(dev); in gralloc_device_open() 101 int GrallocImpl::CloseDevice(hw_device_t *device __unused) { in CloseDevice() 106 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities() argument 108 if (device != nullptr) { in GetCapabilities() 119 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_t function) { in GetFunction() argument 120 if (!device) { in GetFunction() 179 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump() argument [all …]
|
D | gr_device_impl.h | 47 static int CloseDevice(hw_device_t *device); 48 static void GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, 51 struct gralloc1_device *device, int32_t /*gralloc1_function_descriptor_t*/ descriptor); 63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size, 65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device, 67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device, 69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device, 71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device, 74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device, 77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device, [all …]
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
D | Hwcomposer.cpp | 76 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local 77 if (!device) { in prepare() 81 device->prePrepare(displays[i]); in prepare() 88 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local 89 if (!device) { in prepare() 93 ret = device->prepare(displays[i]); in prepare() 122 IDisplayDevice *device = mDisplayDevices.itemAt(i); in commit() local 123 if (!device) { in commit() 128 if (!device->isConnected()) { in commit() 133 ret = device->commit(displays[i], mDisplayContext); in commit() [all …]
|
D | Drm.h | 49 bool detect(int device); 50 bool setDrmMode(int device, drmModeModeInfo& value); 51 bool setRefreshRate(int device, int hz); 59 bool isConnected(int device); 60 bool setDpmsMode(int device, int mode); 62 bool getModeInfo(int device, drmModeModeInfo& mode); 63 bool getPhysicalSize(int device, uint32_t& width, uint32_t& height); 64 bool getDisplayResolution(int device, uint32_t& width, uint32_t& height); 66 int getPanelOrientation(int device); 68 drmModeModeInfoPtr detectAllConfigs(int device, int *modeCount); [all …]
|
/hardware/libhardware/include/hardware/ |
D | nvram.h | 65 nvram_result_t (*get_total_size_in_bytes)(const struct nvram_device* device, 77 const struct nvram_device* device, uint64_t* available_size); 88 const struct nvram_device* device, uint64_t* max_space_size); 99 nvram_result_t (*get_max_spaces)(const struct nvram_device* device, 116 nvram_result_t (*get_space_list)(const struct nvram_device* device, 128 nvram_result_t (*get_space_size)(const struct nvram_device* device, 144 nvram_result_t (*get_space_controls)(const struct nvram_device* device, 161 nvram_result_t (*is_space_locked)(const struct nvram_device* device, 187 nvram_result_t (*create_space)(const struct nvram_device* device, 207 nvram_result_t (*delete_space)(const struct nvram_device* device, [all …]
|
D | gralloc1.h | 287 void (*getCapabilities)(struct gralloc1_device* device, uint32_t* outCount, 300 gralloc1_function_pointer_t (*getFunction)(struct gralloc1_device* device, 305 gralloc1_device_t** device) { in gralloc1_open() argument 307 TO_HW_DEVICE_T_OPEN(device)); in gralloc1_open() 310 static inline int gralloc1_close(gralloc1_device_t* device) { in gralloc1_close() argument 311 return device->common.close(&device->common); in gralloc1_close() 344 typedef void (*GRALLOC1_PFN_DUMP)(gralloc1_device_t* device, uint32_t* outSize, 367 gralloc1_device_t* device, gralloc1_buffer_descriptor_t* outDescriptor); 383 gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptor); 410 gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptor, [all …]
|
D | hwcomposer2.h | 748 void (*getCapabilities)(struct hwc2_device* device, uint32_t* outCount, 761 hwc2_function_pointer_t (*getFunction)(struct hwc2_device* device, 766 hwc2_device_t** device) { in hwc2_open() argument 768 TO_HW_DEVICE_T_OPEN(device)); in hwc2_open() 771 static inline int hwc2_close(hwc2_device_t* device) { in hwc2_close() argument 772 return device->common.close(&device->common); in hwc2_close() 882 hwc2_device_t* device, uint32_t width, uint32_t height, 902 hwc2_device_t* device, hwc2_display_t display); 934 typedef void (*HWC2_PFN_DUMP)(hwc2_device_t* device, uint32_t* outSize, 947 hwc2_device_t* device); [all …]
|
/hardware/interfaces/camera/device/3.3/ |
D | Android.bp | 4 name: "android.hardware.camera.device@3.3_hal", 12 name: "android.hardware.camera.device@3.3_genc++", 14 …re:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3", 16 ":android.hardware.camera.device@3.3_hal", 19 "android/hardware/camera/device/3.3/types.cpp", 20 "android/hardware/camera/device/3.3/CameraDeviceSessionAll.cpp", 25 name: "android.hardware.camera.device@3.3_genc++_headers", 27 …re:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3", 29 ":android.hardware.camera.device@3.3_hal", 32 "android/hardware/camera/device/3.3/types.h", [all …]
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
D | Hwcomposer.cpp | 79 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local 80 if (!device) { in prepare() 85 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL) in prepare() 88 device->prePrepare(displays[i]); in prepare() 92 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare() local 93 if (!device) { in prepare() 98 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL) in prepare() 101 ret = device->prepare(displays[i]); in prepare() 130 IDisplayDevice *device = mDisplayDevices.itemAt(i); in commit() local 131 if (!device) { in commit() [all …]
|
D | VsyncManager.cpp | 152 IDisplayDevice *device = NULL; in getCandidate() local 154 device = getDisplayDevice(IDisplayDevice::DEVICE_EXTERNAL); in getCandidate() 155 if (device && device->isConnected()) { in getCandidate() 161 device = getDisplayDevice(IDisplayDevice::DEVICE_VIRTUAL); in getCandidate() 162 if (device && device->isConnected()) { in getCandidate() 177 IDisplayDevice *device = getDisplayDevice(candidate); in enableVsync() local 178 if (!device) { in enableVsync() 183 if (device->vsyncControl(true)) { in enableVsync() 190 device = getDisplayDevice(IDisplayDevice::DEVICE_PRIMARY); in enableVsync() 191 if (device && device->vsyncControl(true)) { in enableVsync() [all …]
|
D | Drm.h | 45 bool detect(int device); 46 bool setDrmMode(int device, drmModeModeInfo& value); 47 bool setRefreshRate(int device, int hz); 55 bool isConnected(int device); 56 bool setDpmsMode(int device, int mode); 58 bool getModeInfo(int device, drmModeModeInfo& mode); 59 bool getPhysicalSize(int device, uint32_t& width, uint32_t& height); 61 int getPanelOrientation(int device); 62 drmModeModeInfoPtr detectAllConfigs(int device, int *modeCount); 70 inline int getOutputIndex(int device);
|
/hardware/libhardware/tests/input/evdev/ |
D | InputDevice_test.cpp | 71 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local 72 ASSERT_TRUE(device != nullptr); in TEST_F() 86 device->processInput(msc1, when); in TEST_F() 87 device->processInput(msc2, when); in TEST_F() 88 device->processInput(keyDown, when); in TEST_F() 89 device->processInput(syn, when); in TEST_F() 90 device->processInput(keyUp, when); in TEST_F() 100 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local 101 ASSERT_TRUE(device != nullptr); in TEST_F() 109 device->processInput(event, now); in TEST_F() [all …]
|
/hardware/libhardware/modules/local_time/ |
D | local_time_hw.c | 35 struct local_time_hw_device device; member 65 static int ltdev_close(hw_device_t *device) in ltdev_close() argument 67 free(device); in ltdev_close() 72 hw_device_t** device) in ltdev_open() argument 85 ltdev->device.common.tag = HARDWARE_DEVICE_TAG; in ltdev_open() 86 ltdev->device.common.version = 0; in ltdev_open() 87 ltdev->device.common.module = (struct hw_module_t *) module; in ltdev_open() 88 ltdev->device.common.close = ltdev_close; in ltdev_open() 90 ltdev->device.get_local_time = ltdev_get_local_time; in ltdev_open() 91 ltdev->device.get_local_freq = ltdev_get_local_freq; in ltdev_open() [all …]
|
/hardware/libhardware/modules/tv_input/ |
D | tv_input.cpp | 29 tv_input_device_t device; member 37 const char* name, struct hw_device_t** device); 115 const char* name, struct hw_device_t** device) in tv_input_device_open() argument 125 dev->device.common.tag = HARDWARE_DEVICE_TAG; in tv_input_device_open() 126 dev->device.common.version = TV_INPUT_DEVICE_API_VERSION_0_1; in tv_input_device_open() 127 dev->device.common.module = const_cast<hw_module_t*>(module); in tv_input_device_open() 128 dev->device.common.close = tv_input_device_close; in tv_input_device_open() 130 dev->device.initialize = tv_input_initialize; in tv_input_device_open() 131 dev->device.get_stream_configurations = in tv_input_device_open() 133 dev->device.open_stream = tv_input_open_stream; in tv_input_device_open() [all …]
|
/hardware/interfaces/graphics/allocator/2.0/default/ |
D | Gralloc1On0Adapter.h | 47 static inline Gralloc1On0Adapter* getAdapter(gralloc1_device_t* device) { in getAdapter() argument 48 return static_cast<Gralloc1On0Adapter*>(device); in getAdapter() 51 static int closeHook(struct hw_device_t* device) { in closeHook() argument 52 delete getAdapter(reinterpret_cast<gralloc1_device_t*>(device)); in closeHook() 60 static void getCapabilitiesHook(gralloc1_device_t* device, in getCapabilitiesHook() argument 63 getAdapter(device)->doGetCapabilities(outCount, outCapabilities); in getCapabilitiesHook() 71 gralloc1_device_t* device, in getFunctionHook() argument 73 return getAdapter(device)->doGetFunction(descriptor); in getFunctionHook() 79 static void dumpHook(gralloc1_device_t* device, uint32_t* outSize, in dumpHook() argument 81 return getAdapter(device)->dump(outSize, outBuffer); in dumpHook() [all …]
|
/hardware/qcom/display/sdm845/sdm/libs/hwc2/ |
D | hwc_session.h | 49 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction() argument 51 if (!device) { in CallDisplayFunction() 55 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() 65 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction() argument 68 if (!device) { in CallLayerFunction() 72 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() 82 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display); 83 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display, 85 static int32_t CreateVirtualDisplay(hwc2_device_t *device, uint32_t width, uint32_t height, 87 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer); [all …]
|
/hardware/libhardware/modules/hwcomposer/ |
D | hwcomposer.cpp | 33 hwc_composer_device_1_t device; member 38 struct hw_device_t** device); 109 struct hw_device_t** device) in hwc_device_open() argument 120 dev->device.common.tag = HARDWARE_DEVICE_TAG; in hwc_device_open() 121 dev->device.common.version = HWC_DEVICE_API_VERSION_1_0; in hwc_device_open() 122 dev->device.common.module = const_cast<hw_module_t*>(module); in hwc_device_open() 123 dev->device.common.close = hwc_device_close; in hwc_device_open() 125 dev->device.prepare = hwc_prepare; in hwc_device_open() 126 dev->device.set = hwc_set; in hwc_device_open() 128 *device = &dev->device.common; in hwc_device_open()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_session.h | 48 static int32_t CallDisplayFunction(hwc2_device_t *device, hwc2_display_t display, in CallDisplayFunction() argument 50 if (!device) { in CallDisplayFunction() 54 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallDisplayFunction() 64 static int32_t CallLayerFunction(hwc2_device_t *device, hwc2_display_t display, in CallLayerFunction() argument 67 if (!device) { in CallLayerFunction() 71 HWCSession *hwc_session = static_cast<HWCSession *>(device); in CallLayerFunction() 88 static int32_t AcceptDisplayChanges(hwc2_device_t *device, hwc2_display_t display); 89 static int32_t CreateLayer(hwc2_device_t *device, hwc2_display_t display, 91 static int32_t CreateVirtualDisplay(hwc2_device_t *device, uint32_t width, uint32_t height, 93 static int32_t DestroyLayer(hwc2_device_t *device, hwc2_display_t display, hwc2_layer_t layer); [all …]
|