Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java126 stats.mLastEvent = XmlUtils.readIntAttribute(parser, LAST_EVENT_ATTR); in loadUsageStats()
127 stats.mAppLaunchCount = XmlUtils.readIntAttribute(parser, APP_LAUNCH_COUNT_ATTR, in loadUsageStats()
148 tracker.count = XmlUtils.readIntAttribute(parser, COUNT_ATTR, 0); in loadCountAndTime()
178 int count = XmlUtils.readIntAttribute(parser, COUNT); in loadChooserCounts()
196 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); in loadConfigStats()
212 event.mFlags = XmlUtils.readIntAttribute(parser, FLAGS_ATTR, 0); in loadEvent()
217 event.mEventType = XmlUtils.readIntAttribute(parser, TYPE_ATTR); in loadEvent()
220 event.mInstanceId = XmlUtils.readIntAttribute(parser, INSTANCE_ID_ATTR); in loadEvent()
235 event.mBucketAndReason = XmlUtils.readIntAttribute(parser, STANDBY_BUCKET_ATTR, 0); in loadEvent()
391 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.java149 final int iconId = XmlUtils.readIntAttribute(in, XML_ATTR_ICON_RES_ID, ID_NULL); in restoreFromXml()
150 final int titleId = XmlUtils.readIntAttribute(in, XML_ATTR_TITLE_RES_ID, ID_NULL); in restoreFromXml()
151 final int buttonTextId = XmlUtils.readIntAttribute(in, XML_ATTR_BUTTON_TEXT_RES_ID, in restoreFromXml()
153 final int dialogMessageResId = XmlUtils.readIntAttribute( in restoreFromXml()
/frameworks/base/core/java/android/content/res/
DConfiguration.java2586 XmlUtils.readIntAttribute(parser, XML_ATTR_FONT_SCALE, 0)); in readXmlAttrs()
2587 configOut.mcc = XmlUtils.readIntAttribute(parser, XML_ATTR_MCC, 0); in readXmlAttrs()
2588 configOut.mnc = XmlUtils.readIntAttribute(parser, XML_ATTR_MNC, 0); in readXmlAttrs()
2594 configOut.touchscreen = XmlUtils.readIntAttribute(parser, XML_ATTR_TOUCHSCREEN, in readXmlAttrs()
2596 configOut.keyboard = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD, in readXmlAttrs()
2598 configOut.keyboardHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_KEYBOARD_HIDDEN, in readXmlAttrs()
2601 XmlUtils.readIntAttribute(parser, XML_ATTR_HARD_KEYBOARD_HIDDEN, in readXmlAttrs()
2603 configOut.navigation = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION, in readXmlAttrs()
2605 configOut.navigationHidden = XmlUtils.readIntAttribute(parser, XML_ATTR_NAVIGATION_HIDDEN, in readXmlAttrs()
2607 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/pm/
DPackageInstallerSession.java33 import static com.android.internal.util.XmlUtils.readIntAttribute;
2522 final int sessionId = readIntAttribute(in, ATTR_SESSION_ID); in readFromXml()
2523 final int userId = readIntAttribute(in, ATTR_USER_ID); in readFromXml()
2525 final int installerUid = readIntAttribute(in, ATTR_INSTALLER_UID, pm.getPackageUid( in readFromXml()
2535 final int parentSessionId = readIntAttribute(in, ATTR_PARENT_SESSION_ID, in readFromXml()
2542 params.mode = readIntAttribute(in, ATTR_MODE); in readFromXml()
2543 params.installFlags = readIntAttribute(in, ATTR_INSTALL_FLAGS); in readFromXml()
2544 params.installLocation = readIntAttribute(in, ATTR_INSTALL_LOCATION); in readFromXml()
2551 readIntAttribute(in, ATTR_ORIGINATING_UID, SessionParams.UID_UNKNOWN); in readFromXml()
2555 params.installReason = readIntAttribute(in, ATTR_INSTALL_REASON); in readFromXml()
[all …]
DSettings.java1629 final int distractionFlags = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1647 final int enabled = XmlUtils.readIntAttribute(parser, ATTR_ENABLED, in readPackageRestrictionsLPr()
1653 final int verifState = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1656 final int linkGeneration = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
1661 final int installReason = XmlUtils.readIntAttribute(parser, in readPackageRestrictionsLPr()
3016 internal.sdkVersion = XmlUtils.readIntAttribute(parser, "internal", 0); in readLPw()
3017 external.sdkVersion = XmlUtils.readIntAttribute(parser, "external", 0); in readLPw()
3028 internal.databaseVersion = XmlUtils.readIntAttribute(parser, "internal", 0); in readLPw()
3029 external.databaseVersion = XmlUtils.readIntAttribute(parser, "external", 0); in readLPw()
3049 ver.sdkVersion = XmlUtils.readIntAttribute(parser, ATTR_SDK_VERSION); in readLPw()
[all …]
DUserManagerService.java2502 int storedId = readIntAttribute(parser, ATTR_ID, -1); in readUserLP()
2507 serialNumber = readIntAttribute(parser, ATTR_SERIAL_NO, id); in readUserLP()
2508 flags = readIntAttribute(parser, ATTR_FLAGS, 0); in readUserLP()
2514 profileGroupId = readIntAttribute(parser, ATTR_PROFILE_GROUP_ID, in readUserLP()
2516 profileBadge = readIntAttribute(parser, ATTR_PROFILE_BADGE, 0); in readUserLP()
2517 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2605 private int readIntAttribute(XmlPullParser parser, String attr, int defaultValue) { in readIntAttribute() method in UserManagerService
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java403 int version = XmlUtils.readIntAttribute(parser, ATTR_VERSION); in restore()
436 final int userId = XmlUtils.readIntAttribute(parser, ATTR_USER_ID); in restoreRow()
442 final int state = XmlUtils.readIntAttribute(parser, ATTR_STATE); in restoreRow()
445 final int priority = XmlUtils.readIntAttribute(parser, ATTR_PRIORITY); in restoreRow()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java172 int uid = XmlUtils.readIntAttribute(parser, ATT_UID, UNKNOWN_UID); in readXml()
184 XmlUtils.readIntAttribute( in readXml()
186 XmlUtils.readIntAttribute(parser, ATT_PRIORITY, in readXml()
188 XmlUtils.readIntAttribute( in readXml()
194 r.importance = XmlUtils.readIntAttribute( in readXml()
196 r.priority = XmlUtils.readIntAttribute( in readXml()
198 r.visibility = XmlUtils.readIntAttribute( in readXml()
202 r.lockedAppFields = XmlUtils.readIntAttribute(parser, in readXml()
230 int channelImportance = XmlUtils.readIntAttribute( in readXml()
248 XmlUtils.readIntAttribute(parser, ATT_UID, UNKNOWN_UID); in readXml()
DManagedServices.java395 ? userId : XmlUtils.readIntAttribute(parser, ATT_USER_ID, 0); in readXml()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java35 import static com.android.internal.util.XmlUtils.readIntAttribute;
644 final int userHandle = readIntAttribute(in, in readGrantedUriPermissions()
651 sourceUserId = readIntAttribute(in, ATTR_SOURCE_USER_ID); in readGrantedUriPermissions()
652 targetUserId = readIntAttribute(in, ATTR_TARGET_USER_ID); in readGrantedUriPermissions()
658 final int modeFlags = readIntAttribute(in, ATTR_MODE_FLAGS); in readGrantedUriPermissions()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java92 import static com.android.internal.util.XmlUtils.readIntAttribute;
2184 version = readIntAttribute(in, ATTR_VERSION); in readPolicyAL()
2188 final int networkTemplate = readIntAttribute(in, ATTR_NETWORK_TEMPLATE); in readPolicyAL()
2206 final int cycleDay = readIntAttribute(in, ATTR_CYCLE_DAY); in readPolicyAL()
2271 final int limitBehavior = readIntAttribute(in, ATTR_LIMIT_BEHAVIOR, in readPolicyAL()
2287 final int subId = readIntAttribute(in, ATTR_SUB_ID); in readPolicyAL()
2296 final int uid = readIntAttribute(in, ATTR_UID); in readPolicyAL()
2297 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyAL()
2305 final int appId = readIntAttribute(in, ATTR_APP_ID); in readPolicyAL()
2306 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyAL()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1132 final int version = XmlUtils.readIntAttribute(parser, ATTR_VERSION); in readHistoricalOpsLocked()
1223 final int uid = XmlUtils.readIntAttribute(parser, ATTR_NAME); in readHistoricalUidOpsDLocked()
1269 final int op = XmlUtils.readIntAttribute(parser, ATTR_NAME); in readHistoricalOpDLocked()
DAppOpsService.java2986 final int mode = XmlUtils.readIntAttribute(parser, "m", in readOp()
3008 final int proxyUid = XmlUtils.readIntAttribute(parser, "pu", 0); in readOp()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1605 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() method in XmlUtils
1617 public static int readIntAttribute(XmlPullParser in, String name) throws IOException { in readIntAttribute() method in XmlUtils
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java39 import static com.android.internal.util.XmlUtils.readIntAttribute;
1691 final int version = readIntAttribute(in, ATTR_VERSION, VERSION_INIT); in readSettingsLocked()
1746 final int type = readIntAttribute(in, ATTR_TYPE); in readVolumeRecord()
1751 meta.userFlags = readIntAttribute(in, ATTR_USER_FLAGS); in readVolumeRecord()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java610 int fversion = XmlUtils.readIntAttribute(parser, "version", 0); in readPermissionsFromXml()
/frameworks/base/config/
Dboot-image-profile.txt24388 HSPLcom/android/internal/util/XmlUtils;->readIntAttribute(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/…
24389 HSPLcom/android/internal/util/XmlUtils;->readIntAttribute(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/…
Dhiddenapi-greylist-max-o.txt106438 Lcom/android/internal/util/XmlUtils;->readIntAttribute(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/Str…
106439 Lcom/android/internal/util/XmlUtils;->readIntAttribute(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/Str…
/frameworks/base/services/
Dart-profile11824 HSPLcom/android/server/pm/UserManagerService;->readIntAttribute(Lorg/xmlpull/v1/XmlPullParser;Ljava…