Home
last modified time | relevance | path

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

12

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java125 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()
126 stats.mAppLaunchCount = XmlUtils.readIntAttribute(parser, APP_LAUNCH_COUNT_ATTR, in loadUsageStats()
147 tracker.count = XmlUtils.readIntAttribute(parser, COUNT_ATTR, 0); in loadCountAndTime()
177 int count = XmlUtils.readIntAttribute(parser, COUNT); in loadChooserCounts()
195 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); in loadConfigStats()
211 event.mFlags = XmlUtils.readIntAttribute(parser, FLAGS_ATTR, 0); in loadEvent()
216 event.mEventType = XmlUtils.readIntAttribute(parser, TYPE_ATTR); in loadEvent()
219 event.mInstanceId = XmlUtils.readIntAttribute(parser, INSTANCE_ID_ATTR); in loadEvent()
234 event.mBucketAndReason = XmlUtils.readIntAttribute(parser, STANDBY_BUCKET_ATTR, 0); in loadEvent()
261 statsOut.majorVersion = XmlUtils.readIntAttribute(parser, MAJOR_VERSION_ATTR); in read()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DEventResultPersister.java117 private static int readIntAttribute(@NonNull XmlPullParser parser, @NonNull String name) { in readIntAttribute() method in EventResultPersister
150 mCounter = readIntAttribute(parser, "counter"); in EventResultPersister()
152 int id = readIntAttribute(parser, "id"); in EventResultPersister()
153 int status = readIntAttribute(parser, "status"); in EventResultPersister()
154 int legacyStatus = readIntAttribute(parser, "legacyStatus"); in EventResultPersister()
/frameworks/base/core/java/android/content/pm/
DSuspendDialogInfo.java196 final int iconId = XmlUtils.readIntAttribute(in, XML_ATTR_ICON_RES_ID, ID_NULL); in restoreFromXml()
197 final int titleId = XmlUtils.readIntAttribute(in, XML_ATTR_TITLE_RES_ID, ID_NULL); in restoreFromXml()
198 final int buttonTextId = XmlUtils.readIntAttribute(in, XML_ATTR_BUTTON_TEXT_RES_ID, in restoreFromXml()
200 final int buttonAction = XmlUtils.readIntAttribute(in, XML_ATTR_BUTTON_ACTION, in restoreFromXml()
202 final int dialogMessageResId = XmlUtils.readIntAttribute( in restoreFromXml()
/frameworks/base/core/java/android/content/res/
DConfiguration.java2704 XmlUtils.readIntAttribute(parser, XML_ATTR_FONT_SCALE, 0)); in readXmlAttrs()
2705 configOut.mcc = XmlUtils.readIntAttribute(parser, XML_ATTR_MCC, 0); in readXmlAttrs()
2706 configOut.mnc = XmlUtils.readIntAttribute(parser, XML_ATTR_MNC, 0); in readXmlAttrs()
2712 configOut.touchscreen = XmlUtils.readIntAttribute(parser, XML_ATTR_TOUCHSCREEN, in readXmlAttrs()
2714 configOut.keyboard = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD, in readXmlAttrs()
2716 configOut.keyboardHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD_HIDDEN, in readXmlAttrs()
2719 XmlUtils.readIntAttribute(parser, XML_ATTR_HARD_KEYBOARD_HIDDEN, in readXmlAttrs()
2721 configOut.navigation = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION, in readXmlAttrs()
2723 configOut.navigationHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION_HIDDEN, in readXmlAttrs()
2725 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.java210 int xmlVersion = XmlUtils.readIntAttribute(parser, ATT_VERSION, 0); in readRestore()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java413 int version = XmlUtils.readIntAttribute(parser, ATTR_VERSION); in restore()
450 final int userId = XmlUtils.readIntAttribute(parser, ATTR_USER_ID); in restoreRow()
456 final int state = XmlUtils.readIntAttribute(parser, ATTR_STATE); in restoreRow()
459 final int priority = XmlUtils.readIntAttribute(parser, ATTR_PRIORITY); in restoreRow()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java39 import static com.android.internal.util.XmlUtils.readIntAttribute;
3483 final int sessionId = readIntAttribute(in, ATTR_SESSION_ID); in readFromXml()
3484 final int userId = readIntAttribute(in, ATTR_USER_ID); in readFromXml()
3486 final int installerUid = readIntAttribute(in, ATTR_INSTALLER_UID, pm.getPackageUid( in readFromXml()
3501 final int parentSessionId = readIntAttribute(in, ATTR_PARENT_SESSION_ID, in readFromXml()
3508 params.mode = readIntAttribute(in, ATTR_MODE); in readFromXml()
3509 params.installFlags = readIntAttribute(in, ATTR_INSTALL_FLAGS); in readFromXml()
3510 params.installLocation = readIntAttribute(in, ATTR_INSTALL_LOCATION); in readFromXml()
3517 readIntAttribute(in, ATTR_ORIGINATING_UID, SessionParams.UID_UNKNOWN); in readFromXml()
3521 params.installReason = readIntAttribute(in, ATTR_INSTALL_REASON); in readFromXml()
[all …]
DSettings.java1674 final int distractionFlags = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1692 final int enabled = XmlUtils.readIntAttribute(parser, ATTR_ENABLED, in readPackageRestrictionsLPr()
1698 final int verifState = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1701 final int linkGeneration = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1706 final int installReason = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1708 final int uninstallReason = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
3080 internal.sdkVersion = XmlUtils.readIntAttribute(parser, "internal", 0); in readLPw()
3081 external.sdkVersion = XmlUtils.readIntAttribute(parser, "external", 0); in readLPw()
3092 internal.databaseVersion = XmlUtils.readIntAttribute(parser, "internal", 0); in readLPw()
3093 external.databaseVersion = XmlUtils.readIntAttribute(parser, "external", 0); in readLPw()
[all …]
DUserManagerService.java3057 int storedId = readIntAttribute(parser, ATTR_ID, -1); in readUserLP()
3062 serialNumber = readIntAttribute(parser, ATTR_SERIAL_NO, id); in readUserLP()
3063 flags = readIntAttribute(parser, ATTR_FLAGS, 0); in readUserLP()
3071 profileGroupId = readIntAttribute(parser, ATTR_PROFILE_GROUP_ID, in readUserLP()
3073 profileBadge = readIntAttribute(parser, ATTR_PROFILE_BADGE, 0); in readUserLP()
3074 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
3177 private int readIntAttribute(XmlPullParser parser, String attr, int defaultValue) { in readIntAttribute() method in UserManagerService
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java222 int uid = XmlUtils.readIntAttribute(parser, ATT_UID, UNKNOWN_UID); in readXml()
241 : XmlUtils.readIntAttribute(parser, ATT_ALLOW_BUBBLE, in readXml()
246 XmlUtils.readIntAttribute( in readXml()
248 XmlUtils.readIntAttribute(parser, ATT_PRIORITY, in readXml()
250 XmlUtils.readIntAttribute( in readXml()
255 r.importance = XmlUtils.readIntAttribute( in readXml()
257 r.priority = XmlUtils.readIntAttribute( in readXml()
259 r.visibility = XmlUtils.readIntAttribute( in readXml()
263 r.lockedAppFields = XmlUtils.readIntAttribute(parser, in readXml()
305 int channelImportance = XmlUtils.readIntAttribute( in readXml()
[all …]
DSnoozeHelper.java630 final int userId = XmlUtils.readIntAttribute( in readXml()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java37 import static com.android.internal.util.XmlUtils.readIntAttribute;
671 final int userHandle = readIntAttribute(in, in readGrantedUriPermissionsLocked()
678 sourceUserId = readIntAttribute(in, ATTR_SOURCE_USER_ID); in readGrantedUriPermissionsLocked()
679 targetUserId = readIntAttribute(in, ATTR_TARGET_USER_ID); in readGrantedUriPermissionsLocked()
685 final int modeFlags = readIntAttribute(in, ATTR_MODE_FLAGS); in readGrantedUriPermissionsLocked()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobAccessMode.java169 final int accessType = XmlUtils.readIntAttribute(in, ATTR_TYPE); in createFromXml()
DBlobMetadata.java591 final int userId = XmlUtils.readIntAttribute(in, ATTR_USER_ID); in createFromXml()
658 final int uid = XmlUtils.readIntAttribute(in, ATTR_UID); in createFromXml()
768 final int uid = XmlUtils.readIntAttribute(in, ATTR_UID); in createFromXml()
DBlobStoreSession.java599 final int ownerUid = XmlUtils.readIntAttribute(in, ATTR_UID); in createFromXml()
DBlobStoreManagerService.java826 final int version = XmlUtils.readIntAttribute(in, ATTR_VERSION); in readBlobSessionsLocked()
918 final int version = XmlUtils.readIntAttribute(in, ATTR_VERSION); in readBlobsInfoLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java96 import static com.android.internal.util.XmlUtils.readIntAttribute;
2210 version = readIntAttribute(in, ATTR_VERSION); in readPolicyAL()
2214 final int networkTemplate = readIntAttribute(in, ATTR_NETWORK_TEMPLATE); in readPolicyAL()
2232 final int cycleDay = readIntAttribute(in, ATTR_CYCLE_DAY); in readPolicyAL()
2297 final int limitBehavior = readIntAttribute(in, ATTR_LIMIT_BEHAVIOR, in readPolicyAL()
2313 final int subId = readIntAttribute(in, ATTR_SUB_ID); in readPolicyAL()
2322 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyAL()
2323 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyAL()
2331 final int appId = readIntAttribute(in, ATTR_APP_ID); in readPolicyAL()
2332 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyAL()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1591 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() method in XmlUtils
1603 public static int readIntAttribute(XmlPullParser in, String name) throws IOException { in readIntAttribute() method in XmlUtils
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtilHelper.java1598 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() method in XmlUtilHelper
1610 public static int readIntAttribute(XmlPullParser in, String name) throws IOException { in readIntAttribute() method in XmlUtilHelper
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1191 final int version = XmlUtils.readIntAttribute(parser, ATTR_VERSION); in readHistoricalOpsLocked()
1286 final int uid = XmlUtils.readIntAttribute(parser, ATTR_NAME); in readHistoricalUidOpsDLocked()
1362 final int op = XmlUtils.readIntAttribute(parser, ATTR_NAME); in readHistoricalOpDLocked()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java367 int userId = XmlUtils.readIntAttribute(parser, "user"); in readPreferenceDeniedList()
391 int userId = XmlUtils.readIntAttribute(parser, "user"); in readPreferenceDeniedList()
DUsbUserPermissionManager.java308 uid = XmlUtils.readIntAttribute(parser, "uid"); in readPermission()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java49 import static com.android.internal.util.XmlUtils.readIntAttribute;
2105 final int version = readIntAttribute(in, ATTR_VERSION, VERSION_INIT); in readSettingsLocked()
2160 final int type = readIntAttribute(in, ATTR_TYPE); in readVolumeRecord()
2165 meta.userFlags = readIntAttribute(in, ATTR_USER_FLAGS); in readVolumeRecord()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java748 int fversion = XmlUtils.readIntAttribute(parser, "version", 0); in readPermissionsFromXml()

12