Home
last modified time | relevance | path

Searched refs:INJECT (Results 1 – 25 of 25) sorted by relevance

/external/google-fruit/examples/multibindings/
Dmain.cpp30 INJECT(Listener1()) = default;
45 INJECT(StdoutWriter()) = default;
57 INJECT(Listener2(Writer* writer)) : writer(writer) {} in INJECT() function in Listener2
/external/google-fruit/extras/bazel_usage_example/
Dmain.cpp17 INJECT(StdoutWriter()) = default;
36 INJECT(GreeterImpl(Writer* writer)) : writer(writer) {} in INJECT() function in GreeterImpl
/external/google-fruit/examples/hello_world/
Dmain.cpp17 INJECT(StdoutWriter()) = default;
36 INJECT(GreeterImpl(Writer* writer)) : writer(writer) {} in INJECT() function in GreeterImpl
/external/dagger2/java/dagger/hilt/android/processor/internal/customtestapplication/
DCustomTestApplicationMetadata.java92 .filter(field -> Processors.hasAnnotation(field, ClassNames.INJECT)) in getBaseElement()
105 .filter(method -> Processors.hasAnnotation(method, ClassNames.INJECT)) in getBaseElement()
118 .filter(method -> Processors.hasAnnotation(method, ClassNames.INJECT)) in getBaseElement()
/external/google-fruit/examples/testing/
Dgreeter.cpp21 INJECT(GreeterImpl()) = default;
Dkey_value_storage.cpp21 INJECT(KeyValueStorageImpl()) = default;
Dfake_key_value_storage.cpp26 INJECT(FakeKeyValueStorage()) = default;
Dcached_greeter.cpp26 INJECT(CachedGreeterImpl(Greeter* greeter, KeyValueStorage* keyValueStorage)) in INJECT() function in CachedGreeterImpl
/external/google-fruit/test_package/
Dexample.cpp4 INJECT(X()) = default;
/external/google-fruit/examples/simple_injection/
Dsimple_adder.cpp21 INJECT(SimpleAdder()) = default;
Dincrementer_impl.cpp24 INJECT(IncrementerImpl(Adder* adder)) : adder(adder) {} in INJECT() function in IncrementerImpl
Dchecked_adder.cpp62 INJECT(CheckedAdder()) = default;
/external/google-fruit/examples/annotated_injection/
Demergency_brake.cpp21 INJECT(EmergencyBrakeImpl()) = default;
Dmain_brake.cpp21 INJECT(MainBrakeImpl()) = default;
Dcar.cpp27INJECT(CarImpl(ANNOTATED(MainBrake, Brake*) mainBrake, ANNOTATED(EmergencyBrake, Brake*) emergency… in INJECT() function in CarImpl
/external/google-fruit/extras/benchmark/
Dcompile_time_benchmark.cpp91INJECT(A##N()) = default; …
103INJECT(X##N(A##N, B##N*, const C##N&)){}; …
/external/google-fruit/examples/scaling_doubles/
Dscaler.cpp30INJECT(ScalerImpl(ASSISTED(double) factor, Multiplier* multiplier)) : multiplier(multiplier), fact… in INJECT() function in ScalerImpl
/external/google-fruit/examples/server/
Dfoo_handler.cpp30 INJECT(FooHandlerImpl(const Request& request, const ServerContext& serverContext)) in INJECT() function in FooHandlerImpl
Dbar_handler.cpp30 INJECT(BarHandlerImpl(const Request& request, const ServerContext& serverContext)) in INJECT() function in BarHandlerImpl
Drequest_dispatcher.cpp38 INJECT(RequestDispatcherImpl(const Request& request, Provider<FooHandler> fooHandler, in INJECT() function in RequestDispatcherImpl
Dserver.cpp31 INJECT(ServerImpl()) {} in INJECT() function in ServerImpl
/external/google-fruit/include/fruit/
Dmacro.h90 #define INJECT(Signature) … macro
/external/google-fruit/tests/
Dtested_features.md4 #### INJECT macro
32 * **TODO** Using the INJECT macro
36 * **TODO** With all kinds of non-normalized params (esp. with INJECT)
62 * Using the INJECT macro
84 * **TODO** Using the ANNOTATED macro (only in constructors using INJECT)
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/
DViewModelMetadata.kt68 Processors.hasAnnotation(constructor, ClassNames.INJECT) in <lambda>()
/external/dagger2/java/dagger/hilt/processor/internal/
DClassNames.java70 public static final ClassName INJECT = field in ClassNames