/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/ |
ErrorReporter.java | 38 import com.intellij.util.Consumer; 58 final Consumer<SubmittedReportInfo> consumer) { 89 Consumer<String> successCallback = new Consumer<String>() { 94 consumer.consume(reportInfo); 103 Consumer<Exception> errorCallback = new Consumer<Exception>() {
|
/external/llvm/tools/llvm-diff/ |
llvm-diff.cpp | 78 DiffConsumer Consumer; 79 DifferenceEngine Engine(Consumer); 91 return Consumer.hadDifferences();
|
/external/swiftshader/third_party/LLVM/tools/llvm-diff/ |
llvm-diff.cpp | 81 DiffConsumer Consumer(LModule, RModule); 82 DifferenceEngine Engine(Context, Consumer); 97 return Consumer.hadDifferences();
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
ScaleHelper.java | 32 import java.util.function.Consumer; 43 private final Consumer<Float> mScaleCallback; 47 public ScaleHelper(Context context, Features features, Consumer<Float> scaleCallback) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionsProviderImpl.java | 23 import com.android.quicksearchbox.util.Consumer; 66 Consumer<SourceResult> receiver; 92 private class SuggestionCursorReceiver implements Consumer<SourceResult> {
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
SpliteratorTestHelper.java | 65 testSpliterator(supplier, (Consumer<Integer> b) -> b, asserter); 74 class BoxingAdapter implements Consumer<Integer>, IntConsumer { 75 private final Consumer<Integer> b; 77 BoxingAdapter(Consumer<Integer> b) { 101 class BoxingAdapter implements Consumer<Long>, LongConsumer { 102 private final Consumer<Long> b; 104 BoxingAdapter(Consumer<Long> b) { 128 class BoxingAdapter implements Consumer<Double>, DoubleConsumer { 129 private final Consumer<Double> b; 131 BoxingAdapter(Consumer<Double> b) [all...] |
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
SpliteratorTestHelper.java | 65 testSpliterator(supplier, (Consumer<Integer> b) -> b, asserter); 74 class BoxingAdapter implements Consumer<Integer>, IntConsumer { 75 private final Consumer<Integer> b; 77 BoxingAdapter(Consumer<Integer> b) { 101 class BoxingAdapter implements Consumer<Long>, LongConsumer { 102 private final Consumer<Long> b; 104 BoxingAdapter(Consumer<Long> b) { 128 class BoxingAdapter implements Consumer<Double>, DoubleConsumer { 129 private final Consumer<Double> b; 131 BoxingAdapter(Consumer<Double> b) [all...] |
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
BroadcastRpc.java | 28 import java.util.function.Consumer; 45 public Payload.Response invoke(String targetPackage, Consumer<Builder> c) throws Exception {
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
LiteralExpr.java | 30 import java.util.function.Consumer; 95 public void ifLiteralExpr(Consumer<LiteralExpr> action) {
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/logic/ |
FunctionInterfaceLogicTest.java | 27 import java.util.function.Consumer; 47 ResolvedType consumer = new ReferenceTypeImpl(new ReflectionInterfaceDeclaration(Consumer.class, typeSolver), typeSolver); local 48 assertEquals(true, FunctionalInterfaceLogic.getFunctionalMethod(consumer).isPresent()); 49 assertEquals("accept", FunctionalInterfaceLogic.getFunctionalMethod(consumer).get().getName());
|
/external/perfetto/include/perfetto/tracing/core/ |
service.h | 38 class Consumer; 51 // which forwards commands received from a remote producer or consumer to 104 // The API for the Consumer port of the Service. 108 // 2. The transport layer (e.g., src/ipc) when the consumer and 127 // Tracing data will be delivered invoking Consumer::OnTraceData(). 159 // Coonects a Consumer instance and obtains a ConsumerEndpoint, which is 160 // essentially a 1:1 channel between one Consumer and the Service. 161 // The caller has to guarantee that the passed Consumer will be alive as long 164 // to destroy the Consumer once the Consumer::OnDisconnect() has been invoked [all...] |
/frameworks/base/core/java/android/os/ |
PowerManagerInternal.java | 21 import java.util.function.Consumer; 159 public void registerLowPowerModeObserver(int serviceType, Consumer<PowerSaveState> listener) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/ |
ExtensionFragmentListener.java | 24 import java.util.function.Consumer; 30 public class ExtensionFragmentListener<T extends FragmentBase> implements Consumer<T> {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
Utils.java | 23 import java.util.function.Consumer; 31 public static <T> void safeForeach(List<T> list, Consumer<T> c) {
|
/libcore/ojluni/src/main/java/java/time/format/ |
DateTimeParseContext.java | 73 import java.util.function.Consumer; 113 private ArrayList<Consumer<Chronology>> chronoListeners = null; 386 Consumer<Chronology>[] tmp = new Consumer[1]; 387 Consumer<Chronology>[] listeners = chronoListeners.toArray(tmp); 389 for (Consumer<Chronology> l : listeners) { 396 * Adds a Consumer<Chronology> to the list of listeners to be notified 398 * @param listener a Consumer<Chronology> to be called when Chronology changes 400 void addChronoChangedListener(Consumer<Chronology> listener) { 402 chronoListeners = new ArrayList<Consumer<Chronology>>() [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestActionHandler.java | 27 import java.util.function.Consumer; 81 public void getRootDocument(RootInfo root, int timeout, Consumer<DocumentInfo> callback) {
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
IconLoaderTest.java | 19 import com.android.quicksearchbox.util.Consumer; 50 AssertConsumer<Object> consumer = new AssertConsumer<Object>(); local 51 value.getLater(consumer); 52 consumer.assertNull(); 60 AssertConsumer<Object> consumer = new AssertConsumer<Object>(); local 61 value.getLater(consumer); 62 consumer.assertNotNull(); 66 protected static class AssertConsumer<C> implements Consumer<C> {
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
SingleMessageHandler.java | 25 import java.util.function.Consumer; 50 events.forEach(new Consumer<EventType>() {
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Tooling/Refactoring/ |
RefactoringActionRulesInternal.h | 49 RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, 57 return Consumer.handleError(std::move(Err)); 60 RuleType((*std::get<Is>(Values))...).invoke(Consumer, Context); 127 void invoke(RefactoringResultConsumer &Consumer, 130 Consumer, Context, Requirements,
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Tooling/Refactoring/ |
RefactoringActionRulesInternal.h | 49 RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, 57 return Consumer.handleError(std::move(Err)); 60 RuleType((*std::get<Is>(Values))...).invoke(Consumer, Context); 127 void invoke(RefactoringResultConsumer &Consumer, 130 Consumer, Context, Requirements,
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Tooling/Refactoring/ |
RefactoringActionRulesInternal.h | 49 RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, 57 return Consumer.handleError(std::move(Err)); 60 RuleType((*std::get<Is>(Values))...).invoke(Consumer, Context); 127 void invoke(RefactoringResultConsumer &Consumer, 130 Consumer, Context, Requirements,
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/Tooling/Refactoring/ |
RefactoringActionRulesInternal.h | 49 RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, 57 return Consumer.handleError(std::move(Err)); 60 RuleType((*std::get<Is>(Values))...).invoke(Consumer, Context); 127 void invoke(RefactoringResultConsumer &Consumer, 130 Consumer, Context, Requirements,
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/Tooling/Refactoring/ |
RefactoringActionRulesInternal.h | 49 RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, 57 return Consumer.handleError(std::move(Err)); 60 RuleType((*std::get<Is>(Values))...).invoke(Consumer, Context); 127 void invoke(RefactoringResultConsumer &Consumer, 130 Consumer, Context, Requirements,
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/clang/Tooling/Refactoring/ |
RefactoringActionRulesInternal.h | 49 RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, 57 return Consumer.handleError(std::move(Err)); 60 RuleType((*std::get<Is>(Values))...).invoke(Consumer, Context); 127 void invoke(RefactoringResultConsumer &Consumer, 130 Consumer, Context, Requirements,
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/clang/Tooling/Refactoring/ |
RefactoringActionRulesInternal.h | 49 RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, 57 return Consumer.handleError(std::move(Err)); 60 RuleType((*std::get<Is>(Values))...).invoke(Consumer, Context); 127 void invoke(RefactoringResultConsumer &Consumer, 130 Consumer, Context, Requirements,
|