/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | OomAdjusterTests.java | 60 private static final long ZERO = 0L; field in OomAdjusterTests 139 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStatePersistentUI() 143 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStatePersistentUI() 148 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateTop() 152 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop() 157 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction() 162 assertProcessRecordState(ZERO, true, ZERO); in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction() 172 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval() 177 final long elapsedTime = ZERO; in testMaybeUpdateUsageStats_ProcStateBoundTop() 181 assertProcessRecordState(ZERO, true, elapsedTime); in testMaybeUpdateUsageStats_ProcStateBoundTop() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 133 assertEquals(ZERO, zero2); in testEquals() 134 assertEquals(zero2, ZERO); in testEquals() 188 assertEquals(ZERO, zero); in testReduction() 209 assertGreaterThan(NaN, ZERO); in testCompareTo() 215 assertGreaterThan(POSITIVE_INFINITY, ZERO); in testCompareTo() 221 assertLessThan(NEGATIVE_INFINITY, ZERO); in testCompareTo() 225 assertGreaterThan(new Rational(3, 100), ZERO); in testCompareTo() 229 assertGreaterThan(new Rational(5, 25), ZERO); in testCompareTo() 233 assertLessThan(new Rational(-5, 25), ZERO); in testCompareTo() 239 assertFinite(ZERO, true); in testConvenienceMethods() [all …]
|
D | RangeTest.java | 135 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/services/credentials/java/com/android/server/credentials/metrics/ |
D | ProviderSessionMetric.java | 239 int numRemoteEntry = MetricUtilities.ZERO; in collectCandidateEntryMetrics() 240 int numActionEntries = MetricUtilities.ZERO; in collectCandidateEntryMetrics() 241 int numAuthEntries = MetricUtilities.ZERO; in collectCandidateEntryMetrics() 272 int numRemoteEntry = response.getRemoteCreateEntry() == null ? MetricUtilities.ZERO : in beginCreateCredentialResponseCollectionCandidateEntryMetrics() 296 int numRemoteEntry = response.getRemoteCredentialEntry() != null ? MetricUtilities.ZERO : in beginGetCredentialResponseCollectionCandidateEntryMetrics()
|
/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/libs/protoutil/tests/ |
D | test.proto | 25 ZERO = 0; enumerator
|
/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/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/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/hardware/camera2/utils/ |
D | ParamsUtils.java | 129 return Rational.ZERO; in createRational()
|
/frameworks/base/core/java/android/net/ |
D | SntpClient.java | 320 if (transmitTimestamp.equals(Timestamp64.ZERO)) { in checkValidServerReply() 323 if (referenceTimestamp.equals(Timestamp64.ZERO)) { in checkValidServerReply()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/shared/ |
D | ResponseCollective.java | 125 return mEntryCounts.getOrDefault(e, MetricUtilities.ZERO); in getCountForEntry()
|
/frameworks/proto_logging/stats/enums/uwb/ |
D | enums.proto | 82 ZERO = 1; enumerator
|
/frameworks/base/core/tests/vibrator/src/android/os/ |
D | VibrationEffectTest.java | 500 .addTransition(Duration.ZERO, targetAmplitude(0f), targetFrequency(200)) in testValidateWaveformBuilder() 504 .addTransition(Duration.ZERO, targetFrequency(150)) in testValidateWaveformBuilder() 536 .addTransition(Duration.ZERO, targetAmplitude(0.4f)) in testValidateWaveformBuilder() 538 .addTransition(Duration.ZERO, targetAmplitude(0.8f)) in testValidateWaveformBuilder() 551 () -> VibrationEffect.startWaveform().addSustain(Duration.ZERO).build().validate()); in testValidateWaveformBuilder()
|
/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/ |
D | Vector2.kt | 28 val ZERO = Vector2(0f, 0f) constant
|
D | Vector3.kt | 28 val ZERO = Vector3(0f, 0f, 0f) constant
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 70 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 | 469 builder.addTransition(Duration.ZERO, initialParameter); in startWaveform() 495 builder.addTransition(Duration.ZERO, initialParameter1, initialParameter2); in startWaveform()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | MetricUtilities.java | 60 public static final int ZERO = 0; field in MetricUtilities
|