Searched refs:cfgLen (Results 1 - 5 of 5) sorted by relevance
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_p2p_callback_stub.cpp | 345 int cfgLen = data.ReadInt32(); in RemoteOnConfigChanged() local 346 if (cfgLen <= 0) { in RemoteOnConfigChanged() 347 WIFI_LOGE("Config change size error: %{public}d", cfgLen); in RemoteOnConfigChanged() 351 const char *dataBuffer = (const char *)data.ReadBuffer(cfgLen); in RemoteOnConfigChanged() 357 if (cfgLen > MAX_LEN) { in RemoteOnConfigChanged() 358 WIFI_LOGE("cfgLen size error!"); in RemoteOnConfigChanged() 361 char* cfgData = new (std::nothrow) char[cfgLen]; in RemoteOnConfigChanged() 366 if (memcpy_s(cfgData, cfgLen, dataBuffer, cfgLen) != EOK) { in RemoteOnConfigChanged() 372 OnConfigChanged(cfgType, cfgData, cfgLen); in RemoteOnConfigChanged() [all...] |
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_manager.cpp | 438 void InputManager::SetEnhanceConfig(uint8_t *cfg, uint32_t cfgLen) in SetEnhanceConfig() argument 440 InputMgrImpl.SetEnhanceConfig(cfg, cfgLen); in SetEnhanceConfig()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_manager_impl.cpp | 225 void InputManagerImpl::SetEnhanceConfig(uint8_t *cfg, uint32_t cfgLen) in SetEnhanceConfig() argument 228 if (cfg == nullptr || cfgLen == 0) { in SetEnhanceConfig() 232 enhanceCfg_ = new (std::nothrow) uint8_t[cfgLen]; in SetEnhanceConfig() 234 errno_t ret = memcpy_s(enhanceCfg_, cfgLen, cfg, cfgLen); in SetEnhanceConfig() 239 enhanceCfgLen_ = cfgLen; in SetEnhanceConfig()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | input_manager_impl.h | 67 void SetEnhanceConfig(uint8_t *cfg, uint32_t cfgLen);
|
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/ |
H A D | input_manager.h | 855 * @param cfgLen Indicates the security component enhance config len. 859 void SetEnhanceConfig(uint8_t *cfg, uint32_t cfgLen);
|
Completed in 8 milliseconds