Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DConfiguration.java1936 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()
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()
1955 configOut.navigationHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION_HIDDEN, in readXmlAttrs()
1957 configOut.orientation = XmlUtils.readIntAttribute(parser, XML_ATTR_ORIENTATION, in readXmlAttrs()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java73 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()
88 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); in loadConfigStats()
108 event.mEventType = XmlUtils.readIntAttribute(parser, TYPE_ATTR); in loadEvent()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java21 import static com.android.internal.util.XmlUtils.readIntAttribute;
382 final int sessionId = readIntAttribute(in, ATTR_SESSION_ID); in readSessionLocked()
383 final int userId = readIntAttribute(in, ATTR_USER_ID); in readSessionLocked()
385 final int installerUid = readIntAttribute(in, ATTR_INSTALLER_UID, mPm.getPackageUid( in readSessionLocked()
396 params.mode = readIntAttribute(in, ATTR_MODE); in readSessionLocked()
397 params.installFlags = readIntAttribute(in, ATTR_INSTALL_FLAGS); in readSessionLocked()
398 params.installLocation = readIntAttribute(in, ATTR_INSTALL_LOCATION); in readSessionLocked()
405 readIntAttribute(in, ATTR_ORIGINATING_UID, SessionParams.UID_UNKNOWN); in readSessionLocked()
DUserManagerService.java2008 int storedId = readIntAttribute(parser, ATTR_ID, -1); in readUserLP()
2013 serialNumber = readIntAttribute(parser, ATTR_SERIAL_NO, id); in readUserLP()
2014 flags = readIntAttribute(parser, ATTR_FLAGS, 0); in readUserLP()
2020 profileGroupId = readIntAttribute(parser, ATTR_PROFILE_GROUP_ID, in readUserLP()
2022 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2105 private int readIntAttribute(XmlPullParser parser, String attr, int defaultValue) { in readIntAttribute() method in UserManagerService
DSettings.java1679 final int enabled = XmlUtils.readIntAttribute(parser, ATTR_ENABLED, in readPackageRestrictionsLPr()
1684 final int verifState = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1687 final int linkGeneration = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
2889 internal.sdkVersion = XmlUtils.readIntAttribute(parser, "internal", 0); in readLPw()
2890 external.sdkVersion = XmlUtils.readIntAttribute(parser, "external", 0); in readLPw()
2901 internal.databaseVersion = XmlUtils.readIntAttribute(parser, "internal", 0); in readLPw()
2902 external.databaseVersion = XmlUtils.readIntAttribute(parser, "external", 0); in readLPw()
2921 ver.sdkVersion = XmlUtils.readIntAttribute(parser, ATTR_SDK_VERSION); in readLPw()
2922 ver.databaseVersion = XmlUtils.readIntAttribute(parser, ATTR_SDK_VERSION); in readLPw()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java79 import static com.android.internal.util.XmlUtils.readIntAttribute;
1421 version = readIntAttribute(in, ATTR_VERSION); in readPolicyLocked()
1436 final int networkTemplate = readIntAttribute(in, ATTR_NETWORK_TEMPLATE); in readPolicyLocked()
1444 final int cycleDay = readIntAttribute(in, ATTR_CYCLE_DAY); in readPolicyLocked()
1497 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyLocked()
1498 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyLocked()
1506 final int appId = readIntAttribute(in, ATTR_APP_ID); in readPolicyLocked()
1507 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyLocked()
1520 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyLocked()
1523 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyLocked()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java361 int fversion = XmlUtils.readIntAttribute(parser, "version", 0); in readPermissionsFromXml()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1523 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() method in XmlUtils
1532 public static int readIntAttribute(XmlPullParser in, String name) throws IOException { in readIntAttribute() method in XmlUtils
/frameworks/base/services/core/java/com/android/server/
DMountService.java20 import static com.android.internal.util.XmlUtils.readIntAttribute;
1578 final int version = readIntAttribute(in, ATTR_VERSION, VERSION_INIT); in readSettingsLocked()
1635 final int type = readIntAttribute(in, ATTR_TYPE); in readVolumeRecord()
1640 meta.userFlags = readIntAttribute(in, ATTR_USER_FLAGS); in readVolumeRecord()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java289 import static com.android.internal.util.XmlUtils.readIntAttribute;
8657 final int userHandle = readIntAttribute(in, in readGrantedUriPermissionsLocked()
8664 sourceUserId = readIntAttribute(in, ATTR_SOURCE_USER_ID); in readGrantedUriPermissionsLocked()
8665 targetUserId = readIntAttribute(in, ATTR_TARGET_USER_ID); in readGrantedUriPermissionsLocked()
8671 final int modeFlags = readIntAttribute(in, ATTR_MODE_FLAGS); in readGrantedUriPermissionsLocked()