/external/dagger2/core/src/main/java/dagger/internal/ |
MembersInjectors.java | 36 return (MembersInjector<T>) NoOpMembersInjector.INSTANCE; 40 INSTANCE; 42 @Override public void injectMembers(Object instance) { 43 if (instance == null) {
|
/external/guava/guava-gwt/src/com/google/common/base/ |
Absent_CustomFieldSerializer.java | 27 * different instance than the singleton {@code Absent.INSTANCE}, which breaks equality. We 34 public static void deserialize(SerializationStreamReader reader, Absent<?> instance) {} 37 return Absent.INSTANCE; 40 public static void serialize(SerializationStreamWriter writer, Absent<?> instance) {}
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
AllEqualOrdering_CustomFieldSerializer.java | 28 public static void deserialize(SerializationStreamReader reader, AllEqualOrdering instance) { 32 return AllEqualOrdering.INSTANCE; 35 public static void serialize(SerializationStreamWriter writer, AllEqualOrdering instance) {
|
EmptyImmutableBiMap_CustomFieldSerializer.java | 29 public static void deserialize(SerializationStreamReader reader, EmptyImmutableBiMap instance) { 33 return EmptyImmutableBiMap.INSTANCE; 36 public static void serialize(SerializationStreamWriter writer, EmptyImmutableBiMap instance) {
|
EmptyImmutableListMultimap_CustomFieldSerializer.java | 31 EmptyImmutableListMultimap instance) { 36 return EmptyImmutableListMultimap.INSTANCE; 40 EmptyImmutableListMultimap instance) {
|
EmptyImmutableSetMultimap_CustomFieldSerializer.java | 31 EmptyImmutableSetMultimap instance) { 36 return EmptyImmutableSetMultimap.INSTANCE; 40 EmptyImmutableSetMultimap instance) {
|
EmptyImmutableSet_CustomFieldSerializer.java | 30 EmptyImmutableSet instance) { 35 return EmptyImmutableSet.INSTANCE; 39 EmptyImmutableSet instance) {
|
NaturalOrdering_CustomFieldSerializer.java | 30 NaturalOrdering instance) { 35 return NaturalOrdering.INSTANCE; 39 NaturalOrdering instance) {
|
ReverseNaturalOrdering_CustomFieldSerializer.java | 31 ReverseNaturalOrdering instance) { 36 return ReverseNaturalOrdering.INSTANCE; 40 ReverseNaturalOrdering instance) {
|
UsingToStringOrdering_CustomFieldSerializer.java | 30 UsingToStringOrdering instance) { 35 return UsingToStringOrdering.INSTANCE; 39 UsingToStringOrdering instance) {
|
/external/mockito/src/main/java/org/mockito/internal/creation/instance/ |
DefaultInstantiatorProvider.java | 5 package org.mockito.internal.creation.instance; 7 import org.mockito.creation.instance.Instantiator; 13 private final static Instantiator INSTANCE = new ObjenesisInstantiator(); 19 return INSTANCE;
|
ObjenesisInstantiator.java | 5 package org.mockito.internal.creation.instance; 7 import org.mockito.creation.instance.Instantiator;
|
/external/webrtc/webrtc/system_wrappers/include/ |
static_instance.h | 40 static T* volatile instance = NULL; local 70 instance = T::CreateInstance(); 72 T* old_instance = instance; 73 instance = NULL; 96 // The instance has been destroyed by some other thread. Rollback. 102 if (instance == NULL) { 113 // updated just yet (that's done when the instance is created). 126 // Create instance and let whichever thread finishes first assign its 127 // local copy to the global instance. All other threads reclaim their 131 InterlockedExchangePointer(reinterpret_cast<void * volatile*>(&instance), [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
EngineInstance.cpp | 35 static EngineInstance instance; local 36 return &instance;
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ |
OuterClass_StaticInnerClass_Delegate.java | 26 public static void constructor_after(StaticInnerClass instance) { 27 instance.mStaticInnerId = 42;
|
/frameworks/rs/ |
rsFallbackAdaptation.cpp | 47 // This function-local-static guarantees the instance is a singleton. The 50 static RsFallbackAdaptation instance; local 51 return instance;
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
TouchPointManager.java | 30 private static TouchPointManager instance = new TouchPointManager(); field in class:TouchPointManager 34 /** Private constructor. Instance should only be acquired through getRunningInstance(). */ 38 return instance;
|
/external/mesa3d/src/amd/vulkan/ |
radv_wsi_x11.c | 47 &device->instance->alloc, 61 &device->instance->alloc, 71 RADV_FROM_HANDLE(radv_instance, instance, _instance); 78 alloc = &instance->alloc; 89 RADV_FROM_HANDLE(radv_instance, instance, _instance); 97 alloc = &instance->alloc;
|
/external/mesa3d/src/intel/vulkan/ |
anv_wsi_x11.c | 43 &device->instance->alloc, 57 &device->instance->alloc, 67 ANV_FROM_HANDLE(anv_instance, instance, _instance); 74 alloc = &instance->alloc; 85 ANV_FROM_HANDLE(anv_instance, instance, _instance); 93 alloc = &instance->alloc;
|
/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);
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
Log4jLoggerFactory.java | 57 org.apache.log4j.Logger instance = log4jLoggers.get(name); local 58 if (instance != null) { 59 return instance; 68 org.apache.log4j.Logger instance = log4jLoggers.get(name); local 69 if (instance != null) { 70 return instance;
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmStateManager.java | 69 * is in charge of changing the alarm instance state to a LOW_NOTIFICATION_STATE. 87 * also increments the alarm time in the instance to reflect the new snooze time. 96 * it. At this point the alarm instance is dead and we check the parent alarm to see if we need 102 * This is really a transient state that will properly delete the alarm instance. Use this state, 103 * whenever you want to get rid of the alarm instance. This state will also check the alarm 104 * parent to see if it should disable or schedule a new alarm instance. 107 // Intent action to trigger an instance state change. 110 // Intent action to show the alarm and dismiss the instance 178 * Returns an alarm instance of an alarm that's going to fire next. 181 * @return an alarm instance that will fire earliest relative to current time 492 AlarmInstance.updateInstance(context.getContentResolver(), instance); local 905 AlarmInstance instance = AlarmInstance.getInstance(context.getContentResolver(), local 941 AlarmInstance instance = AlarmInstance.getInstance(context.getContentResolver(), local [all...] |
/external/valgrind/drd/tests/ |
thread_name.stderr.exp | 3 thread_func instance 1 5 Thread 2 (thread_func instance 1): 12 thread_func instance 2 14 Thread 3 (thread_func instance 2): 21 thread_func instance 3 23 Thread 4 (thread_func instance 3): 30 thread_func instance 4 32 Thread 5 (thread_func instance 4): 39 thread_func instance 5 41 Thread 6 (thread_func instance 5) [all...] |
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
MockMethodAdvice.java | 34 * Try to invoke the method {@code origin} on {@code instance}. 37 * @param instance instance to invoke the method on. 44 private static Object tryInvoke(Method origin, Object instance, Object[] arguments) 47 return origin.invoke(instance, arguments); 88 * Get the method of {@code instance} specified by {@code methodWithTypeAndSignature}. 90 * @param instance instance the method belongs to 96 public Method getOrigin(Object instance, String methodWithTypeAndSignature) throws Throwable { 97 if (!isMocked(instance)) { 258 private final Object instance; field in class:MockMethodAdvice.SuperMethodCall [all...] |
/external/python/cpython3/Lib/unittest/test/testmock/ |
testcallable.py | 62 instance = mock() 65 self.assertNotCallable(instance) 66 self.assertRaises(TypeError, instance) 74 instance = mock() 77 self.assertNotCallable(instance) 78 self.assertRaises(TypeError, instance) 113 instance = mock() variable in class:TestCallable.test_patch_spec_callable_class.Multi 116 self.assertTrue(is_instance(instance, MagicMock)) 118 self.assertRaises(AttributeError, getattr, instance, 121 result = instance() [all...] |