Searched refs:pins (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/security/net/config/ |
D | PinSet.java | 28 public final Set<Pin> pins; field in PinSet 30 public PinSet(Set<Pin> pins, long expirationTime) { in PinSet() argument 31 if (pins == null) { in PinSet() 34 this.pins = pins; in PinSet() 41 for (Pin pin : pins) { in getPinAlgorithms()
|
D | NetworkSecurityTrustManager.java | 120 if (pinSet.pins.isEmpty() in checkPins() 141 if (pinSet.pins.contains(new Pin(algorithm, md.digest(encodedSPKI)))) { in checkPins()
|
D | NetworkSecurityConfig.java | 58 PinSet pins, in NetworkSecurityConfig() argument 63 mPins = pins; in NetworkSecurityConfig()
|
D | XmlConfigSource.java | 142 Set<Pin> pins = new ArraySet<>(); in parsePinSet() local 146 pins.add(parsePin(parser)); in parsePinSet() 151 return new PinSet(pins, expirationTimestampMilis); in parsePinSet()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | NetworkSecurityConfigTests.java | 139 ArraySet<Pin> pins = new ArraySet<Pin>(); in testBadPin() local 140 pins.add(new Pin("SHA-256", new byte[0])); in testBadPin() 142 .setPinSet(new PinSet(pins, Long.MAX_VALUE)) in testBadPin() 157 ArraySet<Pin> pins = new ArraySet<Pin>(); in testGoodPin() local 158 pins.add(new Pin("SHA-256", GTS_INTERMEDIATE_SPKI_SHA256)); in testGoodPin() 160 .setPinSet(new PinSet(pins, Long.MAX_VALUE)) in testGoodPin() 176 ArraySet<Pin> pins = new ArraySet<Pin>(); in testOverridePins() local 177 pins.add(new Pin("SHA-256", new byte[0])); in testOverridePins() 179 .setPinSet(new PinSet(pins, Long.MAX_VALUE)) in testOverridePins() 243 ArraySet<Pin> pins = new ArraySet<Pin>(); in testWithUrlConnection() local [all …]
|
D | XmlConfigTests.java | 51 assertTrue(pinSet.pins.isEmpty()); in testEmptyConfigFile() 71 assertTrue(pinSet.pins.isEmpty()); in testEmptyAnchors() 90 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig() 97 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig() 123 assertFalse(pinSet.pins.isEmpty()); in testBasicPinning() 139 assertFalse(pinSet.pins.isEmpty()); in testExpiredPin() 154 assertFalse(pinSet.pins.isEmpty()); in testOverridesPins() 169 assertFalse(pinSet.pins.isEmpty()); in testBadPin() 187 assertTrue(pinSet.pins.isEmpty()); in testMultipleDomains() 281 MoreAsserts.assertEmpty(parent.getPins().pins); in testNestedDomainConfigs() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | HeadsUpNotificationInteractor.kt | 67 combine(rows.map { it.isPinned }) { pins -> pins.any { it } } in <lambda>() method
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 47964 Landroid/security/net/config/PinSet;->pins:Ljava/util/Set;
|