Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 559) sorted by relevance

12345678910>>...23

/hardware/interfaces/common/support/
DNativeHandle.cpp28 bool isAidlNativeHandleEmpty(const NativeHandle& handle) { in isAidlNativeHandleEmpty()
32 static native_handle_t* fromAidl(const NativeHandle& handle, bool doDup) { in fromAidl()
44 native_handle_t* makeFromAidl(const NativeHandle& handle) { in makeFromAidl()
47 native_handle_t* dupFromAidl(const NativeHandle& handle) { in dupFromAidl()
51 static NativeHandle toAidl(const native_handle_t* handle, bool doDup) { in toAidl()
65 NativeHandle makeToAidl(const native_handle_t* handle) { in makeToAidl()
69 NativeHandle dupToAidl(const native_handle_t* handle) { in dupToAidl()
Dtest.cpp54 NativeHandle handle = { in makeTestAidlHandle() local
64 NativeHandle handle; in TEST() local
73 NativeHandle handle = makeTestAidlHandle(); in TEST() local
82 NativeHandle handle; in TEST() local
90 NativeHandle handle = makeTestAidlHandle(); in TEST() local
98 native_handle_t* handle = native_handle_create(2, 4); in makeTestLibcutilsHandle() local
109 native_handle_t* handle = native_handle_create(0, 0); in TEST() local
118 native_handle_t* handle = makeTestLibcutilsHandle(); in TEST() local
127 native_handle_t* handle = native_handle_create(0, 0); in TEST() local
136 native_handle_t* handle = makeTestLibcutilsHandle(); in TEST() local
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcommon.cpp42 interface_info *getIfaceInfo(wifi_interface_handle handle) in getIfaceInfo()
47 wifi_handle getWifiHandle(wifi_interface_handle handle) in getWifiHandle()
52 hal_info *getHalInfo(wifi_handle handle) in getHalInfo()
57 hal_info *getHalInfo(wifi_interface_handle handle) in getHalInfo()
72 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler()
97 wifi_error wifi_register_vendor_handler(wifi_handle handle, in wifi_register_vendor_handler()
143 void wifi_unregister_handler(wifi_handle handle, int cmd) in wifi_unregister_handler()
169 void wifi_unregister_vendor_handler_without_lock(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler_without_lock()
187 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler()
196 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd) in wifi_register_cmd()
[all …]
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dcommon.cpp42 interface_info *getIfaceInfo(wifi_interface_handle handle) in getIfaceInfo()
47 wifi_handle getWifiHandle(wifi_interface_handle handle) in getWifiHandle()
52 hal_info *getHalInfo(wifi_handle handle) in getHalInfo()
57 hal_info *getHalInfo(wifi_interface_handle handle) in getHalInfo()
72 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler()
97 wifi_error wifi_register_vendor_handler(wifi_handle handle, in wifi_register_vendor_handler()
143 void wifi_unregister_handler(wifi_handle handle, int cmd) in wifi_unregister_handler()
169 void wifi_unregister_vendor_handler_without_lock(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler_without_lock()
187 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler()
196 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd) in wifi_register_cmd()
[all …]
Dwifi_hal.cpp354 wifi_check_valid_ota_version(wifi_interface_handle handle) in wifi_check_valid_ota_version()
384 wifi_handle handle; in wifi_pre_initialize() local
513 wifi_error wifi_initialize(wifi_handle *handle) in wifi_initialize()
571 static int wifi_add_membership(wifi_handle handle, const char *group) in wifi_add_membership()
590 static void internal_cleaned_up_handler(wifi_handle handle) in internal_cleaned_up_handler()
626 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) in wifi_cleanup()
720 static int internal_pollin_handler(wifi_handle handle) in internal_pollin_handler()
731 void wifi_event_loop(wifi_handle handle) in wifi_event_loop()
796 wifi_handle handle = (wifi_handle)arg; in internal_valid_message_handler() local
865 GetMulticastIdCommand(wifi_handle handle, const char *name, const char *group) in GetMulticastIdCommand()
[all …]
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_reference.cpp61 static bool dmabuf_sanity_check(buffer_handle_t handle, bool skip_buffer_size_check = false) { in dmabuf_sanity_check()
105 bool map_buffer_locked(buffer_handle_t handle) REQUIRES(lock) { in map_buffer_locked()
135 bool map_metadata_locked(buffer_handle_t handle) REQUIRES(lock) { in map_metadata_locked()
163 bool validate_locked(buffer_handle_t handle) REQUIRES(lock) { in validate_locked()
198 buffer_handle_t handle) REQUIRES(lock) { in get_validated_data_locked()
225 int retain(buffer_handle_t handle) EXCLUDES(lock) { in retain()
254 int map(buffer_handle_t handle) EXCLUDES(lock) { in map()
263 int release(buffer_handle_t handle) EXCLUDES(lock) { in release()
298 int validate(buffer_handle_t handle) EXCLUDES(lock) { in validate()
308 std::optional<void *> get_buf_addr(buffer_handle_t handle) { in get_buf_addr()
[all …]
/hardware/google/graphics/common/libgscaler/
Dlibgscaler.cpp120 void exynos_gsc_destroy(void *handle) in exynos_gsc_destroy()
139 void *handle, in exynos_gsc_set_csc_property()
169 void *handle, in exynos_gsc_set_src_format()
204 void *handle, in exynos_gsc_set_dst_format()
240 void *handle, in exynos_gsc_set_rotation()
270 void *handle, in exynos_gsc_set_src_addr()
295 void *handle, in exynos_gsc_set_dst_addr()
319 int exynos_gsc_convert(void *handle) in exynos_gsc_convert()
363 int exynos_gsc_subdev_s_crop(void *handle, in exynos_gsc_subdev_s_crop()
383 int exynos_gsc_config_exclusive(void *handle, in exynos_gsc_config_exclusive()
[all …]
/hardware/google/graphics/common/libscaler/
Dlibscaler.cpp245 static CScalerNonStream *GetNonStreamScaler(void *handle) in GetNonStreamScaler()
279 int exynos_sc_destroy(void *handle) in exynos_sc_destroy()
298 void *handle, in exynos_sc_set_csc_property()
316 void *handle, in exynos_sc_set_src_format()
343 void *handle, in exynos_sc_set_dst_format()
373 void *handle, in exynos_sc_set_rotation()
386 void *handle, in exynos_sc_set_framerate()
397 void *handle, in exynos_sc_set_src_addr()
411 void *handle, in exynos_sc_set_dst_addr()
424 int exynos_sc_convert(void *handle) in exynos_sc_convert()
[all …]
/hardware/google/gchips/libexynosutils/
DExynosMutex.cpp201 void *handle) in exynos_mutex_destroy()
217 void *handle) in exynos_mutex_lock()
229 void *handle) in exynos_mutex_unlock()
241 void *handle) in exynos_mutex_trylock()
253 void *handle) in exynos_mutex_get_type()
264 void *handle) in exynos_mutex_get_created_status()
/hardware/libhardware/modules/sensors/dynamic_sensor/
Dsensors.cpp56 int SensorContext::activate(int handle, int enabled) { in activate()
60 int SensorContext::setDelay(int handle, int64_t delayNs) { in setDelay()
69 int handle, in batch()
75 int SensorContext::flush(int handle) { in flush()
86 struct sensors_poll_device_t *dev, int handle, int enabled) { in ActivateWrapper()
92 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper()
105 int handle, in BatchWrapper()
115 int SensorContext::FlushWrapper(struct sensors_poll_device_1 *dev, int handle) { in FlushWrapper()
DDynamicSensorManager.cpp77 int DynamicSensorManager::activate(int handle, bool enable) { in activate()
95 int DynamicSensorManager::batch(int handle, nsecs_t sample_period, nsecs_t batch_period) { in batch()
106 int DynamicSensorManager::setDelay(int handle, nsecs_t sample_period) { in setDelay()
110 int DynamicSensorManager::flush(int handle) { in flush()
140 int handle = getNextAvailableHandle(); in registerSensor() local
168 int handle = i->second; in unregisterSensor() local
183 int handle; in submitEvent() local
243 int handle, OperateSensorFunc sensorFunc) { in operateSensor()
270 int handle, OperateSensorFunc sensorFunc, uint64_t sensorOpIndex) { in operateSensor()
324 int handle, sp<BaseSensorObject> sensor) : in ConnectionReport()
[all …]
/hardware/libhardware/modules/gralloc/
Dmapper.cpp38 buffer_handle_t handle, in gralloc_map()
59 buffer_handle_t handle) in gralloc_unmap()
77 buffer_handle_t handle) in gralloc_register_buffer()
127 buffer_handle_t handle) in gralloc_unregister_buffer()
158 buffer_handle_t handle, int /*usage*/, in gralloc_lock()
179 buffer_handle_t handle) in gralloc_unlock()
/hardware/interfaces/wifi/netlinkinterceptor/aidl/android/hardware/net/nlinterceptor/
DIInterceptor.aidl61 void closeSocket(in InterceptedSocket handle); in closeSocket()
69 void subscribeGroup(in InterceptedSocket handle, in int nlGroup); in subscribeGroup()
77 void unsubscribeGroup(in InterceptedSocket handle, in int nlGroup); in unsubscribeGroup()
/hardware/interfaces/wifi/netlinkinterceptor/aidl/aidl_api/android.hardware.net.nlinterceptor/current/android/hardware/net/nlinterceptor/
DIInterceptor.aidl38 void closeSocket(in android.hardware.net.nlinterceptor.InterceptedSocket handle); in closeSocket()
39 …void subscribeGroup(in android.hardware.net.nlinterceptor.InterceptedSocket handle, in int nlGroup… in subscribeGroup()
40 …void unsubscribeGroup(in android.hardware.net.nlinterceptor.InterceptedSocket handle, in int nlGro… in unsubscribeGroup()
/hardware/interfaces/wifi/netlinkinterceptor/aidl/aidl_api/android.hardware.net.nlinterceptor/1/android/hardware/net/nlinterceptor/
DIInterceptor.aidl38 void closeSocket(in android.hardware.net.nlinterceptor.InterceptedSocket handle); in closeSocket()
39 …void subscribeGroup(in android.hardware.net.nlinterceptor.InterceptedSocket handle, in int nlGroup… in subscribeGroup()
40 …void unsubscribeGroup(in android.hardware.net.nlinterceptor.InterceptedSocket handle, in int nlGro… in unsubscribeGroup()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp52 int mali_gralloc_reference_validate(buffer_handle_t handle) { in mali_gralloc_reference_validate()
56 const private_handle_t * convertNativeHandleToPrivateHandle(buffer_handle_t handle) { in convertNativeHandleToPrivateHandle()
83 native_handle_t* handle = const_cast<native_handle_t*>(hnd); in get_dataspace() local
110 native_handle_t* handle = const_cast<native_handle_t*>(hnd); in set_dataspace() local
242 native_handle_t* handle = const_cast<native_handle_t*>(hnd); in get_video_metadata() local
275 native_handle_t* handle = const_cast<native_handle_t*>(hnd); in get_video_metadata_roiinfo() local
307 native_handle_t* handle = const_cast<native_handle_t*>(hnd); in get_format_fourcc() local
333 native_handle_t* handle = const_cast<native_handle_t*>(hnd); in get_format_modifier() local
358 void VendorGraphicBufferMeta::init(const buffer_handle_t handle) in init()
407 native_handle_t* handle = const_cast<native_handle_t*>(hnd); in import_buffer() local
[all …]
/hardware/qcom/display/msm8998/libqdutils/
DqdMetaData.cpp38 static int validateAndMap(private_handle_t* handle) { in validateAndMap()
65 int setMetaData(private_handle_t *handle, DispParamType paramType, in setMetaData()
126 int clearMetaData(private_handle_t *handle, DispParamType paramType) { in clearMetaData()
145 int getMetaData(private_handle_t *handle, DispFetchParamType paramType, in getMetaData()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dcommon.cpp29 interface_info *getIfaceInfo(wifi_interface_handle handle) in getIfaceInfo()
34 wifi_handle getWifiHandle(wifi_interface_handle handle) in getWifiHandle()
39 hal_info *getHalInfo(wifi_handle handle) in getHalInfo()
44 hal_info *getHalInfo(wifi_interface_handle handle) in getHalInfo()
59 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler()
95 wifi_error wifi_register_vendor_handler(wifi_handle handle, in wifi_register_vendor_handler()
135 void wifi_unregister_handler(wifi_handle handle, int cmd) in wifi_unregister_handler()
164 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler()
Dwifihal_vendor.cpp65 NUDStatsCommand::NUDStatsCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd) in NUDStatsCommand()
76 NUDStatsCommand* NUDStatsCommand::instance(wifi_handle handle) in instance()
251 wifi_handle handle = getWifiHandle(iface); in wifi_set_nud_stats() local
300 wifi_handle handle = getWifiHandle(iface); in wifi_get_nud_stats() local
348 wifi_handle handle = getWifiHandle(iface); in wifi_clear_nud_stats() local
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dcommon.cpp29 interface_info *getIfaceInfo(wifi_interface_handle handle) in getIfaceInfo()
34 wifi_handle getWifiHandle(wifi_interface_handle handle) in getWifiHandle()
39 hal_info *getHalInfo(wifi_handle handle) in getHalInfo()
44 hal_info *getHalInfo(wifi_interface_handle handle) in getHalInfo()
59 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler()
95 wifi_error wifi_register_vendor_handler(wifi_handle handle, in wifi_register_vendor_handler()
135 void wifi_unregister_handler(wifi_handle handle, int cmd) in wifi_unregister_handler()
164 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler()
/hardware/invensense/65xx/libsensors_iio/
DPressureSensor.IIO.secondary.cpp89 int PressureSensor::enable(int32_t handle, int en) in enable()
102 int PressureSensor::setDelay(int32_t handle, int64_t ns) in setDelay()
131 int PressureSensor::getEnable(int32_t handle) in getEnable()
141 int64_t PressureSensor::getDelay(int32_t handle) in getDelay()
DCompassSensor.AKM.cpp76 int CompassSensor::enable(int32_t handle, int en) in enable()
84 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay()
96 int CompassSensor::getEnable(int32_t handle) in getEnable()
108 int64_t CompassSensor::getDelay(int32_t handle) in getDelay()
/hardware/invensense/6515/libsensors_iio/
DCompassSensor.AKM.cpp76 int CompassSensor::enable(int32_t handle, int en) in enable()
84 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay()
96 int CompassSensor::getEnable(int32_t handle) in getEnable()
108 int64_t CompassSensor::getDelay(int32_t handle) in getDelay()
DPressureSensor.IIO.secondary.cpp88 int PressureSensor::enable(int32_t handle, int en) in enable()
101 int PressureSensor::setDelay(int32_t handle, int64_t ns) in setDelay()
130 int PressureSensor::getEnable(int32_t handle) in getEnable()
140 int64_t PressureSensor::getDelay(int32_t handle) in getDelay()
/hardware/google/aemu/host-common/testing/
DHostAddressSpace.cpp52 for (auto handle : handlesToClose) { in clear() local
61 uint32_t handle = mControlOps->gen_handle(); in open() local
74 void close(uint32_t handle) { in close()
83 uint64_t allocBlock(uint32_t handle, size_t size, uint64_t* physAddr) { in allocBlock()
88 void freeBlock(uint32_t handle, uint64_t off) { in freeBlock()
97 void setHostAddr(uint32_t handle, size_t off, void* hva) { in setHostAddr()
190 void ping(uint32_t handle, AddressSpaceDevicePingInfo* pingInfo) { in ping()
203 int claimShared(uint32_t handle, uint64_t off, uint64_t size) { in claimShared()
224 int unclaimShared(uint32_t handle, uint64_t off) { in unclaimShared()
323 uint64_t allocBlockLocked(uint32_t handle, size_t size, uint64_t* physAddr) { in allocBlockLocked()
[all …]

12345678910>>...23