Searched refs:configName (Results 1 – 11 of 11) sorted by relevance
29 fun getIdentifier(configName: String, defType: String?, defPackage: String?): Int =30 sResources.getIdentifier(configName, defType, defPackage)46 fun getString(configName: String, defType: String?, defPackage: String? = DEF_PACKAGE): String =47 sResources.getString(getIdentifier(configName, defType, defPackage))63 fun getBoolean(configName: String, defPackage: String? = DEF_PACKAGE) =64 getBoolean(getIdentifier(configName, "bool", defPackage))
182 private void collectConfigInt(DeviceInfoStore store, String resultName, String configName) in collectConfigInt() argument185 int resId = res.getIdentifier(configName, "integer", "android"); in collectConfigInt()192 private void collectConfigDimension(DeviceInfoStore store, String resultName, String configName) in collectConfigDimension() argument195 int resId = res.getIdentifier(configName, "dimen", "android"); in collectConfigDimension()202 private void collectConfigArraySize(DeviceInfoStore store, String resultName, String configName) in collectConfigArraySize() argument205 int resId = res.getIdentifier(configName, "array", "android"); in collectConfigArraySize()
35 val configName: String, constant in com.android.bedstead.harrier.annotations.RequireResourcesBooleanValue
35 @RequireResourcesBooleanValue(configName = "config_guestUserEphemeral", requiredValue = true)
35 @RequireResourcesBooleanValue(configName = "config_guestUserEphemeral", requiredValue = false)
44 "resource with configName: $configName", in RequireResourcesBooleanValue()45 TestApis.resources().system().getBoolean(configName), in RequireResourcesBooleanValue()
247 private boolean checkModuleParameters(String configName, List<String> parameters) in checkModuleParameters() argument262 configName, param)); in checkModuleParameters()
280 private void checkTokens(String configName, List<String> tokens) throws ConfigurationException { in checkTokens() argument290 "Config: %s includes an unknown token '%s'.", configName, token)); in checkTokens()
1554 String configName = zoneConfigProtoList.get(configIndex).getName(); in parseAudioZoneConfigs() local1556 configName)); in parseAudioZoneConfigs()1564 String configName = zoneConfigMatcher.group(1); in parseAudioZoneConfigs() local1569 configName)); in parseAudioZoneConfigs()2046 TestZoneConfigIdInfo(int zoneId, int configId, String configName) { in TestZoneConfigIdInfo() argument2049 mConfigName = configName; in TestZoneConfigIdInfo()
1627 private boolean getBooleanConfig(String configName) { in getBooleanConfig() argument1629 Resources.getSystem().getIdentifier(configName, "bool", "android")); in getBooleanConfig()
1065 @RequireResourcesBooleanValue(configName = "config_enableMultiUserUI", requiredValue = true)1075 @RequireResourcesBooleanValue(configName = "config_enableMultiUserUI", requiredValue = false)