/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); 101 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/external/llvm/include/llvm/MC/ |
MCLabel.h | 27 // \brief The instance number of this Directional Local Label. 28 unsigned Instance; 32 MCLabel(unsigned instance) : Instance(instance) {} 38 /// \brief Get the current instance of this Directional Local Label. 39 unsigned getInstance() const { return Instance; } 41 /// \brief Increment the current instance of this Directional Local Label. 42 unsigned incInstance() { return ++Instance; }
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/helpers/ |
NullEnumeration.java | 31 private static final NullEnumeration instance = new NullEnumeration(); field in class:NullEnumeration 37 return instance;
|
/external/testng/src/main/java/org/testng/internal/ |
IPropertyUtils.java | 23 public void setProperty(Object instance, String name, String value); 27 public void setPropertyRealValue(Object instance, String name, Object value);
|
InstanceInfo.java | 9 public InstanceInfo(Class cls, Object instance) { 11 m_instance = instance;
|
PropertyUtilsMock.java | 25 public void setProperty(Object instance, String name, String value) { 33 public void setPropertyRealValue(Object instance, String name, Object value) {
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
EngineInstance.cpp | 32 static EngineInstance instance; local 33 return &instance;
|
/frameworks/base/core/java/android/hardware/location/ |
IActivityRecognitionHardwareClient.aidl | 33 * @param instance the available instance to provide access to the feature 35 void onAvailabilityChanged(in boolean isSupported, in IActivityRecognitionHardware instance);
|
IActivityRecognitionHardwareWatcher.aidl | 33 void onInstanceChanged(in IActivityRecognitionHardware instance);
|
/frameworks/base/core/java/android/util/ |
Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); 101 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/frameworks/base/location/java/android/location/ |
IFusedProvider.aidl | 27 * Provides access to a FusedLocationHardware instance needed for the provider to work. 29 * @param instance The FusedLocationHardware available for the provider to use. 31 void onFusedLocationHardwareChange(in IFusedLocationHardware instance);
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ |
ClassWithNative_Delegate.java | 27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { 29 o[0] = instance;
|
OuterClass_Delegate.java | 26 public static int get(OuterClass instance, int a, long b) { 30 public static String privateMethod(OuterClass instance) {
|
/frameworks/support/compat/java/android/support/v4/util/ |
Pools.java | 30 * MyPooledClass instance = sPool.acquire(); 31 * return (instance != null) ? instance : new MyPooledClass(); 54 * @return An instance from the pool if such, null otherwise. 59 * Release an instance to the pool. 61 * @param instance The instance to release. 62 * @return Whether the instance was put in the pool. 64 * @throws IllegalStateException If the instance is already in the pool. 66 public boolean release(T instance); 102 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
singleton.cpp | 7 // singleton::instance() is considered constructed although the ctor 12 static singleton& instance() { function in class:singleton 35 return singleton::instance().check()-2;
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
singleton.cpp | 7 // singleton::instance() is considered constructed although the ctor 12 static singleton& instance() { function in class:singleton 35 return singleton::instance().check()-2;
|
/packages/apps/Camera2/src/android/util/ |
Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); 101 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/packages/apps/Gallery2/src/android/util/ |
Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); 101 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ServiceDeclaration.java | 35 int instance = 0; field in class:ServiceDeclaration.Entry 42 Entry(UUID uuid, int serviceType, int instance) { 45 this.instance = instance; 49 Entry(UUID uuid, int serviceType, int instance, boolean advertisePreferred) { 52 this.instance = instance; 57 Entry(UUID uuid, int properties, int permissions, int instance) { 60 this.instance = instance; [all...] |
/external/dagger2/core/src/test/java/dagger/internal/ |
InstanceFactoryTest.java | 31 Object instance = new Object(); local 32 Factory<Object> factory = InstanceFactory.create(instance); 33 assert_().that(factory.get()).isEqualTo(instance); 34 assert_().that(factory.get()).isEqualTo(instance); 35 assert_().that(factory.get()).isEqualTo(instance);
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
SingletonImmutableTable_CustomFieldSerializer.java | 28 SerializationStreamReader reader, SingletonImmutableTable<?, ?, ?> instance) { 40 SerializationStreamWriter writer, SingletonImmutableTable<?, ?, ?> instance) 42 writer.writeObject(instance.singleRowKey); 43 writer.writeObject(instance.singleColumnKey); 44 writer.writeObject(instance.singleValue);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
ParticleChannels.java | 21 private static TextureRegionInitializer instance; field in class:ParticleChannels.TextureRegionInitializer 23 if(instance == null) 24 instance = new TextureRegionInitializer(); 25 return instance; 42 private static ColorInitializer instance; field in class:ParticleChannels.ColorInitializer 44 if(instance == null) 45 instance = new ColorInitializer(); 46 return instance; 55 private static ScaleInitializer instance; field in class:ParticleChannels.ScaleInitializer 57 if(instance == null 68 private static Rotation2dInitializer instance; field in class:ParticleChannels.Rotation2dInitializer 84 private static Rotation3dInitializer instance; field in class:ParticleChannels.Rotation3dInitializer [all...] |
/external/parameter-framework/upstream/test/introspection-subsystem/ |
IntrospectionSubsystemObject.h | 67 static void registerInstance(const SubsystemObject &instance) 69 ALWAYS_ASSERT(mSingletonInstance == nullptr, "An instance is already registered"); 70 mSingletonInstance = &instance; 73 static void unregisterInstance(const SubsystemObject &instance) 75 // instance parameter is only used by assertion, so unused in release mode 76 (void)instance; 78 ALWAYS_ASSERT(mSingletonInstance == &instance, "This instance was not registered.");
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/ |
alisp.h | 40 int alsa_lisp(struct alisp_cfg *cfg, struct alisp_instance **instance); 41 void alsa_lisp_free(struct alisp_instance *instance); 42 int alsa_lisp_function(struct alisp_instance *instance, struct alisp_seq_iterator **result, 48 void alsa_lisp_result_free(struct alisp_instance *instance, 50 int alsa_lisp_seq_first(struct alisp_instance *instance, const char *id,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/ |
alisp.h | 40 int alsa_lisp(struct alisp_cfg *cfg, struct alisp_instance **instance); 41 void alsa_lisp_free(struct alisp_instance *instance); 42 int alsa_lisp_function(struct alisp_instance *instance, struct alisp_seq_iterator **result, 48 void alsa_lisp_result_free(struct alisp_instance *instance, 50 int alsa_lisp_seq_first(struct alisp_instance *instance, const char *id,
|