/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | dtoa.h | 63 uint32_t p1 = static_cast<uint32_t>(Mp.f >> -one.e); in DigitGen() local 65 unsigned kappa = CountDecimalDigit32(p1); // kappa in [0, 9] in DigitGen() 71 case 9: d = p1 / 100000000; p1 %= 100000000; break; in DigitGen() 72 case 8: d = p1 / 10000000; p1 %= 10000000; break; in DigitGen() 73 case 7: d = p1 / 1000000; p1 %= 1000000; break; in DigitGen() 74 case 6: d = p1 / 100000; p1 %= 100000; break; in DigitGen() 75 case 5: d = p1 / 10000; p1 %= 10000; break; in DigitGen() 76 case 4: d = p1 / 1000; p1 %= 1000; break; in DigitGen() 77 case 3: d = p1 / 100; p1 %= 100; break; in DigitGen() 78 case 2: d = p1 / 10; p1 %= 10; break; in DigitGen() [all …]
|
D | biginteger.h | 117 const uint64_t p1 = uc + (p0 >> 32); variable 118 digits_[i] = (p0 & 0xFFFFFFFF) | (p1 << 32); 119 k = p1 >> 32;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | HermiteInterpolatorTests.java | 51 private static final int p1 = 1; field in HermiteInterpolatorTests 59 mInterpolator.setInterval(p0 - 1, p0, p1, p1 + 1); in testP0P1() 62 assertEquals("p1x", mXCoords[p1], mInterpolator.mP2X); in testP0P1() 63 assertEquals("p1y", mYCoords[p1], mInterpolator.mP2Y); in testP0P1() 96 mInterpolator.setInterval(p1 - 1, p1, p2, p2 + 1); in testP1P2() 97 assertEquals("p1x", mXCoords[p1], mInterpolator.mP1X); in testP1P2() 98 assertEquals("p1y", mYCoords[p1], mInterpolator.mP1Y); in testP1P2() 169 mInterpolator.reset(mXCoords, mYCoords, p1, p2 + 1); in testJustP1P2() 170 mInterpolator.setInterval(p1 - 1, p1, p2, p2 + 1); in testJustP1P2() 171 assertEquals("p1x", mXCoords[p1], mInterpolator.mP1X); in testJustP1P2() [all …]
|
/packages/apps/SecureElement/src/com/android/se/security/ |
D | CommandApdu.java | 49 public CommandApdu(int cla, int ins, int p1, int p2) { in CommandApdu() argument 52 mP1 = p1; in CommandApdu() 59 public CommandApdu(int cla, int ins, int p1, int p2, byte[] data) { in CommandApdu() argument 63 mP1 = p1; in CommandApdu() 68 public CommandApdu(int cla, int ins, int p1, int p2, byte[] data, int le) { in CommandApdu() argument 72 mP1 = p1; in CommandApdu() 79 public CommandApdu(int cla, int ins, int p1, int p2, int le) { in CommandApdu() argument 82 mP1 = p1; in CommandApdu() 112 public void setP1(int p1) { in setP1() argument 113 mP1 = p1; in setP1()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeDrawingPoints.java | 137 final int p1 = p2 - 1; in interpolateStrokeAndReturnStartIndexOfLastSegment() local 138 final int p0 = p1 - 1; in interpolateStrokeAndReturnStartIndexOfLastSegment() 140 mLastInterpolatedPreviewIndex = p1; in interpolateStrokeAndReturnStartIndexOfLastSegment() 142 mInterpolator.setInterval(p0, p1, p2, p3); in interpolateStrokeAndReturnStartIndexOfLastSegment() 155 final int dt = pt[p2] - pt[p1]; in interpolateStrokeAndReturnStartIndexOfLastSegment()
|
D | HermiteInterpolator.java | 79 public void setInterval(final int p0, final int p1, final int p2, final int p3) { in setInterval() argument 80 mP1X = mXCoords[p1]; in setInterval() 81 mP1Y = mYCoords[p1]; in setInterval()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_image_homography.cpp | 117 double p1[2],p2[2],p3[2],p4[2],p5[2],p6[2]; in db_CommonFocalLengthFromRotation_2Point() local 146 p1[1]=ax*bx+ay*by; in db_CommonFocalLengthFromRotation_2Point() 152 p1[0]=p2[0]=p3[0]=p4[0]=p5[0]=p6[0]=1; in db_CommonFocalLengthFromRotation_2Point() 154 db_MultiplyPoly1_1(p7,p1,p1); in db_CommonFocalLengthFromRotation_2Point() 168 if((!signed_disambiguation) || (db_PolyEval1(p1,roots[i])*db_PolyEval1(p4,roots[i])>0)) in db_CommonFocalLengthFromRotation_2Point()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothRouteManagerTest.java | 202 Parcel p1 = Parcel.obtain(); in makeBluetoothDevice() local 203 p1.writeString(address); in makeBluetoothDevice() 204 p1.setDataPosition(0); in makeBluetoothDevice() 205 BluetoothDevice device = BluetoothDevice.CREATOR.createFromParcel(p1); in makeBluetoothDevice() 206 p1.recycle(); in makeBluetoothDevice()
|
D | BluetoothDeviceManagerTest.java | 235 Parcel p1 = Parcel.obtain(); in makeBluetoothDevice() local 236 p1.writeString(address); in makeBluetoothDevice() 237 p1.setDataPosition(0); in makeBluetoothDevice() 238 BluetoothDevice device = BluetoothDevice.CREATOR.createFromParcel(p1); in makeBluetoothDevice() 239 p1.recycle(); in makeBluetoothDevice()
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | HostAuthTests.java | 202 final Parcel p1 = Parcel.obtain(); in testParceling() local 203 orig.writeToParcel(p1, 0); in testParceling() 204 p1.setDataPosition(0); in testParceling() 205 final HostAuth unparceled1 = new HostAuth(p1); in testParceling() 206 p1.recycle(); in testParceling()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | SecurityPolicyTests.java | 261 Policy p1 = in testEquals() local 269 assertTrue(p1.equals(p2)); in testEquals() 271 assertFalse(p1.equals(p4)); in testEquals() 300 Policy p1 = setupPolicy(10, Policy.PASSWORD_MODE_SIMPLE, 0, 0, false, 0, 0, 0, in testDisableAdmin() local 302 SecurityPolicy.setAccountPolicy(mMockContext, a1, p1, "security-sync-key-1"); in testDisableAdmin() 455 Policy p1 = setupPolicy(0, Policy.PASSWORD_MODE_NONE, in testGetDPManagerPasswordQuality() local 458 p1.getDPManagerPasswordQuality()); in testGetDPManagerPasswordQuality()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | CubicBezierInterpolator.java | 51 private float getCoordinate(float t, float p1, float p2) { in getCoordinate() argument 58 float ip0 = linearInterpolate(0, p1, t); in getCoordinate() 59 float ip1 = linearInterpolate(p1, p2, t); in getCoordinate()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ChangeIccPinScreen.java | 150 private int validateNewPin(String p1, String p2) { in validateNewPin() argument 151 if (p1 == null) { in validateNewPin() 155 if (!p1.equals(p2)) { in validateNewPin() 159 int len1 = p1.length(); in validateNewPin()
|
D | PhoneInterfaceManager.java | 302 public int channel, cla, command, p1, p2, p3; field in PhoneInterfaceManager.IccAPDUArgument 306 int p1, int p2, int p3, String data) { in IccAPDUArgument() argument 310 this.p1 = p1; in IccAPDUArgument() 460 iccArgument.p1, iccArgument.p2, iccArgument.p3, iccArgument.data, in handleMessage() 496 iccArgument.cla, iccArgument.command, iccArgument.p1, iccArgument.p2, in handleMessage() 532 iccArgument.command, iccArgument.p1, iccArgument.p2, iccArgument.p3, in handleMessage() 3810 int command, int p1, int p2, int p3, String data) { in iccTransmitApduLogicalChannel() argument 3815 + " cla=" + cla + " cmd=" + command + " p1=" + p1 + " p2=" + p2 + " p3=" in iccTransmitApduLogicalChannel() 3819 command, p1, p2, p3, data); in iccTransmitApduLogicalChannel() 3824 int command, int p1, int p2, int p3, String data) { in iccTransmitApduLogicalChannelBySlot() argument [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserPreference.java | 43 (p1, p2) -> { 45 if (p1 == null) { 51 int sn1 = p1.getSerialNumber();
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserPreference.java | 43 (p1, p2) -> { 45 if (p1 == null) { 51 int sn1 = p1.getSerialNumber();
|
/packages/apps/TV/src/com/android/tv/data/ |
D | Program.java | 958 public static boolean isDuplicate(Program p1, Program p2) { in isDuplicate() argument 959 if (p1 == null || p2 == null) { in isDuplicate() 963 p1.getChannelId() == p2.getChannelId() in isDuplicate() 964 && p1.getStartTimeUtcMillis() == p2.getStartTimeUtcMillis() in isDuplicate() 965 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis(); in isDuplicate() 970 + p1.getTitle() in isDuplicate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterSharpen.java | 73 float p1 = mParameters.getValue() * scaleFactor; in computeKernel() local 74 float value = p1 / 100.0f; in computeKernel()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneAccountRegistrar.java | 1216 Comparator<PhoneAccount> bySimCapability = (p1, p2) -> { in sortPhoneAccounts() 1217 if (p1.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) in sortPhoneAccounts() 1220 } else if (!p1.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) in sortPhoneAccounts() 1234 Comparator<PhoneAccount> bySortOrder = (p1, p2) -> { in sortPhoneAccounts() 1235 String sort1 = p1.getExtras() == null ? null : in sortPhoneAccounts() 1236 p1.getExtras().getString(PhoneAccount.EXTRA_SORT_ORDER, null); in sortPhoneAccounts() 1243 Comparator<PhoneAccount> byLabel = (p1, p2) -> { in sortPhoneAccounts() 1244 String s1 = p1.getLabel() == null ? null : p1.getLabel().toString(); in sortPhoneAccounts()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 468 public int compare(PtNode p1, PtNode p2) { in compare() argument 469 if (p1.mChars[0] == p2.mChars[0]) return 0; in compare() 470 return p1.mChars[0] < p2.mChars[0] ? -1 : 1; in compare()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluator.java | 154 private static double calculateTimeMatchScore(Program p1, Program p2) { in calculateTimeMatchScore() argument 155 ProgramTime t1 = ProgramTime.createFromProgram(p1); in calculateTimeMatchScore()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalSource.java | 249 public int compare(PathId p1, PathId p2) { in compare() argument 250 String s1 = p1.path.getSuffix(); in compare()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipSettings.java | 208 public int compare(SipProfile p1, SipProfile p2) { in retrieveSipLists() 209 return getProfileName(p1).compareTo(getProfileName(p2)); in retrieveSipLists()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ConferenceParticipantListAdapter.java | 432 public int compare(ParticipantInfo p1, ParticipantInfo p2) { in sortParticipantList() 434 ContactCacheEntry c1 = p1.getContactCacheEntry(); in sortParticipantList()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 3208 void gattTestCommand(int command, UUID uuid1, String bda1, int p1, int p2, int p3, int p4, in gattTestCommand() argument 3215 bda1, p1, p2, p3, p4, p5); in gattTestCommand() 3217 gattTestNative(command, 0, 0, bda1, p1, p2, p3, p4, p5); in gattTestCommand() 3222 int p1, int p2, int p3, int p4, int p5); in gattTestNative() argument
|