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.java1950 XmlUtils.readIntAttribute(parser, XML_ATTR_FONT_SCALE, 0)); in readXmlAttrs()
1951 configOut.mcc = XmlUtils.readIntAttribute(parser, XML_ATTR_MCC, 0); in readXmlAttrs()
1952 configOut.mnc = XmlUtils.readIntAttribute(parser, XML_ATTR_MNC, 0); in readXmlAttrs()
1958 configOut.touchscreen = XmlUtils.readIntAttribute(parser, XML_ATTR_TOUCHSCREEN, in readXmlAttrs()
1960 configOut.keyboard = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD, in readXmlAttrs()
1962 configOut.keyboardHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD_HIDDEN, in readXmlAttrs()
1965 XmlUtils.readIntAttribute(parser, XML_ATTR_HARD_KEYBOARD_HIDDEN, in readXmlAttrs()
1967 configOut.navigation = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION, in readXmlAttrs()
1969 configOut.navigationHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION_HIDDEN, in readXmlAttrs()
1971 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;
387 final int sessionId = readIntAttribute(in, ATTR_SESSION_ID); in readSessionLocked()
388 final int userId = readIntAttribute(in, ATTR_USER_ID); in readSessionLocked()
390 final int installerUid = readIntAttribute(in, ATTR_INSTALLER_UID, mPm.getPackageUid( in readSessionLocked()
401 params.mode = readIntAttribute(in, ATTR_MODE); in readSessionLocked()
402 params.installFlags = readIntAttribute(in, ATTR_INSTALL_FLAGS); in readSessionLocked()
403 params.installLocation = readIntAttribute(in, ATTR_INSTALL_LOCATION); in readSessionLocked()
410 readIntAttribute(in, ATTR_ORIGINATING_UID, SessionParams.UID_UNKNOWN); in readSessionLocked()
DUserManagerService.java2066 int storedId = readIntAttribute(parser, ATTR_ID, -1); in readUserLP()
2071 serialNumber = readIntAttribute(parser, ATTR_SERIAL_NO, id); in readUserLP()
2072 flags = readIntAttribute(parser, ATTR_FLAGS, 0); in readUserLP()
2078 profileGroupId = readIntAttribute(parser, ATTR_PROFILE_GROUP_ID, in readUserLP()
2080 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2163 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;
1482 version = readIntAttribute(in, ATTR_VERSION); in readPolicyAL()
1497 final int networkTemplate = readIntAttribute(in, ATTR_NETWORK_TEMPLATE); in readPolicyAL()
1505 final int cycleDay = readIntAttribute(in, ATTR_CYCLE_DAY); in readPolicyAL()
1558 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyAL()
1559 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyAL()
1567 final int appId = readIntAttribute(in, ATTR_APP_ID); in readPolicyAL()
1568 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyAL()
1581 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyAL()
1584 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyAL()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java372 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;
1591 final int version = readIntAttribute(in, ATTR_VERSION, VERSION_INIT); in readSettingsLocked()
1648 final int type = readIntAttribute(in, ATTR_TYPE); in readVolumeRecord()
1653 meta.userFlags = readIntAttribute(in, ATTR_USER_FLAGS); in readVolumeRecord()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java291 import static com.android.internal.util.XmlUtils.readIntAttribute;
8758 final int userHandle = readIntAttribute(in, in readGrantedUriPermissionsLocked()
8765 sourceUserId = readIntAttribute(in, ATTR_SOURCE_USER_ID); in readGrantedUriPermissionsLocked()
8766 targetUserId = readIntAttribute(in, ATTR_TARGET_USER_ID); in readGrantedUriPermissionsLocked()
8772 final int modeFlags = readIntAttribute(in, ATTR_MODE_FLAGS); in readGrantedUriPermissionsLocked()