Home
last modified time | relevance | path

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

/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.cpp107 mPhaseIntervalSetting = Phase::ZERO; in startVsyncListener()
132 if (mPhaseIntervalSetting == Phase::ZERO) { in onDispSyncEvent()
142 mPhaseIntervalSetting = Phase::ZERO; in onDispSyncEvent()
158 ZERO, enumerator
161 = 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/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/core/java/android/util/
DRational.java66 public static final Rational ZERO = new Rational(0, 1); field in Rational
/frameworks/base/tests/net/java/android/net/
DNetworkUtilsTest.java98 assertEquals(BigInteger.ZERO, NetworkUtils.routedIPv6AddressCount(set)); in testRoutedIPv6AddressCount()
/frameworks/base/core/java/android/net/
DNetworkUtils.java443 BigInteger routedIPCount = BigInteger.ZERO; in routedIPv6AddressCount()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyPairGeneratorSpi.java403 if (publicExponent.compareTo(BigInteger.ZERO) < 1) { in initAlgorithmSpecificParameters()
/frameworks/base/tools/aapt2/
DResources.proto496 ZERO = 0; enumerator
/frameworks/base/non-updatable-api/
Dcurrent.txt19386 field public static final android.icu.math.BigDecimal ZERO;
49550 field public static final android.util.Rational ZERO;
63010 field public static final java.math.BigDecimal ZERO;
63063 field @NonNull public static final java.math.BigInteger ZERO;
68903 field public static final java.time.Duration ZERO;
69336 field public static final java.time.Period ZERO;
/frameworks/base/api/
Dcurrent.txt19386 field public static final android.icu.math.BigDecimal ZERO;
49694 field public static final android.util.Rational ZERO;
63154 field public static final java.math.BigDecimal ZERO;
63207 field @NonNull public static final java.math.BigInteger ZERO;
69047 field public static final java.time.Duration ZERO;
69480 field public static final java.time.Period ZERO;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31776 field public static final android.util.Rational ZERO;
42637 field public static final java.math.BigDecimal ZERO;
42690 field public static final java.math.BigInteger ZERO;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt29034 Landroid/icu/text/NFRule;->ZERO:Ljava/lang/Long;
60081 Landroid/renderscript/ProgramStore$BlendSrcFunc;->ZERO:Landroid/renderscript/ProgramStore$BlendSrcF…
76696 Landroid/view/textclassifier/GenerateLinksLogger;->ZERO:Ljava/lang/String;
76782 Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->ZERO:Ljava/lang/String;
76853 Landroid/view/textclassifier/SelectionSessionLogger;->ZERO:Ljava/lang/String;