Home
last modified time | relevance | path

Searched refs:configName (Results 1 – 11 of 11) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/resources/
DResourcesWrapper.kt29 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))
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DHapticsDeviceInfo.java182 private void collectConfigInt(DeviceInfoStore store, String resultName, String configName) in collectConfigInt() argument
185 int resId = res.getIdentifier(configName, "integer", "android"); in collectConfigInt()
192 private void collectConfigDimension(DeviceInfoStore store, String resultName, String configName) in collectConfigDimension() argument
195 int resId = res.getIdentifier(configName, "dimen", "android"); in collectConfigDimension()
202 private void collectConfigArraySize(DeviceInfoStore store, String resultName, String configName) in collectConfigArraySize() argument
205 int resId = res.getIdentifier(configName, "array", "android"); in collectConfigArraySize()
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DRequireResourcesBooleanValue.kt35 val configName: String, constant in com.android.bedstead.harrier.annotations.RequireResourcesBooleanValue
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/annotations/
DRequireGuestUserIsEphemeral.kt35 @RequireResourcesBooleanValue(configName = "config_guestUserEphemeral", requiredValue = true)
DRequireGuestUserIsNotEphemeral.kt35 @RequireResourcesBooleanValue(configName = "config_guestUserEphemeral", requiredValue = false)
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DAnnotationLogicExtensions.kt44 "resource with configName: $configName", in RequireResourcesBooleanValue()
45 TestApis.resources().system().getBoolean(configName), in RequireResourcesBooleanValue()
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/common/tradefed/loading/
DCtsConfigLoadingTest.java247 private boolean checkModuleParameters(String configName, List<String> parameters) in checkModuleParameters() argument
262 configName, param)); in checkModuleParameters()
DCommonConfigLoadingTest.java280 private void checkTokens(String configName, List<String> tokens) throws ConfigurationException { in checkTokens() argument
290 "Config: %s includes an unknown token '%s'.", configName, token)); in checkTokens()
/cts/tests/tests/car/src/android/car/cts/
DCarAudioManagerTest.java1554 String configName = zoneConfigProtoList.get(configIndex).getName(); in parseAudioZoneConfigs() local
1556 configName)); in parseAudioZoneConfigs()
1564 String configName = zoneConfigMatcher.group(1); in parseAudioZoneConfigs() local
1569 configName)); in parseAudioZoneConfigs()
2046 TestZoneConfigIdInfo(int zoneId, int configId, String configName) { in TestZoneConfigIdInfo() argument
2049 mConfigName = configName; in TestZoneConfigIdInfo()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DCompatChangeTests.java1627 private boolean getBooleanConfig(String configName) { in getBooleanConfig() argument
1629 Resources.getSystem().getIdentifier(configName, "bool", "android")); in getBooleanConfig()
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DDeviceStateTest.java1065 @RequireResourcesBooleanValue(configName = "config_enableMultiUserUI", requiredValue = true)
1075 @RequireResourcesBooleanValue(configName = "config_enableMultiUserUI", requiredValue = false)