/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CbGeoUtilsTest.java | 50 CbGeoUtils.LatLng p2 = new CbGeoUtils.LatLng(LAT2, LNG2); in testLatLong() local 53 assertEquals(difference.lat, p1.subtract(p2).lat, DELTA); in testLatLong() 54 assertEquals(difference.lng, p1.subtract(p2).lng, DELTA); in testLatLong() 56 assertEquals(DIST, p1.distance(p2), DELTA); in testLatLong() 62 CbGeoUtils.LatLng p2 = new CbGeoUtils.LatLng(LAT2, LNG2); in testPolygon() local 67 vertices.add(p2); in testPolygon() 74 assertTrue(polygon.contains(p2)); in testPolygon()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 626 int p2 = 0x0C; // '0C' for no data returned (TS 102 221 Section 11.1.1.2) in testIccOpenLogicalChannelWithValidP2() local 627 IccOpenLogicalChannelResponse response = mTelephonyManager.iccOpenLogicalChannel("", p2); in testIccOpenLogicalChannelWithValidP2() 644 int p2 = 0xF0; in testIccOpenLogicalChannelWithInvalidP2() local 646 mTelephonyManager.iccOpenLogicalChannel("", p2); in testIccOpenLogicalChannelWithInvalidP2() 698 int p2 = 0; // same response parameters as the SELECT in the iccOpenLogicalChannel() in testIccTransmitApduLogicalChannel() local 704 logicalChannel, cla, COMMAND_STATUS, p1, p2, p3, data); in testIccTransmitApduLogicalChannel() 714 p2 = 0x04; // requesting FCP template in testIccTransmitApduLogicalChannel() 719 logicalChannel, cla, COMMAND_SELECT, p1, p2, p3, data); in testIccTransmitApduLogicalChannel() 732 p2 = 0; in testIccTransmitApduLogicalChannel() 737 logicalChannel, cla, COMMAND_GET_RESPONSE, p1, p2, p3, data); in testIccTransmitApduLogicalChannel() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sparse_switch/d/ |
D | T_sparse_switch_4.smali | 36 const p2, -0x1 38 return p2 41 const p2, 0x2 43 return p2 46 const p2, 0x14 48 return p2
|
D | T_sparse_switch_5.smali | 36 const p2, -0x1 38 return p2 41 const p2, 0x2 43 return p2 46 const p2, 0x14 48 return p2
|
D | T_sparse_switch_3.smali | 34 sparse-switch p2, :sswitch_data_10
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 242 Paint p2 = new Paint(); in testSet() local 256 p2.set(p); in testSet() 257 assertEquals(c, p2.getColorFilter()); in testSet() 258 assertEquals(m, p2.getMaskFilter()); in testSet() 259 assertEquals(e, p2.getPathEffect()); in testSet() 260 assertEquals(s, p2.getShader()); in testSet() 261 assertEquals(t, p2.getTypeface()); in testSet() 262 assertEquals(x, p2.getXfermode()); in testSet() 264 p2.set(p2); in testSet() 265 assertEquals(c, p2.getColorFilter()); in testSet() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_resize.rscript | 25 static float4 cubicInterpolate_F4 (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 26 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 27 + x * (3.f * (p1 - p2) + p3 - p0))); 30 static float3 cubicInterpolate_F3 (float3 p0,float3 p1,float3 p2,float3 p3 , float x) { 31 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 32 + x * (3.f * (p1 - p2) + p3 - p0))); 35 static float2 cubicInterpolate_F2 (float2 p0,float2 p1,float2 p2,float2 p3 , float x) { 36 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 37 + x * (3.f * (p1 - p2) + p3 - p0))); 40 static float cubicInterpolate_F1 (float p0,float p1,float p2,float p3 , float x) { [all …]
|
D | intrinsic_convolve5x5.rscript | 51 float4 p2 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 69 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 98 float3 p2 = convert_float3(rsGetElementAt_uchar3(gIn, x0, y2)) * gCoeffs[10] 116 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 145 float2 p2 = convert_float2(rsGetElementAt_uchar2(gIn, x0, y2)) * gCoeffs[10] 163 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 192 float p2 = (float)(rsGetElementAt_uchar(gIn, x0, y2)) * gCoeffs[10] 210 return clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 238 float4 p2 = rsGetElementAt_float4(gIn, x0, y2) * gCoeffs[10] 256 return p0 + p1 + p2 + p3 + p4; [all …]
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 99 final int p2 = generated.getRGB(i, j); in checkNeighbors() local 101 final int dr = getAlphaScaledRed(p1) - getAlphaScaledRed(p2); in checkNeighbors() 102 final int dg = getAlphaScaledGreen(p1) - getAlphaScaledGreen(p2); in checkNeighbors() 103 final int db = getAlphaScaledBlue(p1) - getAlphaScaledBlue(p2); in checkNeighbors() 142 final int p2 = generated.getRGB(i, j); in compare() local 144 final int dr = getAlphaScaledRed(p1) - getAlphaScaledRed(p2); in compare() 145 final int dg = getAlphaScaledGreen(p1) - getAlphaScaledGreen(p2); in compare() 146 final int db = getAlphaScaledBlue(p1) - getAlphaScaledBlue(p2); in compare()
|
/cts/tests/tests/secure_element/sample_applet/src/com/android/cts/omapi/test/ |
D | CtsAndroidOmapiTestApplet.java | 106 byte p2 = buf[ISO7816.OFFSET_P2]; in process() 169 } else if (p2 == SW_62xx_DATA_APDU_P2){ in process() 176 } else if (p2 == SW_62xx_VALIDATE_DATA_P2){ in process() 190 le = (short)((short)((p1 & 0xFF)<< 8) | (short)(p2 & 0xFF)); in process() 206 le = (short)((short)((p1 & 0xFF)<< 8) | (short)(p2 & 0xFF)); in process() 223 short buffer_len = (short)((short)((p1 & 0xFF)<< 8) | (short)(p2 & 0xFF)); in process()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AmbiguousBundlesTest.java | 520 Parcel p2 = Parcel.obtain(); in makeStringToInject() local 521 stuffToInject.writeToParcel(p2, 0); in makeStringToInject() 522 int p2Len = p2.dataPosition() - BUNDLE_SKIP; in makeStringToInject() 535 p.appendFrom(p2, BUNDLE_SKIP, p2Len); in makeStringToInject() 536 p2.recycle(); in makeStringToInject() 555 Parcel p2 = Parcel.obtain(); in writeBundleSkippingHeaders() local 556 bundle.writeToParcel(p2, 0); in writeBundleSkippingHeaders() 557 parcel.appendFrom(p2, BUNDLE_SKIP, p2.dataPosition() - BUNDLE_SKIP); in writeBundleSkippingHeaders() 558 p2.recycle(); in writeBundleSkippingHeaders()
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | BufferedReaderLineSpliteratorTest.java | 54 public IntPair(int p1, int p2) { in IntPair() argument 56 mP2 = p2; in IntPair()
|
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/ |
D | JvmtiTaggingTest.java | 170 Pair p2 = tmp.get(i); in check() local 171 if (!p1.equals(p2)) { in check() 173 "] vs " + p2 + "[" + System.identityHashCode(p2.obj); in check()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | CrossAppDragAndDropTests.java | 215 Point p2 = getWindowCenter(targetComponentName); in assertDragAndDropResults() local 216 assertNotNull(p2); in assertDragAndDropResults() 221 injectInput(p1, p2, SWIPE_STEPS); in assertDragAndDropResults()
|
D | DragDropTest.java | 87 Parcel p2 = Parcel.obtain(); in compareParcelables() local 88 obj2.writeToParcel(p2, 0); in compareParcelables() 89 boolean result = Arrays.equals(p1.marshall(), p2.marshall()); in compareParcelables() 91 p2.recycle(); in compareParcelables()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 237 StringBuilderPrinter p2 = new StringBuilderPrinter(sb2); in testWriteToParcel() local 239 ci.applicationInfo.dump(p2, ""); in testWriteToParcel()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/instance_of/d/ |
D | T_instance_of_6.smali | 34 instance-of v0, p2, Ljava/lang/String;
|
/cts/tests/simplecpu/jni/ |
D | CpuNativeJni.cpp | 180 int cmpint(const void* p1, const void* p2) in cmpint() argument 182 return *(int*)p1 - *(int*)p2; in cmpint()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/fill_array_data/d/ |
D | T_fill_array_data_3.smali | 34 fill-array-data p2, :array_4
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/packed_switch/d/ |
D | T_packed_switch_3.smali | 34 packed-switch p2, :pswitch_data_a
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 57 Parcel p2 = Parcel.obtain(); in testObtain() local 58 assertNotNull(p2); in testObtain() 71 p2.recycle(); in testObtain() 81 Parcel p2; in testAppendFrom() local 90 p2 = Parcel.obtain(); in testAppendFrom() 91 p2.appendFrom(p, d1, d2 - d1); in testAppendFrom() 92 p2.setDataPosition(0); in testAppendFrom() 93 assertEquals(7, p2.readInt()); in testAppendFrom() 94 assertEquals(5, p2.readInt()); in testAppendFrom() 95 p2.recycle(); in testAppendFrom() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
D | TSuper.smali | 54 div-int p1, p1, p2
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/ |
D | TSuper.smali | 54 div-int p1, p1, p2
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/ |
D | TSuper.smali | 54 div-int p1, p1, p2
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
D | TSuper.smali | 54 div-int p1, p1, p2
|