/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CbGeoUtilsTest.java | 49 CbGeoUtils.LatLng p1 = new CbGeoUtils.LatLng(LAT1, LNG1); 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() 61 CbGeoUtils.LatLng p1 = new CbGeoUtils.LatLng(LAT1, LNG1); in testPolygon() local 66 vertices.add(p1); in testPolygon() 73 assertTrue(polygon.contains(p1)); in testPolygon() 80 CbGeoUtils.LatLng p1 = new CbGeoUtils.LatLng(LAT1, LNG1); in testCircle() local 82 CbGeoUtils.Circle circle = new CbGeoUtils.Circle(p1, radius); in testCircle() 85 assertEquals(p1, circle.getCenter()); in testCircle() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sparse_switch/d/ |
D | T_sparse_switch_13.smali | 36 sparse-switch p1, :sswitch_data_10 38 const p1, -0x1 40 return p1 43 const p1, 0x2 45 return p1 48 const p1, 0x14 50 return p1
|
D | T_sparse_switch_1.smali | 34 sparse-switch p1, :sswitch_data_10 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
D | T_sparse_switch_11.smali | 34 sparse-switch p1, :sswitch_data_10 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
D | T_sparse_switch_8.smali | 34 sparse-switch p1, :sswitch_data_10 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
D | T_sparse_switch_9.smali | 34 sparse-switch p1, :sswitch_data_10 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
D | T_sparse_switch_7.smali | 34 sparse-switch p1, :sswitch_data_10 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
D | T_sparse_switch_12.smali | 34 sparse-switch p1, :sswitch_data_10 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
D | T_sparse_switch_14.smali | 37 sparse-switch p1, :sswitch_data_10 39 const p1, -0x1 41 return p1 44 const p1, 0x2 46 return p1 49 const p1, 0x14 51 return p1
|
D | T_sparse_switch_2.smali | 34 sparse-switch p1, :sswitch_data_10 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
D | T_sparse_switch_3.smali | 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
D | T_sparse_switch_6.smali | 36 const p1, -0x1 38 return p1 41 const p1, 0x2 43 return p1 46 const p1, 0x14 48 return p1
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 697 int p1 = 0; // no indication of application status in testIccTransmitApduLogicalChannel() local 704 logicalChannel, cla, COMMAND_STATUS, p1, p2, p3, data); in testIccTransmitApduLogicalChannel() 713 p1 = 0; // select EF by FID in testIccTransmitApduLogicalChannel() 719 logicalChannel, cla, COMMAND_SELECT, p1, p2, p3, data); in testIccTransmitApduLogicalChannel() 731 p1 = 0; in testIccTransmitApduLogicalChannel() 737 logicalChannel, cla, COMMAND_GET_RESPONSE, p1, p2, p3, data); in testIccTransmitApduLogicalChannel() 766 int p1 = 0xFF; // only '00', '01', and '02' are allowed in testIccTransmitApduLogicalChannelWithInvalidInputs() local 773 logicalChannel, cla, COMMAND_STATUS, p1, p2, p3, data); in testIccTransmitApduLogicalChannelWithInvalidInputs() 778 p1 = 0x00; // select by file ID in testIccTransmitApduLogicalChannelWithInvalidInputs() 784 logicalChannel, cla, COMMAND_SELECT, p1, p2, p3, data); in testIccTransmitApduLogicalChannelWithInvalidInputs() [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 | 45 float4 p1 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5] 69 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 92 float3 p1 = convert_float3(rsGetElementAt_uchar3(gIn, x0, y1)) * gCoeffs[5] 116 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 139 float2 p1 = convert_float2(rsGetElementAt_uchar2(gIn, x0, y1)) * gCoeffs[5] 163 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 186 float p1 = (float)(rsGetElementAt_uchar(gIn, x0, y1)) * gCoeffs[5] 210 return clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 232 float4 p1 = rsGetElementAt_float4(gIn, x0, y1) * gCoeffs[5] 256 return p0 + p1 + p2 + p3 + p4; [all …]
|
/cts/tests/tests/secure_element/sample_applet/src/com/android/cts/omapi/test/ |
D | CtsAndroidOmapiTestApplet.java | 105 byte p1 = buf[ISO7816.OFFSET_P1]; in process() 167 if (p1 > 16 || p1 < 1) { in process() 175 ISOException.throwIt(SW_62xx_resp[p1 -1]); in process() 181 buf[ISO7816.OFFSET_P1] = p1; in process() 183 ISOException.throwIt(SW_62xx_resp[p1 -1]); in process() 185 ISOException.throwIt(SW_62xx_resp[p1 -1]); 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/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 98 final int p1 = reference.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() 141 final int p1 = reference.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/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/ |
D | T_goto_16_1.smali | 38 return p1 41 add-int/lit8 p1, p1, -0x1 43 if-lez p1, :cond_9
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_32/d/ |
D | T_goto_32_1.smali | 38 return p1 41 add-int/lit8 p1, p1, -0x1 43 if-lez p1, :cond_b
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
D | TSuper.smali | 54 div-int p1, p1, p2 56 return p1 76 float-to-int v0, p1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/ |
D | TSuper.smali | 54 div-int p1, p1, p2 56 return p1 70 float-to-int v0, p1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/ |
D | TSuper.smali | 54 div-int p1, p1, p2 56 return p1 70 float-to-int v0, p1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
D | TSuper.smali | 54 div-int p1, p1, p2 56 return p1 76 float-to-int v0, p1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double_2addr/d/ |
D | T_sub_double_2addr_2.smali | 34 const p1, 0x40490e56 # 3.1415f 36 sub-double/2addr p1, p3 38 return-wide p1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/d/ |
D | T_double_to_float_2.smali | 34 const p1, 0x4048f5c3 # 3.14f 36 double-to-float v0, p1 38 return p1
|