Home
last modified time | relevance | path

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

1234

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java18 import com.android.internal.util.XmlUtils;
70 stats.mLastTimeUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats()
72 stats.mTotalTimeInForeground = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); in loadUsageStats()
73 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()
84 configStats.mLastTimeActive = statsOut.beginTime + XmlUtils.readLongAttribute( in loadConfigStats()
87 configStats.mTotalTimeActive = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); in loadConfigStats()
88 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); in loadConfigStats()
89 if (XmlUtils.readBooleanAttribute(parser, ACTIVE_ATTR)) { in loadConfigStats()
96 final String packageName = XmlUtils.readStringAttribute(parser, PACKAGE_ATTR); in loadEvent()
101 final String className = XmlUtils.readStringAttribute(parser, CLASS_ATTR); in loadEvent()
[all …]
/frameworks/base/core/java/android/util/
DXmlPullAttributes.java23 import com.android.internal.util.XmlUtils;
59 return XmlUtils.convertValueToList( in getAttributeListValue()
65 return XmlUtils.convertValueToBoolean( in getAttributeBooleanValue()
71 return XmlUtils.convertValueToInt( in getAttributeResourceValue()
77 return XmlUtils.convertValueToInt( in getAttributeIntValue()
83 return XmlUtils.convertValueToUnsignedInt( in getAttributeUnsignedIntValue()
98 return XmlUtils.convertValueToList( in getAttributeListValue()
103 return XmlUtils.convertValueToBoolean( in getAttributeBooleanValue()
108 return XmlUtils.convertValueToInt( in getAttributeResourceValue()
113 return XmlUtils.convertValueToInt( in getAttributeIntValue()
[all …]
/frameworks/base/core/java/com/android/server/
DSystemConfig.java34 import com.android.internal.util.XmlUtils;
282 XmlUtils.nextElement(parser); in readPermissionsFromXml()
298 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
305 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
316 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
323 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
331 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
341 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
356 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
361 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;
153 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parsePinSet()
158 XmlUtils.skipCurrentTag(parser); in parsePinSet()
206 XmlUtils.skipCurrentTag(parser); in parseCertificatesEntry()
215 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseTrustAnchors()
220 XmlUtils.skipCurrentTag(parser); in parseTrustAnchors()
257 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseConfigEntry()
291 XmlUtils.skipCurrentTag(parser); in parseConfigEntry()
323 XmlUtils.beginDocument(parser, "network-security-config"); in parseNetworkSecurityConfig()
325 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseNetworkSecurityConfig()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java21 import com.android.internal.util.XmlUtils;
93 return XmlUtils.convertValueToList(value, options, defaultValue); in getAttributeListValue()
110 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue()
134 return XmlUtils.convertValueToInt(value, defaultValue); in getAttributeIntValue()
151 return XmlUtils.convertValueToUnsignedInt(value, defaultValue); in getAttributeUnsignedIntValue()
177 return XmlUtils.convertValueToList( in getAttributeListValue()
191 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue()
217 return XmlUtils.convertValueToInt(value, defaultValue); in getAttributeIntValue()
233 return XmlUtils.convertValueToUnsignedInt(value, defaultValue); in getAttributeUnsignedIntValue()
/frameworks/base/core/java/android/content/res/
DConfiguration.java19 import com.android.internal.util.XmlUtils;
1936 XmlUtils.readIntAttribute(parser, XML_ATTR_FONT_SCALE, 0)); in readXmlAttrs()
1937 configOut.mcc = XmlUtils.readIntAttribute(parser, XML_ATTR_MCC, 0); in readXmlAttrs()
1938 configOut.mnc = XmlUtils.readIntAttribute(parser, XML_ATTR_MNC, 0); in readXmlAttrs()
1940 final String localesStr = XmlUtils.readStringAttribute(parser, XML_ATTR_LOCALES); in readXmlAttrs()
1944 configOut.touchscreen = XmlUtils.readIntAttribute(parser, XML_ATTR_TOUCHSCREEN, in readXmlAttrs()
1946 configOut.keyboard = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD, in readXmlAttrs()
1948 configOut.keyboardHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD_HIDDEN, in readXmlAttrs()
1951 XmlUtils.readIntAttribute(parser, XML_ATTR_HARD_KEYBOARD_HIDDEN, in readXmlAttrs()
1953 configOut.navigation = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION, in readXmlAttrs()
[all …]
/frameworks/base/core/java/android/os/
DPersistableBundle.java22 import com.android.internal.util.XmlUtils;
38 XmlUtils.WriteMapCallback {
220 XmlUtils.writeMapXml(mMap, out, this); in saveToXml()
224 static class MyReadMapCallback implements XmlUtils.ReadMapCallback {
269 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()
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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSpnOverride.java32 import com.android.internal.util.XmlUtils;
91 XmlUtils.beginDocument(parser, "spnOverrides"); in loadSpnOverrides()
94 XmlUtils.nextElement(parser); in loadSpnOverrides()
DVoiceMailConstants.java32 import com.android.internal.util.XmlUtils;
91 XmlUtils.beginDocument(parser, "voicemail"); in loadVoiceMail()
94 XmlUtils.nextElement(parser); in loadVoiceMail()
/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/opt/telephony/src/java/com/android/internal/telephony/test/
DTestConferenceEventPackageParser.java20 import com.android.internal.util.XmlUtils;
97 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parse()
136 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseParticipant()
/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/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()
DShortcutManager.java31 import com.android.internal.util.XmlUtils;
109 XmlUtils.beginDocument(parser, TAG_BOOKMARKS); in loadShortcuts()
112 XmlUtils.nextElement(parser); in loadShortcuts()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java20 import com.android.internal.util.XmlUtils;
237 XmlUtils.beginDocument(parser, "display-manager-state"); in loadFromXml()
239 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml()
249 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadRememberedWifiDisplaysFromXml()
/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/webkit/
DSystemImpl.java40 import com.android.internal.util.XmlUtils;
83 XmlUtils.beginDocument(parser, TAG_START); in SystemImpl()
85 XmlUtils.nextElement(parser); in SystemImpl()
168 while(XmlUtils.nextElementWithin(parser, outerDepth)) { in readSignatures()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java27 import com.android.internal.util.XmlUtils;
186 XmlUtils.beginDocument(parser, XML_START_TAG); in load7BitTranslationTableFromXml()
188 XmlUtils.nextElement(parser); in load7BitTranslationTableFromXml()
/frameworks/base/core/java/android/preference/
DPreferenceInflater.java19 import com.android.internal.util.XmlUtils;
91 XmlUtils.skipCurrentTag(parser); in onCreateCustomFromTag()
/frameworks/base/core/java/android/text/
DAutoText.java22 import com.android.internal.util.XmlUtils;
170 XmlUtils.beginDocument(parser, "words"); in init()
175 XmlUtils.nextElement(parser); in init()
/frameworks/base/core/java/android/app/
DAliasActivity.java30 import com.android.internal.util.XmlUtils;
117 XmlUtils.skipCurrentTag(parser); in parseAlias()

1234