HomeSort by relevance Sort by last modified time
    Searched defs:instance (Results 1 - 25 of 541) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /device/generic/opengl-transport/host/commands/emugen/
TypeFactory.h 24 static TypeFactory *instance() { function in class:TypeFactory
  /external/libchrome/base/time/
default_clock.cc 19 static LazyInstance<DefaultClock>::Leaky instance = LAZY_INSTANCE_INITIALIZER; local
20 return instance.Pointer();
  /cts/tests/tests/networksecurityconfig/networksecurityconfig-attributes/src/android/security/net/config/cts/
TestAttributes.java 23 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); local
26 assertFalse(instance.isCleartextTrafficPermitted());
28 assertFalse(instance.isCleartextTrafficPermitted("foo.bar"));
30 assertTrue(instance.isCleartextTrafficPermitted("example.foo.bar"));
33 assertTrue(instance.isCleartextTrafficPermitted("android.com"));
34 assertTrue(instance.isCleartextTrafficPermitted("foo.android.com"));
36 assertTrue(instance.isCleartextTrafficPermitted("example.com"));
37 assertTrue(instance.isCleartextTrafficPermitted("test.example.com"));
39 assertTrue(instance.isCleartextTrafficPermitted("example.com"));
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpSocket.java 30 private final Socket instance; field in class:Support_HttpSocket
35 instance = socket;
40 return instance.getInputStream();
45 return instance.getOutputStream();
49 if (!streamOpen && instance != null) {
50 instance.close();
Support_HttpServerSocket.java 30 private ServerSocket instance = null; field in class:Support_HttpServerSocket
45 if (instance == null) {
48 instance.setSoTimeout(timeout);
49 Socket s = instance.accept();
69 instance = new ServerSocket(port);
76 if (instance != null) {
77 instance.close();
Support_URLConnector.java 32 private URLConnection instance; field in class:Support_URLConnector
40 instance = new URL(address).openConnection();
45 ((HttpURLConnection) instance).disconnect();
53 if (instance == null) {
57 return instance.getInputStream();
61 if (instance == null) {
64 instance.setDoOutput(true);
65 ((HttpURLConnection) instance).setRequestMethod("POST");
67 return instance.getOutputStream();
75 instance.setRequestProperty(key, value)
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBackgroundThread.java 15 BackgroundThread instance = ReflectionHelpers.getStaticField(BackgroundThread.class, "sInstance"); local
16 if (instance != null) {
17 instance.quit();
  /art/test/034-call-null/src/
Main.java 25 Main instance = null; local
26 instance.doStuff(0, null, null, null);
  /external/llvm/lib/Support/
Options.cpp 33 OptionRegistry &OptionRegistry::instance() { return *OR; } function in class:OptionRegistry
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
Options.cpp 33 OptionRegistry &OptionRegistry::instance() { return *OR; } function in class:OptionRegistry
  /bionic/tests/libs/
dlopen_check_order_reloc_nephew_answer.cpp 32 } instance; member in namespace:__anon1560
36 return &instance;
  /external/dagger2/core/src/main/java/dagger/internal/
InstanceFactory.java 19 * A {@link Factory} implementation that returns a single instance for all invocations of
23 * {@link #get} will always return the same instance. As such, any scoping applied to this factory
31 public static <T> Factory<T> create(T instance) {
32 if (instance == null) {
35 return new InstanceFactory<T>(instance);
38 private final T instance; field in class:InstanceFactory
40 private InstanceFactory(T instance) {
41 this.instance = instance;
46 return instance;
    [all...]
  /external/mockito/src/main/java/org/mockito/creation/instance/
InstantiationException.java 5 package org.mockito.creation.instance;
Instantiator.java 5 package org.mockito.creation.instance;
16 * Creates instance of given class
  /external/mockito/src/main/java/org/mockito/internal/creation/instance/
InstantiationException.java 5 package org.mockito.internal.creation.instance;
12 * Use {@link org.mockito.creation.instance.Instantiator} and {@link org.mockito.creation.instance.InstantiationException} types instead.
Instantiator.java 5 package org.mockito.internal.creation.instance;
10 * Use {@link org.mockito.creation.instance.Instantiator} instead.
18 * Creates instance of given class
  /external/python/dateutil/dateutil/tz/
_factories.py 15 def instance(cls, *args, **kwargs): member in class:_TzFactory
16 """Alternate constructor that returns a fresh instance"""
30 instance = cls.__instances.get(key, None)
31 if instance is None:
32 instance = cls.__instances.setdefault(key,
33 cls.instance(name, offset))
34 return instance
43 instance = cls.__instances.get(key, None)
45 if instance is None:
46 instance = cls.__instances.setdefault(key
    [all...]
  /external/testng/src/main/java/org/testng/internal/
DataProviderHolder.java 11 Object instance; field in class:DataProviderHolder
15 public DataProviderHolder(IDataProviderAnnotation annotation, Method method, Object instance) {
18 this.instance = instance;
  /external/testng/src/test/java/test/pholser/
Captor.java 12 private static Captor instance = null; field in class:Captor
15 public static Captor instance() { method in class:Captor
16 if (null == instance) {
17 instance = new Captor();
19 return instance;
24 instance().captives = new ArrayList<>();
  /external/v8/tools/clang/blink_gc_plugin/tests/
templated_class_with_local_class_requires_trace.cpp 21 TemplatedObject<HeapObject>* instance = local
  /external/guava/guava-gwt/src/com/google/common/collect/
ImmutableEntry_CustomFieldSerializer.java 32 ImmutableEntry<?, ?> instance) {
43 ImmutableEntry<?, ?> instance) throws SerializationException {
44 writer.writeObject(instance.getKey());
45 writer.writeObject(instance.getValue());
RegularImmutableAsList_CustomFieldSerializer.java 34 RegularImmutableAsList<?> instance) {
46 RegularImmutableAsList<?> instance) throws SerializationException {
47 writer.writeObject(instance.delegateCollection());
48 writer.writeObject(instance.delegateList());
  /external/okhttp/android/src/test/java/com/squareup/okhttp/
ConfigAwareConnectionPoolTest.java 40 ConfigAwareConnectionPool instance = new ConfigAwareConnectionPool(networkEventDispatcher) {}; local
41 assertSame(instance.get(), instance.get());
43 ConnectionPool beforeEventInstance = instance.get();
46 assertNotSame(beforeEventInstance, instance.get());
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowChoreographerTest.java 23 final Choreographer instance = ShadowChoreographer.getInstance(); local
24 long time1 = instance.getFrameTimeNanos();
25 long time2 = instance.getFrameTimeNanos();
32 Choreographer instance = ShadowChoreographer.getInstance(); local
34 instance.postFrameCallbackDelayed(callback, 1000);
35 instance.removeFrameCallback(callback);
  /art/tools/ahat/src/main/com/android/ahat/heapdump/
PathElement.java 20 * A single element along a reference path from a GC root to an instance in
34 * The instance along the reference path that this PathElement is associated
37 public final AhatInstance instance; field in class:PathElement
40 * A human readable description of which field in <code>instance</code> is
44 * <li> "mBlah" for a class instance
45 * <li> "[4]" for an array instance
52 * True if <code>instance</code> is a (not necessarily immediate) dominator
61 * @param instance the path element instance
64 public PathElement(AhatInstance instance, String field)
    [all...]

Completed in 1536 milliseconds

1 2 3 4 5 6 7 8 91011>>