/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | ProtoLogCallProcessorImplTest.kt | 140 val errors = visitor.process(StaticJavaParser.parse(code), processor, "") in process_groupNotImported() constant 142 Truth.assertThat(errors).hasSize(1) in process_groupNotImported() 143 Truth.assertThat(errors.first()).isInstanceOf(InvalidProtoLogCallException::class.java) in process_groupNotImported() 175 val errors = visitor.process(StaticJavaParser.parse(code), processor, "") in process_unknownGroup() constant 177 Truth.assertThat(errors).hasSize(1) in process_unknownGroup() 178 Truth.assertThat(errors.first()).isInstanceOf(InvalidProtoLogCallException::class.java) in process_unknownGroup() 192 val errors = visitor.process(StaticJavaParser.parse(code), processor, "") in process_staticGroup() constant 194 Truth.assertThat(errors).hasSize(1) in process_staticGroup() 195 Truth.assertThat(errors.first()).isInstanceOf(InvalidProtoLogCallException::class.java) in process_staticGroup() 209 val errors = visitor.process(StaticJavaParser.parse(code), processor, "") in process_badGroup() constant [all …]
|
/frameworks/base/cmds/idmap2/ |
D | static-checks.sh | 40 errors=$((errors + 1)) 48 local errors=0 55 errors=1 58 return $errors 106 errors=0 118 exit $errors
|
D | valgrind.sh | 40 errors=$((errors + 1)) 45 errors=0 57 exit $errors
|
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/ |
D | vulkan_xml.go | 455 return nil, errors.New("Unknown type without category: \"" + typе.Name + "\"") 461 return nil, errors.New("Members in non-struct type : \"" + typе.Name + "\"") 565 …return nil, nil, nil, nil, nil, errors.New("Cannot make any progress: type \"" + xml_types_list[0]… 577 return nil, nil, nil, nil, nil, errors.New("Duplicated type \"" + xml_type.Name + "\"") 612 return nil, nil, nil, nil, nil, errors.New("Unknown platform type \"" + xml_type.Name + "\"") 614 … return nil, nil, nil, nil, nil, errors.New("Unknown type category \"" + xml_type.Category + "\"") 681 …return nil, nil, nil, nil, nil, errors.New("Unexpected prototype \"" + command.Proto.RawXML + "\"") 704 …return nil, nil, nil, nil, nil, errors.New("Unknown return function type \"" + command.Proto.Type … 738 errors.New("Couldn't find extensions SPEC_VERSION") 753 return nil, errors.New("Unexpected define \"" + typе.Name + "\": \"" + typе.RawXML + "\"\"") [all …]
|
/frameworks/base/tools/processors/immutability/test/android/processor/ |
D | ImmutabilityProcessorTest.kt | 127 ), errors = emptyList() in <lambda>() 172 ), errors = listOf( in <lambda>() 224 ), errors = listOf( in <lambda>() 317 ), errors = listOf( in <lambda>() 328 errors: List<CompilationError>, in <lambda>() 332 fileToErrors = otherErrors + (source to errors), in <lambda>() 343 fileToErrors.forEach { (file, errors) -> in <lambda>() method 344 errors.forEach { error -> in <lambda>() 364 expect.that(compilation.errors().size).isEqualTo(fileToErrors.values.sumOf { it.size }) in <lambda>() 368 compilation.errors() in <lambda>()
|
/frameworks/base/ravenwood/tools/hoststubgen/lib/com/android/hoststubgen/visitors/ |
D | Helper.kt | 40 errors: HostStubGenErrors, in checkSubstitutionMethodCompatibility() 44 errors.onErrorFound( in checkSubstitutionMethodCompatibility() 52 errors.onErrorFound( in checkSubstitutionMethodCompatibility() 59 errors.onErrorFound( in checkSubstitutionMethodCompatibility()
|
/frameworks/proto_logging/stats/enums/stats/mobiledatadownload/ |
D | enums.proto | 23 // The errors from the android downloader v1 outside MDD 39 // The errors from the android downloader v2 outside MDD 88 // Download errors related to isolated file structure 92 // Download errors related to importing inline files 99 // Download errors related to URL parsing 103 // Download errors for manifest file group populator.
|
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/ |
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()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | OnTeardownRule.kt | 65 val errors = mutableListOf<Throwable>() in finished() constant 70 errors.add(e) in finished() 73 MultipleFailureException.assertEmpty(errors) in finished()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/domain/interactor/ |
D | PromptCredentialInteractorTest.kt | 240 val errors = mutableListOf<CredentialStatus.Fail?>() in <lambda>() constant 241 val job = launch { interactor.verificationError.toList(errors) } in <lambda>() 252 assertThat(errors.map { it?.error }).containsExactly(null) in <lambda>() 266 val errors = mutableListOf<CredentialStatus.Fail?>() in <lambda>() constant 267 val job = launch { interactor.verificationError.toList(errors) } in <lambda>() 279 assertThat(errors.map { it?.error }).containsExactly(null, errorMessage).inOrder() in <lambda>() 293 val errors = mutableListOf<CredentialStatus.Fail?>() in <lambda>() constant 294 val job = launch { interactor.verificationError.toList(errors) } in <lambda>() 305 assertThat(errors.map { it?.error }).containsExactly(null, error).inOrder() in <lambda>() 306 assertThat(errors.last() as? CredentialStatus.Fail.Error) in <lambda>() [all …]
|
/frameworks/base/packages/SettingsLib/Graph/src/com/android/settingslib/graph/ |
D | PreferenceGetterApi.kt | 72 val errors: Map<PreferenceCoordinate, @PreferenceGetterErrorCode Int>, constant in com.android.settingslib.graph.PreferenceGetterResponse 106 val errors = mutableMapOf<PreferenceCoordinate, Int>() in hasPermission() constant 116 errors[coordinate] = PreferenceGetterErrorCode.NOT_FOUND in hasPermission() 139 errors[coordinate] = PreferenceGetterErrorCode.NOT_FOUND in hasPermission() 172 if (errorCode != PreferenceGetterErrorCode.OK) errors[coordinate] = errorCode in hasPermission() 184 return PreferenceGetterResponse(errors, preferences) in hasPermission()
|
D | PreferenceGetterCodecs.kt | 54 data.errors.toErrorsByteArray()?.let { putByteArray(ERRORS, it) } in encode() 98 val errors = mutableMapOf<PreferenceCoordinate, Int>() in decode() constant 101 errors[coordinate] = parcel.readInt() in decode() 104 return errors in decode()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
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()
|
/frameworks/base/ravenwood/tools/hoststubgen/lib/com/android/hoststubgen/ |
D | HostStubGenClassProcessor.kt | 49 private val errors: HostStubGenErrors = HostStubGenErrors(), in <lambda>() constant in com.android.hoststubgen.HostStubGenClassProcessor 103 errors, in <lambda>() 131 filter = ImplicitOutputFilter(errors, allClasses, filter) in <lambda>() 134 filter = SanitizationFilter(errors, allClasses, filter) in <lambda>() 151 errors = errors, in <lambda>()
|
/frameworks/base/ravenwood/tools/hoststubgen/lib/com/android/hoststubgen/filters/ |
D | SanitizationFilter.kt | 28 private val errors: HostStubGenErrors, in <lambda>() constant in com.android.hoststubgen.filters.SanitizationFilter 59 errors.onErrorFound("Method $methodName$descriptor requires a redirection " + in <lambda>() 72 errors.onErrorFound("Redirection class $clazz must have @KeepWholeClass.") in <lambda>()
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | ProtoLogCallProcessorImpl.kt | 96 val errors = mutableListOf<CodeProcessingException>() in <lambda>() constant 108 errors.add(InvalidProtoLogCallException( in <lambda>() 126 errors.add(InvalidProtoLogCallException( in <lambda>() 146 errors.add(InvalidProtoLogCallException( in <lambda>() 152 return errors in <lambda>()
|
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | java_writer.cpp | 374 int errors = 0; in write_stats_log_java() local 380 errors += write_srcs_header(out, JAVA_INCLUDE_SRCS_DIR, excludeList); in write_stats_log_java() 398 errors += write_java_histogram_helpers(out, atoms.decls, staticMethods); in write_stats_log_java() 404 errors += write_java_pushed_methods(out, atoms.signatureInfoMap, attributionDecl, minApiLevel, in write_stats_log_java() 406 errors += write_java_non_chained_methods(out, atoms.nonChainedSignatureInfoMap, in write_stats_log_java() 408 errors += write_java_pulled_methods(out, atoms.pulledAtomsSignatureInfoMap, attributionDecl, in write_stats_log_java() 411 errors += write_java_work_source_methods(out, atoms.signatureInfoMap); in write_stats_log_java() 415 errors += write_java_srcs_classes(out, JAVA_INCLUDE_SRCS_DIR, excludeList); in write_stats_log_java() 419 errors += write_java_q_logger_class(out, atoms.signatureInfoMap, attributionDecl); in write_stats_log_java() 424 return errors; in write_stats_log_java()
|
/frameworks/proto_logging/stats/express/catalog/ |
D | stability_errors.cfg | 3 display_name: "Dropped errors count due to rate limit buffer expiry" 4 description: "Counting how many errors were dropped due to rate limit buffer expiry"
|
/frameworks/compile/slang/tests/F_reflection3264_multifile/ |
D | reflection3264_multifile_3.rscript | 5 // reflection3264_multifile_2.rs has errors, so we never get here, and 6 // never report errors for this file's 'v' and 'w'.
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
D | SQLiteDatabaseTest.java | 254 List<Throwable> errors, Phaser ticker) { in concurrentReadOnlyReader() argument 270 errors.add(t); in concurrentReadOnlyReader() 283 List<Throwable> errors, Phaser ticker) { in concurrentImmediateWriter() argument 293 errors.add(t); in concurrentImmediateWriter() 323 final List<Throwable> errors = Collections.synchronizedList(new ArrayList<Throwable>()); in testReadOnlyTransaction() local 332 concurrentReadOnlyReader(mDatabase, 4, 2, errors, ticker); in testReadOnlyTransaction() 335 concurrentReadOnlyReader(mDatabase, 4, 2, errors, ticker); in testReadOnlyTransaction() 338 concurrentImmediateWriter(mDatabase, 4, errors, ticker); in testReadOnlyTransaction() 358 assertTrue("ReadThread failed with errors: " + errors, errors.isEmpty()); in testReadOnlyTransaction()
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
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()
|
/frameworks/av/media/libmedia/ |
D | VideoCapabilities.cpp | 1068 int errors = ERROR_CAPABILITIES_NONE_SUPPORTED; in applyLevelLimits() local 1121 errors |= ERROR_CAPABILITIES_UNRECOGNIZED; in applyLevelLimits() 1133 errors |= ERROR_CAPABILITIES_UNRECOGNIZED; in applyLevelLimits() 1145 errors |= ERROR_CAPABILITIES_UNRECOGNIZED; in applyLevelLimits() 1149 errors &= ~ERROR_CAPABILITIES_NONE_SUPPORTED; in applyLevelLimits() 1179 errors |= ERROR_CAPABILITIES_UNRECOGNIZED; in applyLevelLimits() 1197 errors |= ERROR_CAPABILITIES_UNRECOGNIZED; in applyLevelLimits() 1205 errors |= ERROR_CAPABILITIES_UNSUPPORTED; in applyLevelLimits() 1210 errors |= ERROR_CAPABILITIES_UNRECOGNIZED; in applyLevelLimits() 1213 errors &= ~ERROR_CAPABILITIES_NONE_SUPPORTED; in applyLevelLimits() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/ |
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()
|
/frameworks/native/vulkan/vkjson/ |
D | vkjson.h | 403 std::string* errors); 409 std::string* errors); 415 std::string* errors); 429 std::string* errors) { in VkJsonAllPropertiesFromJson() argument 430 return VkJsonDeviceFromJson(json, properties, errors); in VkJsonAllPropertiesFromJson()
|
/frameworks/base/core/tests/mockingcoretests/src/android/util/ |
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()
|