Searched refs:keyC (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 130 MetricDimensionKey keyC = getMockMetricDimensionKey(1, "c"); in TEST() local 140 std::shared_ptr<DimToValMap> bucket0 = MockBucket({{keyA, 1}, {keyB, 2}, {keyC, 1}}); in TEST() 153 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 0, bucket0, {}, {keyA, keyB, keyC})); in TEST() 156 {{keyA, -1}, {keyB, -1}, {keyC, -1}}); in TEST() 163 EXPECT_EQ(anomalyTracker.getSumOverPastBuckets(keyC), 1LL); in TEST() 167 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 1, bucket1, {}, {keyA, keyB, keyC})); in TEST() 170 {{keyA, -1}, {keyB, -1}, {keyC, -1}}); in TEST() 177 EXPECT_EQ(anomalyTracker.getSumOverPastBuckets(keyC), 1LL); in TEST() 179 EXPECT_TRUE(detectAnomaliesPass(anomalyTracker, 1, bucket1, {}, {keyA, keyB, keyC})); in TEST() 182 {{keyA, -1}, {keyB, -1}, {keyC, -1}}); in TEST() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | KeySetManagerServiceTest.java | 66 PublicKey keyC = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyC); in testPublicKeyCertReprEquiv() local 74 assertNotNull(keyC); in testPublicKeyCertReprEquiv() 78 assertEquals(keyC, sigC.getPublicKey()); in testPublicKeyCertReprEquiv() 90 bArrayPk = keyC.getEncoded(); in testPublicKeyCertReprEquiv() 102 PublicKey keyC = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyC); in testEncodePublicKey() local 106 assertEquals(ksms.encodePublicKey(keyC), KeySetStrings.ctsKeySetPublicKeyC); in testEncodePublicKey() 559 PublicKey keyC = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyC); in testAddDefinedKSToPackageOverlapUpgr() local 560 keys1.add(keyC); in testAddDefinedKSToPackageOverlapUpgr() 567 assertEquals(keyC, KeySetUtils.getPubKey(mKsms, 3)); in testAddDefinedKSToPackageOverlapUpgr()
|
D | PackageManagerSettingsTests.java | 980 PublicKey keyC = PackageParser.parsePublicKey(KeySetStrings.ctsKeySetPublicKeyC); in verifyKeySetMetaData() local 983 assertThat(KeySetUtils.getPubKey(ksms, 3), is(keyC)); in verifyKeySetMetaData()
|