/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsXmlV1.java | 25 import com.android.internal.util.XmlUtils; 94 stats.mLastTimeUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats() 98 stats.mLastTimeVisible = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats() 105 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats() 111 stats.mTotalTimeInForeground = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); in loadUsageStats() 114 stats.mTotalTimeVisible = XmlUtils.readLongAttribute(parser, TOTAL_TIME_VISIBLE_ATTR); in loadUsageStats() 120 stats.mTotalTimeForegroundServiceUsed = XmlUtils.readLongAttribute(parser, in loadUsageStats() 126 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats() 127 stats.mAppLaunchCount = XmlUtils.readIntAttribute(parser, APP_LAUNCH_COUNT_ATTR, in loadUsageStats() 139 String action = XmlUtils.readStringAttribute(parser, NAME); in loadUsageStats() [all …]
|
/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 24 import com.android.internal.util.XmlUtils; 65 return XmlUtils.convertValueToList( in getAttributeListValue() 71 return XmlUtils.convertValueToBoolean( in getAttributeBooleanValue() 77 return XmlUtils.convertValueToInt( in getAttributeResourceValue() 83 return XmlUtils.convertValueToInt( in getAttributeIntValue() 89 return XmlUtils.convertValueToUnsignedInt( in getAttributeUnsignedIntValue() 104 return XmlUtils.convertValueToList( in getAttributeListValue() 109 return XmlUtils.convertValueToBoolean( in getAttributeBooleanValue() 114 return XmlUtils.convertValueToInt( in getAttributeResourceValue() 119 return XmlUtils.convertValueToInt( in getAttributeIntValue() [all …]
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 38 import com.android.internal.util.XmlUtils; 499 XmlUtils.nextElement(parser); in readPermissionsFromXml() 506 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 523 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 531 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 538 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 547 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 554 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 562 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() 575 XmlUtils.skipCurrentTag(parser); in readPermissionsFromXml() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerSettings.java | 33 import com.android.internal.util.XmlUtils; 402 XmlUtils.beginDocument(parser, TAG_OVERLAYS); in restore() 403 int version = XmlUtils.readIntAttribute(parser, ATTR_VERSION); in restore() 409 while (XmlUtils.nextElementWithin(parser, depth)) { in restore() 435 final String packageName = XmlUtils.readStringAttribute(parser, ATTR_PACKAGE_NAME); in restoreRow() 436 final int userId = XmlUtils.readIntAttribute(parser, ATTR_USER_ID); in restoreRow() 437 final String targetPackageName = XmlUtils.readStringAttribute(parser, in restoreRow() 439 final String targetOverlayableName = XmlUtils.readStringAttribute(parser, in restoreRow() 441 final String baseCodePath = XmlUtils.readStringAttribute(parser, ATTR_BASE_CODE_PATH); in restoreRow() 442 final int state = XmlUtils.readIntAttribute(parser, ATTR_STATE); in restoreRow() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | SuspendDialogInfo.java | 33 import com.android.internal.util.XmlUtils; 128 XmlUtils.writeIntAttribute(out, XML_ATTR_ICON_RES_ID, mIconResId); in saveToXml() 131 XmlUtils.writeIntAttribute(out, XML_ATTR_TITLE_RES_ID, mTitleResId); in saveToXml() 134 XmlUtils.writeIntAttribute(out, XML_ATTR_DIALOG_MESSAGE_RES_ID, mDialogMessageResId); in saveToXml() 136 XmlUtils.writeStringAttribute(out, XML_ATTR_DIALOG_MESSAGE, mDialogMessage); in saveToXml() 139 XmlUtils.writeIntAttribute(out, XML_ATTR_BUTTON_TEXT_RES_ID, mNeutralButtonTextResId); in saveToXml() 149 final int iconId = XmlUtils.readIntAttribute(in, XML_ATTR_ICON_RES_ID, ID_NULL); in restoreFromXml() 150 final int titleId = XmlUtils.readIntAttribute(in, XML_ATTR_TITLE_RES_ID, ID_NULL); in restoreFromXml() 151 final int buttonTextId = XmlUtils.readIntAttribute(in, XML_ATTR_BUTTON_TEXT_RES_ID, in restoreFromXml() 153 final int dialogMessageResId = XmlUtils.readIntAttribute( in restoreFromXml() [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() 198 XmlUtils.skipCurrentTag(parser); in parseCertificatesEntry() 207 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseTrustAnchors() 212 XmlUtils.skipCurrentTag(parser); in parseTrustAnchors() 249 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseConfigEntry() 283 XmlUtils.skipCurrentTag(parser); in parseConfigEntry() 315 XmlUtils.beginDocument(parser, "network-security-config"); in parseNetworkSecurityConfig() 317 while (XmlUtils.nextElementWithin(parser, outerDepth)) { in parseNetworkSecurityConfig() [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | ConfigurationProcessor.java | 25 import com.android.internal.util.XmlUtils; 43 XmlUtils.beginDocument(parser, "devices"); in processExcludedDeviceNames() 45 XmlUtils.nextElement(parser); in processExcludedDeviceNames() 95 XmlUtils.beginDocument(parser, "ports"); in processInputPortAssociations() 98 XmlUtils.nextElement(parser); in processInputPortAssociations()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 22 import com.android.internal.util.XmlUtils; 132 return XmlUtils.convertValueToList(value, options, defaultValue); in getAttributeListValue() 149 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 180 return XmlUtils.convertValueToInt(value, defaultValue); in getAttributeIntValue() 214 return XmlUtils.convertValueToUnsignedInt(value, defaultValue); in getAttributeUnsignedIntValue() 240 return XmlUtils.convertValueToList( in getAttributeListValue() 254 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 283 return XmlUtils.convertValueToUnsignedInt(value, defaultValue); in getAttributeUnsignedIntValue()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ModuleInfoProvider.java | 35 import com.android.internal.util.XmlUtils; 125 XmlUtils.beginDocument(parser, "module-metadata"); in loadModuleMetadata() 127 XmlUtils.nextElement(parser); in loadModuleMetadata() 145 final String modulePackageName = XmlUtils.readStringAttribute(parser, in loadModuleMetadata() 147 final boolean isHidden = XmlUtils.readBooleanAttribute(parser, "isHidden"); in loadModuleMetadata()
|
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 | 25 import com.android.internal.util.XmlUtils; 117 XmlUtils.skipCurrentTag(parser); in readXml() 260 XmlUtils.skipCurrentTag(parser); in readCertsListXml() 269 XmlUtils.skipCurrentTag(parser); in readCertsListXml() 298 XmlUtils.skipCurrentTag(parser); in readCertsListXml() 304 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/core/java/android/content/res/ |
D | Configuration.java | 64 import com.android.internal.util.XmlUtils; 2586 XmlUtils.readIntAttribute(parser, XML_ATTR_FONT_SCALE, 0)); in readXmlAttrs() 2587 configOut.mcc = XmlUtils.readIntAttribute(parser, XML_ATTR_MCC, 0); in readXmlAttrs() 2588 configOut.mnc = XmlUtils.readIntAttribute(parser, XML_ATTR_MNC, 0); in readXmlAttrs() 2590 final String localesStr = XmlUtils.readStringAttribute(parser, XML_ATTR_LOCALES); in readXmlAttrs() 2594 configOut.touchscreen = XmlUtils.readIntAttribute(parser, XML_ATTR_TOUCHSCREEN, in readXmlAttrs() 2596 configOut.keyboard = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD, in readXmlAttrs() 2598 configOut.keyboardHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD_HIDDEN, in readXmlAttrs() 2601 XmlUtils.readIntAttribute(parser, XML_ATTR_HARD_KEYBOARD_HIDDEN, in readXmlAttrs() 2603 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/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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | VoiceMailConstants.java | 33 import com.android.internal.util.XmlUtils; 93 XmlUtils.beginDocument(parser, "voicemail"); in loadVoiceMail() 96 XmlUtils.nextElement(parser); in loadVoiceMail()
|
/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/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/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/telephony/java/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslator.java | 26 import com.android.internal.util.XmlUtils; 167 XmlUtils.beginDocument(parser, XML_START_TAG); in load7BitTranslationTableFromXml() 169 XmlUtils.nextElement(parser); in load7BitTranslationTableFromXml()
|