Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DConfiguration.java1699 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()
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()
1719 configOut.navigationHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION_HIDDEN, in readXmlAttrs()
1721 configOut.orientation = XmlUtils.readIntAttribute(parser, XML_ATTR_ORIENTATION, in readXmlAttrs()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java74 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()
89 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); in loadConfigStats()
109 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;
357 final int sessionId = readIntAttribute(in, ATTR_SESSION_ID); in readSessionLocked()
358 final int userId = readIntAttribute(in, ATTR_USER_ID); in readSessionLocked()
360 final int installerUid = readIntAttribute(in, ATTR_INSTALLER_UID, in readSessionLocked()
371 params.mode = readIntAttribute(in, ATTR_MODE); in readSessionLocked()
372 params.installFlags = readIntAttribute(in, ATTR_INSTALL_FLAGS); in readSessionLocked()
373 params.installLocation = readIntAttribute(in, ATTR_INSTALL_LOCATION); in readSessionLocked()
DUserManagerService.java938 int storedId = readIntAttribute(parser, ATTR_ID, -1); in readUserLocked()
943 serialNumber = readIntAttribute(parser, ATTR_SERIAL_NO, id); in readUserLocked()
944 flags = readIntAttribute(parser, ATTR_FLAGS, 0); in readUserLocked()
950 failedAttempts = readIntAttribute(parser, ATTR_FAILED_ATTEMPTS, 0); in readUserLocked()
952 profileGroupId = readIntAttribute(parser, ATTR_PROFILE_GROUP_ID, in readUserLocked()
957 profileGroupId = readIntAttribute(parser, "relatedGroupId", in readUserLocked()
1070 private int readIntAttribute(XmlPullParser parser, String attr, int defaultValue) { in readIntAttribute() method in UserManagerService
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java68 import static com.android.internal.util.XmlUtils.readIntAttribute;
1253 version = readIntAttribute(in, ATTR_VERSION); in readPolicyLocked()
1262 final int networkTemplate = readIntAttribute(in, ATTR_NETWORK_TEMPLATE); in readPolicyLocked()
1270 final int cycleDay = readIntAttribute(in, ATTR_CYCLE_DAY); in readPolicyLocked()
1321 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyLocked()
1322 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyLocked()
1330 final int appId = readIntAttribute(in, ATTR_APP_ID); in readPolicyLocked()
1331 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyLocked()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1485 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() method in XmlUtils
1494 public static int readIntAttribute(XmlPullParser in, String name) throws IOException { in readIntAttribute() method in XmlUtils
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java24 import static com.android.internal.util.XmlUtils.readIntAttribute;
7768 final int userHandle = readIntAttribute(in, in readGrantedUriPermissionsLocked()
7775 sourceUserId = readIntAttribute(in, ATTR_SOURCE_USER_ID); in readGrantedUriPermissionsLocked()
7776 targetUserId = readIntAttribute(in, ATTR_TARGET_USER_ID); in readGrantedUriPermissionsLocked()
7782 final int modeFlags = readIntAttribute(in, ATTR_MODE_FLAGS); in readGrantedUriPermissionsLocked()