Home
last modified time | relevance | path

Searched refs:propertyValue (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarPropertyValueTest.java118 for (CarPropertyValue propertyValue : mCarPropertyValues) { in testGetPropertyId()
119 int propId = propertyValue.getPropertyId(); in testGetPropertyId()
127 for (CarPropertyValue propertyValue : mCarPropertyValues) { in testGetPropertyAreaId()
128 int areaId = propertyValue.getAreaId(); in testGetPropertyAreaId()
129 CarPropertyConfig cfg = mPropIdToConfig.get(propertyValue.getPropertyId()); in testGetPropertyAreaId()
144 for (CarPropertyValue propertyValue : mCarPropertyValues) { in testGetPropertyTimestamp()
145 propertyValue.getTimestamp(); in testGetPropertyTimestamp()
151 for (CarPropertyValue propertyValue : mCarPropertyValues) { in testGetStatus()
152 assertThat(propertyValue.getStatus()).isIn(SUPPORTED_PROPERTY_STATUSES); in testGetStatus()
159 for (CarPropertyValue propertyValue : mCarPropertyValues) { in testGetPropertyStatus()
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DRequiredPropertyRule.java61 final String propertyName, final String propertyValue) {
69 assumeTrue("Required property " + propertyName + " = " + propertyValue
72 deviceProperty.equals(propertyValue));
81 final String propertyName, final String propertyValue) {
93 "Required property " + propertyName + " = " + propertyValue
96 deviceProperties.contains(propertyValue));
105 final BaseHostJUnit4Test test, final String propertyName, final String propertyValue) {
121 + propertyValue
126 deviceProperties.contains(propertyValue));
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerQueryPropertyTest.java394 String packageName, String className, int propertyType, Object propertyValue) { in assertProperty() argument
409 final Boolean boolValue = (Boolean) propertyValue; in assertProperty()
428 final Float floatValue = (Float) propertyValue; in assertProperty()
443 final Integer integerValue = (Integer) propertyValue; in assertProperty()
458 final Integer resourceValue = (Integer) propertyValue; in assertProperty()
473 final String stringValue = (String) propertyValue; in assertProperty()
486 String packageName, String className, int propertyType, Object propertyValue) { in assertProperty() argument
492 propertyValue); in assertProperty()
DPackageManagerGetPropertyTest.java394 String packageName, String className, int propertyType, Object propertyValue) in assertProperty() argument
410 final Boolean boolValue = (Boolean) propertyValue; in assertProperty()
429 final Float floatValue = (Float) propertyValue; in assertProperty()
444 final Integer integerValue = (Integer) propertyValue; in assertProperty()
459 final Integer resourceValue = (Integer) propertyValue; in assertProperty()
474 final String stringValue = (String) propertyValue; in assertProperty()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java205 String propertyValue = getDevice().getProperty("ro.product.first_api_level"); in setUp() local
206 if (propertyValue != null && !propertyValue.isEmpty()) { in setUp()
207 mHasAttestation = Integer.parseInt(propertyValue) >= 26; in setUp()
612 String propertyValue = getDevice().getProperty(key); in getBooleanSystemProperty() local
613 if (propertyValue == null || propertyValue.isEmpty()) { in getBooleanSystemProperty()
616 if (Arrays.asList(positiveValues).contains(propertyValue)) { in getBooleanSystemProperty()
619 if (Arrays.asList(negativeValues).contains(propertyValue)) { in getBooleanSystemProperty()
622 fail("Unexpected value of boolean system property '" + key + "': " + propertyValue); in getBooleanSystemProperty()