/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | IAidlTest.aidl | 34 boolean[] booleanArray(in boolean[] a0, out boolean[] a1, inout boolean[] a2); 35 char[] charArray(in char[] a0, out char[] a1, inout char[] a2); 36 int[] intArray(in int[] a0, out int[] a1, inout int[] a2); 37 long[] longArray(in long[] a0, out long[] a1, inout long[] a2); 38 float[] floatArray(in float[] a0, out float[] a1, inout float[] a2); 39 double[] doubleArray(in double[] a0, out double[] a1, inout double[] a2); 40 String[] stringArray(in String[] a0, out String[] a1, inout String[] a2); 42 out AidlTest.TestParcelable[] a1,
|
H A D | AidlTest.java | 123 public boolean[] booleanArray(boolean[] a0, boolean[] a1, boolean[] a2) { argument 127 for (int i = 0; i < a0.length && i < a1.length; i++) { 128 a1[i] = a0[i]; 133 public char[] charArray(char[] a0, char[] a1, char[] a2) { argument 137 for (int i = 0; i < a0.length && i < a1.length; i++) { 138 a1[i] = a0[i]; 143 public int[] intArray(int[] a0, int[] a1, int[] a2) { argument 147 for (int i = 0; i < a0.length && i < a1.length; i++) { 148 a1[i] = a0[i]; 153 public long[] longArray(long[] a0, long[] a1, lon argument 163 floatArray(float[] a0, float[] a1, float[] a2) argument 173 doubleArray(double[] a0, double[] a1, double[] a2) argument 183 stringArray(String[] a0, String[] a1, String[] a2) argument 193 parcelableArray(TestParcelable[] a0, TestParcelable[] a1, TestParcelable[] a2) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ValueAnimatorTests.java | 48 private ValueAnimator a1; field in class:ValueAnimatorTests 68 a1 = ValueAnimator.ofFloat(A1_START_VALUE, A1_END_VALUE).setDuration(300); 74 a1 = null; 125 a1.addListener(l1); 139 a1.start(); 152 a1.cancel(); 171 long delay = Math.max(a1.getTotalDuration(), a2.getTotalDuration()) + TOLERANCE; 177 // a1 is canceled. 192 assertFalse(a1.isStarted()); 194 assertFalse(a1 [all...] |
H A D | AnimatorSetActivityTest.java | 16 private ObjectAnimator a1,a2,a3; field in class:AnimatorSetActivityTest 57 a1 = ObjectAnimator.ofFloat(square1, View.TRANSLATION_X, 0f, 500f, 0f).setDuration(250); 67 a1 = null; 78 s1.playTogether(a1, a2, a3); 81 assertTrue(children.contains(a1)); 86 s2.playSequentially(a1, a2, a3); 89 assertTrue(children.contains(a1)); 94 s3.play(a1).before(a2).after(s1).with(s2).after(a3); 98 assertTrue(s3Children.contains(a1)); 134 a1 [all...] |
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_copy_test.java | 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 42 a1.copyFrom(f1); 44 s.forEach_copyFloat2(a1, a2); 53 a1.destroy(); 58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 66 a1.copyFrom(f1); 68 s.forEach_copyFloat3(a1, a2); 77 a1.destroy(); 82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); 90 a1 [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | UT_copy_test.java | 33 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 41 a1.copyFrom(f1); 43 s.forEach_copyFloat2(a1, a2); 52 a1.destroy(); 57 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 65 a1.copyFrom(f1); 67 s.forEach_copyFloat3(a1, a2); 76 a1.destroy(); 81 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); 89 a1 [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
H A D | UT_copy_test.java | 35 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 43 a1.copyFrom(f1); 45 s.forEach_copyFloat2(a1, a2); 54 a1.destroy(); 59 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 67 a1.copyFrom(f1); 69 s.forEach_copyFloat3(a1, a2); 78 a1.destroy(); 83 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); 91 a1 [all...] |
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | MessageUtilsTest.java | 65 SparseArray<String> a1, SparseArray<String> a2) throws Exception { 66 String msg = String.format("%s != %s", a1.toString(), a2.toString()); 67 assertEquals(msg, a1.size(), a2.size()); 68 int size = a1.size(); 70 assertEquals(msg, a1.keyAt(i), a2.keyAt(i)); 71 assertEquals(msg, a1.valueAt(i), a2.valueAt(i)); 64 assertSparseArrayEquals( SparseArray<String> a1, SparseArray<String> a2) argument
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.h | 111 GLfixed a1, GLfixed b1, 125 "%r"(a1), "r"(b1), 134 int64_t(a1)*b1)>>16) + c; 140 GLfixed a1, GLfixed b1, 156 "%r"(a1), "r"(b1), 169 "madd %[a1],%[b1] \r\n" 178 : [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c) 186 int64_t(a1)*b1 + 196 GLfixed a1, 110 mla2a( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed c) argument 139 mla3a( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2, GLfixed c) argument 195 mla3a16( GLfixed a0, int32_t b1b0, GLfixed a1, GLfixed a2, int32_t b2, GLint shift, GLfixed c) argument 234 mla3a16_btb( GLfixed a0, GLfixed a1, GLfixed a2, int32_t b1b0, int32_t xxb2, GLint shift, GLfixed c) argument 275 mla3a16_btt( GLfixed a0, GLfixed a1, GLfixed a2, int32_t b1b0, int32_t b2xx, GLint shift, GLfixed c) argument 316 mla3( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2) argument 347 mla4( GLfixed a0, GLfixed b0, GLfixed a1, GLfixed b1, GLfixed a2, GLfixed b2, GLfixed a3, GLfixed b3) argument [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
H A D | WeakIdentityHashMapTest.java | 53 String a1 = new String("a"); 55 assertNotSame(a1, a2); 57 mMap.put(a1, "value1"); 60 assertEquals("value1", mMap.get(a1));
|
/frameworks/compile/mclinker/unittests/ |
H A D | GraphTest.cpp | 184 ListDigraph::Arc* a1 = graph.addArc(*u1, *u2); local 188 ASSERT_TRUE(u1 == a1->source && u2 == a1->target); 192 ASSERT_TRUE(u1->first_in == a3 && u1->first_out == a1); 193 ASSERT_TRUE(u2->first_in == a1 && u2->first_out == a2); 204 ListDigraph::Arc* a1 = graph.addArc(*u1, *u1); local 208 ASSERT_TRUE(u1 == a1->source && u1 == a1->target); 212 ASSERT_TRUE(u1->first_in == a1 && u1->first_out == a3); 224 ListDigraph::Arc* a1 local 250 ListDigraph::Arc* a1 = graph.addArc(*u1, *u2); local 276 ListDigraph::Arc* a1 = graph.addArc(*u1, *u2); local 302 ListDigraph::Arc* a1 = graph.addArc(*u1, *u1); local [all...] |
/frameworks/base/core/java/android/net/ |
H A D | IpPrefix.java | 265 final byte[] a1 = prefix1.address; 267 final int len = a1.length < a2.length ? a1.length : a2.length; 269 if (a1[i] < a2[i]) return -1; 270 if (a1[i] > a2[i]) return 1; 273 if (a1.length < len) return -1;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | ApnSettingTest.java | 103 private static void assertApnSettingsEqual(List<ApnSetting> a1, List<ApnSetting> a2) { argument 104 assertEquals(a1.size(), a2.size()); 105 for (int i = 0; i < a1.size(); ++i) { 106 assertApnSettingEqual(a1.get(i), a2.get(i)); 110 private static void assertApnSettingEqual(ApnSetting a1, ApnSetting a2) { argument 111 assertEquals(a1.carrier, a2.carrier); 112 assertEquals(a1.apn, a2.apn); 113 assertEquals(a1.proxy, a2.proxy); 114 assertEquals(a1.port, a2.port); 115 assertEquals(a1 [all...] |
/frameworks/rs/tests/cpp_api/cppbasic/ |
H A D | compute.cpp | 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); local 29 printf("Allocation %p\n", a1.get()); 38 sc->set_alloc(a1);
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
H A D | compute.cpp | 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); local 29 printf("Allocation %p\n", a1.get()); 38 sc->set_alloc(a1);
|
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/ |
H A D | compute.cpp | 32 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); local 33 printf("Allocation %p\n", a1.get());
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 159 const audio_coef_t a1 = mCoefs[3]; local 167 acc = mac_coef_sample(a1, y1, acc); 206 const audio_coef_t a1 = mCoefs[3]; local 220 acc = mac_coef_sample(a1, y1, acc);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | AllocationAdapter.java | 73 int a1 = 0, a2 = 0, a3 = 0, a4 = 0; 77 a1 = mSelectedArray[0]; 90 mSelectedLOD, mSelectedFace.mID, a1, a2, a3, a4);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | KernelUidCpuActiveTimeReaderTest.java | 206 private long[] subtract(long[] a1, long[] a2) { argument 207 long[] val = new long[a1.length]; 209 val[i] = a1[i] - a2[i];
|
H A D | KernelUidCpuClusterTimeReaderTest.java | 233 private long[] subtract(long[] a1, long[] a2) { argument 234 long[] val = new long[a1.length]; 236 val[i] = a1[i] - a2[i];
|
H A D | KernelUidCpuFreqTimeReaderTest.java | 262 private long[] subtract(long[] a1, long[] a2) { argument 263 long[] val = new long[a1.length]; 265 val[i] = a1[i] - a2[i];
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
H A D | SliceClientPermissionsTest.java | 231 ArrayList<SliceAuthority> a1 = new ArrayList<>(o1.getAuthorities()); 233 a1.sort(Comparator.comparing(SliceAuthority::getAuthority)); 235 assertEquals(a1, a2);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
H A D | residu_asm_opt.s | 37 ORR r5, r6, r5, LSL #16 @r5 --- a0, a1 85 SMLABB r4, r5, r2, r4 @i2(1) --- r4 += x[0] * a1 87 SMLABB r12, r5, r10, r12 @i4(1) --- r12 += x[2] * a1 95 SMLABT r3, r5, r2, r3 @i1(1) --- r3 += x[-1] * a1
|
/frameworks/base/services/core/java/com/android/server/slice/ |
H A D | SliceClientPermissions.java | 333 String[] a1 = p1.get(i); 335 if (a1.length != a2.length) return false; 336 for (int j = 0; j < a1.length; j++) { 337 if (!Objects.equals(a1[j], a2[j])) return false;
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | BitmapTest.java | 209 int a1 = Color.alpha(c1); 210 assertEquals("alpha", a0, a1);
|