Home
last modified time | relevance | path

Searched refs:ZERO (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DOomAdjusterTests.java51 private static final long ZERO = 0L; field in OomAdjusterTests
93 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStatePersistentUI()
97 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStatePersistentUI()
102 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateTop()
106 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop()
111 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()
116 assertProcessRecordState(ZERO, true, ZERO); in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()
126 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval()
131 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateBoundTop()
135 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateBoundTop()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java132 assertEquals(ZERO, zero2); in testEquals()
133 assertEquals(zero2, ZERO); in testEquals()
187 assertEquals(ZERO, zero); in testReduction()
208 assertGreaterThan(NaN, ZERO); in testCompareTo()
214 assertGreaterThan(POSITIVE_INFINITY, ZERO); in testCompareTo()
220 assertLessThan(NEGATIVE_INFINITY, ZERO); in testCompareTo()
224 assertGreaterThan(new Rational(3, 100), ZERO); in testCompareTo()
228 assertGreaterThan(new Rational(5, 25), ZERO); in testCompareTo()
232 assertLessThan(new Rational(-5, 25), ZERO); in testCompareTo()
238 assertFinite(ZERO, true); in testConvenienceMethods()
[all …]
DRangeTest.java134 assertInRange(negativeOneTenthPositiveOneTenth, Rational.ZERO); in testInRange()
/frameworks/base/core/java/android/view/textclassifier/
DGenerateLinksLogger.java42 private static final String ZERO = "0"; field in GenerateLinksLogger
138 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_NUM_LINKS), ZERO)); in debugLog()
140 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_LINK_LENGTH), ZERO)); in debugLog()
142 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_TEXT_LENGTH), ZERO)); in debugLog()
144 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_LATENCY), ZERO)); in debugLog()
DSelectionSessionLogger.java57 private static final String ZERO = "0"; field in SelectionSessionLogger
213 final int index = Integer.parseInt(Objects.toString(log.getTaggedData(INDEX), ZERO)); in debugLog()
225 Objects.toString(log.getTaggedData(SMART_START), ZERO)); in debugLog()
227 Objects.toString(log.getTaggedData(SMART_END), ZERO)); in debugLog()
229 Objects.toString(log.getTaggedData(EVENT_START), ZERO)); in debugLog()
231 Objects.toString(log.getTaggedData(EVENT_END), ZERO)); in debugLog()
/frameworks/base/rs/java/android/renderscript/
DProgramStore.java99 ZERO (0), enumConstant
128 ZERO (0), enumConstant
248 builder.setBlendFunc(BlendSrcFunc.ONE, BlendDstFunc.ZERO); in BLEND_NONE_DEPTH_TEST()
269 builder.setBlendFunc(BlendSrcFunc.ONE, BlendDstFunc.ZERO); in BLEND_NONE_DEPTH_NONE()
351 mBlendDst = BlendDstFunc.ZERO; in Builder()
/frameworks/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java62 private static final String ZERO = "0"; field in SmartSelectionEventTracker
332 final int index = Integer.parseInt(Objects.toString(log.getTaggedData(INDEX), ZERO)); in debugLog()
343 Objects.toString(log.getTaggedData(SMART_START), ZERO)); in debugLog()
345 Objects.toString(log.getTaggedData(SMART_END), ZERO)); in debugLog()
347 Objects.toString(log.getTaggedData(EVENT_START), ZERO)); in debugLog()
349 Objects.toString(log.getTaggedData(EVENT_END), ZERO)); in debugLog()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp104 mPhaseIntervalSetting = Phase::ZERO; in startVsyncListener()
129 if (mPhaseIntervalSetting == Phase::ZERO) { in onDispSyncEvent()
139 mPhaseIntervalSetting = Phase::ZERO; in onDispSyncEvent()
155 ZERO, enumerator
158 = Phase::ZERO;
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/
DGenerateLinksLoggerTest.java50 private static final String ZERO = "0"; field in GenerateLinksLoggerTest
114 return Integer.parseInt(Objects.toString(log.getTaggedData(eventField), ZERO)); in getIntValue()
/frameworks/base/libs/protoutil/tests/
Dtest.proto25 ZERO = 0; enumerator
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dunknown_fields_test.py251 missing_enum_values_pb2.TestEnumValues.ZERO)
253 missing_enum_values_pb2.TestEnumValues.ZERO,
257 missing_enum_values_pb2.TestEnumValues.ZERO,
Dmissing_enum_values.proto37 ZERO = 0; enumerator
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2StillCaptureTest.java483 Rational[] empty = new Rational[] { Rational.ZERO, Rational.ZERO, Rational.ZERO}; in verifyRawCaptureResult()
492 Rational.ZERO); in verifyRawCaptureResult()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java129 return Rational.ZERO; in createRational()
/frameworks/base/tests/net/java/android/net/
DNetworkUtilsTest.java84 assertEquals(BigInteger.ZERO, NetworkUtils.routedIPv6AddressCount(set)); in testRoutedIPv6AddressCount()
/frameworks/base/core/java/android/util/
DRational.java65 public static final Rational ZERO = new Rational(0, 1); field in Rational
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeKePayload.java148 BigInteger prime = BigInteger.ZERO; in IkeKePayload()
/frameworks/base/core/java/android/net/
DNetworkUtils.java452 BigInteger routedIPCount = BigInteger.ZERO; in routedIPv6AddressCount()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dunittest_proto3_lite.proto50 ZERO = 0; enumerator
Dunittest_proto3_arena.proto50 ZERO = 0; enumerator
Dunittest_proto3_arena_lite.proto51 ZERO = 0; enumerator
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
Dunittest_objc.proto393 ZERO = 0; enumerator
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyPairGeneratorSpi.java404 if (publicExponent.compareTo(BigInteger.ZERO) < 1) { in initAlgorithmSpecificParameters()
/frameworks/base/tools/aapt2/
DResources.proto496 ZERO = 0; enumerator
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1518 if (value.compareTo(BigInteger.ZERO) < 0 || value.compareTo(MAX_UINT64) > 0) { in parseUint64()

12