Searched refs:objects (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
H A DHeapTest.java49 private static void makeRefs(Object objects[], SoftReference<Object> refs[]) { argument
50 for (int i = 0; i < objects.length; i++) {
51 objects[i] = (Object) new byte[8 * 1024];
52 refs[i] = new SoftReference<Object>(objects[i]);
71 private static void clearRefs(Object objects[], int skip) { argument
72 for (int i = 0; i < objects.length; i += skip) {
73 objects[i] = null;
77 private static void clearRefs(Object objects[]) { argument
78 clearRefs(objects, 1);
81 private static <T> void checkRefs(T objects[], SoftReferenc argument
177 makeRefs(Object objects[], WeakReference<Object> refs[]) argument
184 checkRefs(T objects[], WeakReference<T> refs[]) argument
229 makeRefs(Object objects[], PhantomReference<Object> refs[], ReferenceQueue<Object> queue) argument
237 checkRefs(T objects[], PhantomReference<T> refs[], ReferenceQueue<T> queue) argument
359 makeRefs(FinalizableObject objects[], WeakReference<FinalizableObject> refs[]) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DObjects.java27 * Determines whether two possibly-null objects are equal. Returns:
36 * <p>This assumes that any non-null objects passed to this function conform
58 public static int hashCode(Object... objects) { argument
59 return Arrays.hashCode(objects);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DTextureBase.java33 protected Boolean doInBackground(TextureBase... objects) { argument
34 TextureBase tex = objects[0];
H A DRenderPass.java110 mRsField.objects = drawableData;
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java34 * objects. By default this class expects that the provided resource id references
40 * the array. You can add lists or arrays of custom objects. Override the toString() method
41 * of your objects to determine what text will be displayed for the item in the list.
49 * Contains the list of objects that represent the data of this ArrayAdapter.
125 * @param objects The objects to represent in the ListView.
127 public ArrayAdapter(Context context, int textViewResourceId, T[] objects) { argument
128 init(context, textViewResourceId, 0, Arrays.asList(objects));
138 * @param objects The objects t
140 ArrayAdapter(Context context, int resource, int textViewResourceId, T[] objects) argument
152 ArrayAdapter(Context context, int textViewResourceId, List<T> objects) argument
165 ArrayAdapter(Context context, int resource, int textViewResourceId, List<T> objects) argument
308 init(Context context, int resource, int textViewResourceId, List<T> objects) argument
[all...]
/frameworks/compile/libbcc/runtime/make/
H A Dsubdir.mk5 # ObjNames - The objects available in that directory.
6 # Implementation - The library configuration the objects should go in (Generic or
11 # OnlyArchs - Only build the objects for the listed archs.
12 # OnlyConfigs - Only build the objects for the listed configurations.
/frameworks/native/libs/binder/
H A DParcel.cpp366 const size_t *objects = parcel->mObjects; local
382 // Count objects in range
384 size_t off = objects[i];
410 // grow objects
413 size_t *objects = local
415 if (objects == (size_t*)0) {
418 mObjects = objects;
422 // append and acquire objects
425 size_t off = objects[i] - offset + startPos;
513 const size_t* Parcel::objects() cons function in class:android::Parcel
1263 ipcSetDataReference(const uint8_t* data, size_t dataSize, const size_t* objects, size_t objectsCount, release_func relFunc, void* relCookie) argument
1312 size_t* const objects = mObjects; local
1326 size_t* const objects = mObjects; local
1427 size_t* objects = NULL; local
1475 size_t* objects = local
[all...]
H A DIPCThreadState.cpp1116 const size_t* objects, size_t objectsSize,
1115 freeBuffer(Parcel* parcel, const uint8_t* data, size_t dataSize, const size_t* objects, size_t objectsSize, void* cookie) argument
/frameworks/wilhelm/src/
H A DAndroid.mk101 objects/C3DGroup.c \
102 objects/CAudioPlayer.c \
103 objects/CAudioRecorder.c \
104 objects/CEngine.c \
105 objects/COutputMix.c \
106 objects/CMediaPlayer.c \
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp91 objects.add(object);
96 objects.remove(object);
101 if (objects.indexOf(object) >= 0) {
302 // Mark all objects remaining in the list as terminated, unless
305 size_t count = objects.size();
306 ALOGW_IF(count, "eglTerminate() called w/ %d objects remaining", count);
308 egl_object_t* o = objects.itemAt(i);
313 objects.clear();
H A Degl_display.h135 SortedVector<egl_object_t*> objects; member in class:android::egl_display_t
185 // An egl_display_ptr is a kind of smart pointer for egl_display_t objects.
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListWithMailMessages.java118 List<MailMessage> objects) {
119 super(context, resource, objects);
117 MyAdapter(Context context, int resource, List<MailMessage> objects) argument
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java131 public Adapter(Context context, int resource, List<T> objects) { argument
132 super(context, resource, objects);
/frameworks/native/include/binder/
H A DParcel.h85 const size_t* objects() const;
194 const size_t* objects, size_t objectsSize,
202 const size_t* objects, size_t objectsCount,
327 // Generic acquire and release of objects.
H A DIPCThreadState.h106 const size_t* objects, size_t objectsSize,
/frameworks/base/keystore/java/android/security/
H A DCredentials.java116 * Convert objects to a PEM format which is used for
119 public static byte[] convertToPem(Certificate... objects) argument
124 for (Certificate o : objects) {
131 * Convert objects from PEM format, which is used for
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java331 Directions[] objects = new Directions[1];
348 objects[0] = reflowed.getLineDirections(i);
356 mObjects.insertAt(startline + i, objects);
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java257 public HeaderAdapter(Context context, List<Header> objects) { argument
258 super(context, 0, objects);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java334 * objects.
414 * It contains ApplicationRecord objects. This list does NOT include
476 * Set of PendingResultRecord objects that are currently active.
481 * Set of IntentSenderRecord objects that are currently active.
568 * List of PendingThumbnailsRecord objects of clients who are still
574 * List of HistoryRecord objects that have been finished and must
626 * Current configuration information. HistoryRecord objects are given
3953 // Stopping user, remove all objects for the user.
9548 ArrayList<Integer> objects; field in class:ActivityManagerService.ItemMatcher
9568 if (objects
[all...]

Completed in 364 milliseconds