Home
last modified time | relevance | path

Searched refs:getAttributeInt (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetXmlUtil.java113 info.minWidth = parser.getAttributeInt(null, ATTR_MIN_WIDTH, 0); in readAppWidgetProviderInfoLocked()
114 info.minHeight = parser.getAttributeInt(null, ATTR_MIN_HEIGHT, 0); in readAppWidgetProviderInfoLocked()
115 info.minResizeWidth = parser.getAttributeInt(null, ATTR_MIN_RESIZE_WIDTH, 0); in readAppWidgetProviderInfoLocked()
116 info.minResizeHeight = parser.getAttributeInt(null, ATTR_MIN_RESIZE_HEIGHT, 0); in readAppWidgetProviderInfoLocked()
117 info.maxResizeWidth = parser.getAttributeInt(null, ATTR_MAX_RESIZE_WIDTH, 0); in readAppWidgetProviderInfoLocked()
118 info.maxResizeHeight = parser.getAttributeInt(null, ATTR_MAX_RESIZE_HEIGHT, 0); in readAppWidgetProviderInfoLocked()
119 info.targetCellWidth = parser.getAttributeInt(null, ATTR_TARGET_CELL_WIDTH, 0); in readAppWidgetProviderInfoLocked()
120 info.targetCellHeight = parser.getAttributeInt(null, ATTR_TARGET_CELL_HEIGHT, 0); in readAppWidgetProviderInfoLocked()
121 info.updatePeriodMillis = parser.getAttributeInt(null, ATTR_UPDATE_PERIOD_MILLIS, 0); in readAppWidgetProviderInfoLocked()
122 info.initialLayout = parser.getAttributeInt(null, ATTR_INITIAL_LAYOUT, 0); in readAppWidgetProviderInfoLocked()
[all …]
/frameworks/base/core/java/android/util/
DTypedXmlPullParser.java77 int getAttributeInt(int index) throws XmlPullParserException; in getAttributeInt() method
137 default int getAttributeInt(@Nullable String namespace, @NonNull String name) in getAttributeInt() method
139 return getAttributeInt(getAttributeIndexOrThrow(namespace, name)); in getAttributeInt()
230 default int getAttributeInt(@Nullable String namespace, @NonNull String name, in getAttributeInt() method
235 return getAttributeInt(index); in getAttributeInt()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DPersistedState.java116 final int persistenceVersion = parser.getAttributeInt(null, in readState()
127 int version = parser.getAttributeInt(null, in readState()
134 int version = parser.getAttributeInt(null, in readState()
200 int currentUserId = parser.getAttributeInt(null, "id"); in readPVersion1()
204 int sensor = parser.getAttributeInt(null, "sensor"); in readPVersion1()
221 int toggleType = parser.getAttributeInt(null, XML_ATTRIBUTE_TOGGLE_TYPE); in readPVersion2()
222 int userId = parser.getAttributeInt(null, XML_ATTRIBUTE_USER_ID); in readPVersion2()
223 int sensor = parser.getAttributeInt(null, XML_ATTRIBUTE_SENSOR); in readPVersion2()
224 int state = parser.getAttributeInt(null, XML_ATTRIBUTE_STATE_TYPE); in readPVersion2()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
DScribe.java246 final int version = parser.getAttributeInt(null, XML_ATTR_VERSION); in loadFromDiskLocked()
408 final int eventId = parser.getAttributeInt(null, XML_ATTR_EVENT_ID); in readLedgerFromXml()
435 int curUser = parser.getAttributeInt(null, XML_ATTR_USER_ID); in readUserFromXmlLocked()
491 report.cumulativeBatteryDischarge = parser.getAttributeInt(null, XML_ATTR_PR_DISCHARGE); in readReportFromXml()
492 report.currentBatteryLevel = parser.getAttributeInt(null, XML_ATTR_PR_BATTERY_LEVEL); in readReportFromXml()
494 report.numProfitableActions = parser.getAttributeInt(null, XML_ATTR_PR_NUM_PROFIT); in readReportFromXml()
496 report.numUnprofitableActions = parser.getAttributeInt(null, XML_ATTR_PR_NUM_LOSS); in readReportFromXml()
498 report.numRewards = parser.getAttributeInt(null, XML_ATTR_PR_NUM_REWARDS); in readReportFromXml()
502 parser.getAttributeInt(null, XML_ATTR_PR_NUM_POS_REGULATIONS); in readReportFromXml()
506 parser.getAttributeInt(null, XML_ATTR_PR_NUM_NEG_REGULATIONS); in readReportFromXml()
/frameworks/base/apct-tests/perftests/core/src/android/util/
DXmlPerfTest.java269 xml.getAttributeInt(null, "version"); in read()
270 xml.getAttributeInt(null, "sharedUserId"); in read()
274 xml.getAttributeInt(null, "index"); in read()
280 xml.getAttributeInt(null, "flags"); in read()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java112 final int count = parser.getAttributeInt(null, "count", -1); in readXml()
121 final int signatureSchemeVersion = parser.getAttributeInt(null, "schemeVersion", in readXml()
168 final int index = parser.getAttributeInt(null, "index", -1); in readCertsListXml()
225 final int flagsValue = parser.getAttributeInt(null, "flags", -1); in readCertsListXml()
267 final int pastSigsCount = parser.getAttributeInt(null, "count", -1); in readCertsListXml()
DCrossProfileIntentFilter.java102 mTargetUserId = parser.getAttributeInt(null, ATTR_TARGET_USER_ID, UserHandle.USER_NULL);
104 mFlags = parser.getAttributeInt(null, ATTR_FLAGS, 0);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java699 mPasswordPolicy.quality = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
701 mPasswordPolicy.length = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
703 passwordHistoryLength = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
705 mPasswordPolicy.upperCase = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
707 mPasswordPolicy.lowerCase = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
709 mPasswordPolicy.letters = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
711 mPasswordPolicy.numeric = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
713 mPasswordPolicy.symbols = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
715 mPasswordPolicy.nonLetter = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
721 maximumFailedPasswordsForWipe = parser.getAttributeInt(null, ATTR_VALUE); in readFromXml()
[all …]
DDevicePolicyData.java449 int provisioningState = parser.getAttributeInt(null, ATTR_PROVISIONING_STATE, -1); in load()
453 int permissionPolicy = parser.getAttributeInt(null, ATTR_PERMISSION_POLICY, -1); in load()
459 policy.mFactoryResetFlags = parser.getAttributeInt(null, ATTR_FACTORY_RESET_FLAGS, 0); in load()
515 policy.mFailedPasswordAttempts = parser.getAttributeInt(null, "value"); in load()
517 policy.mPasswordOwner = parser.getAttributeInt(null, "value"); in load()
523 policy.mLockTaskFeatures = parser.getAttributeInt(null, ATTR_VALUE); in load()
DOwnersData.java406 parser.getAttributeInt(null, ATTR_USERID, mDeviceOwnerUserId); in readInner()
430 int deviceOwnerType = parser.getAttributeInt( in readInner()
437 int protectedPackagesSize = parser.getAttributeInt(null, ATTR_SIZE, 0); in readInner()
/frameworks/base/core/java/android/content/pm/
DSuspendDialogInfo.java223 final int iconId = in.getAttributeInt(null, XML_ATTR_ICON_RES_ID, ID_NULL); in restoreFromXml()
224 final int titleId = in.getAttributeInt(null, XML_ATTR_TITLE_RES_ID, ID_NULL); in restoreFromXml()
227 in.getAttributeInt(null, XML_ATTR_BUTTON_TEXT_RES_ID, ID_NULL); in restoreFromXml()
230 in.getAttributeInt(null, XML_ATTR_BUTTON_ACTION, BUTTON_ACTION_MORE_DETAILS); in restoreFromXml()
232 in.getAttributeInt(null, XML_ATTR_DIALOG_MESSAGE_RES_ID, ID_NULL); in restoreFromXml()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintUserState.java113 int groupId = parser.getAttributeInt(null, ATTR_GROUP_ID); in parseBiometricsLocked()
114 int fingerId = parser.getAttributeInt(null, ATTR_FINGER_ID); in parseBiometricsLocked()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java333 cropHint.left = getAttributeInt(parser, "cropLeft", 0); in parseCropHint()
334 cropHint.top = getAttributeInt(parser, "cropTop", 0); in parseCropHint()
335 cropHint.right = getAttributeInt(parser, "cropRight", 0); in parseCropHint()
336 cropHint.bottom = getAttributeInt(parser, "cropBottom", 0); in parseCropHint()
376 private int getAttributeInt(XmlPullParser parser, String name, int defValue) { in getAttributeInt() method in WallpaperBackupAgent
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java239 final int icon = parser.getAttributeInt(null, ATTR_ICON); in load()
240 final int label = parser.getAttributeInt(null, ATTR_LABEL); in load()
263 final int subtypeId = parser.getAttributeInt(null, ATTR_IME_SUBTYPE_ID, in load()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java167 public int getAttributeInt(int index) in getAttributeInt() method in XmlUtils.ForcedTypedXmlPullParser
1242 int num = parser.getAttributeInt(null, "num"); in readThisByteArrayXml()
1293 int num = parser.getAttributeInt(null, "num"); in readThisIntArrayXml()
1303 array[i] = parser.getAttributeInt(null, "value"); in readThisIntArrayXml()
1344 int num = parser.getAttributeInt(null, "num"); in readThisLongArrayXml()
1391 int num = parser.getAttributeInt(null, "num"); in readThisDoubleArrayXml()
1438 int num = parser.getAttributeInt(null, "num"); in readThisStringArrayXml()
1485 int num = parser.getAttributeInt(null, "num"); in readThisBooleanArrayXml()
1671 return parser.getAttributeInt(null, "value"); in readThisPrimitiveValueXml()
1732 return ((TypedXmlPullParser) in).getAttributeInt(null, name, defaultValue); in readIntAttribute()
[all …]
/frameworks/base/core/java/android/os/
DPowerComponents.java407 componentId = parser.getAttributeInt(i); in parseXml()
410 processState = parser.getAttributeInt(i); in parseXml()
419 model = parser.getAttributeInt(i); in parseXml()
436 componentId = parser.getAttributeInt(i); in parseXml()
DAggregateBatteryConsumer.java76 final int scope = parser.getAttributeInt(null, BatteryUsageStats.XML_ATTR_SCOPE); in parseXml()
DUserBatteryConsumer.java84 final int userId = parser.getAttributeInt(null, BatteryUsageStats.XML_ATTR_USER_ID); in createFromXml()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java3583 private int getAttributeInt(TypedXmlPullParser parser, String name, int defValue) { in getAttributeInt() method in WallpaperManagerService
3584 return parser.getAttributeInt(null, name, defValue); in getAttributeInt()
3771 final int id = parser.getAttributeInt(null, "id", -1); in parseWallpaperAttributes()
3784 wpData.mWidth = parser.getAttributeInt(null, "width"); in parseWallpaperAttributes()
3785 wpData.mHeight = parser.getAttributeInt(null, "height"); in parseWallpaperAttributes()
3787 wallpaper.cropHint.left = getAttributeInt(parser, "cropLeft", 0); in parseWallpaperAttributes()
3788 wallpaper.cropHint.top = getAttributeInt(parser, "cropTop", 0); in parseWallpaperAttributes()
3789 wallpaper.cropHint.right = getAttributeInt(parser, "cropRight", 0); in parseWallpaperAttributes()
3790 wallpaper.cropHint.bottom = getAttributeInt(parser, "cropBottom", 0); in parseWallpaperAttributes()
3791 wpData.mPadding.left = getAttributeInt(parser, "paddingLeft", 0); in parseWallpaperAttributes()
[all …]
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java748 parser.getAttributeInt(null, KEY_POLICY_TYPE, TYPE_UNKNOWN); in restoreFromXml()
750 parser.getAttributeInt(null, KEY_INSTALL_WINDOW_START, 0); in restoreFromXml()
752 parser.getAttributeInt(null, KEY_INSTALL_WINDOW_END, 0); in restoreFromXml()
DParcelableResource.java303 int resourceId = xmlPullParser.getAttributeInt(/* namespace= */ null, ATTR_RESOURCE_ID); in createFromXml()
308 int resourceType = xmlPullParser.getAttributeInt( in createFromXml()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java153 exifInterface.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, 0)); in testImageExport()
155 exifInterface.getAttributeInt(ExifInterface.TAG_IMAGE_LENGTH, 0)); in testImageExport()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceUserState.java110 int faceId = parser.getAttributeInt(null, ATTR_FACE_ID); in parseBiometricsLocked()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java472 final int version = parser.getAttributeInt(null, ATTR_VERSION);
508 final int userId = parser.getAttributeInt(null, ATTR_USER_ID);
514 final int state = parser.getAttributeInt(null, ATTR_STATE);
517 final int priority = parser.getAttributeInt(null, ATTR_PRIORITY);
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java325 final int largestChainId = parser.getAttributeInt(null, ATTR_LARGEST_CHAIN_ID, 0); in readLargestChainIdFromDiskLocked()
749 final int version = parser.getAttributeInt(null, ATTR_VERSION); in readFromFile()
756 int uid = parser.getAttributeInt(null, ATTR_UID, -1); in readFromFile()
1048 int op = parser.getAttributeInt(null, ATTR_OP_ID); in deserialize()
1234 int uidState = parser.getAttributeInt(null, ATTR_UID_STATE);
1235 int opFlags = parser.getAttributeInt(null, ATTR_FLAGS);
1236 int attributionFlags = parser.getAttributeInt(null,
1238 int attributionChainId = parser.getAttributeInt(null, ATTR_CHAIN_ID,

1234