/aosp12/art/test/920-objects/src/art/ |
H A D | Test920.java | 50 Object[] objects = new Object[] { in testObjectHash() local 59 int hashes[] = new int[objects.length]; in testObjectHash() 61 for (int i = 0; i < objects.length; i++) { in testObjectHash() 62 hashes[i] = getObjectHashCode(objects[i]); in testObjectHash() 66 for (int i = 0; i < objects.length; i++) { in testObjectHash() 67 int ihash = System.identityHashCode(objects[i]); in testObjectHash() 69 throw new RuntimeException(objects[i] + ": " + hashes[i] + " vs " + ihash); in testObjectHash() 76 for (int i = 0; i < objects.length; i++) { in testObjectHash() 77 int newhash = getObjectHashCode(objects[i]); in testObjectHash() 79 throw new RuntimeException(objects[i] + ": " + hashes[i] + " vs " + newhash); in testObjectHash()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | ScrollArrayAdapter.java | 41 public ScrollArrayAdapter(Context context, int textViewResourceId, T[] objects) { in ScrollArrayAdapter() argument 42 super(context, textViewResourceId, objects); in ScrollArrayAdapter() 46 T[] objects) { in ScrollArrayAdapter() argument 47 super(context, resource, textViewResourceId, objects); in ScrollArrayAdapter() 51 public ScrollArrayAdapter(Context context, int textViewResourceId, List<T> objects) { in ScrollArrayAdapter() argument 52 super(context, textViewResourceId, objects); in ScrollArrayAdapter() 56 List<T> objects) { in ScrollArrayAdapter() argument 57 super(context, resource, textViewResourceId, objects); in ScrollArrayAdapter()
|
/aosp12/art/test/920-objects/ |
H A D | Android.bp | 3 // Build rules for ART run-test `920-objects`. 16 name: "art-run-test-920-objects", 21 ":art-run-test-920-objects-expected-stdout", 22 ":art-run-test-920-objects-expected-stderr", 28 name: "art-run-test-920-objects-expected-stdout", 29 out: ["art-run-test-920-objects-expected-stdout.txt"], 36 name: "art-run-test-920-objects-expected-stderr", 37 out: ["art-run-test-920-objects-expected-stderr.txt"],
|
/aosp12/art/test/1913-get-set-local-objects/ |
H A D | Android.bp | 3 // Build rules for ART run-test `1913-get-set-local-objects`. 16 name: "art-run-test-1913-get-set-local-objects", 21 ":art-run-test-1913-get-set-local-objects-expected-stdout", 22 ":art-run-test-1913-get-set-local-objects-expected-stderr", 28 name: "art-run-test-1913-get-set-local-objects-expected-stdout", 29 out: ["art-run-test-1913-get-set-local-objects-expected-stdout.txt"], 36 name: "art-run-test-1913-get-set-local-objects-expected-stderr", 37 out: ["art-run-test-1913-get-set-local-objects-expected-stderr.txt"],
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
H A D | AppearAnimationUtils.java | 62 startAnimation2d(objects, finishListener, this); in startAnimation2d() 65 public void startAnimation(View[] objects, final Runnable finishListener) { in startAnimation() argument 66 startAnimation(objects, finishListener, this); in startAnimation() 69 public <T> void startAnimation2d(T[][] objects, final Runnable finishListener, in startAnimation2d() argument 71 AppearAnimationProperties properties = getDelays(objects); in startAnimation2d() 72 startAnimations(properties, objects, finishListener, creator); in startAnimation2d() 75 public <T> void startAnimation(T[] objects, final Runnable finishListener, in startAnimation() argument 77 AppearAnimationProperties properties = getDelays(objects); in startAnimation() 78 startAnimations(properties, objects, finishListener, creator); in startAnimation() 98 creator.createAnimation(objects[row], delay, mDuration, in startAnimations() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | EventLogTest.java | 45 Object[] objects = ((Object[]) event.withNewData( in testWithNewData() local 47 assertEquals(4, objects.length); in testWithNewData() 48 assertTrue(objects[0].equals(111)); in testWithNewData() 49 assertTrue(objects[1].equals(2.22f)); in testWithNewData() 50 assertTrue(objects[2].equals(333L)); in testWithNewData() 51 assertTrue(objects[3].equals("444")); in testWithNewData()
|
/aosp12/art/test/407-arrays/src/ |
H A D | Main.java | 33 int[] ints, Object[] objects, long[] longs, float[] floats, in $opt$testReads() argument 50 assertNull(objects[0]); in $opt$testReads() 51 assertNull(objects[index]); in $opt$testReads() 64 int[] ints, Object[] objects, long[] longs, float[] floats, in $opt$testWrites() argument 101 objects[0] = o1; in $opt$testWrites() 102 assertEquals(o1, objects[0]); in $opt$testWrites() 104 objects[index] = o2; in $opt$testWrites() 105 assertEquals(o2, objects[index]); in $opt$testWrites()
|
/aosp12/art/test/903-hello-tagging/src/art/ |
H A D | Test903.java | 106 Object[] objects = (Object[])result[0]; in testGetTaggedObjectsRun() local 111 printArraysSorted(objects, tags); in testGetTaggedObjectsRun() 114 private static void printArraysSorted(Object[] objects, long[] tags) { in printArraysSorted() argument 115 if (objects == null && tags == null) { in printArraysSorted() 120 int l1 = objects == null ? 0 : objects.length; in printArraysSorted() 125 tmp[i] = new Pair(objects == null ? null : objects[i], tags == null ? 0 : tags[i]); in printArraysSorted()
|
/aosp12/art/tools/ahat/ |
H A D | README.txt | 23 * Let user re-sort sites objects info by clicking column headers. 34 * Include a link to /objects in the overview and menu? 42 objects normally sorted by 'app' heap by default. 44 * Visit /objects with an invalid site, verify it doesn't throw an exception. 45 * That we can view the list of all objects in a reasonably short amount of 76 Allow hex ids to be used for objects in query parameters. 84 Properly mark thread and non-default root objects as roots. 96 Show registered native sizes of objects. 122 Annotate char[] objects with their string values. 128 Annotate root objects and show their types. [all …]
|
/aosp12/art/runtime/gc/collector/ |
H A D | object_byte_pair.h | 28 : objects(num_objects), bytes(num_bytes) {} 30 objects += other.objects; in Add() 34 uint64_t objects; member
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | ArrayAdapter.java | 164 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, @NonNull T[] objects) { in ArrayAdapter() argument 165 this(context, resource, 0, Arrays.asList(objects)); in ArrayAdapter() 179 @IdRes int textViewResourceId, @NonNull T[] objects) { in ArrayAdapter() argument 180 this(context, resource, textViewResourceId, Arrays.asList(objects)); in ArrayAdapter() 192 @NonNull List<T> objects) { in ArrayAdapter() argument 193 this(context, resource, 0, objects); in ArrayAdapter() 206 @IdRes int textViewResourceId, @NonNull List<T> objects) { in ArrayAdapter() argument 207 this(context, resource, textViewResourceId, objects, false); in ArrayAdapter() 211 @IdRes int textViewResourceId, @NonNull List<T> objects, boolean objsFromResources) { in ArrayAdapter() argument 215 mObjects = objects; in ArrayAdapter()
|
/aosp12/frameworks/base/core/java/android/metrics/ |
H A D | MetricsReader.java | 86 Object[] objects; in read() local 88 objects = (Object[]) data; in read() 91 objects = new Object[1]; in read() 92 objects[0] = data; in read() 94 final LogMaker log = new LogMaker(objects) in read()
|
/aosp12/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | ListViewAddRemoveNoTransition.java | 84 List<String> objects) { in StableArrayAdapter() argument 85 super(context, textViewResourceId, objects); in StableArrayAdapter() 86 for (int i = 0; i < objects.size(); ++i) { in StableArrayAdapter() 87 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
|
H A D | ListViewAddRemove.java | 149 List<String> objects) { in StableArrayAdapter() argument 150 super(context, textViewResourceId, objects); in StableArrayAdapter() 151 for (int i = 0; i < objects.size(); ++i) { in StableArrayAdapter() 152 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
|
/aosp12/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
H A D | OrdinalGenerator.java | 53 int[] ordinals(List<T> objects) { in ordinals() argument 54 int[] ordinals = new int[objects.size()]; in ordinals() 56 ordinals[i] = ordinal(objects.get(i)); in ordinals()
|
/aosp12/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | ComparatorTester.java | 126 public ComparatorTester addEqualityGroup(Object... objects) { in addEqualityGroup() argument 127 Preconditions.checkNotNull(objects); in addEqualityGroup() 128 Preconditions.checkArgument(objects.length > 0, "Array must not be empty"); in addEqualityGroup() 129 equalityGroups.add(ImmutableList.copyOf(objects)); in addEqualityGroup()
|
/aosp12/build/bazel/rules/ |
H A D | cc_object.bzl | 20 "objects", 48 deps_objects.append(obj[CcObjectInfo].objects) 71 if len(objects_to_link.objects) + len(objects_to_link.pic_objects) > 1: 82 files = depset(objects_to_link.objects + objects_to_link.pic_objects) 87 CcObjectInfo(objects = objects_to_link),
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 255 Object[] objects = (Object[]) object; in encodeObject() local 256 if (objects.length > 255) { in encodeObject() 259 byte[][] bytes = new byte[objects.length][]; in encodeObject() 261 for (int i = 0; i < objects.length; i++) { in encodeObject() 262 bytes[i] = encodeObject(objects[i]); in encodeObject() 268 .put((byte) objects.length); in encodeObject() 269 for (int i = 0; i < objects.length; i++) { in encodeObject()
|
/aosp12/frameworks/native/opengl/specs/ |
H A D | EGL_ANDROID_native_fence_sync.txt | 39 This extension enables the creation of EGL fence sync objects that are 41 using a file descriptor. These EGL fence sync objects have nearly 48 objects must have a signal status like that of an EGLSyncKHR object that 227 1. Should EGLSyncKHR objects that wrap native fence objects use the 232 We don't want to require all EGL fence sync objects to wrap native fence 237 that might be added for fence sync objects, but there may be things that 238 get added that don't make sense in the context of native fence objects. 260 behavior of EGL native fence sync objects, so it is left as an attribute 266 - Reworded the extension to refer to "native fence" objects rather than 267 "Android fence" objects. [all …]
|
/aosp12/frameworks/wilhelm/src/ |
H A D | Android.bp | 145 "objects/C3DGroup.cpp", 146 "objects/CAudioPlayer.cpp", 147 "objects/CAudioRecorder.cpp", 148 "objects/CEngine.cpp", 149 "objects/COutputMix.cpp", 150 "objects/CMediaPlayer.cpp",
|
/aosp12/art/test/102-concurrent-gc/ |
H A D | info.txt | 1 Test that attempts to hide objects from a concurrently running GC. The 2 concurrent GC should locate the "hidden" objects through a write-barrier.
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | MtpDeviceIndexRunnable.java | 115 List<IngestObjectInfo> objects = bucketTemp.getValue(); in indexDevice() local 116 Collections.sort(objects); in indexDevice() 117 numBucketObjects = objects.size(); in indexDevice() 127 mtpObjects[currentItemsEntry] = objects.get(j); in indexDevice()
|
/aosp12/art/test/072-reachability-fence/ |
H A D | info.txt | 1 Check that reachabilityFence() prevents garbage collection of objects only referred to by a dead 4 This is not very convincing, since we currently usually keep such objects around anyway.
|
/aosp12/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | AlbumDataAdapter.java | 49 int resource, List<PhotoSource.AlbumData> objects) { in AlbumDataAdapter() argument 50 super(context, resource, objects); in AlbumDataAdapter() 56 mValidAlbumIds = new HashSet<String>(objects.size()); in AlbumDataAdapter() 57 for (PhotoSource.AlbumData albumData: objects) { in AlbumDataAdapter()
|
/aosp12/art/test/2008-redefine-then-old-reflect-field/ |
H A D | info.txt | 1 Tests that j.l.r.Field objects survive across redefinitions 3 We had a bug where java.lang.reflect.Field objects would be invalid after the class of the Field
|