Home
last modified time | relevance | path

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

12

/frameworks/libs/modules-utils/java/com/android/modules/utils/
DTypedXmlPullParser.java87 long getAttributeLong(int index) throws XmlPullParserException; in getAttributeLong() method
153 default long getAttributeLong(@Nullable String namespace, @NonNull String name) in getAttributeLong() method
155 return getAttributeLong(getAttributeIndexOrThrow(namespace, name)); in getAttributeLong()
258 default long getAttributeLong(@Nullable String namespace, @NonNull String name, in getAttributeLong() method
263 return getAttributeLong(index); in getAttributeLong()
/frameworks/base/apct-tests/perftests/core/src/android/util/
DXmlPerfTest.java266 xml.getAttributeLong(null, "publicFlags"); in read()
267 assertEquals(-1946152952L, xml.getAttributeLong(null, "privateFlags")); in read()
268 xml.getAttributeLong(null, "ft"); in read()
269 xml.getAttributeLong(null, "it"); in read()
270 xml.getAttributeLong(null, "ut"); in read()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsSpan.java99 parser.getAttributeLong(null, XML_ATTR_MONOTONIC), in read()
100 parser.getAttributeLong(null, XML_ATTR_START_TIME), in read()
101 parser.getAttributeLong(null, XML_ATTR_DURATION)); in read()
193 long id = parser.getAttributeLong(null, XML_ATTR_ID); in read()
DMultiStateStats.java450 tmpArray[index] = parser.getAttributeLong(i); in readFromXml()
/frameworks/base/core/java/android/os/
DUidBatteryConsumer.java206 parser.getAttributeLong(null, BatteryUsageStats.XML_ATTR_TIME_IN_FOREGROUND)); in createFromXml()
208 parser.getAttributeLong(null, BatteryUsageStats.XML_ATTR_TIME_IN_BACKGROUND)); in createFromXml()
210 parser.getAttributeLong(null, in createFromXml()
DBatteryUsageStats.java740 parser.getAttributeLong(null, XML_ATTR_START_TIMESTAMP)); in createFromXml()
742 parser.getAttributeLong(null, XML_ATTR_END_TIMESTAMP)); in createFromXml()
744 parser.getAttributeLong(null, XML_ATTR_DURATION)); in createFromXml()
753 parser.getAttributeLong(null, XML_ATTR_DISCHARGE_DURATION)); in createFromXml()
755 parser.getAttributeLong(null, XML_ATTR_BATTERY_REMAINING)); in createFromXml()
757 parser.getAttributeLong(null, XML_ATTR_CHARGE_REMAINING)); in createFromXml()
DPowerComponents.java419 durationMs = parser.getAttributeLong(i); in parseXml()
445 durationMs = parser.getAttributeLong(i); in parseXml()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DBinaryXmlPullParserExtensions.kt196 getAttributeLong(null, name, defaultValue)
202 getAttributeLong(null, name)
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DLongPolicySerializer.java49 parser.getAttributeLong(/* namespace= */ null, ATTR_VALUE)); in readFromXml()
DActiveAdmin.java805 maximumTimeToUnlock = parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
807 strongAuthUnlockTimeout = parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
819 passwordExpirationTimeout = parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
821 passwordExpirationDate = parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
843 lastNetworkLoggingNotificationTimeMs = parser.getAttributeLong(null, in readFromXml()
932 parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
935 parser.getAttributeLong(null, ATTR_VALUE); in readFromXml()
DDevicePolicyData.java567 parser.getAttributeLong(null, ATTR_VALUE); in load()
570 parser.getAttributeLong(null, ATTR_VALUE); in load()
573 parser.getAttributeLong(null, ATTR_VALUE); in load()
580 policy.mPasswordTokenHandle = parser.getAttributeLong(null, ATTR_VALUE); in load()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRecentAccessPersistence.java237 final long key = parser.getAttributeLong(null, ATTR_NAME); in readAttributionOp()
242 final long accessTime = parser.getAttributeLong(null, ATTR_ACCESS_TIME, 0); in readAttributionOp()
243 final long rejectTime = parser.getAttributeLong(null, ATTR_REJECT_TIME, 0); in readAttributionOp()
244 final long accessDuration = parser.getAttributeLong(null, ATTR_ACCESS_DURATION, -1); in readAttributionOp()
DHistoricalRegistry.java1243 final long overflowMillis = parser.getAttributeLong(null, ATTR_OVERFLOW, 0); in readHistoricalOpsLocked()
1289 final long beginTimeMillis = parser.getAttributeLong(null, ATTR_BEGIN_TIME, 0) in readeHistoricalOpsDLocked()
1291 final long endTimeMillis = parser.getAttributeLong(null, ATTR_END_TIME, 0) in readeHistoricalOpsDLocked()
1432 final long key = parser.getAttributeLong(null, ATTR_NAME); in readStateDLocked()
1438 long accessCount = parser.getAttributeLong(null, ATTR_ACCESS_COUNT, 0); in readStateDLocked()
1450 long rejectCount = parser.getAttributeLong(null, ATTR_REJECT_COUNT, 0); in readStateDLocked()
1462 long accessDuration = parser.getAttributeLong(null, ATTR_ACCESS_DURATION, 0); in readStateDLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java765 lastIssuedKeyId = parser.getAttributeLong(null, "value"); in readKeySetsLPw()
767 lastIssuedKeySetId = parser.getAttributeLong(null, "value"); in readKeySetsLPw()
802 currentKeySetId = parser.getAttributeLong(null, "identifier"); in readKeySetListLPw()
807 long id = parser.getAttributeLong(null, "identifier"); in readKeySetListLPw()
815 long identifier = parser.getAttributeLong(null, "identifier"); in readPublicKeyLPw()
DSettingsXml.java256 return mParser.getAttributeLong(null, attrName, defaultValue); in getLong()
/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/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java1337 parser.getAttributeLong(null, "cumulativeExecutionTime", 0); in restoreJobFromXml()
1594 parser.getAttributeLong(null, in buildConstraintsFromXml()
1596 parser.getAttributeLong(null, in buildConstraintsFromXml()
1599 parser.getAttributeLong(null, in buildConstraintsFromXml()
1696 parser.getAttributeLong(null, "delay", JobStatus.NO_EARLIEST_RUNTIME); in buildRtcExecutionTimesFromXml()
1698 parser.getAttributeLong(null, "deadline", JobStatus.NO_LATEST_RUNTIME); in buildRtcExecutionTimesFromXml()
1737 parser.getAttributeLong(null, in readJobWorkItemFromXml()
1739 parser.getAttributeLong(null, in readJobWorkItemFromXml()
1741 .setMinimumNetworkChunkBytes(parser.getAttributeLong(null, in readJobWorkItemFromXml()
/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/com/android/internal/os/
DMonotonicClock.java135 savedTimeshift = parser.getAttributeLong(null, XML_ATTR_TIMESHIFT); in readXml()
/frameworks/base/core/java/android/app/admin/
DSystemUpdateInfo.java150 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.java360 previousBytes = parser.getAttributeLong(null, ATTR_PREVIOUS_BYTES); in readFromXml()
388 long bytes = parser.getAttributeLong(null, ATTR_QUOTA_IN_BYTES); in getRequestFromXml()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java191 public long getAttributeLong(int index) in getAttributeLong() method in XmlUtils.ForcedTypedXmlPullParser
1356 array[i] = parser.getAttributeLong(null, "value"); in readThisLongArrayXml()
1675 return parser.getAttributeLong(null, "value"); in readThisPrimitiveValueXml()
1777 return ((TypedXmlPullParser) in).getAttributeLong(null, name, defaultValue); in readLongAttribute()
1794 return ((TypedXmlPullParser) in).getAttributeLong(null, name); in readLongAttribute()
/frameworks/base/core/tests/coretests/src/android/util/
DXmlTest.java298 assertEquals(45L, in.getAttributeLong(null, "long")); in doVerifyRead()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DPersistedState.java225 long lastChange = parser.getAttributeLong(null, XML_ATTRIBUTE_LAST_CHANGE); in readPVersion2()

12