Home
last modified time | relevance | path

Searched refs:algo_type (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sdm845/vr/
Dvr.c64 ALOGI("config_instance: algo_type = %s", instance->algo_type); in log_config_instance()
171 free(config->algo_type); in free_config_instance()
197 config->algo_type = (char *)malloc(sizeof(char) * max_string_size); in allocate_config_instance()
198 if (!config->algo_type) { in allocate_config_instance()
203 memset(config->algo_type, 0, sizeof(char) * max_string_size); in allocate_config_instance()
235 static int disable_config(char *config_name, char *algo_type){ in disable_config() argument
246 strlcpy(config->algo_type, algo_type, max_string_size); in disable_config()
258 … ALOGE("disable profile: name = %s, algo_type = %s, success = %d", config_name, algo_type, result); in disable_config()
269 static int enable_config(char *config_name, char *algo_type){ in enable_config() argument
280 strlcpy(config->algo_type, algo_type, max_string_size); in enable_config()
[all …]
/hardware/qcom/sm8150/vr/
Dvr.c64 ALOGI("config_instance: algo_type = %s", instance->algo_type); in log_config_instance()
171 free(config->algo_type); in free_config_instance()
197 config->algo_type = (char *)malloc(sizeof(char) * max_string_size); in allocate_config_instance()
198 if (!config->algo_type) { in allocate_config_instance()
203 memset(config->algo_type, 0, sizeof(char) * max_string_size); in allocate_config_instance()
235 static int disable_config(char *config_name, char *algo_type){ in disable_config() argument
246 strlcpy(config->algo_type, algo_type, max_string_size); in disable_config()
258 … ALOGE("disable profile: name = %s, algo_type = %s, success = %d", config_name, algo_type, result); in disable_config()
269 static int enable_config(char *config_name, char *algo_type){ in enable_config() argument
280 strlcpy(config->algo_type, algo_type, max_string_size); in enable_config()
[all …]