Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 238) sorted by relevance

12345678910

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCbGeoUtilsTest.java49 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/
DT_sparse_switch_8.smali34 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
DT_sparse_switch_14.smali37 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
DT_sparse_switch_7.smali34 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
DT_sparse_switch_2.smali34 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
DT_sparse_switch_1.smali34 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
DT_sparse_switch_12.smali34 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
DT_sparse_switch_11.smali34 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
DT_sparse_switch_9.smali34 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
DT_sparse_switch_13.smali36 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
DT_sparse_switch_3.smali36 const p1, -0x1
38 return p1
41 const p1, 0x2
43 return p1
46 const p1, 0x14
48 return p1
DT_sparse_switch_6.smali36 const p1, -0x1
38 return p1
41 const p1, 0x2
43 return p1
46 const p1, 0x14
48 return p1
/cts/tests/tests/secure_element/sample_applet/src/com/android/cts/omapi/test/
DCtsAndroidOmapiTestApplet.java105 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/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_resize.rscript25 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 …]
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java737 int p1 = 0; // no indication of application status in testIccTransmitApduLogicalChannel() local
744 logicalChannel, cla, COMMAND_STATUS, p1, p2, p3, data); in testIccTransmitApduLogicalChannel()
753 p1 = 0; // select EF by FID in testIccTransmitApduLogicalChannel()
759 logicalChannel, cla, COMMAND_SELECT, p1, p2, p3, data); in testIccTransmitApduLogicalChannel()
771 p1 = 0; in testIccTransmitApduLogicalChannel()
777 logicalChannel, cla, COMMAND_GET_RESPONSE, p1, p2, p3, data); in testIccTransmitApduLogicalChannel()
806 int p1 = 0xFF; // only '00', '01', and '02' are allowed in testIccTransmitApduLogicalChannelWithInvalidInputs() local
813 logicalChannel, cla, COMMAND_STATUS, p1, p2, p3, data); in testIccTransmitApduLogicalChannelWithInvalidInputs()
818 p1 = 0x00; // select by file ID in testIccTransmitApduLogicalChannelWithInvalidInputs()
824 logicalChannel, cla, COMMAND_SELECT, p1, p2, p3, data); in testIccTransmitApduLogicalChannelWithInvalidInputs()
[all …]
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java98 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/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DResourcesLoaderFallthroughTest.kt28 val p1 = PROVIDER_ONE.openProvider(DataType.APK_DISK_FD) in <lambda>() constant
53 loader.addProvider(p1) in <lambda>()
76 val p1 = PROVIDER_ONE.openProvider(DataType.APK_DISK_FD) in <lambda>() constant
81 .apply { providers = listOf(p1, p2, p3) } in <lambda>()
112 loader.providers = listOf(p1, p22, p3) in <lambda>()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_32/d/
DT_goto_32_1.smali38 return p1
41 add-int/lit8 p1, p1, -0x1
43 if-lez p1, :cond_b
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/
DT_goto_16_1.smali38 return p1
41 add-int/lit8 p1, p1, -0x1
43 if-lez p1, :cond_9
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
DTSuper.smali54 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/
DTSuper.smali54 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_range/d/
DTSuper.smali54 div-int p1, p1, p2
56 return p1
76 float-to-int v0, p1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DTSuper.smali54 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/
DT_sub_double_2addr_2.smali34 const p1, 0x40490e56 # 3.1415f
36 sub-double/2addr p1, p3
38 return-wide p1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long/d/
DT_xor_long_4.smali36 xor-long p1, p1, p3
38 return-wide p1

12345678910