Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 22 of 22) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DObjectTracker.java95 ArrayList<Throwable> errors = null; in tearDown() local
103 if (errors == null) { in tearDown()
104 errors = new ArrayList<>(); in tearDown()
106 errors.add(t); in tearDown()
122 if (errors == null) { in tearDown()
123 errors = new ArrayList<>(); in tearDown()
125 errors.add(t); in tearDown()
130 if (errors != null) { in tearDown()
131 errors.forEach(errorConsumer); in tearDown()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp181 /*out*/ std::vector<std::string>* errors) { in check_lib() argument
208 errors->push_back("The library \"" + path + in check_lib()
214 errors->push_back("The library \"" + path + in check_lib()
224 errors->push_back("The library \"" + path + "\" is not a public library but it loaded."); in check_lib()
230 errors->push_back("unexpected dlerror: " + err); in check_lib()
244 /*out*/ std::vector<std::string>* errors) { in check_path() argument
254 errors->push_back("Failed to open " + dir + ": " + strerror(errno)); in check_path()
270 test_system_load_library, check_absence, errors)) { in check_path()
337 std::vector<std::string> errors; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() local
343 errors.push_back("Errors in system public library file:" + error_msg); in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
[all …]
/cts/tests/sensor/src/android/hardware/cts/
DSensorAdditionalInfoTest.java56 List<String> errors = new ArrayList<String>(); in testSensorAdditionalInfo() local
68 errors.add("Sensor: " + s.getName() + in testSensorAdditionalInfo()
77 errors.add("Sensor: " + s.getName() + ", error: " + e.getMessage()); in testSensorAdditionalInfo()
80 if (errors.size() > 0) { in testSensorAdditionalInfo()
84 for (String error : errors) { in testSensorAdditionalInfo()
DSensorParameterRangeTest.java244 List<String> errors = new ArrayList<>(); in testStaticSensorId() local
248 errors.add(String.format("sensor \"%s\" has id %d", s.getName(), id)); in testStaticSensorId()
251 if (errors.size() > 0) { in testStaticSensorId()
253 TextUtils.join(", ", errors) + " >"; in testStaticSensorId()
/cts/tests/signature/intent-check/src/android/signature/cts/intent/
DIntentTest.java81 Set<String> errors = new HashSet<>(); in shouldNotFindUnexpectedIntents() local
104 errors.add(error); in shouldNotFindUnexpectedIntents()
113 Assert.assertTrue(errors.toString(), errors.isEmpty()); in shouldNotFindUnexpectedIntents()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java283 Set<String> errors = evaluateAndReturnAppCrashes(base); in apply()
284 if (errors.isEmpty()) { in apply()
289 CLog.e("Retrying due to app crashes: %s", errors); in apply()
291 errors.retainAll(evaluateAndReturnAppCrashes(base)); in apply()
293 .that(errors).isEmpty(); in apply()
/cts/hostsidetests/car/src/android/car/cts/
DPreCreateUsersHostTest.java188 List<String> errors = new ArrayList<>(); in appPermissionsPreCreatedUserPackagesTest() local
190 addError(errors, () -> in appPermissionsPreCreatedUserPackagesTest()
195 assertWithMessage("found %s error", errors.size()).that(errors).isEmpty(); in appPermissionsPreCreatedUserPackagesTest()
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/
DListeningPortsTest.java109 String errors = ""; in testNoAccessibleListeningPorts() local
128 errors += "\nFound port listening on addr=" in testNoAccessibleListeningPorts()
134 if (!errors.equals("")) { in testNoAccessibleListeningPorts()
135 throw new ListeningPortsAssertionError(errors); in testNoAccessibleListeningPorts()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java1301 @NonNull ArrayList<Throwable> errors) { in TestThread() argument
1311 mErrors = errors; in TestThread()
1355 @NonNull ArrayList<Throwable> errors) { in QueuerThread() argument
1357 requestsInFlight, data, errors); in QueuerThread()
1458 @NonNull HashMap<Integer, Integer> data, @NonNull ArrayList<Throwable> errors) { in ReceiverThread() argument
1460 requestsInFlight, data, errors); in ReceiverThread()
1741 ArrayList<Throwable> errors = new ArrayList<>(); in parallelUsbRequestsTests() local
1745 outRequestRecycler, bufferRecycler, requestsInFlight, data, counter, errors); in parallelUsbRequestsTests()
1747 outRequestRecycler, bufferRecycler, requestsInFlight, data, counter, errors); in parallelUsbRequestsTests()
1751 outRequestRecycler, bufferRecycler, requestsInFlight, data, errors); in parallelUsbRequestsTests()
[all …]
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/
DExceptionActivity.java17 package com.android.server.cts.errors;
DNativeActivity.java17 package com.android.server.cts.errors;
DReceiver.java17 package com.android.server.cts.errors;
DANRActivity.java17 package com.android.server.cts.errors;
DErrorsTests.java16 package com.android.server.cts.errors;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestResult.java82 public Enumeration<TestFailure> errors() { in errors() method in SensorCtsTestResult
83 return mWrappedTestResult.errors(); in errors()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontManagerTest.java163 List<String> errors = readAll(proc.getErrorStream()); in assertSecurityException() local
164 assertThat(errors).isNotEmpty(); in assertSecurityException()
165 assertThat(errors.get(0)).isEqualTo("Only shell or root user can execute font command."); in assertSecurityException()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DSuspendPackagesTest.java234 final String errors = callBackErrors.get(); in testLauncherCallback() local
235 assertTrue("Callbacks did not complete as expected: " + errors, errors.isEmpty()); in testLauncherCallback()
/cts/hostsidetests/jdwptunnel/sampleapps/ddmsapp/agent/
Dddms_agent.cc63 Dealloc(cur_info->id, cur_info->short_description, cur_info->params, cur_info->errors); in GetExtension()
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile17 # F0401 ignores import errors since gpylint does not have the python paths
18 # C6304 ignore Copyright line errors.
75 # note). You have access to the variables errors warning, statement which
76 # respectively contain the number of errors / warnings messages and the total
/cts/tests/signature/api-check/src/jni/
Dclassdescriptors.cpp148 Dealloc(curInfo->id, curInfo->short_description, curInfo->params, curInfo->errors); in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteDatabaseTest.java1907 final List<Throwable> errors = new ArrayList<>(); in testActiveTransactionIsBlocking() local
1915 errors.add(t); in testActiveTransactionIsBlocking()
1930 assertTrue("ReadThread failed with errors: " + errors, errors.isEmpty()); in testActiveTransactionIsBlocking()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...