Home
last modified time | relevance | path

Searched refs:ZERO (Results 1 – 25 of 35) 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
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/
DRationalTest.java133 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 …]
DRangeTest.java135 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/services/credentials/java/com/android/server/credentials/metrics/
DProviderSessionMetric.java239 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/
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/libs/protoutil/tests/
Dtest.proto25 ZERO = 0; enumerator
/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/apct-tests/perftests/core/src/android/libcore/
DBigIntegerPerfTest.java51 BigInteger sum = BigInteger.ZERO; in inner()
77 BigInteger sum = BigInteger.ZERO; in harmonic1000()
/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/net/
DSntpClient.java320 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/
DResponseCollective.java125 return mEntryCounts.getOrDefault(e, MetricUtilities.ZERO); in getCountForEntry()
/frameworks/proto_logging/stats/enums/uwb/
Denums.proto82 ZERO = 1; enumerator
/frameworks/base/core/tests/vibrator/src/android/os/
DVibrationEffectTest.java500 .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/
DVector2.kt28 val ZERO = Vector2(0f, 0f) constant
DVector3.kt28 val ZERO = Vector3(0f, 0f, 0f) constant
/frameworks/base/core/java/android/util/
DRational.java70 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.java469 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/
DMetricUtilities.java60 public static final int ZERO = 0; field in MetricUtilities

12