Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 234) sorted by relevance

12345678910

/device/linaro/poplar/wifi/wifi_hal/
Dcommon.cpp60 wifi_handle getWifiHandle(hal_info *info) in getWifiHandle() argument
62 return (wifi_handle)info; in getWifiHandle()
65 wifi_interface_handle getIfaceHandle(interface_info *info) in getIfaceHandle() argument
67 return (wifi_interface_handle)info; in getIfaceHandle()
72 hal_info *info = (hal_info *)handle; in wifi_register_handler() local
75 pthread_mutex_lock(&info->cb_lock); in wifi_register_handler()
79 if (info->num_event_cb < info->alloc_event_cb) { in wifi_register_handler()
80 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
81 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
82 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
[all …]
Dwifi_hal.cpp223 hal_info *info = (hal_info *)malloc(sizeof(hal_info)); in wifi_initialize() local
224 if (info == NULL) { in wifi_initialize()
229 memset(info, 0, sizeof(*info)); in wifi_initialize()
232 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->cleanup_socks) == -1) { in wifi_initialize()
234 free(info); in wifi_initialize()
241 free(info); in wifi_initialize()
249 free(info); in wifi_initialize()
258 free(info); in wifi_initialize()
263 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, internal_no_seq_check, info); in wifi_initialize()
264 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, internal_valid_message_handler, info); in wifi_initialize()
[all …]
/device/linaro/hikey/gralloc/
Dframebuffer_device.cpp87 0, 0, m->info.xres, m->info.yres, NULL); in fb_post()
90 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
91 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post()
97 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
149 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
172 0, 0, m->info.xres, m->info.yres, &fb_vaddr); in fb_post()
175 0, 0, m->info.xres, m->info.yres, &buffer_vaddr); in fb_post()
177 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
223 struct fb_var_screeninfo info; in init_frame_buffer_locked() local
225 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
[all …]
/device/linaro/hikey/gralloc960/
Dframebuffer_device.cpp104 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
105 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post()
109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
149 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
157 for (i = 0; i < m->info.yres; i++) in fb_post()
206 struct fb_var_screeninfo info; in init_frame_buffer_locked() local
208 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
213 info.reserved[0] = 0; in init_frame_buffer_locked()
214 info.reserved[1] = 0; in init_frame_buffer_locked()
[all …]
/device/amlogic/yukawa/hal/gralloc/
Dframebuffer_device.cpp104 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
105 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post()
109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
149 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
157 for (i = 0; i < m->info.yres; i++) in fb_post()
206 struct fb_var_screeninfo info; in init_frame_buffer_locked() local
208 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
213 info.reserved[0] = 0; in init_frame_buffer_locked()
214 info.reserved[1] = 0; in init_frame_buffer_locked()
[all …]
/device/google/cuttlefish/shared/
Dreleasetools.py40 def FullOTA_GetBlockDifferences(info): argument
41 images = GetUserImages(info.input_tmp, info.input_zip)
46 def IncrementalOTA_GetBlockDifferences(info): argument
47 source_images = GetUserImages(info.source_tmp, info.source_zip)
48 target_images = GetUserImages(info.target_tmp, info.target_zip)
/device/google/cuttlefish/tools/
Dtombstone_to_line.py59 def simple_match(line, info, indent, out_file): argument
61 line, info.file_name, info.line_number), file=out_file)
64 def source_match(line, info, indent, out_file): argument
67 with open(info.file_name, 'r') as f:
68 for i in range(int(info.line_number.split(' ')[0])):
72 simple_match(line, info, indent, out_file)
76 ' ' * indent, info.file_name, info.line_number), file=out_file)
89 info = None
91 info = lookup_addr(args, groups.group(p[2]), groups.group(p[3]))
92 if info is None:
[all …]
/device/generic/goldfish/network/wifi_forwarder/
Dwifi_forwarder.cpp36 [this](FrameInfo& info) { onAck(info, true); }, in __anone7eb97f60202() argument
37 [this](FrameInfo& info) { onAck(info, false); }) in __anone7eb97f60302() argument
41 [this](FrameInfo& info) { onAck(info, true); }, in __anone7eb97f60502() argument
42 [this](FrameInfo& info) { onAck(info, false); }) { in __anone7eb97f60602() argument
131 void WifiForwarder::onAck(FrameInfo& info, bool success) { in onAck() argument
132 RadioType type = mRadios[info.transmitter()]; in onAck()
136 MACARG(info.transmitter()), info.cookie(), in onAck()
139 if (!mRemoteConnection.ackFrame(info, success)) { in onAck()
145 MACARG(info.transmitter()), info.cookie(), in onAck()
148 if (!mLocalConnection.ackFrame(info, success)) { in onAck()
[all …]
Dremote_connection.cpp219 FrameInfo info(fwd->transmitter, in receive() local
226 if (info.flags() & HWSIM_TX_STAT_ACK) { in receive()
227 mOnAckCallback(info); in receive()
229 mOnErrorCallback(info); in receive()
312 bool RemoteConnection::ackFrame(FrameInfo& info, bool success) { in ackFrame() argument
313 uint32_t flags = info.flags(); in ackFrame()
318 info.transmitter(), in ackFrame()
320 info.cookie(), in ackFrame()
322 info.channel(), in ackFrame()
323 info.rates().size(), in ackFrame()
[all …]
/device/generic/goldfish-opengl/system/egl/
Dgoldfish_sync.h87 struct goldfish_sync_ioctl_info info; in goldfish_sync_queue_work() local
90 info.host_glsync_handle_in = host_glsync; in goldfish_sync_queue_work()
91 info.host_syncthread_handle_in = host_thread; in goldfish_sync_queue_work()
92 info.fence_fd_out = -1; in goldfish_sync_queue_work()
94 err = ioctl(goldfish_sync_fd, sQueueWorkIoctlCmd, &info); in goldfish_sync_queue_work()
98 err = ioctl(goldfish_sync_fd, sQueueWorkIoctlCmd, &info); in goldfish_sync_queue_work()
104 if (fd_out) *fd_out = info.fence_fd_out; in goldfish_sync_queue_work()
/device/generic/goldfish-opengl/system/vulkan_enc/
DResourceTracker.cpp76 const VkImportAndroidHardwareBufferInfoANDROID* info, in importAndroidHardwareBuffer() argument
379 auto info = it->second; in GOLDFISH_VK_LIST_TRIVIAL_HANDLE_TYPES() local
389 auto info = it->second; in unregister_VkDevice() local
399 auto& info = it->second; in unregister_VkCommandBuffer() local
401 info.lastUsedEncoderPtr ? in unregister_VkCommandBuffer()
402 *(info.lastUsedEncoderPtr) : nullptr; in unregister_VkCommandBuffer()
405 delete info.lastUsedEncoderPtr; in unregister_VkCommandBuffer()
406 info.lastUsedEncoderPtr = nullptr; in unregister_VkCommandBuffer()
417 auto& info = it->second; in unregister_VkQueue() local
419 info.lastUsedEncoderPtr ? in unregister_VkQueue()
[all …]
DHostVisibleMemoryVirtualization.cpp185 const HostVisibleMemoryVirtualizationInfo* info, in isHostVisibleMemoryTypeIndexForGuest() argument
189 info->virtualizationSupported ? in isHostVisibleMemoryTypeIndexForGuest()
190 info->guestMemoryProperties : in isHostVisibleMemoryTypeIndexForGuest()
191 info->hostMemoryProperties; in isHostVisibleMemoryTypeIndexForGuest()
197 const HostVisibleMemoryVirtualizationInfo* info, in isDeviceLocalMemoryTypeIndexForGuest() argument
201 info->virtualizationSupported ? in isDeviceLocalMemoryTypeIndexForGuest()
202 info->guestMemoryProperties : in isDeviceLocalMemoryTypeIndexForGuest()
203 info->hostMemoryProperties; in isDeviceLocalMemoryTypeIndexForGuest()
313 const HostVisibleMemoryVirtualizationInfo* info, in isNoFlagsMemoryTypeIndexForGuest() argument
316 info->virtualizationSupported ? in isNoFlagsMemoryTypeIndexForGuest()
[all …]
DAndroidHardwareBuffer.cpp161 const VkImportAndroidHardwareBufferInfoANDROID* info, in importAndroidHardwareBuffer() argument
164 if (!info || !info->buffer) { in importAndroidHardwareBuffer()
170 AHardwareBuffer_getNativeHandle(info->buffer)); in importAndroidHardwareBuffer()
175 auto ahb = info->buffer; in importAndroidHardwareBuffer()
/device/google/contexthub/firmware/app/chre/chre_test2.app/
Dmain.cpp69 struct chreNanoappInfo info; in nanoappHandleEvent() local
78 if (chreGetNanoappInfoByInstanceId(instanceId, &info)) { in nanoappHandleEvent()
80 info.appId, info.version, info.instanceId); in nanoappHandleEvent()
84 if (chreGetNanoappInfoByAppId(appId, &info)) { in nanoappHandleEvent()
86 info.appId, info.version, info.instanceId); in nanoappHandleEvent()
/device/google/contexthub/firmware/os/platform/stm32/
DeeData.c35 uint32_t info = *p++; in eeFind() local
36 uint32_t name = info & EE_DATA_NAME_MAX; in eeFind()
37 uint32_t sz = info / (EE_DATA_NAME_MAX + 1); in eeFind()
104 uint32_t info = *p; in eeDataGetFree() local
105 uint32_t name = info & EE_DATA_NAME_MAX; in eeDataGetFree()
106 uint32_t sz = info / (EE_DATA_NAME_MAX + 1); in eeDataGetFree()
143 uint32_t sz, effectiveSz, info = name + len * (EE_DATA_NAME_MAX + 1); in eeDataSet() local
163 ret = eeWrite(((uint32_t*)space) - 1, &info, sizeof(info)) && ret; in eeDataSet()
/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c249 const struct SensorInfo *info = sensorFind(sensorType, 0, pHandle); in osChreSensorFindDefault() local
251 return info != NULL; in osChreSensorFindDefault()
261 static bool osChreSensorGetInfoOld(uint32_t sensorHandle, struct chreSensorInfo *info) in osChreSensorGetInfoOld() argument
264 if (!s || !info) in osChreSensorGetInfoOld()
267 info->sensorName = si->sensorName; in osChreSensorGetInfoOld()
268 info->sensorType = si->sensorType; in osChreSensorGetInfoOld()
269 info->unusedFlags = 0; in osChreSensorGetInfoOld()
273 info->isOneShot = true; in osChreSensorGetInfoOld()
275 info->isOneShot = false; in osChreSensorGetInfoOld()
276 info->isOnChange = s->hasOnchange; in osChreSensorGetInfoOld()
[all …]
/device/generic/goldfish-opengl/
Dcommon.mk154 $(info Unknown imported emugles module: $1)\
159 $(info Please one of the following names: $(_names))\
183 $(foreach _list_item,$(strip $1),$(info . $(_list_item)))
186 $(info MODULE=$(_emugl_MODULE))\
187 $(info . HOST=$(_emugl_HOST))\
188 $(info . TYPE=$(_emugl.$(_emugl_MODULE).type))\
189 $(info . IMPORTS=$(_emugl.$(_emugl_MODULE).imports))\
192 $(info . EXPORT.$(_type) :=)\
194 $(info . LOCAL_$(_type) :=)\
197 $(info . EXPORT.$(_type) := $(strip $(_emugl.$(_emugl_MODULE).export.$(_type))))\
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
Dgoldfish_dma.cpp64 struct goldfish_dma_ioctl_info info; in goldfish_dma_create_region() local
65 info.size = sz; in goldfish_dma_create_region()
66 int alloc_res = ioctl(res->fd, GOLDFISH_DMA_IOC_CREATE_REGION, &info); in goldfish_dma_create_region()
122 struct goldfish_dma_ioctl_info info; in goldfish_dma_guest_paddr() local
123 ioctl(cxt->fd, GOLDFISH_DMA_IOC_GETOFF, &info); in goldfish_dma_guest_paddr()
124 return info.phys_begin; in goldfish_dma_guest_paddr()
/device/generic/goldfish/camera/
DEmulatedBaseCamera.cpp58 status_t EmulatedBaseCamera::getCameraInfo(struct camera_info* info) in getCameraInfo() argument
62 info->device_version = mCameraDeviceVersion; in getCameraInfo()
64 info->static_camera_characteristics = mCameraInfo; in getCameraInfo()
66 info->static_camera_characteristics = (camera_metadata_t*)0xcafef00d; in getCameraInfo()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedBaseCamera.cpp54 status_t EmulatedBaseCamera::getCameraInfo(struct camera_info* info) { in getCameraInfo() argument
57 info->device_version = mCameraDeviceVersion; in getCameraInfo()
59 info->static_camera_characteristics = mCameraInfo; in getCameraInfo()
61 info->static_camera_characteristics = (camera_metadata_t*)0xcafef00d; in getCameraInfo()
/device/generic/goldfish-opengl/android-emu/android/base/
DPool.cpp291 HeapInfo info = { in Impl() local
297 mHeapInfos.push_back(info); in Impl()
302 for (auto& info : mHeapInfos) { in ~Impl() local
303 delete info.heap; in ~Impl()
343 for (auto& info : mHeapInfos) { in free() local
344 uintptr_t start = info.interval.start; in free()
345 uintptr_t end = info.interval.end; in free()
349 info.heap->free(ptr); in free()
359 for (auto& info : mHeapInfos) { in freeAll() local
360 info.heap->freeAll(); in freeAll()
/device/generic/goldfish/wifi/wifi_hal/
Dhalstate.cpp35 auto info = std::make_unique<Info>(); in init() local
36 if (info->init()) { in init()
40 mInfo = std::move(info); in init()
91 Info* HalState::info() { in info() function in HalState
/device/generic/goldfish/
DAndroid.mk23 INSTALLED_EMULATOR_INFO_TXT_TARGET := $(PRODUCT_OUT)/emulator-info.txt
24 emulator_info_txt := $(wildcard ${LOCAL_PATH}/emulator-info.txt)
34 $(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
/device/amlogic/yukawa/hal/audio/
Daudio_aec.h105 int write_to_reference_fifo(struct aec_t* aec, void* buffer, struct aec_info* info);
115 int get_reference_samples(struct aec_t* aec, void* buffer, struct aec_info* info);
124 int process_aec(struct aec_t* aec, void* buffer, struct aec_info* info);
/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java68 NetworkInfo info = cm.getActiveNetworkInfo(); in getConnectedResId() local
71 if (info == null || !info.isAvailable() || !info.isConnected()) { in getConnectedResId()

12345678910