Home
last modified time | relevance | path

Searched refs:id (Results 1 - 25 of 388) sorted by relevance

12345678910>>...16

/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/
H A Dhdi_hostapd_hal.h105 int (*stopAp)(int id);
106 int (*enableAp)(int id);
107 int (*disableAp)(int id);
108 int (*addBlocklist)(const char *mac, int id);
109 int (*delBlocklist)(const char *mac, int id);
110 int (*status)(StatusInfo *info, int id);
111 int (*showConnectedDevList)(char *info, int size, int id);
112 int (*reloadApConfigInfo)(int id);
113 int (*disConnectedDev)(const char *mac, int id);
114 int (*setCountryCode)(const char *code, int id);
130 int id; global() member
[all...]
H A Dhdi_hostapd_hal.c114 static void ReleaseHostapdCtrl(int id) in ReleaseHostapdCtrl() argument
116 if (g_hostapdHalDevInfo[id].hostapdHalDev == NULL) { in ReleaseHostapdCtrl()
119 if (g_hostapdHalDevInfo[id].hostapdHalDev->ctrlConn != NULL) { in ReleaseHostapdCtrl()
120 wpa_ctrl_close(g_hostapdHalDevInfo[id].hostapdHalDev->ctrlConn); in ReleaseHostapdCtrl()
121 g_hostapdHalDevInfo[id].hostapdHalDev->ctrlConn = NULL; in ReleaseHostapdCtrl()
123 if (g_hostapdHalDevInfo[id].hostapdHalDev->ctrlRecv != NULL) { in ReleaseHostapdCtrl()
124 wpa_ctrl_close(g_hostapdHalDevInfo[id].hostapdHalDev->ctrlRecv); in ReleaseHostapdCtrl()
125 g_hostapdHalDevInfo[id].hostapdHalDev->ctrlRecv = NULL; in ReleaseHostapdCtrl()
129 static int InitHostapdCtrl(const char *ctrlPath, int id) in InitHostapdCtrl() argument
131 if (g_hostapdHalDevInfo[id] in InitHostapdCtrl()
160 GetDestPort(char *destPort, size_t len, int id) GetDestPort() argument
167 GetCtrlInterface(char *ctrlPath, size_t len, int id) GetCtrlInterface() argument
174 HostapdCliConnect(int id) HostapdCliConnect() argument
204 HostapdCliClose(int id) HostapdCliClose() argument
248 ReleaseHostapdDev(int id) ReleaseHostapdDev() argument
284 InitHostapdHal(int id) InitHostapdHal() argument
297 EnableAp(int id) EnableAp() argument
319 DisableAp(int id) DisableAp() argument
332 StopAp(int id) StopAp() argument
338 SetApName(const char *name, int id) SetApName() argument
354 SetApRsnPairwise(const char *type, int id) SetApRsnPairwise() argument
371 SetApWpaPairwise(const char *type, int id) SetApWpaPairwise() argument
387 SetApWpaKeyMgmt(const char *type, int id) SetApWpaKeyMgmt() argument
403 SetApWpaValue(int securityType, int id) SetApWpaValue() argument
450 SetApPasswd(const char *pass, int id) SetApPasswd() argument
466 SetApChannel(int channel, int id) SetApChannel() argument
478 SetApWmm(int value, int id) SetApWmm() argument
490 SetAp80211n(int value, int id) SetAp80211n() argument
502 SetApBand(int band, int id) SetApBand() argument
705 SetApMaxConn(int maxConn, int id) SetApMaxConn() argument
717 ModBlockList(const char *mac, int id) ModBlockList() argument
752 AddBlocklist(const char *mac, int id) AddBlocklist() argument
779 DelBlocklist(const char *mac, int id) DelBlocklist() argument
807 GetApStatus(StatusInfo *info, int id) GetApStatus() argument
845 ShowConnectedDevList(char *buf, int size, int id) ShowConnectedDevList() argument
893 ReloadApConfigInfo(int id) ReloadApConfigInfo() argument
899 DisConnectedDev(const char *mac, int id) DisConnectedDev() argument
915 SetCountryCode(const char *code, int id) SetCountryCode() argument
931 GetWifiHostapdDev(int id) GetWifiHostapdDev() argument
[all...]
H A Dhostapd_common_cmd.c126 static int32_t StartHostapdHal(int id) in StartHostapdHal() argument
129 WifiHostapdHalDevice *hostapdHalDevice = GetWifiHostapdDev(id); in StartHostapdHal()
155 int32_t id) in HostapdInterfaceEnableAp()
163 WifiHostapdHalDevice *hostapdHalDevice = GetWifiHostapdDev(id); in HostapdInterfaceEnableAp()
168 if (hostapdHalDevice->enableAp(id) != 0) { in HostapdInterfaceEnableAp()
176 int32_t id) in HostapdInterfaceDisableAp()
184 WifiHostapdHalDevice *hostapdHalDevice = GetWifiHostapdDev(id); in HostapdInterfaceDisableAp()
189 if (hostapdHalDevice->disableAp(id) != 0) { in HostapdInterfaceDisableAp()
203 int32_t HostapdInterfaceStartApWithCmd(struct IHostapdInterface *self, const char *ifName, int id) in HostapdInterfaceStartApWithCmd() argument
224 if (StartHostapdHal(id) ! in HostapdInterfaceStartApWithCmd()
154 HostapdInterfaceEnableAp(struct IHostapdInterface *self, const char *ifName, int32_t id) HostapdInterfaceEnableAp() argument
175 HostapdInterfaceDisableAp(struct IHostapdInterface *self, const char *ifName, int32_t id) HostapdInterfaceDisableAp() argument
238 StopHostapdHal(int id) StopHostapdHal() argument
248 int id = 0; HostapdInterfaceStopAp() local
268 HostapdInterfaceReloadApConfigInfo(struct IHostapdInterface *self, const char *ifName, int32_t id) HostapdInterfaceReloadApConfigInfo() argument
290 HostapdInterfaceSetApPasswd(struct IHostapdInterface *self, const char *ifName, const char *pass, int32_t id) HostapdInterfaceSetApPasswd() argument
312 HostapdInterfaceSetApName(struct IHostapdInterface *self, const char *ifName, const char *name, int32_t id) HostapdInterfaceSetApName() argument
334 HostapdInterfaceSetApWpaValue(struct IHostapdInterface *self, const char *ifName, int32_t securityType, int32_t id) HostapdInterfaceSetApWpaValue() argument
356 HostapdInterfaceSetApBand(struct IHostapdInterface *self, const char *ifName, int32_t band, int32_t id) HostapdInterfaceSetApBand() argument
378 HostapdInterfaceSetAp80211n(struct IHostapdInterface *self, const char *ifName, int32_t value, int32_t id) HostapdInterfaceSetAp80211n() argument
400 HostapdInterfaceSetApWmm(struct IHostapdInterface *self, const char *ifName, int32_t value, int32_t id) HostapdInterfaceSetApWmm() argument
422 HostapdInterfaceSetApChannel(struct IHostapdInterface *self, const char *ifName, int32_t channel, int32_t id) HostapdInterfaceSetApChannel() argument
444 HostapdInterfaceSetApMaxConn(struct IHostapdInterface *self, const char *ifName, int32_t maxConn, int32_t id) HostapdInterfaceSetApMaxConn() argument
470 HostapdInterfaceSetMacFilter(struct IHostapdInterface *self, const char *ifName, const char *mac, int32_t id) HostapdInterfaceSetMacFilter() argument
492 HostapdInterfaceDelMacFilter(struct IHostapdInterface *self, const char *ifName, const char *mac, int32_t id) HostapdInterfaceDelMacFilter() argument
514 HostapdInterfaceGetStaInfos(struct IHostapdInterface *self, const char *ifName, char *buf, uint32_t bufLen, int32_t size, int32_t id) HostapdInterfaceGetStaInfos() argument
538 HostapdInterfaceDisassociateSta(struct IHostapdInterface *self, const char *ifName, const char *mac, int32_t id) HostapdInterfaceDisassociateSta() argument
700 int id = 0; OnRemoteServiceDied() local
[all...]
H A Dhostapd_common_cmd.h38 int32_t HostapdInterfaceStartApWithCmd(struct IHostapdInterface *self, const char *ifName, int id);
43 const char *ifName, int32_t id);
46 const char *ifName, int32_t id);
49 const char *ifName, const char *pass, int32_t id);
52 const char *ifName, const char *name, int32_t id);
55 const char *ifName, int32_t securityType, int32_t id);
58 const char *ifName, int32_t band, int32_t id);
61 const char *ifName, int32_t value, int32_t id);
64 const char *ifName, int32_t value, int32_t id);
67 const char *ifName, int32_t channel, int32_t id);
[all...]
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
H A Dbuffer_manager.cpp34 uint64_t id = static_cast<uint64_t>(tv.tv_sec) * 1000 * 1000 + tv.tv_usec; // 1000:usec in GenerateBufferPoolId() local
37 bufferPoolMap_[id] = bufferPool; in GenerateBufferPoolId()
39 return id; in GenerateBufferPoolId()
42 std::shared_ptr<IBufferPool> BufferManager::GetBufferPool(uint64_t id) in GetBufferPool() argument
46 if (bufferPoolMap_.find(id) == bufferPoolMap_.end()) { in GetBufferPool()
50 if (bufferPoolMap_[id].expired()) { in GetBufferPool()
53 CAMERA_LOGE("bufferPool is nullptr id: %{public}" PRIu64 "", id); in GetBufferPool()
56 bufferPoolMap_[id] = bufferPool; in GetBufferPool()
57 bufferPool->SetId(id); in GetBufferPool()
64 EraseBufferPoolMapById(uint64_t id) EraseBufferPoolMapById() argument
[all...]
H A Dbuffer_tracking.cpp71 int32_t BufferTracking::IsNodeEmpty(const int32_t id, const std::string node) in IsNodeEmpty() argument
74 return stalker.IsEmpty(id, node); in IsNodeEmpty()
77 int32_t BufferTracking::IsNodeEmpty(const int32_t id, const std::string beginNode, const std::string endNode) in IsNodeEmpty() argument
80 return stalker.IsEmpty(id, beginNode, endNode); in IsNodeEmpty()
83 void BufferTracking::DumpBufferTrace(const int32_t id, BufferTraceGraph& graph) in DumpBufferTrace() argument
86 stalker.DumpTrace(id, graph); in DumpBufferTrace()
/drivers/peripheral/wlan/test/fuzztest/
H A Dhostapd_common_fuzzer.cpp92 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); in FuzzHostapdInterfaceEnableAp() local
94 interface->EnableAp(interface, ifName, id); in FuzzHostapdInterfaceEnableAp()
101 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); in FuzzHostapdInterfaceDisableAp() local
103 interface->DisableAp(interface, ifName, id); in FuzzHostapdInterfaceDisableAp()
111 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); in FuzzHostapdInterfaceSetApPasswd() local
113 interface->SetApPasswd(interface, ifName, pass, id); in FuzzHostapdInterfaceSetApPasswd()
121 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); in FuzzHostapdInterfaceSetApName() local
123 interface->SetApName(interface, ifName, name, id); in FuzzHostapdInterfaceSetApName()
131 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); in FuzzHostapdInterfaceSetApBand() local
133 interface->SetApBand(interface, ifName, band, id); in FuzzHostapdInterfaceSetApBand()
141 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceSetAp80211n() local
151 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceSetApWmm() local
161 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceSetApChannel() local
171 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceSetApMaxConn() local
181 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceSetMacFilter() local
191 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceDelMacFilter() local
203 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceGetStaInfos() local
213 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceDisassociateSta() local
238 int32_t id = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); FuzzHostapdInterfaceReloadApConfigInfo() local
[all...]
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/
H A Dmipi_tx_dev.c65 static int32_t RegisterDevice(const char *name, uint8_t id, unsigned short mode, struct file_operations *ops) in RegisterDevice() argument
70 if ((name == NULL) || (ops == NULL) || (id >= MAX_CNTLR_CNT)) { in RegisterDevice()
71 HDF_LOGE("RegisterDevice: name, ops or id is error!"); in RegisterDevice()
86 if (id != 0) { /* 0 : id */ in RegisterDevice()
87 if (snprintf_s((char *)dev->name, NAME_LEN + 1, NAME_LEN, "%s%u", name, id) < 0) { in RegisterDevice()
106 printk("RegisterDevice: id %u cannot register miscdev on minor=%d (err=%d)", in RegisterDevice()
107 id, MISC_DYNAMIC_MINOR, error); in RegisterDevice()
113 g_vfsPara[id].miscdev = dev; in RegisterDevice()
114 g_curId = id; in RegisterDevice()
122 ProcRegister(const char *name, uint8_t id, unsigned short mode, const struct proc_ops *ops) ProcRegister() argument
157 UnregisterDevice(uint8_t id) UnregisterDevice() argument
180 ProcUnregister(const char *name, uint8_t id) ProcUnregister() argument
245 uint8_t id; GetIdFromFilep() local
267 uint8_t id; GetCntlrFromFilep() local
279 uint8_t id; GetSemaFromFilep() local
291 uint8_t id; GetCfgFromFilep() local
548 uint8_t id; MipiDsiDevOpen() local
561 uint8_t id; MipiDsiDevRelease() local
577 uint8_t id; MipiDsiDevProcDevShow() local
652 MipiDsiDevModuleInit(uint8_t id) MipiDsiDevModuleInit() argument
680 MipiDsiDevModuleExit(uint8_t id) MipiDsiDevModuleExit() argument
[all...]
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/
H A Ddrm_crtc.cpp32 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id")); in Init()
35 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id")); in Init()
39 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id")); in Init()
45 int32_t DrmCrtc::BindToDisplay(uint32_t id) in BindToDisplay() argument
49 mDisplayId = id; in BindToDisplay()
53 void DrmCrtc::UnBindDisplay(uint32_t id) in UnBindDisplay() argument
56 if (mDisplayId == id) { in UnBindDisplay()
68 int32_t DrmCrtc::SetActivieMode(int32_t id) in SetActivieMode() argument
70 DISPLAY_LOGD("set activie modeid to %{public}d", id); in SetActivieMode()
71 DISPLAY_CHK_RETURN((id > in SetActivieMode()
[all...]
/drivers/hdf_core/framework/model/usb/src/
H A Dusb_ddk_pnp_loader.c77 const struct UsbPnpNotifyMatchInfoTable *dev, const struct UsbPnpMatchIdTable *id) in UsbDdkPnpLoaderMatchDevice()
79 if ((id->matchFlag & USB_PNP_NOTIFY_MATCH_VENDOR) && (id->vendorId != dev->deviceInfo.vendorId)) { in UsbDdkPnpLoaderMatchDevice()
83 if ((id->matchFlag & USB_PNP_NOTIFY_MATCH_PRODUCT) && (id->productId != dev->deviceInfo.productId)) { in UsbDdkPnpLoaderMatchDevice()
87 if ((id->matchFlag & USB_PNP_NOTIFY_MATCH_DEV_LOW) && (id->bcdDeviceLow > dev->deviceInfo.bcdDeviceLow)) { in UsbDdkPnpLoaderMatchDevice()
91 if ((id->matchFlag & USB_PNP_NOTIFY_MATCH_DEV_HIGH) && (id->bcdDeviceHigh < dev->deviceInfo.bcdDeviceHigh)) { in UsbDdkPnpLoaderMatchDevice()
95 if ((id in UsbDdkPnpLoaderMatchDevice()
76 UsbDdkPnpLoaderMatchDevice( const struct UsbPnpNotifyMatchInfoTable *dev, const struct UsbPnpMatchIdTable *id) UsbDdkPnpLoaderMatchDevice() argument
195 UsbDdkPnpLoaderMatchHandle( const struct UsbPnpNotifyMatchInfoTable *dev, int8_t index, struct UsbPnpMatchIdTable *id, bool flag) UsbDdkPnpLoaderMatchHandle() argument
214 UsbDdkPnpLoaderMatchFlagFirst(struct UsbPnpMatchIdTable *id) UsbDdkPnpLoaderMatchFlagFirst() argument
249 UsbDdkPnpLoaderMatchFlag( const struct UsbPnpNotifyMatchInfoTable *dev, int8_t index, struct UsbPnpMatchIdTable *id, bool flag) UsbDdkPnpLoaderMatchFlag() argument
292 UsbDdkPnpLoaderMatchInterface( const struct UsbPnpNotifyMatchInfoTable *dev, int8_t index, struct UsbPnpMatchIdTable *id) UsbDdkPnpLoaderMatchInterface() argument
353 UsbDdkPnpLoaderMatchOneIdIntf( const struct UsbPnpNotifyMatchInfoTable *dev, int8_t index, struct UsbPnpMatchIdTable *id) UsbDdkPnpLoaderMatchOneIdIntf() argument
939 UsbDdkPnpLoaderDevice( struct HdfDeviceObject *usbPnpManagerDevice, const struct UsbPnpNotifyMatchInfoTable *infoTable, uint32_t id) UsbDdkPnpLoaderDevice() argument
986 UsbDdkPnpLoaderEventReceived(void *usbPnpManagerPtr, uint32_t id, struct HdfSBuf *data) UsbDdkPnpLoaderEventReceived() argument
[all...]
/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/
H A Daudio_dfx_vdi.cpp46 int32_t id = 0; in SetTimer() local
48 id = OHOS::HiviewDFX::XCollie::GetInstance().SetTimer(name, HICOLLIE_TIMEOUT, nullptr, nullptr, in SetTimer()
53 return id; in SetTimer()
56 void CancelTimer(int32_t id) in CancelTimer() argument
59 if (id != 0) { in CancelTimer()
60 OHOS::HiviewDFX::XCollie::GetInstance().CancelTimer(id); in CancelTimer()
63 (void)id; in CancelTimer()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_control.cpp28 ctrl.id = cList[i].id; in V4L2VidiocSCtrl()
83 ctrl.id = cList[i].id; in V4L2VidiocGExtCtrls()
116 cList[count].id = itr->id; in V4L2GetCtrls()
136 RetCode HosV4L2Control::V4L2GetCtrl(int fd, unsigned int id, int& value) in V4L2GetCtrl() argument
142 ctrl.id = id; in V4L2GetCtrl()
155 RetCode HosV4L2Control::V4L2SetCtrl(int fd, unsigned int id, in argument
270 V4L2GetControl(int fd, std::vector<DeviceControl>& control, unsigned int id) V4L2GetControl() argument
[all...]
/drivers/hdf_core/adapter/platform/uart/
H A Duart_gr5xx.c37 uint32_t id; member
159 params->id = udd->id; in Gr5xxUartConfig()
187 HDF_LOGE("%s: uart_%d not useable", __func__, udd->id); in UartHostDevRead()
191 LOS_MuxPend(g_uartRxMutex[udd->id], LOS_WAIT_FOREVER); in UartHostDevRead()
193 g_rxNum[udd->id] = 0; in UartHostDevRead()
194 LOS_SemPend(g_uartRxSem[udd->id], 0); in UartHostDevRead()
195 ret = app_uart_receive_async(udd->id, data, size); in UartHostDevRead()
197 HDF_LOGE("%s: uart_%d receive %d data failed", __func__, udd->id, size); in UartHostDevRead()
198 LOS_MuxPost(g_uartRxMutex[udd->id]); in UartHostDevRead()
361 UartDevSemInit(uint32_t id) UartDevSemInit() argument
383 UartDevSemDeinit(uint32_t id) UartDevSemDeinit() argument
[all...]
/drivers/hdf_core/framework/model/audio/dispatch/src/
H A Daudio_control_dispatch.c76 static int32_t ControlHostElemInfoSub(struct HdfSBuf *rspData, const struct AudioCtrlElemId id) in ControlHostElemInfoSub() argument
88 id.cardServiceName, id.iface, id.itemName); in ControlHostElemInfoSub()
89 kctrl = AudioGetKctrlInstance(&id); in ControlHostElemInfoSub()
91 ADM_LOG_ERR("itemname: %s iface: %d kctrl or Info not support!", id.itemName, id.iface); in ControlHostElemInfoSub()
115 struct AudioCtrlElemId id; in ControlHostElemInfo() local
126 (void)memset_s(&id, sizeof(struct AudioCtrlElemId), 0, sizeof(struct AudioCtrlElemId)); in ControlHostElemInfo()
127 if (!HdfSbufReadInt32(reqData, &id in ControlHostElemInfo()
285 struct AudioCtrlElemId id; ControlHostElemRead() local
[all...]
/drivers/peripheral/display/composer/test/common/
H A Dhdi_test_device.cpp58 std::shared_ptr<HdiTestDisplay> HdiTestDevice::GetDisplayFromId(uint32_t id) in GetDisplayFromId() argument
60 auto iter = displays_.find(id); in GetDisplayFromId()
62 id)); in GetDisplayFromId()
63 return displays_[id]; in GetDisplayFromId()
66 std::shared_ptr<HdiTestDisplay> HdiTestDevice::FindDisplayOrCreate(uint32_t id) in FindDisplayOrCreate() argument
69 std::shared_ptr<HdiTestDisplay> display = GetDisplayFromId(id); in FindDisplayOrCreate()
73 display = std::make_shared<HdiTestDisplay>(id, displayDevice_); in FindDisplayOrCreate()
76 displays_.emplace(id, display); in FindDisplayOrCreate()
77 displayIds_.push_back(id); in FindDisplayOrCreate()
/drivers/interface/display/composer/cache_manager/
H A Dcache_manager.h82 bool InsertCache(IdType id, CacheType* cache) in InsertCache() argument
85 auto cacheItem = caches_.find(id); in InsertCache()
87 HDF_LOGI("%{public}s: intend to insert a existing cache, SeqNo=%{public}d", __func__, id); in InsertCache()
91 HDF_LOGE("%{public}s: Caches is full, new seqNo:%{public}d can't be inserted", __func__, id); in InsertCache()
94 caches_[id] = std::move(std::unique_ptr<CacheType>(cache)); in InsertCache()
97 initFunc_(caches_[id]); in InsertCache()
102 bool EraseCache(IdType id) in EraseCache() argument
105 auto cacheItem = caches_.find(id); in EraseCache()
118 CacheType* SearchCache(IdType id) in SearchCache() argument
121 auto cacheItem = caches_.find(id); in SearchCache()
129 TravelCaches(std::function<void (IdType id, const CacheType& cache)> func) TravelCaches() argument
198 InsertCache(IdType id, Base::NativeBuffer* cache) InsertCache() argument
218 EraseCache(IdType id) EraseCache() argument
235 SearchCache(IdType id) SearchCache() argument
246 TravelCaches(std::function<void (IdType id, const Base::NativeBuffer& cache)> func) TravelCaches() argument
[all...]
H A Ddevice_cache.cpp28 DeviceCache* DeviceCache::Create(uint32_t id, DeviceType type) in Create() argument
30 DeviceCache* device = new DeviceCache(id, type); in Create()
43 DeviceCache::DeviceCache(uint32_t id, DeviceType type) : deviceId_(id), cacheType_(type) in DeviceCache() argument
83 int32_t DeviceCache::AddLayerCache(uint32_t id, uint32_t bufferCacheCount) in AddLayerCache() argument
85 LayerCache* layer = LayerCache::Create(id); in AddLayerCache()
96 bool ret = layerCaches_->InsertCache(id, layer); in AddLayerCache()
106 int32_t DeviceCache::RemoveLayerCache(uint32_t id) in RemoveLayerCache() argument
108 bool ret = layerCaches_->EraseCache(id); in RemoveLayerCache()
191 clientBufferCaches_->TravelCaches([this](int32_t id, cons in Dump()
[all...]
/drivers/hdf_core/framework/support/platform/src/fwk/
H A Dplatform_listener_u.c18 int RtcOnDevEventReceive(void *priv, uint32_t id, struct HdfSBuf *data) in RtcOnDevEventReceive() argument
25 HDF_LOGE("RtcOnDevEventReceive: id %d param error!", id); in RtcOnDevEventReceive()
32 HDF_LOGE("RtcOnDevEventReceive: rtc id %d error!", id); in RtcOnDevEventReceive()
37 HDF_LOGE("RtcOnDevEventReceive: id %d read sbuf fail!", id); in RtcOnDevEventReceive()
41 HDF_LOGD("RtcOnDevEventReceive: event %d index:%d == index:%d!", id, index, rtc->index); in RtcOnDevEventReceive()
42 if ((id == PLATFORM_LISTENER_EVENT_RTC_ALARM_NOTIFY) && (index == rtc->index)) { in RtcOnDevEventReceive()
48 int PcieOnDevEventReceive(void *priv, uint32_t id, struc argument
91 TimerOnDevEventReceive(void *priv, uint32_t id, struct HdfSBuf *data) TimerOnDevEventReceive() argument
121 GpioOnDevEventReceive(void *priv, uint32_t id, struct HdfSBuf *data) GpioOnDevEventReceive() argument
[all...]
/drivers/peripheral/display/composer/vdi_base/src/
H A Ddrm_crtc.cpp44 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id")); in Init()
47 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id")); in Init()
51 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id")); in Init()
67 DISPLAY_LOGI("crtc id %{public}d, plane name %{public}s value %{public}llx", in Init()
75 int32_t DrmCrtc::BindToDisplay(uint32_t id) in BindToDisplay() argument
79 mDisplayId = id; in BindToDisplay()
83 void DrmCrtc::UnBindDisplay(uint32_t id) in UnBindDisplay() argument
86 if (mDisplayId == id) { in UnBindDisplay()
98 int32_t DrmCrtc::SetActivieMode(int32_t id) in SetActivieMode() argument
100 DISPLAY_LOGD("set activie modeid to %{public}d", id); in SetActivieMode()
[all...]
/drivers/hdf_core/framework/model/input/driver/
H A Dhdf_hid_adapter.c80 int32_t id = 0; in cachedPosId() local
81 while (id < MAX_INPUT_DEV_NUM) { in cachedPosId()
82 if (g_cachedInfo[id] == NULL) { in cachedPosId()
83 return id; in cachedPosId()
85 id++; in cachedPosId()
93 int32_t id = cachedPosId(); in SendInfoToHdf() local
94 if (id == HDF_FAILURE) { in SendInfoToHdf()
98 g_cachedInfo[id] = (HidInfo *)OsalMemAlloc(sizeof(HidInfo)); in SendInfoToHdf()
99 if (g_cachedInfo[id] == NULL) { in SendInfoToHdf()
103 ret = memcpy_s(g_cachedInfo[id], sizeo in SendInfoToHdf()
114 int32_t id = 0; FreeCachedInfo() local
185 int32_t id = 0; SetInputDevAbility() local
[all...]
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/src/
H A Dencode_heif_helper.cpp109 if (dataEnd < data + sizeof(item.id) + sizeof(item.quality) + sizeof(uint8_t)) { in FillImageItem()
112 item.id = ToUint32(data); in FillImageItem()
113 data += sizeof(item.id); in FillImageItem()
114 size -= sizeof(item.id); in FillImageItem()
183 .from = itemAuxlImg.id, in AssembleParamForOtherImg()
201 .from = itemThmbImg.id, in AssembleParamForOtherImg()
237 .from = itemTmap.id, in AssembleParamForTmap()
238 .to = {itemPrimaryImg.id, itemGainMap.id} in AssembleParamForTmap()
246 if (AssembleParamForOtherImg(itemPrimaryImg.id, dat in AssembleParamForTmap()
[all...]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
H A Doffline_pipeline_manager.cpp64 RetCode OfflinePipelineManager::DestoryOfflinePipeline(int32_t id) in DestoryOfflinePipeline() argument
66 std::shared_ptr<OfflinePipeline> op = FindOfflinePipeline(id); in DestoryOfflinePipeline()
68 CAMERA_LOGE("cannot release stream %{public}d", id); in DestoryOfflinePipeline()
77 [&id](const std::pair<int32_t, std::shared_ptr<OfflinePipeline>>& stream) { in DestoryOfflinePipeline()
78 return id == stream.first; in DestoryOfflinePipeline()
112 std::shared_ptr<OfflinePipeline> OfflinePipelineManager::FindOfflinePipeline(int32_t id) in FindOfflinePipeline() argument
117 if (it.first == id) { in FindOfflinePipeline()
129 bool OfflinePipelineManager::CheckCaptureIdExist(int32_t id, int32_t captureId) in CheckCaptureIdExist() argument
131 auto op = FindOfflinePipeline(id); in CheckCaptureIdExist()
/drivers/peripheral/camera/hal_c/hdi_cif/src/
H A Dcamera_host_callback_wrapper.cpp29 std::string id(cameraId); in HostCBOnCameraStatus()
30 g_callback->OnCameraStatus(id, static_cast<OHOS::Camera::CameraStatus>(cameraStatus)); in HostCBOnCameraStatus()
36 std::string id(cameraId); in HostCBOnFlashlightStatus()
37 g_callback->OnFlashlightStatus(id, static_cast<OHOS::Camera::FlashlightStatus>(flashlightStatus)); in HostCBOnFlashlightStatus()
/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dmmc_if.c24 static void *MmcCntlrObjGetByNumber(int16_t id) in MmcCntlrObjGetByNumber() argument
29 if (id < 0) { in MmcCntlrObjGetByNumber()
38 "HDF_PLATFORM_MMC_%d", id) < 0) { in MmcCntlrObjGetByNumber()
47 object = (void *)MmcCntlrGetByNr(id); in MmcCntlrObjGetByNumber()
59 DevHandle MmcOpen(int16_t id) in MmcOpen() argument
61 return (DevHandle)MmcCntlrObjGetByNumber(id); in MmcOpen()
/drivers/peripheral/input/ddk_service/src/emit_event_manager/
H A Demit_event_manager.cpp40 // get device id in CreateDevice()
41 int32_t id = 0; in CreateDevice() local
42 if (!GetCurDeviceId(id)) { in CreateDevice()
43 HDF_LOGE("%{public}s faild to generate device id", __func__); in CreateDevice()
49 virtualDeviceMap_[id] = std::make_unique<VirtualDeviceInject>( in CreateDevice()
51 return id; in CreateDevice()
96 bool EmitEventManager::GetCurDeviceId(int32_t &id) in GetCurDeviceId() argument
100 id = -1; in GetCurDeviceId()
104 id = static_cast<int32_t>(lastDeviceId_); in GetCurDeviceId()
111 id in GetCurDeviceId()
[all...]

Completed in 12 milliseconds

12345678910>>...16