Lines Matching refs:configs
51 static int process_config(VolumeManager* vm, VoldConfigs* configs);
109 VoldConfigs configs = {}; in main() local
110 if (process_config(vm, &configs)) { in main()
134 android::base::SetProperty("vold.has_adoptable", configs.has_adoptable ? "1" : "0"); in main()
135 android::base::SetProperty("vold.has_quota", configs.has_quota ? "1" : "0"); in main()
136 android::base::SetProperty("vold.has_reserved", configs.has_reserved ? "1" : "0"); in main()
137 android::base::SetProperty("vold.has_compress", configs.has_compress ? "1" : "0"); in main()
220 static int process_config(VolumeManager* vm, VoldConfigs* configs) { in process_config() argument
229 configs->has_adoptable = false; in process_config()
230 configs->has_quota = false; in process_config()
231 configs->has_reserved = false; in process_config()
232 configs->has_compress = false; in process_config()
235 configs->has_quota = true; in process_config()
238 configs->has_reserved = true; in process_config()
241 configs->has_compress = true; in process_config()
262 configs->has_adoptable = true; in process_config()