/frameworks/wilhelm/src/ |
H A D | sync.c | 64 IObject *instance = (IObject *) thiz->mEngine.mInstances[i]; local 66 if (NULL == instance) { 70 object_lock_exclusive(instance); 71 unsigned attributesMask = instance->mAttributesMask; 72 instance->mAttributesMask = 0; 74 switch (IObjectToObjectID(instance)) { 77 object_unlock_exclusive(instance); 80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; 87 object_unlock_exclusive(instance);
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | EngineInstance.cpp | 35 static EngineInstance instance; local 36 return &instance;
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | EngineInstance.cpp | 32 static EngineInstance instance; local 33 return &instance;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiCollection.java | 26 * Constructs an instance as described by the selector 41 * The returned UiObject will point at the <code>childPattern</code> instance that matched the 46 * @return {@link UiObject} pointing at and instance of <code>childPattern</code> 75 * a child UI element anywhere within its sub hierarchy that is at the <code>instance</code> 80 * @param instance int the desired matched instance of this <code>childPattern</code> 81 * @return {@link UiObject} pointing at and instance of <code>childPattern</code> 84 public UiObject getChildByInstance(UiSelector childPattern, int instance) argument 86 Tracer.trace(childPattern, instance); 88 UiSelector.patternBuilder(childPattern).instance(instanc [all...] |
H A D | UiScrollable.java | 155 * @param instance int number representing the occurance of 161 public UiObject getChildByInstance(UiSelector childPattern, int instance) argument 163 Tracer.trace(childPattern, instance); 165 UiSelector.patternBuilder(childPattern).instance(instance));
|
H A D | UiSelector.java | 311 * consider using the {@link #instance(int)} method. 323 * widget by its instance number. 325 * The instance value must be 0 or greater, where 326 * the first instance is 0. 330 * could specify a a search criteria where the instance is 336 * .enabled(true).instance(2); 339 * @param instance Value to match 343 public UiSelector instance(final int instance) { argument 344 return buildSelector(SELECTOR_INSTANCE, instance); [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Learner.java | 28 * 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/core/java/android/util/ |
H A D | 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); argument 110 release(T instance) argument 122 isInPool(T instance) argument [all...] |
H A D | Xml.java | 106 return XmlSerializerFactory.instance.newSerializer(); 116 static final XmlPullParserFactory instance; field in class:Xml.XmlSerializerFactory 119 instance = XmlPullParserFactory.newInstance(TYPE, null);
|
/frameworks/base/core/java/com/android/server/ |
H A D | AppWidgetBackupBridge.java | 30 public static void register(WidgetBackupProvider instance) { argument 31 sAppWidgetService = instance;
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ |
H A D | ClassWithNative_Delegate.java | 27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { argument 29 o[0] = instance;
|
H A D | OuterClass_Delegate.java | 26 public static int get(OuterClass instance, int a, long b) { argument 30 public static String privateMethod(OuterClass instance) { argument
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | 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); argument 111 release(T instance) argument 123 isInPool(T instance) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 68 public static synchronized MiniThumbFile instance(Uri uri) { method in class:MiniThumbFile
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AttributeCache.java | 70 public static AttributeCache instance() { method in class:AttributeCache
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattDescriptor.java | 137 int instance, int permissions) { 138 initDescriptor(characteristic, uuid, instance, permissions); 142 int instance, int permissions) { 145 mInstance = instance; 175 * Returns the instance ID for this descriptor. 178 * the instance ID is used to distuinguish between descriptors. 136 BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) argument 141 initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) argument
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ResourceModifiers.java | 59 public static ResourceModifiers instance() { return sInstance; } method in class:ResourceModifiers
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
H A D | DelegateClassAdapterTest.java | 72 // create an instance of the class that will be modified 308 * instance methods via reflection. 362 public int callGet(Object instance, int a, long b) throws Exception { argument 363 Method m = instance.getClass().getMethod("get", 366 Object result = m.invoke(instance, a, b); 374 public int callGet_Original(Object instance, int a, long b) throws Exception { argument 375 Method m = instance.getClass().getMethod("get_Original", 378 Object result = m.invoke(instance, a, b); 386 public <T> T callMethod(Object instance, String methodName, boolean makePublic) throws Exception { argument 387 Method m = instance 406 callAdd(Object instance, int a, int b) argument 418 callCallNativeInstance(Object instance, int a, double d, Object[] o) argument [all...] |
/frameworks/multidex/library/src/android/support/multidex/ |
H A D | MultiDex.java | 267 * @param instance an object to search the field into. 272 private static Field findField(Object instance, String name) throws NoSuchFieldException { argument 273 for (Class<?> clazz = instance.getClass(); clazz != null; clazz = clazz.getSuperclass()) { 288 throw new NoSuchFieldException("Field " + name + " not found in " + instance.getClass()); 294 * @param instance an object to search the method into. 300 private static Method findMethod(Object instance, String name, Class<?>... parameterTypes) argument 302 for (Class<?> clazz = instance.getClass(); clazz != null; clazz = clazz.getSuperclass()) { 318 Arrays.asList(parameterTypes) + " not found in " + instance.getClass()); 324 * @param instance the instance whos 328 expandFieldArray(Object instance, String fieldName, Object[] extraElements) argument [all...] |
/frameworks/native/include/android/ |
H A D | native_activity.h | 67 * NativeActivity instance created by the system for you. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 94 void* instance; member in struct:ANativeActivity 97 * Pointer to the Asset Manager instance for the application. The application 130 * Framework is asking NativeActivity to save its current instance state. 229 * application's native activity. It is called with the activity instance (see 230 * above); if the code is being instantiated from a previously saved instance,
|
/frameworks/av/media/libmedia/ |
H A D | MediaScanner.cpp | 248 void MediaAlbumArt::init(MediaAlbumArt *instance, int32_t dataSize, const void *data) { argument 249 instance->mSize = dataSize; 250 memcpy(&instance->mData[0], data, dataSize);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
H A D | DozeLog.java | 79 public static void traceNotificationPulse(long instance) { argument 81 log("notificationPulse instance=" + instance);
|
H A D | DozeService.java | 57 private static final String EXTRA_INSTANCE = "instance"; 364 private PendingIntent notificationPulseIntent(long instance) { argument 368 .putExtra(EXTRA_INSTANCE, instance) 397 final long instance = time - mNotificationPulseTime; 398 if (DEBUG) Log.d(mTag, "Scheduling pulse " + instance + " in " + delta + "ms for " 400 mAlarmManager.setExact(AlarmManager.RTC_WAKEUP, time, notificationPulseIntent(instance)); 424 final long instance = intent.getLongExtra(EXTRA_INSTANCE, -1); 425 if (DEBUG) Log.d(mTag, "Received notification pulse intent instance=" + instance); 426 DozeLog.traceNotificationPulse(instance); [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 317 * @returns true if this instance should be kept 319 private static boolean filterMonthlySetPos(EventRecurrence r, Time instance) { argument 321 * Compute the day of the week for the first day of the month. "instance" has a 325 * The basic calculation is to take the instance's "day of the week" number, subtract 329 int dotw = (instance.weekDay - instance.monthDay + 36) % 7; 344 int maxDay = instance.getActualMaximum(Time.MONTH_DAY); 362 * Now walk through the BYSETPOS list and see if the instance is equal to any of the 371 if (daySet[index-1] == instance.monthDay) { 378 if (daySet[daySetLength + index] == instance [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 176 OMXNodeInstance *instance; local 184 instance = mLiveNodes.editValueAt(index); 187 index = mDispatchers.indexOfKey(instance->nodeID()); 191 invalidateNodeID_l(instance->nodeID()); 194 instance->onObserverDied(mMaster); 235 OMXNodeInstance *instance = new OMXNodeInstance(this, observer, name); local 240 instance, &handle); 245 instance->onGetHandleFailed(); 250 *node = makeNodeID(instance); 251 mDispatchers.add(*node, new CallbackDispatcher(instance)); 255 mLiveNodes.add(IInterface::asBinder(observer), instance); local 262 OMXNodeInstance *instance = findInstance(node); local 535 makeNodeID(OMXNodeInstance *instance) argument [all...] |