Home
last modified time | relevance | path

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

/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp180 /*out*/ std::vector<std::string>* errors) { in check_lib() argument
207 errors->push_back("The library \"" + path + in check_lib()
213 errors->push_back("The library \"" + path + in check_lib()
223 errors->push_back("The library \"" + path + "\" is not a public library but it loaded."); in check_lib()
229 errors->push_back("unexpected dlerror: " + err); in check_lib()
243 /*out*/ std::vector<std::string>* errors) { in check_path() argument
253 errors->push_back("Failed to open " + dir + ": " + strerror(errno)); in check_path()
269 test_system_load_library, check_absence, errors)) { in check_path()
338 std::vector<std::string> errors; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() local
344 errors.push_back("Errors in vendor public library file:" + error_msg); in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
[all …]
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersNoAppCrashesTest.java171 Set<String> errors = evaluateAndReturnAppCrashes(base); in apply()
172 if (errors.isEmpty()) { in apply()
175 CLog.e("Retrying due to app crashes: " + errors); in apply()
177 errors.retainAll(evaluateAndReturnAppCrashes(base)); in apply()
178 assertTrue("App error dialog(s) are present after 2 attempts: " + errors, in apply()
179 errors.isEmpty()); in apply()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java396 final StringBuilder errors = new StringBuilder(); in checkForAvailabilityInResultData() local
408 errors.append(String.format("External site connection failed: expected %s, got %s\n", in checkForAvailabilityInResultData()
412 errors.append(String.format("Connection state mismatch: expected %s/%s, got %s/%s\n", in checkForAvailabilityInResultData()
416 if (errors.length() > 0) { in checkForAvailabilityInResultData()
417 errors.append("\tnetworkInfo: " + networkInfo + "\n"); in checkForAvailabilityInResultData()
418 errors.append("\tconnectionCheckDetails: " + connectionCheckDetails + "\n"); in checkForAvailabilityInResultData()
420 return errors.toString(); in checkForAvailabilityInResultData()
753 final String[] errors = new String[]{null}; in launchComponentAndAssertNetworkAccess() local
754 extras.putBinder(KEY_NETWORK_STATE_OBSERVER, getNewNetworkStateObserver(latch, errors)); in launchComponentAndAssertNetworkAccess()
758 if (!errors[0].isEmpty()) { in launchComponentAndAssertNetworkAccess()
[all …]
/cts/tests/sensor/src/android/hardware/cts/
DSensorAdditionalInfoTest.java56 List<String> errors = new ArrayList<String>(); in testSensorAdditionalInfo() local
69 errors.add("Sensor: " + s.getName() + in testSensorAdditionalInfo()
78 errors.add("Sensor: " + s.getName() + ", error: " + e.getMessage()); in testSensorAdditionalInfo()
81 if (errors.size() > 0) { in testSensorAdditionalInfo()
85 for (String error : errors) { in testSensorAdditionalInfo()
DSensorParameterRangeTest.java221 List<String> errors = new ArrayList<>(); in testStaticSensorId() local
225 errors.add(String.format("sensor \"%s\" has id %d", s.getName(), id)); in testStaticSensorId()
228 if (errors.size() > 0) { in testStaticSensorId()
230 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/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/
DListeningPortsTest.java103 String errors = ""; in testNoAccessibleListeningPorts() local
122 errors += "\nFound port listening on addr=" in testNoAccessibleListeningPorts()
128 if (!errors.equals("")) { in testNoAccessibleListeningPorts()
129 throw new ListeningPortsAssertionError(errors); in testNoAccessibleListeningPorts()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java1297 @NonNull ArrayList<Throwable> errors) { in TestThread() argument
1307 mErrors = errors; in TestThread()
1351 @NonNull ArrayList<Throwable> errors) { in QueuerThread() argument
1353 requestsInFlight, data, errors); in QueuerThread()
1454 @NonNull HashMap<Integer, Integer> data, @NonNull ArrayList<Throwable> errors) { in ReceiverThread() argument
1456 requestsInFlight, data, errors); in ReceiverThread()
1603 ArrayList<Throwable> errors = new ArrayList<>(); in parallelUsbRequestsTests() local
1607 outRequestRecycler, bufferRecycler, requestsInFlight, data, counter, errors); in parallelUsbRequestsTests()
1609 outRequestRecycler, bufferRecycler, requestsInFlight, data, counter, errors); in parallelUsbRequestsTests()
1613 outRequestRecycler, bufferRecycler, requestsInFlight, data, errors); in parallelUsbRequestsTests()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestResult.java80 public Enumeration<TestFailure> errors() { in errors() method in GnssCtsTestResult
81 return mWrappedTestResult.errors(); in 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/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/CameraITS/build/scripts/
Dgpylint_rcfile17 # F0401 ignores import errors since gpylint does not have the python paths
18 # C6304 ignore Copyright line errors.
73 # note). You have access to the variables errors warning, statement which
74 # 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.java1660 final List<Throwable> errors = new ArrayList<>(); in testActiveTransactionIsBlocking() local
1668 errors.add(t); in testActiveTransactionIsBlocking()
1683 assertTrue("ReadThread failed with errors: " + errors, errors.isEmpty()); in testActiveTransactionIsBlocking()