Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 11 of 11) 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), attestationVersion, s… in Asn1Attestation()
67 …teeEnforced = new AuthorizationList(seq.getObjectAt(TEE_ENFORCED_INDEX), attestationVersion, stric… in Asn1Attestation()
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0600/
DPocActivity.java47 CharSequence seq = Html.fromHtml(getString(R.string.cve_2021_0600_targetText)); in onCreate() local
49 seq = Html.fromHtml(getString(R.string.cve_2021_0600_targetTextHtml)); in onCreate()
55 int end = seq.length() - 1; in onCreate()
57 while ((Character.isWhitespace(seq.charAt(start))) && start < end) { in onCreate()
60 while ((Character.isWhitespace(seq.charAt(end))) && end > start) { in onCreate()
69 seq.subSequence(start, end + 1)); in onCreate()
/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.java671 private String buildTestMessage(CharSequence seq) { in buildTestMessage() argument
673 if (Normalizer.isNormalized(seq, Normalizer.Form.NFC)) { in buildTestMessage()
675 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { in buildTestMessage()
677 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKC)) { in buildTestMessage()
679 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKD)) { in buildTestMessage()
686 for (int i = 0; i < seq.length(); ++i) { in buildTestMessage()
687 builder.append(String.format("0x%04X ", Integer.valueOf(seq.charAt(i)))); in buildTestMessage()
690 return "testString: \"" + seq.toString() + "\"[" + builder.toString() + "]" + in buildTestMessage()
691 ", class: " + seq.getClass().getName() + in buildTestMessage()
700 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII()
[all …]
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DConstraintTest.java170 int seq = Integer.parseInt(res.trim()); in setStorageState() local
178 if (curSeq == seq) { in setStorageState()
183 fail("Timed out waiting for job scheduler: expected seq=" + seq + ", cur=" + curSeq); in setStorageState()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBaseJobSchedulerTest.java253 int seq = Integer.parseInt(res.trim()); in setStorageStateLow() local
261 if (curSeq == seq) { in setStorageStateLow()
267 fail("Timed out waiting for job scheduler: expected seq=" + seq + ", cur=" + curSeq); in setStorageStateLow()
359 int seq = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setBatteryState() local
372 return curSeq >= seq && curCharging == plugged; in setBatteryState()
DJobThrottlingTest.java1472 int seq = Integer.parseInt(mUiDevice.executeShellCommand(command).trim()); in setChargingState() local
1483 return curSeq >= seq && curCharging == isCharging; in setChargingState()
/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()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt37907 field public static final String SEQ = "seq";