/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsXmlV1.java | 18 import com.android.internal.util.XmlUtils; 86 stats.mLastTimeUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats() 88 stats.mTotalTimeInForeground = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); in loadUsageStats() 89 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats() 90 stats.mAppLaunchCount = XmlUtils.readIntAttribute(parser, APP_LAUNCH_COUNT_ATTR, 0); in loadUsageStats() 101 String action = XmlUtils.readStringAttribute(parser, NAME); in loadUsageStats() 110 tracker.count = XmlUtils.readIntAttribute(parser, COUNT_ATTR, 0); in loadCountAndTime() 111 tracker.duration = XmlUtils.readLongAttribute(parser, TIME_ATTR, 0); in loadCountAndTime() 112 XmlUtils.skipCurrentTag(parser); in loadCountAndTime() 139 String category = XmlUtils.readStringAttribute(parser, NAME); in loadChooserCounts() [all …]
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/ |
D | PomDependencyExtensions.kt | 30 XmlUtils.addStringNodeToNode(node, "groupId", groupId) in PomDependency() 31 XmlUtils.addStringNodeToNode(node, "artifactId", artifactId) in PomDependency() 32 XmlUtils.addStringNodeToNode(node, "version", version) in PomDependency() 33 XmlUtils.addStringNodeToNode(node, "classifier", classifier) in PomDependency() 34 XmlUtils.addStringNodeToNode(node, "type", type) in PomDependency() 35 XmlUtils.addStringNodeToNode(node, "scope", scope) in PomDependency() 36 XmlUtils.addStringNodeToNode(node, "systemPath", systemPath) in PomDependency() 37 XmlUtils.addStringNodeToNode(node, "optional", optional) in PomDependency()
|
/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 23 import com.android.internal.util.XmlUtils; 63 return XmlUtils.convertValueToList( in getAttributeListValue() 69 return XmlUtils.convertValueToBoolean( in getAttributeBooleanValue() 75 return XmlUtils.convertValueToInt( in getAttributeResourceValue() 81 return XmlUtils.convertValueToInt( in getAttributeIntValue() 87 return XmlUtils.convertValueToUnsignedInt( in getAttributeUnsignedIntValue() 102 return XmlUtils.convertValueToList( in getAttributeListValue() 107 return XmlUtils.convertValueToBoolean( in getAttributeBooleanValue() 112 return XmlUtils.convertValueToInt( in getAttributeResourceValue() 117 return XmlUtils.convertValueToInt( in getAttributeIntValue() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 31 import com.android.internal.util.XmlUtils; 352 XmlUtils.beginDocument(parser, TAG_OVERLAYS); in restore() 353 int version = XmlUtils.readIntAttribute(parser, ATTR_VERSION); in restore() 359 while (XmlUtils.nextElementWithin(parser, depth)) { in restore() 385 final String packageName = XmlUtils.readStringAttribute(parser, ATTR_PACKAGE_NAME); in restoreRow() 386 final int userId = XmlUtils.readIntAttribute(parser, ATTR_USER_ID); in restoreRow() 387 final String targetPackageName = XmlUtils.readStringAttribute(parser, in restoreRow() 389 final String baseCodePath = XmlUtils.readStringAttribute(parser, ATTR_BASE_CODE_PATH); in restoreRow() 390 final int state = XmlUtils.readIntAttribute(parser, ATTR_STATE); in restoreRow() 391 final boolean isEnabled = XmlUtils.readBooleanAttribute(parser, ATTR_IS_ENABLED); in restoreRow() [all …]
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 36 import com.android.internal.util.XmlUtils; 410 XmlUtils.nextElement(parser); in readPermissionsFromXml() 426 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 433 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 444 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 451 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 459 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 469 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 484 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 489 int fversion = XmlUtils.readIntAttribute(parser, "version", 0); in readPermissionsFromXml() [all …]
|
/frameworks/base/core/java/android/security/net/config/ |
D | XmlConfigSource.java | 11 import com.android.internal.util.XmlUtils; 143 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parsePinSet() 148 XmlUtils.skipCurrentTag(parser); in parsePinSet() 196 XmlUtils.skipCurrentTag(parser); in parseCertificatesEntry() 205 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseTrustAnchors() 210 XmlUtils.skipCurrentTag(parser); in parseTrustAnchors() 247 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseConfigEntry() 281 XmlUtils.skipCurrentTag(parser); in parseConfigEntry() 313 XmlUtils.beginDocument(parser, "network-security-config"); in parseNetworkSecurityConfig() 315 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseNetworkSecurityConfig() [all …]
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 22 import com.android.internal.util.XmlUtils; 113 return XmlUtils.convertValueToList(value, options, defaultValue); in getAttributeListValue() 130 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 161 return XmlUtils.convertValueToInt(value, defaultValue); in getAttributeIntValue() 189 return XmlUtils.convertValueToUnsignedInt(value, defaultValue); in getAttributeUnsignedIntValue() 215 return XmlUtils.convertValueToList( in getAttributeListValue() 229 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 259 return XmlUtils.convertValueToUnsignedInt(value, defaultValue); in getAttributeUnsignedIntValue()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 59 import com.android.internal.util.XmlUtils; 2408 XmlUtils.readIntAttribute(parser, XML_ATTR_FONT_SCALE, 0)); in readXmlAttrs() 2409 configOut.mcc = XmlUtils.readIntAttribute(parser, XML_ATTR_MCC, 0); in readXmlAttrs() 2410 configOut.mnc = XmlUtils.readIntAttribute(parser, XML_ATTR_MNC, 0); in readXmlAttrs() 2412 final String localesStr = XmlUtils.readStringAttribute(parser, XML_ATTR_LOCALES); in readXmlAttrs() 2416 configOut.touchscreen = XmlUtils.readIntAttribute(parser, XML_ATTR_TOUCHSCREEN, in readXmlAttrs() 2418 configOut.keyboard = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD, in readXmlAttrs() 2420 configOut.keyboardHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD_HIDDEN, in readXmlAttrs() 2423 XmlUtils.readIntAttribute(parser, XML_ATTR_HARD_KEYBOARD_HIDDEN, in readXmlAttrs() 2425 configOut.navigation = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION, in readXmlAttrs() [all …]
|
/frameworks/base/core/java/android/os/ |
D | PersistableBundle.java | 23 import com.android.internal.util.XmlUtils; 40 XmlUtils.WriteMapCallback { 245 XmlUtils.writeMapXml(mMap, out, this); in saveToXml() 249 static class MyReadMapCallback implements XmlUtils.ReadMapCallback { 294 XmlUtils.readThisArrayMapXml(in, startTag, tagName, in restoreFromXml()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PersistentPreferredActivity.java | 19 import com.android.internal.util.XmlUtils; 70 XmlUtils.skipCurrentTag(parser); in PersistentPreferredActivity() 80 XmlUtils.skipCurrentTag(parser); in PersistentPreferredActivity()
|
D | PackageSignatures.java | 19 import com.android.internal.util.XmlUtils; 116 XmlUtils.skipCurrentTag(parser); in readXml() 247 XmlUtils.skipCurrentTag(parser); in readCertsListXml() 256 XmlUtils.skipCurrentTag(parser); in readCertsListXml() 294 XmlUtils.skipCurrentTag(parser); in readCertsListXml() 300 XmlUtils.skipCurrentTag(parser); in readCertsListXml()
|
D | CrossProfileIntentFilter.java | 19 import com.android.internal.util.XmlUtils; 87 XmlUtils.skipCurrentTag(parser); in CrossProfileIntentFilter() 97 XmlUtils.skipCurrentTag(parser); in CrossProfileIntentFilter()
|
D | PreferredActivity.java | 19 import com.android.internal.util.XmlUtils; 69 XmlUtils.skipCurrentTag(parser); in onReadTag()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerBackupHelper.java | 39 import com.android.internal.util.XmlUtils; 224 while (XmlUtils.nextElementWithin(parser, permissionsOuterDepth)) { in restoreAccountAccessPermissions() 229 while (XmlUtils.nextElementWithin(parser, permissionOuterDepth)) { in restoreAccountAccessPermissions() 235 XmlUtils.skipCurrentTag(parser); in restoreAccountAccessPermissions() 239 XmlUtils.skipCurrentTag(parser); in restoreAccountAccessPermissions() 243 XmlUtils.skipCurrentTag(parser); in restoreAccountAccessPermissions()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | FilterList.java | 19 import com.android.internal.util.XmlUtils; 31 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in readFromXml()
|
D | NotFilter.java | 21 import com.android.internal.util.XmlUtils; 47 while (XmlUtils.nextElementWithin(parser, outerDepth)) {
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | XmlUtilsTest.java | 34 XmlUtils.writeMapXml(map, baos); in testMapWithNullKeys() 37 HashMap<String, ?> deserialized = XmlUtils.readMapXml(mapInput); in testMapWithNullKeys()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | VoiceMailConstants.java | 32 import com.android.internal.util.XmlUtils; 91 XmlUtils.beginDocument(parser, "voicemail"); in loadVoiceMail() 94 XmlUtils.nextElement(parser); in loadVoiceMail()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | TestConferenceEventPackageParser.java | 20 import com.android.internal.util.XmlUtils; 96 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parse() 135 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseParticipant()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbPermissionActivity.java | 48 import com.android.internal.util.XmlUtils; 162 XmlUtils.nextElement(parser); in canBeDefault() 171 XmlUtils.nextElement(parser); in canBeDefault() 205 XmlUtils.nextElement(parser); in canBeDefault() 214 XmlUtils.nextElement(parser); in canBeDefault()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalKeyManager.java | 28 import com.android.internal.util.XmlUtils; 96 XmlUtils.beginDocument(parser, TAG_GLOBAL_KEYS); in loadGlobalKeys() 100 XmlUtils.nextElement(parser); in loadGlobalKeys()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistSettings.java | 28 import com.android.internal.util.XmlUtils; 97 XmlUtils.beginDocument(parser, "network-watchlist-settings"); in reloadSettings() 99 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in reloadSettings()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceFullAccessList.java | 24 import com.android.internal.util.XmlUtils; 103 int xmlVersion = XmlUtils.readIntAttribute(parser, ATT_VERSION, 0); in readXml() 120 final int userId = XmlUtils.readIntAttribute(parser, ATT_USER_ID, 0); in readXml()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | PersistentDataStore.java | 32 import com.android.internal.util.XmlUtils; 243 XmlUtils.beginDocument(parser, TAG_TV_INPUT_MANAGER_STATE); in loadFromXml() 245 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml() 262 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadBlockedRatingsFromXml()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | PersistentDataStore.java | 20 import com.android.internal.util.XmlUtils; 369 XmlUtils.beginDocument(parser, TAG_DISPLAY_MANAGER_STATE); in loadFromXml() 371 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml() 390 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadRememberedWifiDisplaysFromXml() 414 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadDisplaysFromXml() 507 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml() 545 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml() 626 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml() 671 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadConfigurationFromXml() 691 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadCurveFromXml()
|