/frameworks/base/tests/BrowserTestPlugin/jni/ |
D | main.cpp | 37 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t 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_t NPP_WriteReady(NPP instance, NPStream* stream); 45 int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len, 47 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname); 48 void NPP_Print(NPP instance, NPPrint* platformPrint); 49 int16_t NPP_HandleEvent(NPP instance, void* event); [all …]
|
/frameworks/base/core/java/android/gesture/ |
D | Learner.java | 32 void addInstance(Instance instance) { in addInstance() argument 33 mInstances.add(instance); in addInstance() 54 Instance instance = instances.get(i); in removeInstance() local 55 if (id == instance.id) { in removeInstance() 56 instances.remove(instance); in removeInstance() 73 final Instance instance = instances.get(i); in removeInstances() local 75 if ((instance.label == null && name == null) in removeInstances() 76 || (instance.label != null && instance.label.equals(name))) { in removeInstances() 77 toDelete.add(instance); in removeInstances()
|
D | Instance.java | 74 Instance instance; in createInstance() local 77 instance = new Instance(gesture.getID(), pts, label); in createInstance() 78 instance.normalize(); in createInstance() 81 instance = new Instance(gesture.getID(), pts, label); in createInstance() 83 return instance; in createInstance()
|
/frameworks/wilhelm/src/ |
D | sync.c | 64 IObject *instance = (IObject *) thiz->mEngine.mInstances[i]; in sync_start() local 66 if (NULL == instance) { in sync_start() 70 object_lock_exclusive(instance); in sync_start() 71 unsigned attributesMask = instance->mAttributesMask; in sync_start() 72 instance->mAttributesMask = 0; in sync_start() 74 switch (IObjectToObjectID(instance)) { in sync_start() 77 object_unlock_exclusive(instance); in sync_start() 80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; in sync_start() 87 object_unlock_exclusive(instance); in sync_start()
|
/frameworks/native/include/utils/ |
D | Singleton.h | 34 TYPE* instance = sInstance; in getInstance() local 35 if (instance == 0) { in getInstance() 36 instance = new TYPE(); in getInstance() 37 sInstance = instance; in getInstance() 39 return *instance; in getInstance()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMX.cpp | 167 OMXNodeInstance *instance; in binderDied() local 175 instance = mLiveNodes.editValueAt(index); in binderDied() 178 index = mDispatchers.indexOfKey(instance->nodeID()); in binderDied() 182 invalidateNodeID_l(instance->nodeID()); in binderDied() 185 instance->onObserverDied(mMaster); in binderDied() 226 OMXNodeInstance *instance = new OMXNodeInstance(this, observer); in allocateNode() local 231 instance, &handle); in allocateNode() 236 instance->onGetHandleFailed(); in allocateNode() 241 *node = makeNodeID(instance); in allocateNode() 242 mDispatchers.add(*node, new CallbackDispatcher(instance)); in allocateNode() [all …]
|
D | OMXNodeInstance.cpp | 693 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); in OnEvent() local 694 if (instance->mDying) { in OnEvent() 697 return instance->owner()->OnEvent( in OnEvent() 698 instance->nodeID(), eEvent, nData1, nData2, pEventData); in OnEvent() 706 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); in OnEmptyBufferDone() local 707 if (instance->mDying) { in OnEmptyBufferDone() 710 return instance->owner()->OnEmptyBufferDone(instance->nodeID(), pBuffer); in OnEmptyBufferDone() 718 OMXNodeInstance *instance = static_cast<OMXNodeInstance *>(pAppData); in OnFillBufferDone() local 719 if (instance->mDying) { in OnFillBufferDone() 722 return instance->owner()->OnFillBufferDone(instance->nodeID(), pBuffer); in OnFillBufferDone()
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
D | M4MCS_API.c | 161 M4OSA_ERR H264MCS_Getinstance( NSWAVC_MCS_t ** instance ) in H264MCS_Getinstance() argument 204 *instance = (NSWAVC_MCS_t *)p_bs; in H264MCS_Getinstance() 740 NSWAVC_MCS_t *instance; in H264MCS_ProcessEncodedNALU() local 762 instance = (NSWAVC_MCS_t *)ainstance; in H264MCS_ProcessEncodedNALU() 843 NSWAVCMCS_initBitstream(&instance->encbs); in H264MCS_ProcessEncodedNALU() 845 instance->encbs.streamBuffer = outbuff + outbuffpos + 1; in H264MCS_ProcessEncodedNALU() 862 instance->frame_count = 0; in H264MCS_ProcessEncodedNALU() 863 instance->POC_lsb = 0; in H264MCS_ProcessEncodedNALU() 873 NSWAVCMCS_uExpVLC(&instance->encbs, first_mb_in_slice); in H264MCS_ProcessEncodedNALU() 876 NSWAVCMCS_uExpVLC(&instance->encbs, slice_type); in H264MCS_ProcessEncodedNALU() [all …]
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | DelegateClassAdapterTest.java | 345 public int callGet(Object instance, int a, long b) throws Exception { in callGet() argument 346 Method m = instance.getClass().getMethod("get", in callGet() 349 Object result = m.invoke(instance, new Object[] { a, b }); in callGet() 357 public int callGet_Original(Object instance, int a, long b) throws Exception { in callGet_Original() argument 358 Method m = instance.getClass().getMethod("get_Original", in callGet_Original() 361 Object result = m.invoke(instance, new Object[] { a, b }); in callGet_Original() 369 … public <T> T callMethod(Object instance, String methodName, boolean makePublic) throws Exception { in callMethod() argument 370 Method m = instance.getClass().getDeclaredMethod(methodName, (Class<?>[])null); in callMethod() 377 Object result = m.invoke(instance, (Object[])null); in callMethod() 389 public int callAdd(Object instance, int a, int b) throws Exception { in callAdd() argument [all …]
|
/frameworks/base/docs/html/tools/help/ |
D | adb.jd | 39 emulator instance or connected Android-powered device. It is a client-server program that includes 45 <li>A daemon, which runs as a background process on each emulator or device instance. </li> 52 …n, it sets up a connection to that port. Note that each emulator/device instance acquires a pair o… 61 <p>As shown, the emulator instance connected to adb on port 5555 is the same as the instance whose … 63 …commands from multiple adb clients, you can control any emulator/device instance from any client (… 75 …ny emulator instance, so if multiple emulators/devices are running, you need to use the <code>-d</… 85 <p>In response, adb prints this status information for each instance:</p> 88 …<li>Serial number — A string created by adb to uniquely identify an emulator/device instance… 91 <li>State — The connection state of the instance. Three states are supported: 93 <li><code>offline</code> — the instance is not connected to adb or is not responding.</li> [all …]
|
/frameworks/base/docs/html/training/basics/activity-lifecycle/ |
D | recreating.jd | 40 itself, the system's concept of that {@link android.app.Activity} instance is gone forever because 43 {@link android.app.Activity} instance is gone, the system remembers that it existed such that if 44 the user navigates back to it, the system creates a new instance of the activity using a set of 46 system uses to restore the previous state is called the "instance state" and is a collection of 54 <p>By default, the system uses the {@link android.os.Bundle} instance state to saves information 56 into an {@link android.widget.EditText} object). So, if your activity instance is destroyed and 61 <p>In order for you to add additional data to the saved instance state for your activity, there's an 67 if the system must recreate the activity instance after it was destroyed, it passes the same {@link 75 additional state data you'd like to save in case the {@link android.app.Activity} instance must be 77 If the activity is destroyed and the same instance must be recreated, the system passes the state [all …]
|
D | index.jd | 41 lifecycle. For instance, when your 47 longer visible, but the instance and its state remains intact).</p> 56 android.app.Activity} instance receives and how you can use them so your activity does what the
|
/frameworks/base/core/java/android/text/ |
D | AutoText.java | 90 AutoText instance; in getInstance() local 93 instance = sInstance; in getInstance() 95 if (!locale.equals(instance.mLocale)) { in getInstance() 96 instance = new AutoText(res); in getInstance() 97 sInstance = instance; in getInstance() 101 return instance; in getInstance()
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
D | UiCollection.java | 75 public UiObject getChildByInstance(UiSelector childPattern, int instance) in getChildByInstance() argument 78 UiSelector.patternBuilder(childPattern).instance(instance)); in getChildByInstance()
|
D | UiScrollable.java | 141 public UiObject getChildByInstance(UiSelector childPattern, int instance) in getChildByInstance() argument 144 UiSelector.patternBuilder(childPattern).instance(instance)); in getChildByInstance()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ |
D | OuterClass_Delegate.java | 26 public static int get(OuterClass instance, int a, long b) { in get() argument 30 public static String privateMethod(OuterClass instance) { in privateMethod() argument
|
D | ClassWithNative_Delegate.java | 27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { in native_instance() argument 29 o[0] = instance; in native_instance()
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | pickers.jd | 81 method to return an instance of {@link android.app.TimePickerDialog}</li> 100 // Create a new instance of TimePickerDialog and return it 114 <p>Now all you need is an event that adds an instance of this fragment to your activity.</p> 120 you can display the time picker by creating an instance of the {@link 144 android.support.v4.app.DialogFragment#show show()} on a new instance of the {@link 146 android.support.v4.app.DialogFragment#show show()} method requires an instance of {@link 151 android.support.v4.app.FragmentActivity#getSupportFragmentManager()} to acquire an instance of 186 method to return an instance of {@link android.app.DatePickerDialog}</li> 206 // Create a new instance of DatePickerDialog and return it 219 <p>Now all you need is an event that adds an instance of this fragment to your activity.</p> [all …]
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 106 return XmlSerializerFactory.instance.newSerializer(); in newSerializer() 116 static final XmlPullParserFactory instance; field in Xml.XmlSerializerFactory 119 instance = XmlPullParserFactory.newInstance(TYPE, null);
|
/frameworks/base/core/java/android/app/ |
D | LocalActivityManager.java | 124 Activity.NonConfigurationInstances instance = null; in moveToState() local 126 instance = new Activity.NonConfigurationInstances(); in moveToState() 127 instance.activity = instanceObj; in moveToState() 136 mParent, r.id, r.intent, r.activityInfo, r, r.instanceState, instance); in moveToState() 595 Object instance = r.activity.onRetainNonConfigurationInstance(); in dispatchRetainNonConfigurationInstance() local 596 if (instance != null) { in dispatchRetainNonConfigurationInstance() 600 instanceMap.put(r.id, instance); in dispatchRetainNonConfigurationInstance()
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
D | ButtonActivity.java | 39 final ButtonActivity instance = this; in onCreate() local 50 InputMethodManager imm = InputMethodManager.getInstance(instance); in onCreate()
|
/frameworks/base/docs/html/guide/components/ |
D | tasks-and-back-stack.jd | 155 users to start a particular activity from more than one activity, a new instance of 156 that activity is created and pushed onto the stack (rather than bringing any previous instance of 159 using the <em>Back</em> button, each instance of the activity is revealed in the order they were 225 to bring forward an existing instance of it (instead of creating a new 226 instance on top of the back stack); or, you want your back stack to be cleared of all 275 <p>Launch modes allow you to define how a new instance of an activity is associated with the 314 <dd>Default. The system creates a new instance of the activity in the task from 316 each instance can belong to different tasks, and one task can have multiple instances.</dd> 318 <dd>If an instance of the activity already exists at the top of the current task, the system 319 routes the intent to that instance through a call to its {@link [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | DeviceMonitor.java | 222 private static DeviceMonitor instance = new DeviceMonitor(); field in DeviceMonitor 228 instance.startMonitoring(); in start()
|
/frameworks/base/docs/html/guide/faq/ |
D | framework.jd | 74 This is a class that is designed to have only one instance. It 76 that returns the instance; the first time this method is called, 77 it creates the global instance. Because all callers get the same 78 instance, they can use this as a point of interaction. For 79 example activity A may retrieve the instance and call setValue(3); 80 later activity B may retrieve the instance and call getValue() to
|
/frameworks/base/docs/html/tools/devices/ |
D | emulator.jd | 168 <p>You can run your application on a single instance of the emulator or, 177 <p>To start an instance of the emulator from the command line, navigate to the 200 <p>To stop an emulator instance, just close the emulator's window.</p> 215 When the emulator is running, you can also connect to the emulator instance's 269 <li>Name the AVD instance and select any other configuration options. 373 <li>Name the emulator instance and select any other configuration options.</li> 740 <p>Each emulator instance uses a writeable user-data image to store user- and 760 each emulator instance gets its own dedicated storage. There is no longer a need 761 to use the <code>-d</code> option to specify an instance-specific storage area.</p> 807 <p>Each instance of the emulator runs behind a virtual router/firewall service [all …]
|