Home
last modified time | relevance | path

Searched refs:getAttributeLong (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/core/java/android/util/
DTypedXmlPullParser.java89 long getAttributeLong(int index) throws XmlPullParserException; in getAttributeLong() method
155 default long getAttributeLong(@Nullable String namespace, @NonNull String name) in getAttributeLong() method
157 return getAttributeLong(getAttributeIndexOrThrow(namespace, name)); in getAttributeLong()
260 default long getAttributeLong(@Nullable String namespace, @NonNull String name, in getAttributeLong() method
265 return getAttributeLong(index); in getAttributeLong()
/frameworks/base/apct-tests/perftests/core/src/android/util/
DXmlPerfTest.java264 xml.getAttributeLong(null, "publicFlags"); in read()
265 assertEquals(-1946152952L, xml.getAttributeLong(null, "privateFlags")); in read()
266 xml.getAttributeLong(null, "ft"); in read()
267 xml.getAttributeLong(null, "it"); in read()
268 xml.getAttributeLong(null, "ut"); in read()
/frameworks/base/core/java/android/os/
DUidBatteryConsumer.java189 parser.getAttributeLong(null, BatteryUsageStats.XML_ATTR_TIME_IN_FOREGROUND)); in createFromXml()
191 parser.getAttributeLong(null, BatteryUsageStats.XML_ATTR_TIME_IN_BACKGROUND)); in createFromXml()
DBatteryUsageStats.java679 parser.getAttributeLong(null, XML_ATTR_START_TIMESTAMP)); in createFromXml()
681 parser.getAttributeLong(null, XML_ATTR_END_TIMESTAMP)); in createFromXml()
683 parser.getAttributeLong(null, XML_ATTR_DURATION)); in createFromXml()
692 parser.getAttributeLong(null, XML_ATTR_BATTERY_REMAINING)); in createFromXml()
694 parser.getAttributeLong(null, XML_ATTR_CHARGE_REMAINING)); in createFromXml()
DPowerComponents.java389 durationMs = parser.getAttributeLong(i);
413 durationMs = parser.getAttributeLong(i);
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java751 lastIssuedKeyId = parser.getAttributeLong(null, "value"); in readKeySetsLPw()
753 lastIssuedKeySetId = parser.getAttributeLong(null, "value"); in readKeySetsLPw()
788 currentKeySetId = parser.getAttributeLong(null, "identifier"); in readKeySetListLPw()
793 long id = parser.getAttributeLong(null, "identifier"); in readKeySetListLPw()
801 long identifier = parser.getAttributeLong(null, "identifier"); in readPublicKeyLPw()
DSettingsXml.java255 return mParser.getAttributeLong(null, attrName, defaultValue); in getLong()
DSettings.java1661 parser.getAttributeLong(null, ATTR_CE_DATA_INODE, 0);
2150 long libVersion = parser.getAttributeLong(null, ATTR_VERSION, -1);
3425 long versionCode = parser.getAttributeLong(null, "version", 0);
3444 timeStamp = parser.getAttributeLong(null, "ts", 0);
3540 versionCode = parser.getAttributeLong(null, "version", 0);
3609 timeStamp = parser.getAttributeLong(null, "ts", 0);
3738 long id = parser.getAttributeLong(null, "identifier");
3749 long id = parser.getAttributeLong(null, "identifier");
3752 long id = parser.getAttributeLong(null, "identifier");
DPackageInstallerSession.java4664 final long createdMillis = in.getAttributeLong(null, ATTR_CREATED_MILLIS); in readFromXml()
4665 long updatedMillis = in.getAttributeLong(null, ATTR_UPDATED_MILLIS); in readFromXml()
4666 final long committedMillis = in.getAttributeLong(null, ATTR_COMMITTED_MILLIS, 0L); in readFromXml()
4684 params.sizeBytes = in.getAttributeLong(null, ATTR_SIZE_BYTES); in readFromXml()
4760 in.getAttributeLong(null, ATTR_LENGTH_BYTES, -1), in readFromXml()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java667 maximumTimeToUnlock = parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
669 strongAuthUnlockTimeout = parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
681 passwordExpirationTimeout = parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
683 passwordExpirationDate = parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
705 lastNetworkLoggingNotificationTimeMs = parser.getAttributeLong(null, in readFromXml()
790 parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
793 parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
DDevicePolicyData.java530 parser.getAttributeLong(null, ATTR_VALUE); in load()
533 parser.getAttributeLong(null, ATTR_VALUE); in load()
536 parser.getAttributeLong(null, ATTR_VALUE); in load()
549 policy.mPasswordTokenHandle = parser.getAttributeLong(null, ATTR_VALUE); in load()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceUserState.java111 long deviceId = parser.getAttributeLong(null, ATTR_DEVICE_ID); in parseBiometricsLocked()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintUserState.java115 long deviceId = parser.getAttributeLong(null, ATTR_DEVICE_ID); in parseBiometricsLocked()
/frameworks/base/core/java/android/app/admin/
DSystemUpdateInfo.java149 parser.getAttributeLong(null, ATTR_RECEIVED_TIME); in readFromXml()
/frameworks/base/errorprone/refaster/
DEfficientXml.java182 return in.getAttributeLong(null, n); in after()
194 return in.getAttributeLong(null, n, d); in after()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java363 previousBytes = parser.getAttributeLong(null, ATTR_PREVIOUS_BYTES); in readFromXml()
391 long bytes = parser.getAttributeLong(null, ATTR_QUOTA_IN_BYTES); in getRequestFromXml()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1266 final long overflowMillis = parser.getAttributeLong(null, ATTR_OVERFLOW, 0); in readHistoricalOpsLocked()
1312 final long beginTimeMillis = parser.getAttributeLong(null, ATTR_BEGIN_TIME, 0) in readeHistoricalOpsDLocked()
1314 final long endTimeMillis = parser.getAttributeLong(null, ATTR_END_TIME, 0) in readeHistoricalOpsDLocked()
1455 final long key = parser.getAttributeLong(null, ATTR_NAME); in readStateDLocked()
1461 long accessCount = parser.getAttributeLong(null, ATTR_ACCESS_COUNT, 0); in readStateDLocked()
1473 long rejectCount = parser.getAttributeLong(null, ATTR_REJECT_COUNT, 0); in readStateDLocked()
1485 long accessDuration = parser.getAttributeLong(null, ATTR_ACCESS_DURATION, 0); in readStateDLocked()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java189 public long getAttributeLong(int index) in getAttributeLong() method in XmlUtils.ForcedTypedXmlPullParser
1354 array[i] = parser.getAttributeLong(null, "value"); in readThisLongArrayXml()
1673 return parser.getAttributeLong(null, "value"); in readThisPrimitiveValueXml()
1775 return ((TypedXmlPullParser) in).getAttributeLong(null, name, defaultValue); in readLongAttribute()
1792 return ((TypedXmlPullParser) in).getAttributeLong(null, name); in readLongAttribute()
DBinaryXmlPullParser.java475 public long getAttributeLong(int index) throws XmlPullParserException { in getAttributeLong() method in BinaryXmlPullParser
/frameworks/base/core/tests/coretests/src/android/util/
DXmlTest.java296 assertEquals(45L, in.getAttributeLong(null, "long")); in doVerifyRead()
/frameworks/base/core/java/android/hardware/display/
DBrightnessConfiguration.java494 return parser.getAttributeLong(null, attribute); in loadLongFromXml()
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java1375 long duration = parser.getAttributeLong(null, ATTR_DURATION); in parseMonitoredPackage()
1376 long healthCheckDuration = parser.getAttributeLong(null, in parseMonitoredPackage()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java655 builder.setTimeStamp(parser.getAttributeLong(null, ATTR_TIMESTAMP)); in readEventsLocked()
701 parser.getAttributeLong(null, ATTR_COLOR_SAMPLE_DURATION, -1); in readEventsLocked()
DPersistentDataStore.java676 long timeStamp = parser.getAttributeLong(null, ATTR_TIME_STAMP, -1); in loadFromXml()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1896 period = parser.getAttributeLong(null, "period"); in parsePeriodicSync()
1902 flextime = parser.getAttributeLong(null, "flex"); in parsePeriodicSync()
1924 extras.putLong(name, parser.getAttributeLong(null, "value1")); in parseExtra()

12