Searched refs:configInfo (Results 1 - 1 of 1) sorted by relevance
/drivers/peripheral/user_auth/hdi_service/database/src/ |
H A D | global_config_file_manager.c | 35 IAM_STATIC bool StreamWriteGlobalConfig(Buffer *parcel, GlobalConfigInfo *configInfo) in StreamWriteGlobalConfig() argument 37 if (StreamWrite(parcel, &(configInfo->type), sizeof(int32_t)) != RESULT_SUCCESS) { in StreamWriteGlobalConfig() 41 switch (configInfo->type) { in StreamWriteGlobalConfig() 43 if (StreamWrite(parcel, &(configInfo->value.pinExpiredPeriod), in StreamWriteGlobalConfig() 44 sizeof(configInfo->value.pinExpiredPeriod)) != RESULT_SUCCESS) { in StreamWriteGlobalConfig() 51 uint8_t enableStatus = configInfo->value.enableStatus ? 1 : 0; in StreamWriteGlobalConfig() 59 LOG_ERROR("globalConfigType not support, type:%{public}d.", configInfo->type); in StreamWriteGlobalConfig() 62 if (StreamWrite(parcel, &(configInfo->authType), sizeof(uint32_t)) != RESULT_SUCCESS) { in StreamWriteGlobalConfig() 66 if (StreamWrite(parcel, &(configInfo->userIdNum), sizeof(uint32_t)) != RESULT_SUCCESS || in StreamWriteGlobalConfig() 67 configInfo in StreamWriteGlobalConfig() 159 StreamReadGlobalConfig(Buffer *parcel, uint32_t *index, GlobalConfigInfo *configInfo) StreamReadGlobalConfig() argument [all...] |
Completed in 1 milliseconds