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.java60 private static final long ZERO = 0L; field in OomAdjusterTests
145 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStatePersistentUI()
149 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStatePersistentUI()
154 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateTop()
158 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop()
163 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()
168 assertProcessRecordState(ZERO, true, ZERO); in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()
178 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval()
183 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateBoundTop()
187 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/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DMultiRateLimiterTest.java46 Duration mElapsedTime = Duration.ZERO;
66 mInjector.mElapsedTime = Duration.ZERO; in testSingleRateLimit_belowLimit_isWithinQuota()
84 mInjector.mElapsedTime = Duration.ZERO; in testSingleRateLimit_aboveLimit_isNotWithinQuota()
104 mInjector.mElapsedTime = Duration.ZERO; in testSingleRateLimit_afterGoingAboveQuotaAndWaitingWindow_isBackWithinQuota()
131 mInjector.mElapsedTime = Duration.ZERO; in createMultipleRateLimits_testTheyLimitsAsExpected()
173 mInjector.mElapsedTime = Duration.ZERO; in createSingleRateLimit_testItLimitsOnlyGivenUptc()
204 mInjector.mElapsedTime = Duration.ZERO; in clearRateLimiterForPackage_afterReachingQuota_quotaIsReset()
229 mInjector.mElapsedTime = Duration.ZERO; in clearRateLimiterForPackage_doesntAffectOtherPackages()
/frameworks/base/rs/java/android/renderscript/
DProgramStore.java104 ZERO (0), enumConstant
133 ZERO (0), enumConstant
253 builder.setBlendFunc(BlendSrcFunc.ONE, BlendDstFunc.ZERO); in BLEND_NONE_DEPTH_TEST()
274 builder.setBlendFunc(BlendSrcFunc.ONE, BlendDstFunc.ZERO); in BLEND_NONE_DEPTH_NONE()
356 mBlendDst = BlendDstFunc.ZERO; in Builder()
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp187 static const float ZERO = 0.f; variable
225 mBuilder->uniform("uScrollX").set(&ZERO, 1); in getShader()
226 mBuilder->uniform("uScrollY").set(&ZERO, 1); in getShader()
/frameworks/base/identity/java/android/security/identity/
DUtil.java57 if (x.compareTo(BigInteger.ZERO) < 0) { in publicKeyEncodeUncompressedForm()
60 if (y.compareTo(BigInteger.ZERO) < 0) { in publicKeyEncodeUncompressedForm()
/frameworks/base/core/tests/coretests/src/android/net/sntp/
DDuration64Test.java45 assertEquals(Duration64.ZERO, Duration64.between(zeroNoFrac, zeroNoFrac)); in testBetween_rangeChecks()
49 assertEquals(Duration64.ZERO, Duration64.between(ceilNoFrac, ceilNoFrac)); in testBetween_rangeChecks()
64 assertEquals(Duration64.ZERO, Duration64.between(ceilWithFrac, ceilWithFrac)); in testBetween_rangeChecks()
/frameworks/base/core/tests/coretests/src/android/os/
DVibrationEffectTest.java152 .addTransition(Duration.ZERO, targetAmplitude(0f), targetFrequency(200)) in testValidateWaveformBuilder()
156 .addTransition(Duration.ZERO, targetFrequency(150)) in testValidateWaveformBuilder()
188 .addTransition(Duration.ZERO, targetAmplitude(0.4f)) in testValidateWaveformBuilder()
190 .addTransition(Duration.ZERO, targetAmplitude(0.8f)) in testValidateWaveformBuilder()
203 () -> VibrationEffect.startWaveform().addSustain(Duration.ZERO).build().validate()); in testValidateWaveformBuilder()
/frameworks/base/libs/protoutil/tests/
Dtest.proto25 ZERO = 0; enumerator
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DBigIntegerPerfTest.java51 BigInteger sum = BigInteger.ZERO; in inner()
77 BigInteger sum = BigInteger.ZERO; in harmonic1000()
/frameworks/base/core/java/android/net/sntp/
DDuration64.java31 public static final Duration64 ZERO = new Duration64(0); field in Duration64
DTimestamp64.java41 public static final Timestamp64 ZERO = fromComponents(0, 0); field in Timestamp64
/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/net/
DSntpClient.java304 if (transmitTimestamp.equals(Timestamp64.ZERO)) { in checkValidServerReply()
307 if (referenceTimestamp.equals(Timestamp64.ZERO)) { in checkValidServerReply()
/frameworks/proto_logging/stats/enums/uwb/
Denums.proto65 ZERO = 1; enumerator
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java129 return Rational.ZERO; in createRational()
/frameworks/base/core/java/android/util/
DRational.java68 public static final Rational ZERO = new Rational(0, 1); field in Rational
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DFaceDownDetectorTest.java78 mCurrentTime = Duration.ZERO; in setup()
/frameworks/base/core/java/android/os/
DVibrationEffect.java442 builder.addTransition(Duration.ZERO, initialParameter); in startWaveform()
468 builder.addTransition(Duration.ZERO, initialParameter1, initialParameter2); in startWaveform()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardTransitionRepositoryTest.kt194 start: BigDecimal = BigDecimal.ZERO, in <lambda>()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java2002 : Duration.ZERO; in addWaveformToComposition()
2004 ? Duration.ZERO in addWaveformToComposition()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyPairGeneratorSpi.java577 if (publicExponent.compareTo(BigInteger.ZERO) < 1) { in initAlgorithmSpecificParameters()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationThreadTest.java684 .addTransition(Duration.ZERO, targetAmplitude(0.8f), targetFrequency(100)) in vibrate_singleVibratorPwle_runsComposePwle()
723 .addTransition(Duration.ZERO, targetAmplitude(0.8f), targetFrequency(100)) in vibrate_singleVibratorLargePwle_splitsComposeCallWhenAmplitudeIsLowest()
/frameworks/base/tools/aapt2/
DResources.proto530 ZERO = 0; enumerator

12