Searched refs:api_level (Results 1 – 3 of 3) sorted by relevance
234 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in ReadDescriptors() local235 if (api_level > 0) { in ReadDescriptors()237 android::base::StringPrintf(TEMPLATE_CGROUPS_DESC_API_FILE, api_level); in ReadDescriptors()
1084 int api_level = API_LEVEL_CURRENT; in read_api_level_props() local1086 api_level = android::base::GetIntProperty(api_level_prop, API_LEVEL_CURRENT); in read_api_level_props()1087 if (api_level != API_LEVEL_CURRENT) { in read_api_level_props()1091 return api_level; in read_api_level_props()1106 int api_level = std::min(read_api_level_props(BOARD_API_LEVEL_PROPS), in property_initialize_ro_vendor_api_level() local1109 auto res = PropertySetNoSocket(VENDOR_API_LEVEL_PROP, std::to_string(api_level), &error); in property_initialize_ro_vendor_api_level()1111 LOG(ERROR) << "Failed to set " << VENDOR_API_LEVEL_PROP << " with " << api_level << ": " in property_initialize_ro_vendor_api_level()
789 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in TaskProfiles() local790 if (api_level > 0) { in TaskProfiles()792 android::base::StringPrintf(TEMPLATE_TASK_PROFILE_API_FILE, api_level); in TaskProfiles()