Home
last modified time | relevance | path

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

123

/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()
73 stats.mTotalTimeInForeground = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); in loadUsageStats()
74 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()
85 configStats.mLastTimeActive = statsOut.beginTime + XmlUtils.readLongAttribute( in loadConfigStats()
88 configStats.mTotalTimeActive = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); in loadConfigStats()
89 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); in loadConfigStats()
90 if (XmlUtils.readBooleanAttribute(parser, ACTIVE_ATTR)) { in loadConfigStats()
97 final String packageName = XmlUtils.readStringAttribute(parser, PACKAGE_ATTR); in loadEvent()
102 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/services/core/java/com/android/server/
DSystemConfig.java31 import com.android.internal.util.XmlUtils;
213 XmlUtils.nextElement(parser); in readPermissionsFromXml()
229 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
236 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
247 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
254 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
262 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
272 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
287 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
308 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml()
[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;
1699 XmlUtils.readIntAttribute(parser, XML_ATTR_FONT_SCALE, 0)); in readXmlAttrs()
1700 configOut.mcc = XmlUtils.readIntAttribute(parser, XML_ATTR_MCC, 0); in readXmlAttrs()
1701 configOut.mnc = XmlUtils.readIntAttribute(parser, XML_ATTR_MNC, 0); in readXmlAttrs()
1703 final String localeStr = XmlUtils.readStringAttribute(parser, XML_ATTR_LOCALE); in readXmlAttrs()
1708 configOut.touchscreen = XmlUtils.readIntAttribute(parser, XML_ATTR_TOUCHSCREEN, in readXmlAttrs()
1710 configOut.keyboard = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD, in readXmlAttrs()
1712 configOut.keyboardHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD_HIDDEN, in readXmlAttrs()
1715 XmlUtils.readIntAttribute(parser, XML_ATTR_HARD_KEYBOARD_HIDDEN, in readXmlAttrs()
1717 configOut.navigation = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION, in readXmlAttrs()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java26 import com.android.internal.util.XmlUtils;
153 XmlUtils.beginDocument(parser, "policy"); in readInstallPolicy()
155 XmlUtils.nextElement(parser); in readInstallPolicy()
166 XmlUtils.skipCurrentTag(parser); in readInstallPolicy()
175 XmlUtils.skipCurrentTag(parser); in readInstallPolicy()
189 XmlUtils.skipCurrentTag(parser); in readInstallPolicy()
229 XmlUtils.skipCurrentTag(parser); in readPolicyTags()
235 XmlUtils.skipCurrentTag(parser); in readPolicyTags()
244 XmlUtils.skipCurrentTag(parser); in readPolicyTags()
268 XmlUtils.skipCurrentTag(parser); in readSeinfoTag()
DPersistentPreferredActivity.java19 import com.android.internal.util.XmlUtils;
70 XmlUtils.skipCurrentTag(parser); in PersistentPreferredActivity()
80 XmlUtils.skipCurrentTag(parser); in PersistentPreferredActivity()
DPreferredActivity.java19 import com.android.internal.util.XmlUtils;
69 XmlUtils.skipCurrentTag(parser); in onReadTag()
DCrossProfileIntentFilter.java19 import com.android.internal.util.XmlUtils;
95 XmlUtils.skipCurrentTag(parser); in CrossProfileIntentFilter()
105 XmlUtils.skipCurrentTag(parser); in CrossProfileIntentFilter()
/frameworks/base/core/java/android/os/
DPersistableBundle.java20 import com.android.internal.util.XmlUtils;
36 XmlUtils.WriteMapCallback {
195 XmlUtils.writeMapXml(mMap, out, this); in saveToXml()
199 static class MyReadMapCallback implements XmlUtils.ReadMapCallback {
244 XmlUtils.readThisMapXml(in, startTag, tagName, new MyReadMapCallback())); in restoreFromXml()
/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/base/core/tests/coretests/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/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/policy/src/com/android/internal/policy/impl/
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/display/
DPersistentDataStore.java20 import com.android.internal.util.XmlUtils;
236 XmlUtils.beginDocument(parser, "display-manager-state"); in loadFromXml()
238 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml()
248 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadRememberedWifiDisplaysFromXml()
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java23 import com.android.internal.util.XmlUtils;
179 XmlUtils.beginDocument(parser, TAG_DEVICE); in readPowerValuesFromXml()
182 XmlUtils.nextElement(parser); in readPowerValuesFromXml()
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java32 import com.android.internal.util.XmlUtils;
242 XmlUtils.beginDocument(parser, TAG_TV_INPUT_MANAGER_STATE); in loadFromXml()
244 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml()
261 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadBlockedRatingsFromXml()
/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/services/core/java/com/android/server/input/
DPersistentDataStore.java21 import com.android.internal.util.XmlUtils;
255 XmlUtils.beginDocument(parser, "input-manager-state"); in loadFromXml()
257 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml()
267 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadInputDevicesFromXml()
423 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in loadFromXml()
468 while (XmlUtils.nextElementWithin(parser, depth)) { in loadFromXml()
/frameworks/base/core/java/android/app/
DAliasActivity.java30 import com.android.internal.util.XmlUtils;
117 XmlUtils.skipCurrentTag(parser); in parseAlias()
/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()

123