Home
last modified time | relevance | path

Searched refs:XmlUtils (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java18 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/
DPomDependencyExtensions.kt30 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/
DXmlPullAttributes.java23 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/
DOverlayManagerSettings.java31 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/
DSystemConfig.java36 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/
DXmlConfigSource.java11 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/
DBridgeXmlPullAttributes.java22 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/
DConfiguration.java59 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/
DPersistableBundle.java23 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/
DPersistentPreferredActivity.java19 import com.android.internal.util.XmlUtils;
70 XmlUtils.skipCurrentTag(parser); in PersistentPreferredActivity()
80 XmlUtils.skipCurrentTag(parser); in PersistentPreferredActivity()
DPackageSignatures.java19 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()
DCrossProfileIntentFilter.java19 import com.android.internal.util.XmlUtils;
87 XmlUtils.skipCurrentTag(parser); in CrossProfileIntentFilter()
97 XmlUtils.skipCurrentTag(parser); in CrossProfileIntentFilter()
DPreferredActivity.java19 import com.android.internal.util.XmlUtils;
69 XmlUtils.skipCurrentTag(parser); in onReadTag()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerBackupHelper.java39 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/
DFilterList.java19 import com.android.internal.util.XmlUtils;
31 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in readFromXml()
DNotFilter.java21 import com.android.internal.util.XmlUtils;
47 while (XmlUtils.nextElementWithin(parser, outerDepth)) {
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DXmlUtilsTest.java34 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/
DVoiceMailConstants.java32 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/
DTestConferenceEventPackageParser.java20 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/
DUsbPermissionActivity.java48 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/
DGlobalKeyManager.java28 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/
DWatchlistSettings.java28 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/
DSliceFullAccessList.java24 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/
DPersistentDataStore.java32 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/
DPersistentDataStore.java20 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()

1234