Home
last modified time | relevance | path

Searched refs:toHexString (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DHexDump.java57 result.append(toHexString(offset)); in dumpHexString()
72 result.append(toHexString(i)); in dumpHexString()
108 public static String toHexString(byte b) { in toHexString() method in HexDump
109 return toHexString(toByteArray(b)); in toHexString()
117 public static String toHexString(byte[] array) { in toHexString() method in HexDump
118 return toHexString(array, 0, array.length, true); in toHexString()
127 public static String toHexString(byte[] array, boolean upperCase) { in toHexString() method in HexDump
128 return toHexString(array, 0, array.length, upperCase); in toHexString()
138 public static String toHexString(byte[] array, int offset, int length) { in toHexString() method in HexDump
139 return toHexString(array, offset, length, true); in toHexString()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DOobData.java874 + toHexString(mDeviceAddressWithType) in toString()
877 + toHexString(mConfirmationHash) in toString()
880 + toHexString(mRandomizerHash) in toString()
883 + toHexString(mDeviceName) in toString()
887 + toHexString(mClassicLength) in toString()
890 + toHexString(mClassOfDevice) in toString()
894 + toHexString(mLeDeviceRole) in toString()
897 + toHexString(mLeTemporaryKey) in toString()
900 + toHexString(mLeAppearance) in toString()
903 + toHexString(mLeFlags) in toString()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DHexDumpTest.java33 assertEquals("abcdef", HexDump.toHexString( in testBytesToHexString()
35 assertEquals("ABCDEF", HexDump.toHexString( in testBytesToHexString()
65 assertEquals("FF000004", HexDump.toHexString((int) 0xff000004)); in testIntegerToHexString()
70 assertEquals("7F", HexDump.toHexString((byte) 0x7f)); in testByteToHexString()
/packages/apps/Nfc/testutils/src/com/android/nfc/reader/
DProtocolParamsReaderActivity.java51 sb.append("SAK: 0x" + Integer.toHexString(sak & 0xFF) + "\n"); in parseProtocolParameters()
71 sb.append(" TL: 0x" + Integer.toHexString(ats[0] & 0xFF) + "\n"); in parseProtocolParameters()
72 sb.append(" T0: 0x" + Integer.toHexString(ats[1] & 0xFF) + "\n"); in parseProtocolParameters()
111 sb.append(" TA: 0x" + Integer.toHexString(ats[atsIndex] & 0xff) + "\n"); in parseProtocolParameters()
133 sb.append(" TB: 0x" + Integer.toHexString(ats[3] & 0xFF) + "\n"); in parseProtocolParameters()
154 sb.append(" TC: 0x" + Integer.toHexString(ats[atsIndex] & 0xFF) + "\n"); in parseProtocolParameters()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DUserData.java153 builder.append(", payload='" + toHexString(payload) + "'"); in toString()
159 private static String toHexString(byte[] array) { in toHexString() method in UserData
160 return toHexString(array, 0, array.length, true); in toHexString()
163 private static String toHexString(byte[] array, int offset, int length, boolean upperCase) { in toHexString() method in UserData
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTestUtils.java91 + " apf_run --program " + HexDump.toHexString(program) in assertVerdict()
92 + " --packet " + HexDump.toHexString(packet) in assertVerdict()
151 throw new AssertionError("\nexpected: " + HexDump.toHexString(expected) + "\nactual: " in assertProgramEquals()
152 + HexDump.toHexString(program)); in assertProgramEquals()
177 throw new Exception("\nprogram: " + HexDump.toHexString(program) + "\ndata memory: " in assertDataMemoryContents()
178 + HexDump.toHexString(data) + "\nexpected: " + HexDump.toHexString( in assertDataMemoryContents()
199 + " apf_run --program " + HexDump.toHexString(program) in assertVerdict()
200 + " --packet " + HexDump.toHexString(packet) in assertVerdict()
201 + (data != null ? " --data " + HexDump.toHexString(data) : "") in assertVerdict()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRoutingOptionManager.java72 Log.d(TAG, "mDefaultRoute=0x" + Integer.toHexString(mDefaultRoute)); in RoutingOptionManager()
75 Log.d(TAG, "mDefaultIsoDepRoute=0x" + Integer.toHexString(mDefaultIsoDepRoute)); in RoutingOptionManager()
78 Log.d(TAG, "mDefaultOffHostRoute=0x" + Integer.toHexString(mDefaultOffHostRoute)); in RoutingOptionManager()
86 if (DBG) Log.d(TAG, "mAidMatchingSupport=0x" + Integer.toHexString(mAidMatchingSupport)); in RoutingOptionManager()
/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java21 import static java.lang.Integer.toHexString;
143 .append(toHexString(vp.getPropId())) in takeProperties()
289 .append(toHexString(sensorType)) in requestDiagnosticStart()
297 .append(toHexString(propId)) in requestDiagnosticStart()
319 .append(toHexString(sensorType)) in requestDiagnosticStop()
327 .append(toHexString(propId)) in requestDiagnosticStop()
348 .append(toHexString(sensorType)) in getCurrentDiagnosticValue()
356 Slogf.e(CarLog.TAG_DIAGNOSTIC, "property not ready 0x" + toHexString(propId), in getCurrentDiagnosticValue()
361 + toHexString(propId), e); in getCurrentDiagnosticValue()
DCarPropertyUtils.java18 import static java.lang.Integer.toHexString;
62 throw new IllegalArgumentException("Unexpected type: " + toHexString(halType)); in getJavaClass()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DPropertyNotAvailableException.java20 import static java.lang.Integer.toHexString;
38 + toHexString(areaId) in PropertyNotAvailableException()
46 + toHexString(areaId) in PropertyNotAvailableException()
DPropertyAccessDeniedSecurityException.java19 import static java.lang.Integer.toHexString;
29 + " in area ID: 0x" + toHexString(areaId)); in PropertyAccessDeniedSecurityException()
DPropertyNotAvailableAndRetryException.java19 import static java.lang.Integer.toHexString;
30 + toHexString(areaId) in PropertyNotAvailableAndRetryException()
DCarInternalErrorException.java20 import static java.lang.Integer.toHexString;
39 + toHexString(areaId) + " - raised an internal error in cars with " in CarInternalErrorException()
/packages/services/Car/service/src/com/android/car/hal/property/
DHalPropertyDebugUtils.java21 import static java.lang.Integer.toHexString;
77 String hexSuffix = "(0x" + toHexString(propertyId) + ")"; in toPropertyIdString()
106 return "INVALID_GLOBAL_AREA_ID(0x" + toHexString(areaId) + ")"; in toAreaIdString()
130 return "UNKNOWN_AREA_ID(0x" + toHexString(areaId) + ")"; in toAreaIdString()
163 output += "(0x" + toHexString(areaId) + ")"; in convertAreaIdToDebugString()
272 return valueName + "(0x" + toHexString(value) + ")"; in getIntValueName()
346 String hexSuffix = "(0x" + toHexString(constantValue) + ")"; in toDebugString()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DVehiclePropertyIdDebugUtils.java65 return "VENDOR_PROPERTY(0x" + Integer.toHexString(propertyId) + ")"; in toDebugString()
67 return "BACKPORTED_PROPERTY(0x" + Integer.toHexString(propertyId) + ")"; in toDebugString()
69 return "0x" + Integer.toHexString(propertyId); in toDebugString()
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DUwbUtil.java23 public static String toHexString(byte b) { in toHexString() method in UwbUtil
30 public static String toHexString(byte[] data) { in toHexString() method in UwbUtil
44 public static String toHexString(int var) { in toHexString() method in UwbUtil
59 public static String toHexString(long var) { in toHexString() method in UwbUtil
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java283 " (" + Integer.toHexString(headerField) + ")"); in parseHeaders()
347 " (" + Integer.toHexString(headerField) + ") Octect value: " + in parseHeaders()
372 " (" + Integer.toHexString(headerField) + ") longint value: " + in parseHeaders()
391 " (" + Integer.toHexString(headerField) + ") integer value: " + in parseHeaders()
427 " (" + Integer.toHexString(headerField) + ") string value: " in parseHeaders()
457 " (" + Integer.toHexString(headerField) in parseHeaders()
538 " (" + Integer.toHexString(headerField) + ") time value: " + in parseHeaders()
593 " (" + Integer.toHexString(headerField) + ") from address: " + in parseHeaders()
612 " (" + Integer.toHexString(headerField) + ") MESSAGE_CLASS: " + in parseHeaders()
666 " (" + Integer.toHexString(headerField) + ") MMS_VERSION: " + in parseHeaders()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java79 colorValues[i] = Integer.toHexString(color & 0x00ffffff); in onCreatePreferences()
216 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsTextColor()
252 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsEdgeColor()
272 mBackgroundColorPref.setValue(Integer.toHexString(0)); in setCaptionsBackgroundVisible()
278 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsBackgroundColor()
312 mWindowColorPref.setValue(Integer.toHexString(0)); in setCaptionsWindowVisible()
318 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsWindowColor()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DUtil.java62 return toHexString(algorithm.digest(), ""); in toMd5()
70 private static String toHexString(byte[] bytes, String separator) { in toHexString() method in Util
73 hexString.append(Integer.toHexString(0xFF & b)).append(separator); in toHexString()
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DRtpContextParams.java77 return "RtpContextParams: {mSsrc=" + Long.toHexString(mSsrc) in toString()
78 + ", mTimestamp=" + Long.toHexString(mTimestamp) in toString()
79 + ", mSequenceNumber=" + Integer.toHexString(mSequenceNumber) in toString()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacController.java211 + Integer.toHexString(targetAreaId) + ", val: " + val); in setHvacProperty()
223 + Integer.toHexString(targetAreaId) + ", val: " + val, e); in setHvacProperty()
235 + Integer.toHexString(targetAreaId) + ", val: " + val); in setHvacProperty()
247 + Integer.toHexString(targetAreaId) + ", val: " + val, e); in setHvacProperty()
259 + Integer.toHexString(targetAreaId) + ", val: " + val); in setHvacProperty()
271 + Integer.toHexString(targetAreaId) + ", val: " + val, e); in setHvacProperty()
488 + Integer.toHexString(areaId) + ": ", e); in getPropertyValueOrNull()
510 + Integer.toHexString(areaId) + ", no matching area ID found for HVAC_POWER_ON."); in isHvacPowerDependentPropAndNotAvailable()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java670 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes()
718 fail("bad packet: " + HexDump.toHexString(packet)); in testRandomPackets()
855 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
864 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
872 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
881 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
890 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
998 assertEquals("BCF5AC000000", HexDump.toHexString(offerPacket.getClientMac())); in testBug2136()
1035 assertEquals("9CD917000000", HexDump.toHexString(offerPacket.getClientMac())); in testUdpServerAnySourcePort()
1106 assertEquals("FC3D93000000", HexDump.toHexString(offerPacket.getClientMac())); in testMultipleRouters()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DRequest.java105 sb.append("0x" + Integer.toHexString(opcodes) + " ("); in toString()
166 return "0x" + Integer.toHexString(opcode); in singleOpcodeToString()
240 return "UNKNOWN(0x" + Integer.toHexString(opcode) + ")"; in toString()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java26 import static java.lang.Integer.toHexString;
305 + toHexString(areaId)); in dump()
570 VehiclePropertyIds.toString(propertyId), Integer.toHexString(areaId), in getAndDispatchPropertyInitValue()
588 VehiclePropertyIds.toString(propertyId), Integer.toHexString(areaId), in getAndDispatchPropertyInitValue()
813 VehiclePropertyIds.toString(propertyId), toHexString(areaId)); in getPropertySafe()
983 + toHexString(property) + " in areaId: 0x" + toHexString(areaId)); in onPropertySetError()
1130 "area ID: 0x" + toHexString(areaId) + " not supported for property ID: " in assertAreaIdIsSupported()
1235 toHexString(areaId)); in validateSetParameters()
1241 toHexString(areaId)); in validateSetParameters()
1260 toHexString(areaId), areaIdConfig.getMinValue()); in validateSetParameters()
[all …]
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkConstants.java91 return toHexString(bytes, 0, bytes.length); in hexify()
99 return toHexString( in hexify()
278 public static String toHexString(byte[] array, int offset, int length) { in toHexString() method in NetlinkConstants

12345678910>>...13