Searched defs:instance (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/awt/javax/imageio/spi/
H A DIIORegistry.java53 * The instance.
55 private static IIORegistry instance; field in class:IIORegistry
94 * Gets the default IIORegistry instance.
96 * @return the default IIORegistry instance.
99 // TODO implement own instance for each ThreadGroup (see also
102 if (instance == null) {
103 instance = new IIORegistry();
105 return instance;
/frameworks/base/include/utils/
H A DSingleton.h33 TYPE* instance = sInstance; local
34 if (instance == 0) {
35 instance = new TYPE();
36 sInstance = instance;
38 return *instance;
54 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
/frameworks/base/core/java/android/gesture/
H A DLearner.java28 * Add an instance to the learner
30 * @param instance
32 void addInstance(Instance instance) { argument
33 mInstances.add(instance);
46 * Remove an instance based on its id
54 Instance instance = instances.get(i);
55 if (id == instance.id) {
56 instances.remove(instance);
73 final Instance instance = instances.get(i);
75 if ((instance
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/image/
H A DImageLoader.java42 static ImageLoadersStorage instance; field in class:ImageLoader.ImageLoadersStorage
52 if (instance == null) {
53 instance = new ImageLoadersStorage();
56 return instance;
/frameworks/base/core/java/android/util/
H A DXml.java111 return XmlSerializerFactory.instance.newSerializer();
121 static final XmlPullParserFactory instance; field in class:Xml.XmlSerializerFactory
124 instance = XmlPullParserFactory.newInstance(TYPE, null);
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java69 public static synchronized MiniThumbFile instance(Uri uri) { method in class:MiniThumbFile
/frameworks/base/services/java/com/android/server/
H A DAttributeCache.java69 public static AttributeCache instance() { method in class:AttributeCache
/frameworks/base/services/java/com/android/server/am/
H A DDeviceMonitor.java222 private static DeviceMonitor instance = new DeviceMonitor(); field in class:DeviceMonitor
228 instance.startMonitoring();
/frameworks/base/tests/BrowserTestPlugin/jni/
H A Dmain.cpp37 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
39 NPError NPP_Destroy(NPP instance, NPSavedData** save);
40 NPError NPP_SetWindow(NPP instance, NPWindow* window);
41 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream,
43 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
44 int32 NPP_WriteReady(NPP instance, NPStream* stream);
45 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len,
47 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
48 void NPP_Print(NPP instance, NPPrint* platformPrint);
49 int16 NPP_HandleEvent(NPP instance, voi
132 NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved) argument
168 NPP_Destroy(NPP instance, NPSavedData** save) argument
179 NPP_SetWindow(NPP instance, NPWindow* window) argument
191 NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype) argument
197 NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason) argument
202 NPP_WriteReady(NPP instance, NPStream* stream) argument
207 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer) argument
212 NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname) argument
216 NPP_Print(NPP instance, NPPrint* platformPrint) argument
220 NPP_HandleEvent(NPP instance, void* event) argument
234 NPP_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData) argument
238 NP_GetValue(NPP instance, NPPVariable variable, void *value) argument
255 NPP_GetValue(NPP instance, NPPVariable variable, void *value) argument
271 NPP_SetValue(NPP instance, NPNVariable variable, void *value) argument
[all...]
/frameworks/base/media/libstagefright/omx/
H A DOMXNodeInstance.cpp430 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); local
431 if (instance->mDying) {
434 return instance->owner()->OnEvent(
435 instance->nodeID(), eEvent, nData1, nData2, pEventData);
443 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); local
444 if (instance->mDying) {
447 return instance->owner()->OnEmptyBufferDone(instance->nodeID(), pBuffer);
455 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); local
456 if (instance
[all...]
H A DOMX.cpp104 OMXNodeInstance *instance = mOwner->findInstance(msg.node); local
105 if (instance == NULL) {
109 instance->onMessage(msg);
158 OMXNodeInstance *instance; local
166 instance = mLiveNodes.editValueAt(index);
169 invalidateNodeID_l(instance->nodeID());
172 instance->onObserverDied(mMaster);
213 OMXNodeInstance *instance = new OMXNodeInstance(this, observer); local
218 instance, &handle);
223 instance
239 OMXNodeInstance *instance = findInstance(node); local
383 makeNodeID(OMXNodeInstance *instance) argument
[all...]

Completed in 222 milliseconds