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 resource, T[] objects) { argument
128 init(context, resource, 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 resource, 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/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
1306 ipcSetDataReference(const uint8_t* data, size_t dataSize, const size_t* objects, size_t objectsCount, release_func relFunc, void* relCookie) argument
1355 size_t* const objects = mObjects; local
1369 size_t* const objects = mObjects; local
1470 size_t* objects = NULL; local
1518 size_t* objects = local
[all...]
H A DIPCThreadState.cpp1120 const size_t* objects, size_t objectsSize,
1119 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.cpp64 objects.add(object);
69 objects.remove(object);
74 if (objects.indexOf(object) >= 0) {
275 // Mark all objects remaining in the list as terminated, unless
278 size_t count = objects.size();
279 ALOGW_IF(count, "eglTerminate() called w/ %d objects remaining", count);
281 egl_object_t* o = objects.itemAt(i);
286 objects.clear();
H A Degl_display.h133 SortedVector<egl_object_t*> objects; member in class:android::egl_display_t
183 // 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/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DYearPickerView.java107 public YearAdapter(Context context, int resource, List<String> objects) { argument
108 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.java124 * Convert objects to a PEM format which is used for
127 public static byte[] convertToPem(Certificate... objects) argument
132 for (Certificate o : objects) {
139 * 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.java366 * objects.
446 * It contains ApplicationRecord objects. This list does NOT include
508 * Set of PendingResultRecord objects that are currently active.
513 * Set of IntentSenderRecord objects that are currently active.
600 * List of PendingThumbnailsRecord objects of clients who are still
606 * List of HistoryRecord objects that have been finished and must
662 * Current configuration information. HistoryRecord objects are given
4040 // Stopping user, remove all objects for the user.
9836 ArrayList<Integer> objects; field in class:ActivityManagerService.ItemMatcher
9856 if (objects
[all...]

Completed in 686 milliseconds