Home
last modified time | relevance | path

Searched refs:namelist (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/otautil/
Dthermalutil.cpp41 dirent** namelist; in InitThermalPaths() local
42 int n = scandir(THERMAL_PREFIX, &namelist, thermal_filter, alphasort); in InitThermalPaths()
54 thermal_paths.push_back(THERMAL_PREFIX + std::string(namelist[n]->d_name) + "/temp"); in InitThermalPaths()
55 free(namelist[n]); in InitThermalPaths()
57 free(namelist); in InitThermalPaths()
/bootable/recovery/tests/component/
Dresources_test.cpp53 dirent** namelist; in add_files() local
54 int n = scandir(dir_path.c_str(), &namelist, png_filter, alphasort); in add_files()
64 std::string file_path = dir_path + namelist[n]->d_name; in add_files()
66 free(namelist[n]); in add_files()
68 free(namelist); in add_files()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp94 dirent** namelist; in FindDmPartitions() local
95 int n = scandir(DM_PATH_PREFIX, &namelist, dm_name_filter, alphasort); in FindDmPartitions()
109 std::string path = DM_PATH_PREFIX + std::string(namelist[n]->d_name) + DM_PATH_SUFFIX; in FindDmPartitions()
129 dm_block_devices.emplace(dm_block_name, DEV_PATH + std::string(namelist[n]->d_name)); in FindDmPartitions()
131 free(namelist[n]); in FindDmPartitions()
133 free(namelist); in FindDmPartitions()