Home
last modified time | relevance | path

Searched refs:getAttributeCount (Results 1 – 25 of 45) sorted by relevance

12

/aosp14/frameworks/base/apct-tests/perftests/core/src/android/content/res/
H A DXmlBlockBenchmark.java165 public void getAttributeCount() throws XmlPullParserException, IOException { in getAttributeCount() method in XmlBlockBenchmark
167 benchmarkTagFunction(state, "getAttributeCount", () -> mParser.getAttributeCount()); in getAttributeCount()
188 attributeCount = mParser.getAttributeCount(); in benchmarkAttributeFunction()
294 for (int i = 0, count = mParser.getAttributeCount(); i < count; i++) { in parseOneXmlDocument()
/aosp14/frameworks/base/core/java/android/util/
H A DXmlPullAttributes.java34 public int getAttributeCount() { in getAttributeCount() method in XmlPullAttributes
35 return mParser.getAttributeCount(); in getAttributeCount()
H A DAttributeSet.java71 public int getAttributeCount(); in getAttributeCount() method
H A DXml.java288 for (int i = 0; i < in.getAttributeCount(); i++) { in copy()
/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener_test.cpp97 ASSERT_THAT(tree.getAttributeCount(), Eq(1u)); in TEST_F()
108 ASSERT_THAT(tree.getAttributeCount(), Eq(1u)); in TEST_F()
117 ASSERT_THAT(tree.getAttributeCount(), Eq(0u)); in TEST_F()
469 ASSERT_THAT(tree.getAttributeCount(), Eq(1u)); in TEST_F()
492 ASSERT_THAT(tree.getAttributeCount(), Eq(1u)); in TEST_F()
513 ASSERT_THAT(tree.getAttributeCount(), Eq(1u)); in TEST_F()
533 ASSERT_THAT(tree.getAttributeCount(), Eq(1u)); in TEST_F()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DXmlPullParserWrapper.java133 public int getAttributeCount() { in getAttributeCount() method in XmlPullParserWrapper
134 return mWrapped.getAttributeCount(); in getAttributeCount()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DXmlTest.java95 assertEquals(2, in.getAttributeCount()); in doLargeValues()
282 assertEquals(14, in.getAttributeCount()); in doVerifyRead()
329 assertEquals(0, in.getAttributeCount()); in doVerifyRead()
H A DBinaryXmlTest.java73 assertEquals(count, in.getAttributeCount()); in testLargeInterned_Binary()
/aosp14/frameworks/base/core/java/android/hardware/usb/
H A DAccessoryFilter.java72 int count = parser.getAttributeCount(); in read()
H A DDeviceFilter.java106 int count = parser.getAttributeCount(); in read()
/aosp14/frameworks/base/telephony/java/android/telephony/ims/
H A DRcsConfig.java194 int count = xpp.getAttributeCount(); in RcsConfig()
211 int count = xpp.getAttributeCount(); in RcsConfig()
/aosp14/frameworks/base/tools/aapt/
H A DAaptXml.cpp70 size_t attrCount = tree.getAttributeCount(); in indexOfAttribute()
/aosp14/frameworks/base/libs/androidfw/
H A DAttributeResolution.cpp42 : BackTrackingAttributeFinder(0, parser != nullptr ? parser->getAttributeCount() : 0), in XmlAttributeFinder()
362 const size_t xml_attr_count = xml_parser->getAttributeCount(); in RetrieveAttributes()
/aosp14/frameworks/base/cmds/idmap2/libidmap2/
H A DXmlParser.cpp96 for (size_t i = 0; i < parser.getAttributeCount(); i++) { in FindAttribute()
/aosp14/frameworks/base/core/java/android/os/
H A DPowerComponents.java405 for (int i = 0; i < parser.getAttributeCount(); i++) { in parseXml()
434 for (int i = 0; i < parser.getAttributeCount(); i++) { in parseXml()
/aosp14/frameworks/base/services/core/java/com/android/server/firewall/
H A DStringFilter.java58 for (int i=0; i<parser.getAttributeCount(); i++) { in readFromXml()
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DStateListDrawable.java215 final int numAttrs = attrs.getAttributeCount(); in extractStateSet()
/aosp14/frameworks/base/core/jni/
H A Dandroid_util_XmlBlock.cpp171 return static_cast<jint>(st->getAttributeCount()); in android_content_XmlBlock_nativeGetAttributeCount()
/aosp14/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java991 if (parser.getAttributeCount() > 3) { in validateInnerTagContents()
998 if (parser.getAttributeCount() > 2) { in validateInnerTagContents()
/aosp14/frameworks/base/core/java/com/android/internal/content/om/
H A DOverlayConfigParser.java478 for (int i = 0; i < parser.getAttributeCount(); i++) { in currentParserContextToString()
/aosp14/frameworks/base/core/java/android/security/net/config/
H A DXmlConfigSource.java236 for (int i = 0; i < parser.getAttributeCount(); i++) { in parseConfigEntry()
/aosp14/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java1413 int count = parser.getAttributeCount(); in addPackageDeviceServer()
1432 int count = parser.getAttributeCount(); in addPackageDeviceServer()
1451 int count = parser.getAttributeCount(); in addPackageDeviceServer()
/aosp14/frameworks/base/core/java/android/content/res/
H A DColorStateList.java376 final int numAttrs = attrs.getAttributeCount(); in inflate()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DUserProperties.java690 final int attributeCount = parser.getAttributeCount(); in updateFromXml()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DPackageConfigPersister.java118 for (int attIdx = in.getAttributeCount() - 1; attIdx >= 0; in loadUserPackages()

12