/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | OomAdjusterTests.java | 60 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/ |
D | RationalTest.java | 132 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 …]
|
D | RangeTest.java | 134 assertInRange(negativeOneTenthPositiveOneTenth, Rational.ZERO); in testInRange()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/ |
D | MultiRateLimiterTest.java | 46 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/ |
D | ProgramStore.java | 104 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/ |
D | StretchEffect.cpp | 187 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/ |
D | Util.java | 57 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/ |
D | Duration64Test.java | 45 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/ |
D | VibrationEffectTest.java | 152 .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/ |
D | test.proto | 25 ZERO = 0; enumerator
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | BigIntegerPerfTest.java | 51 BigInteger sum = BigInteger.ZERO; in inner() 77 BigInteger sum = BigInteger.ZERO; in harmonic1000()
|
/frameworks/base/core/java/android/net/sntp/ |
D | Duration64.java | 31 public static final Duration64 ZERO = new Duration64(0); field in Duration64
|
D | Timestamp64.java | 41 public static final Timestamp64 ZERO = fromComponents(0, 0); field in Timestamp64
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2StillCaptureTest.java | 483 Rational[] empty = new Rational[] { Rational.ZERO, Rational.ZERO, Rational.ZERO}; in verifyRawCaptureResult() 492 Rational.ZERO); in verifyRawCaptureResult()
|
/frameworks/base/core/java/android/net/ |
D | SntpClient.java | 304 if (transmitTimestamp.equals(Timestamp64.ZERO)) { in checkValidServerReply() 307 if (referenceTimestamp.equals(Timestamp64.ZERO)) { in checkValidServerReply()
|
/frameworks/proto_logging/stats/enums/uwb/ |
D | enums.proto | 65 ZERO = 1; enumerator
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ParamsUtils.java | 129 return Rational.ZERO; in createRational()
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 68 public static final Rational ZERO = new Rational(0, 1); field in Rational
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/ |
D | FaceDownDetectorTest.java | 78 mCurrentTime = Duration.ZERO; in setup()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 442 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/ |
D | KeyguardTransitionRepositoryTest.kt | 194 start: BigDecimal = BigDecimal.ZERO, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibratorManagerService.java | 2002 : Duration.ZERO; in addWaveformToComposition() 2004 ? Duration.ZERO in addWaveformToComposition()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 577 if (publicExponent.compareTo(BigInteger.ZERO) < 1) { in initAlgorithmSpecificParameters()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibrationThreadTest.java | 684 .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/ |
D | Resources.proto | 530 ZERO = 0; enumerator
|