Home
last modified time | relevance | path

Searched refs:readIntAttribute (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java89 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()
90 stats.mAppLaunchCount = XmlUtils.readIntAttribute(parser, APP_LAUNCH_COUNT_ATTR, 0); in loadUsageStats()
110 tracker.count = XmlUtils.readIntAttribute(parser, COUNT_ATTR, 0); in loadCountAndTime()
140 int count = XmlUtils.readIntAttribute(parser, COUNT); in loadChooserCounts()
158 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); in loadConfigStats()
174 event.mFlags = XmlUtils.readIntAttribute(parser, FLAGS_ATTR, 0); in loadEvent()
179 event.mEventType = XmlUtils.readIntAttribute(parser, TYPE_ATTR); in loadEvent()
190 event.mBucketAndReason = XmlUtils.readIntAttribute(parser, STANDBY_BUCKET_ATTR, 0); in loadEvent()
/frameworks/base/core/java/android/content/res/
DConfiguration.java2408 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()
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()
2427 configOut.navigationHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION_HIDDEN, in readXmlAttrs()
2429 configOut.orientation = XmlUtils.readIntAttribute(parser, XML_ATTR_ORIENTATION, in readXmlAttrs()
[all …]
/frameworks/base/services/core/java/com/android/server/slice/
DSliceFullAccessList.java103 int xmlVersion = XmlUtils.readIntAttribute(parser, ATT_VERSION, 0); in readXml()
120 final int userId = XmlUtils.readIntAttribute(parser, ATT_USER_ID, 0); in readXml()
DSlicePermissionManager.java204 int xmlVersion = XmlUtils.readIntAttribute(parser, ATT_VERSION, 0); in readRestore()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java353 int version = XmlUtils.readIntAttribute(parser, ATTR_VERSION); in restore()
386 final int userId = XmlUtils.readIntAttribute(parser, ATTR_USER_ID); in restoreRow()
390 final int state = XmlUtils.readIntAttribute(parser, ATTR_STATE); in restoreRow()
393 final int priority = XmlUtils.readIntAttribute(parser, ATTR_PRIORITY); in restoreRow()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java31 import static com.android.internal.util.XmlUtils.readIntAttribute;
1768 final int sessionId = readIntAttribute(in, ATTR_SESSION_ID); in readFromXml()
1769 final int userId = readIntAttribute(in, ATTR_USER_ID); in readFromXml()
1771 final int installerUid = readIntAttribute(in, ATTR_INSTALLER_UID, pm.getPackageUid( in readFromXml()
1782 params.mode = readIntAttribute(in, ATTR_MODE); in readFromXml()
1783 params.installFlags = readIntAttribute(in, ATTR_INSTALL_FLAGS); in readFromXml()
1784 params.installLocation = readIntAttribute(in, ATTR_INSTALL_LOCATION); in readFromXml()
1791 readIntAttribute(in, ATTR_ORIGINATING_UID, SessionParams.UID_UNKNOWN); in readFromXml()
1795 params.installReason = readIntAttribute(in, ATTR_INSTALL_REASON); in readFromXml()
DUserManagerService.java2430 int storedId = readIntAttribute(parser, ATTR_ID, -1); in readUserLP()
2435 serialNumber = readIntAttribute(parser, ATTR_SERIAL_NO, id); in readUserLP()
2436 flags = readIntAttribute(parser, ATTR_FLAGS, 0); in readUserLP()
2442 profileGroupId = readIntAttribute(parser, ATTR_PROFILE_GROUP_ID, in readUserLP()
2444 profileBadge = readIntAttribute(parser, ATTR_PROFILE_BADGE, 0); in readUserLP()
2445 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2527 private int readIntAttribute(XmlPullParser parser, String attr, int defaultValue) { in readIntAttribute() method in UserManagerService
DSettings.java1727 final int enabled = XmlUtils.readIntAttribute(parser, ATTR_ENABLED, in readPackageRestrictionsLPr()
1733 final int verifState = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1736 final int linkGeneration = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1741 final int installReason = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
3103 internal.sdkVersion = XmlUtils.readIntAttribute(parser, "internal", 0); in readLPw()
3104 external.sdkVersion = XmlUtils.readIntAttribute(parser, "external", 0); in readLPw()
3115 internal.databaseVersion = XmlUtils.readIntAttribute(parser, "internal", 0); in readLPw()
3116 external.databaseVersion = XmlUtils.readIntAttribute(parser, "external", 0); in readLPw()
3136 ver.sdkVersion = XmlUtils.readIntAttribute(parser, ATTR_SDK_VERSION); in readLPw()
3137 ver.databaseVersion = XmlUtils.readIntAttribute(parser, ATTR_DATABASE_VERSION); in readLPw()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java203 int uid = XmlUtils.readIntAttribute(parser, ATT_UID, Record.UNKNOWN_UID); in readXml()
216 XmlUtils.readIntAttribute( in readXml()
218 XmlUtils.readIntAttribute(parser, ATT_PRIORITY, DEFAULT_PRIORITY), in readXml()
219 XmlUtils.readIntAttribute( in readXml()
223 r.importance = XmlUtils.readIntAttribute( in readXml()
225 r.priority = XmlUtils.readIntAttribute( in readXml()
227 r.visibility = XmlUtils.readIntAttribute( in readXml()
231 r.lockedAppFields = XmlUtils.readIntAttribute(parser, in readXml()
258 int channelImportance = XmlUtils.readIntAttribute( in readXml()
DManagedServices.java344 int xmlVersion = XmlUtils.readIntAttribute(parser, ATT_VERSION, 0); in readXml()
363 final int userId = XmlUtils.readIntAttribute(parser, ATT_USER_ID, 0); in readXml()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java92 import static com.android.internal.util.XmlUtils.readIntAttribute;
2118 version = readIntAttribute(in, ATTR_VERSION); in readPolicyAL()
2122 final int networkTemplate = readIntAttribute(in, ATTR_NETWORK_TEMPLATE); in readPolicyAL()
2140 final int cycleDay = readIntAttribute(in, ATTR_CYCLE_DAY); in readPolicyAL()
2205 final int limitBehavior = readIntAttribute(in, ATTR_LIMIT_BEHAVIOR, in readPolicyAL()
2221 final int subId = readIntAttribute(in, ATTR_SUB_ID); in readPolicyAL()
2230 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyAL()
2231 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyAL()
2239 final int appId = readIntAttribute(in, ATTR_APP_ID); in readPolicyAL()
2240 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyAL()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1595 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() method in XmlUtils
1607 public static int readIntAttribute(XmlPullParser in, String name) throws IOException { in readIntAttribute() method in XmlUtils
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java28 import static com.android.internal.util.XmlUtils.readIntAttribute;
1545 final int version = readIntAttribute(in, ATTR_VERSION, VERSION_INIT); in readSettingsLocked()
1601 final int type = readIntAttribute(in, ATTR_TYPE); in readVolumeRecord()
1606 meta.userFlags = readIntAttribute(in, ATTR_USER_FLAGS); in readVolumeRecord()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java489 int fversion = XmlUtils.readIntAttribute(parser, "version", 0); in readPermissionsFromXml()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java130 import static com.android.internal.util.XmlUtils.readIntAttribute;
10334 final int userHandle = readIntAttribute(in, in readGrantedUriPermissionsLocked()
10341 sourceUserId = readIntAttribute(in, ATTR_SOURCE_USER_ID); in readGrantedUriPermissionsLocked()
10342 targetUserId = readIntAttribute(in, ATTR_TARGET_USER_ID); in readGrantedUriPermissionsLocked()
10348 final int modeFlags = readIntAttribute(in, ATTR_MODE_FLAGS); in readGrantedUriPermissionsLocked()
/frameworks/base/config/
Dboot-image-profile.txt42143 HSPLcom/android/internal/util/XmlUtils;->readIntAttribute(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/…
42144 HSPLcom/android/internal/util/XmlUtils;->readIntAttribute(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/…