Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 21 of 21) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DApnSettingTest.java33 public static void assertApnSettingsEqual(List<ApnSetting> a1, List<ApnSetting> a2) { in assertApnSettingsEqual() argument
34 assertEquals(a1.size(), a2.size()); in assertApnSettingsEqual()
36 assertApnSettingEqual(a1.get(i), a2.get(i)); in assertApnSettingsEqual()
40 public static void assertApnSettingEqual(ApnSetting a1, ApnSetting a2) { in assertApnSettingEqual() argument
41 assertEquals(a1.carrier, a2.carrier); in assertApnSettingEqual()
42 assertEquals(a1.apn, a2.apn); in assertApnSettingEqual()
43 assertEquals(a1.proxy, a2.proxy); in assertApnSettingEqual()
44 assertEquals(a1.port, a2.port); in assertApnSettingEqual()
45 assertEquals(a1.mmsc, a2.mmsc); in assertApnSettingEqual()
46 assertEquals(a1.mmsProxy, a2.mmsProxy); in assertApnSettingEqual()
[all …]
/frameworks/native/opengl/libagl/
Dmatrix.h141 GLfixed a2, GLfixed b2, in mla3a() argument
157 "%r"(a2), "r"(b2), in mla3a()
178 …: [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c) in mla3a()
187 int64_t(a2)*b2)>>16) + c; in mla3a()
197 GLfixed a2, int32_t b2, in mla3a16() argument
212 "r"(a2), "r"(b2), in mla3a16()
226 accum += int64_t(a2)*int16_t(b2) >> 16; in mla3a16()
236 GLfixed a2, in mla3a16_btb() argument
252 "r"(a2), in mla3a16_btb()
268 accum += int64_t(a2)*int16_t(b2) >> 16; in mla3a16_btb()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_copy_test.java35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2() local
44 s.forEach_copyFloat2(a1, a2); in testFloat2()
46 a2.copyTo(f2); in testFloat2()
54 a2.destroy(); in testFloat2()
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3() local
68 s.forEach_copyFloat3(a1, a2); in testFloat3()
70 a2.copyTo(f2); in testFloat3()
78 a2.destroy(); in testFloat3()
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4() local
92 s.forEach_copyFloat4(a1, a2); in testFloat4()
[all …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_copy_test.java35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2() local
44 s.forEach_copyFloat2(a1, a2); in testFloat2()
46 a2.copyTo(f2); in testFloat2()
54 a2.destroy(); in testFloat2()
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3() local
68 s.forEach_copyFloat3(a1, a2); in testFloat3()
70 a2.copyTo(f2); in testFloat3()
78 a2.destroy(); in testFloat3()
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4() local
92 s.forEach_copyFloat4(a1, a2); in testFloat4()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DIAidlTest.aidl34 boolean[] booleanArray(in boolean[] a0, out boolean[] a1, inout boolean[] a2); in booleanArray() argument
35 char[] charArray(in char[] a0, out char[] a1, inout char[] a2); in charArray() argument
36 int[] intArray(in int[] a0, out int[] a1, inout int[] a2); in intArray() argument
37 long[] longArray(in long[] a0, out long[] a1, inout long[] a2); in longArray() argument
38 float[] floatArray(in float[] a0, out float[] a1, inout float[] a2); in floatArray() argument
39 double[] doubleArray(in double[] a0, out double[] a1, inout double[] a2); in doubleArray() argument
40 String[] stringArray(in String[] a0, out String[] a1, inout String[] a2); in stringArray() argument
43 inout AidlTest.TestParcelable[] a2); in parcelableArray() argument
DAidlTest.java123 public boolean[] booleanArray(boolean[] a0, boolean[] a1, boolean[] a2) { in booleanArray() argument
124 for (int i = 0; i < a0.length && i < a2.length; i++) { in booleanArray()
125 a2[i] = a0[i]; in booleanArray()
133 public char[] charArray(char[] a0, char[] a1, char[] a2) { in charArray() argument
134 for (int i = 0; i < a0.length && i < a2.length; i++) { in charArray()
135 a2[i] = a0[i]; in charArray()
143 public int[] intArray(int[] a0, int[] a1, int[] a2) { in intArray() argument
144 for (int i = 0; i < a0.length && i < a2.length; i++) { in intArray()
145 a2[i] = a0[i]; in intArray()
153 public long[] longArray(long[] a0, long[] a1, long[] a2) { in longArray() argument
[all …]
/frameworks/compile/mclinker/unittests/
DGraphTest.cpp194 ListDigraph::Arc* a2 = graph.addArc(*u2, *u3); in TEST_F() local
198 ASSERT_TRUE(u2 == a2->source && u3 == a2->target); in TEST_F()
202 ASSERT_TRUE(u2->first_in == a1 && u2->first_out == a2); in TEST_F()
203 ASSERT_TRUE(u3->first_in == a2 && u3->first_out == a3); in TEST_F()
215 ListDigraph::Arc* a2 = graph.addArc(*u1, *u2); in TEST_F() local
219 ASSERT_TRUE(u1 == a2->source && u2 == a2->target); in TEST_F()
223 ASSERT_TRUE(u2->first_in == a2 && u2->first_out == NULL); in TEST_F()
236 ListDigraph::Arc* a2 = graph.addArc(*u2, *u3); in TEST_F() local
239 graph.erase(*a2); in TEST_F()
251 ASSERT_TRUE(NULL == a2->next_in); in TEST_F()
[all …]
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp36 #define CREATE_BRIDGE2(name, a1, a2) CREATE_BRIDGE(name, a1,a2,,,,,,) argument
37 #define CREATE_BRIDGE3(name, a1, a2, a3) CREATE_BRIDGE(name, a1,a2,a3,,,,,) argument
38 #define CREATE_BRIDGE4(name, a1, a2, a3, a4) CREATE_BRIDGE(name, a1,a2,a3,a4,,,,) argument
39 #define CREATE_BRIDGE5(name, a1, a2, a3, a4, a5) CREATE_BRIDGE(name, a1,a2,a3,a4,a5,,,) argument
40 #define CREATE_BRIDGE6(name, a1, a2, a3, a4, a5, a6) CREATE_BRIDGE(name, a1,a2,a3,a4,a5,a6,,) argument
41 #define CREATE_BRIDGE7(name, a1, a2, a3, a4, a5, a6, a7) CREATE_BRIDGE(name, a1,a2,a3,a4,a5,a6,a7,) argument
42 #define CREATE_BRIDGE(name, a1, a2, a3, a4, a5, a6, a7, a8) \ argument
44 a1; a2; a3; a4; a5; a6; a7; a8; \
/frameworks/base/core/java/android/hardware/
DGeomagneticField.java308 float a2 = EARTH_SEMI_MAJOR_AXIS_KM * EARTH_SEMI_MAJOR_AXIS_KM; in computeGeocentricCoordinates() local
315 (float) Math.sqrt(a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates()
318 / (latRad * altitudeKm + a2)); in computeGeocentricCoordinates()
323 + 2 * altitudeKm * (float) Math.sqrt(a2 * clat * clat + in computeGeocentricCoordinates()
325 + (a2 * a2 * clat * clat + b2 * b2 * slat * slat) in computeGeocentricCoordinates()
326 / (a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
DarmCOMM_s.h460 _M_DATA $i,$a,$r,$a0,$a1,$a2,$a3
529 M_LDRB $r,$a0,$a1,$a2,$a3
530 _M_DATA "LDRB",1,$r,$a0,$a1,$a2,$a3
535 M_LDRSB $r,$a0,$a1,$a2,$a3
536 _M_DATA "LDRSB",1,$r,$a0,$a1,$a2,$a3
541 M_STRB $r,$a0,$a1,$a2,$a3
542 _M_DATA "STRB",1,$r,$a0,$a1,$a2,$a3
547 M_LDRH $r,$a0,$a1,$a2,$a3
548 _M_DATA "LDRH",2,$r,$a0,$a1,$a2,$a3
553 M_LDRSH $r,$a0,$a1,$a2,$a3
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
DarmCOMM_s.h463 _M_DATA $i,$a,$r,$a0,$a1,$a2,$a3
532 M_LDRB $r,$a0,$a1,$a2,$a3
533 _M_DATA "LDRB",1,$r,$a0,$a1,$a2,$a3
538 M_LDRSB $r,$a0,$a1,$a2,$a3
539 _M_DATA "LDRSB",1,$r,$a0,$a1,$a2,$a3
544 M_STRB $r,$a0,$a1,$a2,$a3
545 _M_DATA "STRB",1,$r,$a0,$a1,$a2,$a3
550 M_LDRH $r,$a0,$a1,$a2,$a3
551 _M_DATA "LDRH",2,$r,$a0,$a1,$a2,$a3
556 M_LDRSH $r,$a0,$a1,$a2,$a3
[all …]
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/
Dsetelementat.rs9 float2 a2 = {4.0f, 4.0f};
23 rsSetElementAt(A, &a2, 0, 0);
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp160 const audio_coef_t a2 = mCoefs[4]; in process_normal_mono() local
168 acc = mac_coef_sample(a2, y2, acc); in process_normal_mono()
207 const audio_coef_t a2 = mCoefs[4]; in process_normal_multi() local
221 acc = mac_coef_sample(a2, y2, acc); in process_normal_multi()
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp326 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_createByteArray() local
327 if (a2) { in android_os_Parcel_createByteArray()
329 memcpy(a2, data, len); in android_os_Parcel_createByteArray()
330 env->ReleasePrimitiveArrayCritical(ret, a2, 0); in android_os_Parcel_createByteArray()
356 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_readBlob() local
357 if (a2) { in android_os_Parcel_readBlob()
358 memcpy(a2, blob.data(), len); in android_os_Parcel_readBlob()
359 env->ReleasePrimitiveArrayCritical(ret, a2, 0); in android_os_Parcel_readBlob()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dresidu_asm_opt.s41 ORR r6, r7, r6, LSL #16 @r6 --- a2, a3
89 SMLATB r11, r6, r2, r11 @i3(2) --- r11 += x[0] * a2
90 SMLATT r12, r6, r2, r12 @i4(2) --- r12 += x[1] * a2
96 SMLATT r4, r6, r2, r4 @i2(2) --- r4 += x[-1] * a2
99 SMLATB r3, r6, r2, r3 @i1(2) --- r3 += x[-2] * a2
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAdapterHelperTest.java876 private void assertAdaptersEqual(TestAdapter a1, TestAdapter a2) { in assertAdaptersEqual() argument
877 assertEquals(a1.mItems.size(), a2.mItems.size()); in assertAdaptersEqual()
880 assertSame(item, a2.mItems.get(i)); in assertAdaptersEqual()
884 assertEquals(0, a2.mPendingAdded.size()); in assertAdaptersEqual()
/frameworks/base/libs/common_time/
Dcommon_time_server.cpp1432 const sockaddr_storage& a2, in sockaddrMatch() argument
1434 if (a1.ss_family != a2.ss_family) in sockaddrMatch()
1442 reinterpret_cast<const struct sockaddr_in*>(&a2); in sockaddrMatch()
1454 reinterpret_cast<const struct sockaddr_in6*>(&a2); in sockaddrMatch()
Dcommon_time_server.h318 const sockaddr_storage& a2,
/frameworks/rs/driver/runtime/arch/
Dneon.ll970 %a2 = fmul <4 x float> %y, %ym
971 %a3 = fadd <4 x float> %a1, %a2
992 %a2 = fmul <4 x float> %y, %ym
993 %a3 = fadd <4 x float> %a1, %a2
1022 %a2 = fmul <4 x float> %y, %ym
1023 %a3 = fadd <4 x float> %a1, %a2
1053 %a2 = fadd <4 x float> %wm, %a1
1055 %a4 = fadd <4 x float> %a2, %a3
1078 %a2 = fadd <4 x float> %wm, %a1
1080 %a4 = fadd <4 x float> %a2, %a3
Dasimd.ll978 %a2 = fmul <4 x float> %y, %ym
979 %a3 = fadd <4 x float> %a1, %a2
1000 %a2 = fmul <4 x float> %y, %ym
1001 %a3 = fadd <4 x float> %a1, %a2
1030 %a2 = fmul <4 x float> %y, %ym
1031 %a3 = fadd <4 x float> %a1, %a2
1061 %a2 = fadd <4 x float> %wm, %a1
1063 %a4 = fadd <4 x float> %a2, %a3
1086 %a2 = fadd <4 x float> %wm, %a1
1088 %a4 = fadd <4 x float> %a2, %a3
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1482 public int compare(Alarm a1, Alarm a2) { in compare() argument
1484 long when2 = a2.when; in compare()