Home
last modified time | relevance | path

Searched refs:failureMap (Results 1 – 3 of 3) sorted by relevance

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFakeFileBackend.java41 private final @Nullable Map<OperationType, IOException> failureMap = field in FakeFileBackend
73 synchronized (failureMap) { in setFailure()
76 failureMap.put(t, ex); in setFailure()
79 failureMap.put(type, ex); in setFailure()
85 synchronized (failureMap) { in clearFailure()
87 failureMap.clear(); in clearFailure()
89 failureMap.remove(type); in clearFailure()
122 synchronized (failureMap) { in throwIf()
123 ioException = failureMap.get(type); in throwIf()
173 synchronized (failureMap) { in openForWrite()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DFlexibleDateFromCLDR.java80 failureMap.clear(); in set()
89 for (Iterator<String> it = failureMap.keySet().iterator(); it.hasNext();) { in showFlexibles()
91 String value = failureMap.get(item); in showFlexibles()
133 Map<String, String> failureMap = new TreeMap<>(); field in FlexibleDateFromCLDR
152failureMap.put(path, "\tWarning: can't set AppendItemFormat:\t" + key + ":\t" + value); in checkFlexibles()
162failureMap.put(path, "\tWarning: can't set AppendItemName:\t" + key + ":\t" + value); in checkFlexibles()
186failureMap.put(path, "Conflicting Patterns: \"" + value + "\"\t&\t\"" + patternInfo.conflictingPat… in checkFlexibles()
191 failureMap.put(path, e.getMessage()); in checkFlexibles()
335 return failureMap.get(path); in getFailurePath()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DGenerateDerivedAnnotations.java117 final Map<String, Integer> failureMap = new TreeMap<>(); in main() local
198 failureMap.put(locale, failures.size()); in main()
253 if (!failureMap.isEmpty()) { in main()
254failureMap.entrySet().forEach(e -> System.err.printf("ERROR: %s: %d errors\n", e.getKey(), e.getVa… in main()
255 System.err.printf("ERROR: Errors in %d/%d locales.\n", failureMap.size(), processCount); in main()