/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | Hoarder.java | 61 int failures = 0; in doBlocks() local 67 if (failures == 0) { in doBlocks() 80 failures = Math.min(failures + 1, 32); in doBlocks() 81 if (oneshot && failures >= 4) { in doBlocks() 101 int failures = 0; in doInodes() local 104 final int size = (failures == 0) ? 512 : 16; in doInodes() 115 failures = Math.min(failures + 1, 32); in doInodes() 116 if (oneshot && failures >= 4) { in doInodes()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | TimestampClockSourceVerification.java | 101 List<IndexedEvent> failures; in verify() local 104 failures = verifyTimestampClockSource(errorMessageBuilder); in verify() 105 failuresCount = failures.size(); in verify() 109 getIndexArray(failures)); in verify() 110 success = failures.isEmpty(); in verify() 145 ArrayList<IndexedEvent> failures = new ArrayList<IndexedEvent>(); in verifyTimestampClockSource() local 148 if (failures.size() < TRUNCATE_MESSAGE_LENGTH) { in verifyTimestampClockSource() 162 if (failures.size() < TRUNCATE_MESSAGE_LENGTH) { in verifyTimestampClockSource() 171 failures.add(new IndexedEvent(i, event)); in verifyTimestampClockSource() 174 if (failures.size() >= TRUNCATE_MESSAGE_LENGTH) { in verifyTimestampClockSource() [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ServicePermissionsTest.java | 80 final ArrayList<String> failures = new ArrayList<>(); in testDumpProtected() local 113 failures.add("Service " + service + " threw exception: " + e); in testDumpProtected() 140 failures.add("dump() for " + service + " produced several lines of output; this " in testDumpProtected() 150 failures.add("dump() for " + service + " produced a single line which didn't " in testDumpProtected() 157 if (!failures.isEmpty()) { in testDumpProtected() 158 StringBuilder msg = new StringBuilder(failures.size() + " services failed:\n"); in testDumpProtected() 159 for (String failure: failures) { in testDumpProtected()
|
D | AudioSecurityTest.java | 60 int failures = 0; in testAllEffects() local 80 ++failures; in testAllEffects() 84 ++failures; in testAllEffects() 87 assertEquals("found " + testName + " " + failures + " failures", in testAllEffects() 88 0 /* expected */, failures); in testAllEffects()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | TestResultObserver.java | 31 private int failures = 0; field in TestResultObserver 38 failures++; in notifyFailure() 39 if (failures <= 100) { in notifyFailure() 46 } else if (failures == 101) { in notifyFailure()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | PerPixelBitmapVerifier.java | 56 int failures = 0; in verify() local 62 if (failures < 50) { in verify() 67 failures++; in verify() 75 boolean success = failures <= toleratedFailures; in verify() 76 Log.d(TAG, failures + " failures observed out of " in verify()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/ |
D | SingleTestNgTestExecutor.java | 116 private final Map<String,Throwable> failures; field in SingleTestNgTestExecutor.Result 119 Result(boolean hasFailure, Map<String, Throwable> failures) { in Result() argument 121 this.failures = Collections.unmodifiableMap(new LinkedHashMap<>(failures)); in Result() 129 return failures; in getFailures()
|
D | TestNgRunner.java | 128 private Throwable extractException(Map<String, Throwable> failures) { in extractException() argument 129 if (failures.isEmpty()) { in extractException() 132 if (failures.size() == 1) { in extractException() 133 return failures.values().iterator().next(); in extractException() 137 for (Map.Entry<String, Throwable> failureEntry : failures.entrySet()) { in extractException()
|
D | SingleTestNGTestRunListener.java | 36 private Map<String, Throwable> failures = new LinkedHashMap<>(); field in SingleTestNGTestRunListener 54 return Collections.unmodifiableMap(failures); in getFailures() 84 failures.put(id, throwable); in onTestFailure()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | ServicePermissionTest.java | 60 final List<String> failures = new ArrayList<>(); in testServicePermissions() local 66 failures.add(perm + " held by " + pi.packageName); in testServicePermissions() 70 if (!failures.isEmpty()) { in testServicePermissions() 72 + failures.toString()); in testServicePermissions()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | DevicePolicySafetyCheckerIntegrationTester.java | 92 List<String> failures = new ArrayList<>(); in testAllOperations() local 94 safeOperationTest(dpm, admin, failures, operation, /* overloaded= */ false); in testAllOperations() 98 safeOperationTest(dpm, admin, failures, operation, /* overloaded= */ true); in testAllOperations() 102 safeOperationTest(dpm, admin, failures, operation, /* overloaded= */ false); in testAllOperations() 106 safeOperationTest(dpm, admin, failures, operation, /* overloaded= */ true); in testAllOperations() 109 if (!failures.isEmpty()) { in testAllOperations() 110 fail(failures.size() + " operations failed: " + failures); in testAllOperations() 248 List<String> failures, int operation, boolean overloaded) { in safeOperationTest() argument 257 failures.add(name); in safeOperationTest() 262 failures.add(name + "(" + e + ")"); in safeOperationTest()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaFormatTest.java | 708 ArrayList<String> failures = new ArrayList<>(); in testKeyConsistency() local 716 failures.add("Key field " + key + " must be upper case"); in testKeyConsistency() 725 failures.add("Key field " + key + " should represent value " + value in testKeyConsistency() 731 logFailures("testKeyConsistency", failures); in testKeyConsistency() 778 ArrayList<String> failures = new ArrayList<>(); in testMimeTypeConsistency() local 787 failures.add("mimeType field " + mimeType + " must be upper case"); in testMimeTypeConsistency() 797 failures.add("Mime type " + mimeType in testMimeTypeConsistency() 804 logFailures("testMimeTypeConsistency", failures); in testMimeTypeConsistency() 817 private static void logFailures(@NonNull String logName, @NonNull List<String> failures) { in logFailures() argument 818 if (failures.size() > 0) { in logFailures() [all …]
|
/cts/apps/CameraITS/tests/scene2_a/ |
D | test_format_combos.py | 58 failures = [] 146 failures.append((n, r, f, b)) 153 num_fail = len(failures)
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/bluetooth/ |
D | OWNERS | 2 # Test failures should be assigned to bluetooth-fireteam@google.com
|
/cts/libs/vogar-expect/src/vogar/expect/ |
D | ExpectationStore.java | 64 private final Map<String, Expectation> failures = new LinkedHashMap<String, Expectation>(); field in ExpectationStore 92 for (Map.Entry<String, Expectation> entry : failures.entrySet()) { in get() 242 Map<String, Expectation> map = isFailure ? failures : outcomes; in readExpectation() 273 return failures; in getAllFailures()
|
/cts/tests/jdwp/runner/host-side/resources/expectations/ |
D | jdwp-known-failures.txt | 2 * This file contains the known failures for JDWP. 6 description: "CTS JDWP known failures",
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestResult.java | 92 public Enumeration<TestFailure> failures() { in failures() method in SensorCtsTestResult 93 return mWrappedTestResult.failures(); in failures()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 198 std::vector<std::unique_ptr<C2SettingResult>> failures; in configPixelFormat() local 202 c2_status_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in configPixelFormat() 203 if (status == C2_OK && failures.size() == 0u) { in configPixelFormat() 261 std::vector<std::unique_ptr<C2SettingResult>> failures; in workDone() local 276 component->config(configParam, C2_DONT_BLOCK, &failures); in workDone() 277 assert(failures.size() == 0u); in workDone()
|
/cts/tests/signature/api-check/hidden-api-blocklist-28-api/ |
D | Android.bp | 32 // limitations in the build that causes build failures due to duplicate copy
|
/cts/tests/signature/api-check/hidden-api-blocklist-27-api/ |
D | Android.bp | 32 // limitations in the build that causes build failures due to duplicate copy
|
/cts/tests/signature/api-check/hidden-api-killswitch-sdklist/ |
D | Android.bp | 29 // limitations in the build that causes build failures due to duplicate copy
|
/cts/tests/signature/api-check/hidden-api-blocklist-test-api/ |
D | Android.bp | 30 // limitations in the build that causes build failures due to duplicate copy
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator2.java | 153 testResult.failures.put(mFirstFailures.keyAt(i), mFirstFailures.valueAt(i)); in finish()
|
D | CapturedActivity.java | 69 public final SparseArray<Bitmap> failures = new SparseArray<>(); field in CapturedActivity.TestResult 365 saveFailureCaptures(result.failures, name); in verifyTest()
|
/cts/hostsidetests/theme/ |
D | README | 133 If any test failures are encountered, diff PNGs will be generated and collected
|