Home
last modified time | relevance | path

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

/cts/tests/security/src/android/keystore/cts/
DAttestation.java69 ASN1Sequence seq = getAttestationSequence(x509Cert); in Attestation() local
72 … attestationVersion = Asn1Utils.getIntegerFromAsn1(seq.getObjectAt(ATTESTATION_VERSION_INDEX)); in Attestation()
73 …attestationSecurityLevel = Asn1Utils.getIntegerFromAsn1(seq.getObjectAt(ATTESTATION_SECURITY_LEVEL… in Attestation()
74 keymasterVersion = Asn1Utils.getIntegerFromAsn1(seq.getObjectAt(KEYMASTER_VERSION_INDEX)); in Attestation()
75 …keymasterSecurityLevel = Asn1Utils.getIntegerFromAsn1(seq.getObjectAt(KEYMASTER_SECURITY_LEVEL_IND… in Attestation()
78 … Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(Attestation.ATTESTATION_CHALLENGE_INDEX)); in Attestation()
80 uniqueId = Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(Attestation.UNIQUE_ID_INDEX)); in Attestation()
82 softwareEnforced = new AuthorizationList(seq.getObjectAt(SW_ENFORCED_INDEX)); in Attestation()
83 teeEnforced = new AuthorizationList(seq.getObjectAt(TEE_ENFORCED_INDEX)); in Attestation()
/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/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp51 outMsg->body.key.seq = msg.body.key.seq; in sanitizeMessage()
78 outMsg->body.motion.seq = msg.body.motion.seq; in sanitizeMessage()
131 outMsg->body.finished.seq = msg.body.finished.seq; in sanitizeMessage()
/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/
DConstraintTest.java172 int seq = Integer.parseInt(res.trim()); in setStorageState() local
180 if (curSeq == seq) { in setStorageState()
185 fail("Timed out waiting for job scheduler: expected seq=" + seq + ", cur=" + curSeq); in setStorageState()
DBatteryConstraintTest.java109 int seq = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setBatteryState() local
126 if (curSeq == seq && curCharging == plugged) { in setBatteryState()
131 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/tests/tests/graphics/res/raw/
Dsample_raf.raf24063 3-FU\f3b?q�d�Sg�Af�i�e_V?v�g�hv6@f�f��fAV@\�e�ceP�>_e�seq&>`�f�sfU�?>V`�cd0�?8�e�Cebf>/Fd�sc9…