Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DXmpDepthDecode.java233 Section section = new Section(); in parse() local
234 section.marker = marker; in parse()
235 section.length = -1; in parse()
236 section.data = new byte[is.available()]; in parse()
237 is.read(section.data, 0, section.data.length); in parse()
238 sections.add(section); in parse()
297 Section section = new Section(); in readSection() local
298 section.marker = marker; in readSection()
299 section.length = length; in readSection()
300 section.data = new byte[length - 2]; in readSection()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DAdbPackageParser26.java114 for (String section : sections) { in parsePackage()
115 if (section.startsWith("install permissions")) { in parsePackage()
116 parseInstallPermissions(section, pkg); in parsePackage()
117 } else if (section.startsWith("User ")) { in parsePackage()
118 parseUser(section, pkg); in parsePackage()
128 void parseInstallPermissions(String section, AdbPackage.MutablePackage pkg) { in parseInstallPermissions() argument
129 String list = section.split("\n", 2)[1]; // remove header in parseInstallPermissions()
140 void parseUser(String section, AdbPackage.MutablePackage pkg) throws AdbParseException { in parseUser() argument
141 Matcher userInstalledMatcher = USER_INSTALLED_PATTERN.matcher(section); in parseUser()
143 throw new AdbParseException("Error parsing user section in package", section); in parseUser()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DAdbDevicePolicyParser27.java76 for (String section : devicePolicySections) { in getDeviceOwnerSection()
77 if (section.startsWith("Device Owner:")) { in getDeviceOwnerSection()
78 return section; in getDeviceOwnerSection()
99 for (String section : devicePolicySections) { in getProfileOwnerSections()
100 if (section.startsWith("Profile Owner (User ")) { in getProfileOwnerSections()
101 sections.add(section); in getProfileOwnerSections()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxNeverallowRule.java141 String section = rule.substring(6); in parsePolicy() local
142 conditions.put(section, conditions.getOrDefault(section, 0) + 1); in parsePolicy()
144 String section = rule.substring(4); in parsePolicy() local
145 Integer v = conditions.getOrDefault(section, 0); in parsePolicy()
147 conditions.put(section, v - 1); in parsePolicy()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java212 String section = null; // ENCRYPT or DECRYPT in runTestsForKatFile() local
232 section = line.substring(1, line.length() - 1); in runTestsForKatFile()
233 if ((!"DECRYPT".equals(section)) && (!"ENCRYPT".equals(section))) { in runTestsForKatFile()
234 throw new IOException(lineNumber + ": Unexpected section: " + section); in runTestsForKatFile()
261 if ("ENCRYPT".equals(section)) { in runTestsForKatFile()
263 } else if ("DECRYPT".equals(section)) { in runTestsForKatFile()
266 throw new IOException("Unexpected test operation: " + section); in runTestsForKatFile()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h739 for (int section = 0; section < numSections; section++) { in generatePulseRecording() local
740 if (pattern[section]) { in generatePulseRecording()
/cts/tools/cts-media/
Dget_achievable_rates.py132 section = 'Decoders' if comp.is_decoder else 'Encoders'
133 if section != last_section:
136 yield ' <%s>' % section
137 last_section = section
/cts/libs/webkit-shared/
DREADME.md19 **Tip:** If your test suite already extends SharedWebViewTest, you can skip to section
71 You can follow the "Creating new SDK Runtime tests" section under the SDK testscenario
76 …nly need to follow the last step of the "Invoke from a JUnit test suite" section from the guide ab…
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale130 In this section, all changes are described that affect the measurement