Home
last modified time | relevance | path

Searched refs:mPropertyMapper (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java75 private TestPropertyMapper mPropertyMapper; field in PlatformInspectableProcessorTest
81 mPropertyMapper = new TestPropertyMapper(); in setup()
82 mPropertyReader = new TestPropertyReader(mPropertyMapper); in setup()
107 loadCompanion(IntPropertyTest.class).mapProperties(mPropertyMapper); in testInferredAttributeId()
108 assertEquals(R.attr.value, mPropertyMapper.getAttributeId("value")); in testInferredAttributeId()
134 assertEquals(0, mPropertyMapper.getId("value")); in testNamedProperty()
147 loadCompanion(HasAttributeIdFalseTest.class).mapProperties(mPropertyMapper); in testHasAttributeIdFalse()
148 assertEquals(Resources.ID_NULL, mPropertyMapper.getAttributeId("value")); in testHasAttributeIdFalse()
160 loadCompanion(AttributeIdEqualsTest.class).mapProperties(mPropertyMapper); in testAttributeIdEquals()
161 assertEquals(0xdecafbad, mPropertyMapper.getAttributeId("value")); in testAttributeIdEquals()
[all …]
DTestPropertyReader.java28 private final TestPropertyMapper mPropertyMapper; field in TestPropertyReader
32 mPropertyMapper = Objects.requireNonNull(propertyMapper); in TestPropertyReader()
36 return mProperties.get(mPropertyMapper.getId(name)); in get()
40 return mPropertyMapper.getIntEnumMapping(name).apply((Integer) get(name)); in getIntEnum()
44 return mPropertyMapper.getIntFlagMapping(name).apply((Integer) get(name)); in getIntFlag()