Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 9 of 9) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DAsn1Attestation.java51 ASN1Sequence seq = getAttestationSequence(x509Cert); in Asn1Attestation() local
54 Asn1Utils.getIntegerFromAsn1(seq.getObjectAt(ATTESTATION_VERSION_INDEX)); in Asn1Attestation()
56 Asn1Utils.getIntegerFromAsn1(seq.getObjectAt(ATTESTATION_SECURITY_LEVEL_INDEX)); in Asn1Attestation()
57 keymasterVersion = Asn1Utils.getIntegerFromAsn1(seq.getObjectAt(KEYMASTER_VERSION_INDEX)); in Asn1Attestation()
59 Asn1Utils.getIntegerFromAsn1(seq.getObjectAt(KEYMASTER_SECURITY_LEVEL_INDEX)); in Asn1Attestation()
62 Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(ATTESTATION_CHALLENGE_INDEX)); in Asn1Attestation()
64 uniqueId = Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(UNIQUE_ID_INDEX)); in Asn1Attestation()
66 softwareEnforced = new AuthorizationList(seq.getObjectAt(SW_ENFORCED_INDEX), strictParsing); in Asn1Attestation()
67 teeEnforced = new AuthorizationList(seq.getObjectAt(TEE_ENFORCED_INDEX), strictParsing); in Asn1Attestation()
/cts/tests/tests/identity/src/android/security/identity/cts/
DParsedAttestationRecord.java177 ASN1Sequence seq; in ParsedAttestationRecord() local
185 seq = (ASN1Sequence) seqInputStream.readObject(); in ParsedAttestationRecord()
189 this.attestationVersion = getIntegerFromAsn1(seq.getObjectAt(ATTESTATION_VERSION_INDEX)); in ParsedAttestationRecord()
192 seq.getObjectAt(ATTESTATION_SECURITY_LEVEL_INDEX))); in ParsedAttestationRecord()
193 this.keymasterVersion = getIntegerFromAsn1(seq.getObjectAt(KEYMASTER_VERSION_INDEX)); in ParsedAttestationRecord()
195 getIntegerFromAsn1(seq.getObjectAt(KEYMASTER_SECURITY_LEVEL_INDEX))); in ParsedAttestationRecord()
197 ((ASN1OctetString) seq.getObjectAt(ATTESTATION_CHALLENGE_INDEX)).getOctets(); in ParsedAttestationRecord()
198 this.uniqueId = ((ASN1OctetString) seq.getObjectAt(UNIQUE_ID_INDEX)).getOctets(); in ParsedAttestationRecord()
201 ((ASN1Sequence) seq.getObjectAt(SW_ENFORCED_INDEX)).toArray()); in ParsedAttestationRecord()
204 ((ASN1Sequence) seq.getObjectAt(TEE_ENFORCED_INDEX)).toArray()); in ParsedAttestationRecord()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java632 private String buildTestMessage(CharSequence seq) { in buildTestMessage() argument
634 if (Normalizer.isNormalized(seq, Normalizer.Form.NFC)) { in buildTestMessage()
636 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { in buildTestMessage()
638 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKC)) { in buildTestMessage()
640 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKD)) { in buildTestMessage()
647 for (int i = 0; i < seq.length(); ++i) { in buildTestMessage()
648 builder.append(String.format("0x%04X ", Integer.valueOf(seq.charAt(i)))); in buildTestMessage()
651 return "testString: \"" + seq.toString() + "\"[" + builder.toString() + "]" + in buildTestMessage()
652 ", class: " + seq.getClass().getName() + in buildTestMessage()
661 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII()
[all …]
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DConstraintTest.java169 int seq = Integer.parseInt(res.trim()); in setStorageState() local
177 if (curSeq == seq) { in setStorageState()
182 fail("Timed out waiting for job scheduler: expected seq=" + seq + ", cur=" + curSeq); in setStorageState()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBaseJobSchedulerTest.java174 int seq = Integer.parseInt(res.trim()); in setStorageStateLow() local
182 if (curSeq == seq) { in setStorageStateLow()
187 fail("Timed out waiting for job scheduler: expected seq=" + seq + ", cur=" + curSeq); in setStorageStateLow()
DBatteryConstraintTest.java101 int seq = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setBatteryState() local
114 if (curSeq >= seq && curCharging == plugged) { in setBatteryState()
119 fail("Timed out waiting for job scheduler: expected seq=" + seq + ", cur=" + curSeq in setBatteryState()
/cts/tools/utils/
Dmonsoon.py231 seq, type, x, y = struct.unpack("BBBB", bytes[:4])
235 if self._last_seq and seq & 0xF != (self._last_seq + 1) & 0xF:
237 self._last_seq = seq
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py346 seq, type, x, y = struct.unpack("BBBB", bytes[:4])
350 if self._last_seq and seq & 0xF != (self._last_seq + 1) & 0xF:
352 self._last_seq = seq
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp46 outMsg->header.seq = msg.header.seq; in sanitizeMessage()