/aosp14/frameworks/base/cmds/idmap2/ |
H A D | static-checks.sh | 40 errors=$((errors + 1)) 48 local errors=0 55 errors=1 58 return $errors 106 errors=0 118 exit $errors
|
H A D | valgrind.sh | 40 errors=$((errors + 1)) 45 errors=0 57 exit $errors
|
/aosp14/system/core/libutils/ |
H A D | Errors_test.cpp | 35 TEST(errors, unwrap_or_return) { in TEST() argument 53 TEST(errors, unwrap_or_return_result) { in TEST() argument 69 TEST(errors, unwrap_or_return_result_int) { in TEST() argument 85 TEST(errors, unwrap_or_fatal) { in TEST() argument 91 TEST(errors, result_in_status) { in TEST() argument 112 TEST(errors, conversion_promotion) { in TEST() argument 126 TEST(errors, conversion_promotion_bool) { in TEST() argument 140 TEST(errors, conversion_promotion_char) { in TEST() argument 160 TEST(errors, conversion_construct) { in TEST() argument
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
H A D | PromptCredentialInteractorTest.kt | 152 val errors = mutableListOf<CredentialStatus.Fail?>() regex 153 val job = launch { interactor.verificationError.toList(errors) } 164 assertThat(errors.map { it?.error }).containsExactly(null) 178 val errors = mutableListOf<CredentialStatus.Fail?>() regex 179 val job = launch { interactor.verificationError.toList(errors) } 205 val errors = mutableListOf<CredentialStatus.Fail?>() regex 206 val job = launch { interactor.verificationError.toList(errors) } 218 assertThat(errors.last() as? CredentialStatus.Fail.Error) 239 val errors = mutableListOf<CredentialStatus.Fail?>() regex 240 val job = launch { interactor.verificationError.toList(errors) } [all …]
|
/aosp14/frameworks/base/tools/processors/immutability/test/android/processor/ |
H A D | ImmutabilityProcessorTest.kt | 127 ), errors = emptyList() 172 ), errors = listOf( 224 ), errors = listOf( 317 ), errors = listOf( 328 errors: List<CompilationError>, 332 fileToErrors = otherErrors + (source to errors), 343 fileToErrors.forEach { (file, errors) -> 344 errors.forEach { error -> 364 expect.that(compilation.errors().size).isEqualTo(fileToErrors.values.sumOf { it.size }) 368 compilation.errors()
|
/aosp14/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/ |
H A D | IconPackOverlayTest.java | 159 StringBuilder errors = new StringBuilder(); in containsAllOverlayedIcons() local 172 errors.append(String.format("[%s] is not contained in the target package [%s]", in containsAllOverlayedIcons() 178 if (!TextUtils.isEmpty(errors)) { in containsAllOverlayedIcons() 179 fail(errors.toString()); in containsAllOverlayedIcons() 191 StringBuilder errors = new StringBuilder(); in hasEqualVectorDrawableAttributes() local 214 errors.append(String.format( in hasEqualVectorDrawableAttributes() 222 errors.append(String.format( in hasEqualVectorDrawableAttributes() 229 errors.append(String.format("[drawable/%s] in [%s] does not have the same " in hasEqualVectorDrawableAttributes() 238 if (!TextUtils.isEmpty(errors)) { in hasEqualVectorDrawableAttributes() 239 fail(errors.toString()); in hasEqualVectorDrawableAttributes()
|
/aosp14/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
H A D | AppCompatibility.java | 157 List<String> errors = mAppErrors.get(packageName); in testAppStability() local 158 for (int i = 0; i < MAX_NUM_CRASH_SNIPPET && i < errors.size(); i++) { in testAppStability() 159 String err = errors.get(i); in testAppStability() 164 if (errors.size() > MAX_NUM_CRASH_SNIPPET) { in testAppStability() 166 errors.size() - MAX_NUM_CRASH_SNIPPET)); in testAppStability() 284 List<String> errors; in addProcessError() local 286 errors = mAppErrors.get(pkgName); in addProcessError() 288 errors = new ArrayList<>(); in addProcessError() 290 errors.add(String.format("### Type: %s, Details:\n%s", errorType, errorInfo)); in addProcessError() 291 mAppErrors.put(pkgName, errors); in addProcessError()
|
/aosp14/system/core/init/ |
H A D | apex_init_util.cpp | 70 std::vector<std::string> errors; in ParseConfigs() local 75 errors.push_back(result.error().message()); in ParseConfigs() 78 if (!errors.empty()) { in ParseConfigs() 79 return Error() << "Unable to parse apex configs: " << base::Join(errors, "|"); in ParseConfigs()
|
H A D | interface_utils.cpp | 85 const std::string& errors = error_stream.str(); in CheckInterfaceInheritanceHierarchy() local 86 if (!errors.empty()) { in CheckInterfaceInheritanceHierarchy() 87 return Error() << errors; in CheckInterfaceInheritanceHierarchy()
|
H A D | host_init_verifier.cpp | 209 auto errors = std::vector<std::string>{}; in HandlePropertyContexts() 210 ParsePropertyInfoFile(file_contents, true, property_infos, &errors); in HandlePropertyContexts() 211 for (const auto& error : errors) { in HandlePropertyContexts() 214 if (!errors.empty()) { in HandlePropertyContexts()
|
H A D | first_stage_init.cpp | 231 std::vector<std::pair<std::string, int>> errors; in FirstStageMain() local 233 if ((x) != 0) errors.emplace_back(#x " failed", errno); in FirstStageMain() 305 if (!errors.empty()) { in FirstStageMain() 306 for (const auto& [error_string, error_errno] : errors) { in FirstStageMain()
|
/aosp14/system/core/property_service/libpropertyinfoserializer/ |
H A D | property_info_file.cpp | 108 std::vector<std::string>* errors) { in ParsePropertyInfoFile() argument 111 errors->clear(); in ParsePropertyInfoFile() 123 errors->emplace_back(parse_error); in ParsePropertyInfoFile()
|
/aosp14/system/core/property_service/property_info_checker/ |
H A D | property_info_checker.cpp | 155 auto errors = std::vector<std::string>{}; in main() 156 ParsePropertyInfoFile(file_contents, true, &property_info_entries, &errors); in main() 157 if (!errors.empty()) { in main() 158 for (const auto& error : errors) { in main()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/ |
H A D | TimingsTraceAndSlogTest.java | 81 final List<String> errors = new ArrayList<>(); in testDifferentThreads() local 86 errors.add("traceBegin should fail on a different thread"); in testDifferentThreads() 91 errors.add("traceEnd should fail on a different thread"); in testDifferentThreads() 102 assertThat(errors).isEmpty(); in testDifferentThreads()
|
/aosp14/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | UnitTestSuiteBuilderTest.java | 70 private Set<String> errors = new HashSet<String>(); field in UnitTestSuiteBuilderTest.SuiteExecutionRecorder 74 errors.add(testName(test)); in addError() 97 return errors.contains(testName); in errored()
|
H A D | TestSuiteBuilderTest.java | 192 private Set<String> errors = new HashSet<String>(); 196 errors.add(testName(test)); 219 return errors.contains(testName);
|
/aosp14/frameworks/base/core/tests/mockingcoretests/src/android/util/ |
H A D | TimingsTraceLogTest.java | 80 final List<String> errors = new ArrayList<>(); in testDifferentThreads() local 85 errors.add("traceBegin should fail on a different thread"); in testDifferentThreads() 90 errors.add("traceEnd should fail on a different thread"); in testDifferentThreads() 101 assertThat(errors).isEmpty(); in testDifferentThreads()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsShellCommand.java | 316 final List<PasswordValidationError> errors; in isNewCredentialSufficient() local 318 errors = PasswordMetrics.validatePassword(requiredMetrics, requiredComplexity, in isNewCredentialSufficient() 323 errors = PasswordMetrics.validatePasswordMetrics( in isNewCredentialSufficient() 326 if (!errors.isEmpty()) { in isNewCredentialSufficient() 328 "New credential doesn't satisfy admin policies: " + errors.get(0)); in isNewCredentialSufficient()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserSystemPackageInstaller.java | 319 final List<String> errors = getPackagesWhitelistErrors(mode); in checkWhitelistedSystemPackages() local 320 final int numberErrors = errors.size(); in checkWhitelistedSystemPackages() 332 final String msg = errors.get(i); in checkWhitelistedSystemPackages() 377 final List<String> errors = new ArrayList<>(); in getPackagesWhitelistErrors() local 390 errors.add(String.format(logMessageFmt, pkgName)); in getPackagesWhitelistErrors() 394 return errors; in getPackagesWhitelistErrors() 796 final List<String> errors = getPackagesWhitelistErrors(mode); in dumpPackageWhitelistProblems() local 797 showIssues(pw, verbose, errors, "errors"); in dumpPackageWhitelistProblems()
|
/aosp14/frameworks/base/tools/fonts/ |
H A D | fontchain_linter.py | 400 errors = [] 404 errors.append('%s is not supported in the emoji font.' % printable(sequence)) 417 errors.append('%s support unexpected in the emoji font.' % printable(sequence)) 424 errors.append('%s and %s should map to the same glyph.' % ( 442 errors.append('The sequences %s should not result in the same glyph %s' % ( 446 …assert not errors, '%d emoji font errors:\n%s\n%d emoji font coverage errors' % (len(errors), '\n'…
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaCodecInfo.java | 2939 int errors = ERROR_NONE_SUPPORTED; in applyLevelLimits() local 3008 errors |= ERROR_UNSUPPORTED; in applyLevelLimits() 3022 errors &= ~ERROR_NONE_SUPPORTED; in applyLevelLimits() 3081 errors |= ERROR_UNSUPPORTED; in applyLevelLimits() 3292 errors &= ~ERROR_NONE_SUPPORTED; in applyLevelLimits() 3344 errors &= ~ERROR_NONE_SUPPORTED; in applyLevelLimits() 3411 errors &= ~ERROR_NONE_SUPPORTED; in applyLevelLimits() 3515 errors &= ~ERROR_NONE_SUPPORTED; in applyLevelLimits() 3598 errors &= ~ERROR_NONE_SUPPORTED; in applyLevelLimits() 3619 errors |= ERROR_UNSUPPORTED; in applyLevelLimits() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tools/lint/ |
H A D | README | 9 errors in the codebase. It is generated using ./tools/lint/update_baseline.sh 19 3. If there are lint errors that should be fixed, but cannot be done
|
/aosp14/frameworks/base/core/java/android/app/backup/ |
H A D | BackupRestoreEventLogger.java | 404 Map<String, Integer> errors = new ArrayMap<>(); 407 errors.put(key, errorsBundle.getInt(key)); 415 result.mErrors.putAll(errors);
|
/aosp14/system/core/property_service/libpropertyinfoserializer/include/property_info_serializer/ |
H A D | property_info_serializer.h | 45 std::vector<std::string>* errors);
|
/aosp14/system/core/debuggerd/crasher/ |
H A D | Android.bp | 18 tidy: false, // crasher.cpp tests many memory access errors
|