OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Provider
(Results
1 - 25
of
670
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/system/update_engine/update_manager/
provider.h
24
// Abstract base class for a policy
provider
.
25
class
Provider
{
27
virtual ~
Provider
() {}
30
Provider
() {}
33
DISALLOW_COPY_AND_ASSIGN(
Provider
);
config_provider.h
20
#include "update_engine/update_manager/
provider
.h"
25
//
Provider
for const system configurations. This
provider
reads the
27
class ConfigProvider : public
Provider
{
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
LocalProvider.java
3
public class LocalProvider extends
Provider
{
/packages/apps/Launcher3/src/com/android/launcher3/util/
Provider.java
22
public abstract class
Provider
<T> {
30
public static <T>
Provider
<T> of (final T value) {
31
return new
Provider
<T>() {
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
BasicComponent.java
21
import javax.inject.
Provider
;
43
Provider
<Byte> getByteProvider();
44
Provider
<Character> getCharProvider();
45
Provider
<Short> getShortProvider();
46
Provider
<Integer> getIntProvider();
47
Provider
<Long> getLongProvider();
48
Provider
<Boolean> getBooleanProvider();
49
Provider
<Float> getFloatProvider();
50
Provider
<Double> getDoubleProvider();
61
Provider
<byte[]> getByteArrayProvider()
[
all
...]
/external/guice/core/src/com/google/inject/
Provider.java
25
* is insufficient for a particular binding, the module can specify a custom {@code
Provider
}
28
* <li>An implementation class may always choose to have a {@code
Provider
<T>} instance injected,
34
* <li>A custom {@link Scope} is implemented as a decorator of {@code
Provider
<T>}, which decides
35
* when to delegate to the backing
provider
and when to provide the instance some other way.
37
* <li>The {@link Injector} offers access to the {@code
Provider
<T>} it uses to fulfill requests
45
public interface
Provider
<T> extends javax.inject.
Provider
<T> {
Scope.java
35
* Scopes a
provider
. The returned
provider
returns objects from this scope.
36
* If an object does not exist in this scope, the
provider
can use the given
37
* unscoped
provider
to retrieve one.
40
* {@link Object#toString} in the returned
provider
and include the backing
41
*
provider
's {@code toString()} output.
46
* @return a new
provider
which only delegates to the given unscoped
provider
50
public <T>
Provider
<T> scope(Key<T> key,
Provider
<T> unscoped)
[
all
...]
/external/guice/core/src/com/google/inject/spi/
ProviderWithDependencies.java
19
import com.google.inject.
Provider
;
22
* A
provider
with dependencies on other injected types. If a {@link
Provider
} has dependencies that
27
public interface ProviderWithDependencies<T> extends
Provider
<T>, HasDependencies {}
ProviderInstanceBinding.java
20
import com.google.inject.
Provider
;
25
* A binding to a
provider
instance. The
provider
's {@code get} method is invoked to resolve
35
* user-supplied
provider
, use {@link #getUserSuppliedProvider}.
40
Provider
<? extends T> getProviderInstance();
43
* Returns the user-supplied, unscoped
provider
.
46
javax.inject.
Provider
<? extends T> getUserSuppliedProvider();
49
* Returns the field and method injection points of the
provider
, injected at injector-creation
/external/jsr330/src/javax/inject/
Provider.java
22
* {@code
Provider
<T>}. Compared to injecting {@code T} directly, injecting
23
* {@code
Provider
<T>} enables:
37
* @Inject Car(
Provider
<Seat> seatProvider) {
44
public interface
Provider
<T> {
/packages/apps/Camera2/src/com/android/camera/util/
Provider.java
20
* TODO Replace with jsr330
Provider
interface.
22
public interface
Provider
<T> {
/external/skia/src/core/
SkNormalFlatSource.h
21
SkNormalSource::
Provider
* asProvider(const SkShader::ContextRec& rec,
30
class
Provider
: public SkNormalSource::
Provider
{
32
Provider
();
34
~
Provider
() override;
39
typedef SkNormalSource::
Provider
INHERITED;
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/subcomponent/
ParentGetters.java
19
import javax.inject.
Provider
;
22
Provider
<UnscopedType> getUnscopedTypeProvider();
/external/dagger2/core/src/main/java/dagger/internal/
Factory.java
19
import javax.inject.
Provider
;
23
* An {@linkplain Scope unscoped} {@link
Provider
}. While a {@link
Provider
} <i>may<i> apply
36
public interface Factory<T> extends
Provider
<T> {
DelegateFactory.java
18
import javax.inject.
Provider
;
21
* A DelegateFactory that is used to stitch
Provider
/Lazy indirection based dependency cycles.
26
private
Provider
<T> delegate;
36
public void setDelegatedProvider(
Provider
<T> delegate) {
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/
PinballParts.java
20
import com.google.inject.
Provider
;
23
// Shows up as an injection point on an instance. We use a
Provider
so that
25
@Inject
Provider
<DocBrown> salvager;
/external/testng/src/test/java/test/guice/
MyServiceProvider.java
3
import com.google.inject.
Provider
;
5
public class MyServiceProvider implements
Provider
<MyService> {
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
CryptoProvider.java
18
package org.apache.harmony.security.
provider
.crypto;
20
import java.security.
Provider
;
23
* Implementation of
Provider
for SecureRandom. The implementation supports the
28
public final class CryptoProvider extends
Provider
{
33
* Creates a
Provider
and puts parameters
39
"org.apache.harmony.security.
provider
.crypto.SHA1PRNG_SecureRandomImpl");
/libcore/ojluni/src/main/java/sun/security/provider/
CertPathProvider.java
27
package sun.security.
provider
;
29
import java.security.
Provider
;
32
* A security
provider
that provides the OpenJDK version of the CertPathBuilder and
35
public final class CertPathProvider extends
Provider
{
38
super("CertPathProvider", 1.0, "
Provider
of CertPathBuilder and CertPathVerifier");
41
put("CertPathBuilder.PKIX", "sun.security.
provider
.certpath.SunCertPathBuilder");
46
put("CertPathValidator.PKIX", "sun.security.
provider
.certpath.PKIXCertPathValidator");
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyProvider.java
3
import java.security.
Provider
;
5
public class MyProvider extends
Provider
{
8
super("MyProvider", 1.0, "Test
Provider
1.0");
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/builder/
RequiresSubcomponentBuilder.java
19
import javax.inject.
Provider
;
22
private final
Provider
<B> subcomponentBuilderProvider;
26
RequiresSubcomponentBuilder(
Provider
<B> subcomponentBuilderProvider, B subcomponentBuilder) {
31
Provider
<B> subcomponentBuilderProvider() {
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/nullables/
NullComponent.java
18
import javax.inject.
Provider
;
26
Provider
<String> stringProvider();
28
Provider
<Number> numberProvider();
NullComponentWithDependency.java
18
import javax.inject.
Provider
;
25
Provider
<String> stringProvider();
27
Provider
<Number> numberProvider();
/external/jsr330/tck/org/atinject/tck/auto/accessories/
Cupholder.java
22
import javax.inject.
Provider
;
28
public final
Provider
<Seat> seatProvider;
31
public Cupholder(
Provider
<Seat> seatProvider) {
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
ProviderServiceTest.java
27
import java.security.
Provider
;
28
import java.security.
Provider
.Service;
39
* Tests for <code>
Provider
.Service</code> constructor and methods
45
Provider
p = new MyProvider();
47
new
Provider
.Service(null, "type", "algorithm", "className", null,
49
fail("
provider
is null: No expected NullPointerException");
53
new
Provider
.Service(p, null, "algorithm", "className", null, null);
58
new
Provider
.Service(p, "type", null, "className", null, null);
63
new
Provider
.Service(p, "type", "algorithm", null, null, null);
68
Provider
.Service s = new Provider.Service(p, "type", "algorithm"
[
all
...]
Completed in 872 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>