Home
last modified time | relevance | path

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

1234567

/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java19 import static java.lang.Integer.toHexString;
190 writer.println("propId: 0x" + toHexString(propId) in dump()
203 toHexString(propId), toHexString(areaId), areaIdToClient.valueAt(j))); in dump()
214 Slog.d(TAG, "registerListener: propId=0x" + toHexString(propId) + " rate=" + rate); in registerListener()
228 Slog.e(TAG, "registerListener: propId is not in config list: 0x" + toHexString( in registerListener()
296 Slog.d(TAG, "unregisterListener propId=0x" + toHexString(propId)); in unregisterListener()
316 Slog.e(TAG, "unregisterListener: propId is not in config list:0x" + toHexString( in unregisterListenerBinderLocked()
329 + "propId=0x" + toHexString(propId)); in unregisterListenerBinderLocked()
413 Slog.e(TAG, "getProperty: propId is not in config list:0x" + toHexString(prop)); in getProperty()
432 + toHexString(prop)); in getPropertySafe()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java24 import static java.lang.Integer.toHexString;
179 throw new IllegalArgumentException("Invalid property Id : 0x" + toHexString(mgrPropId)); in getProperty()
208 + toHexString(mgrPropId) + " area id: 0x" + toHexString(areaId) in getPropertySafe()
221 throw new IllegalArgumentException("Invalid property Id : 0x" + toHexString(mgrPropId)); in getSampleRate()
283 + toHexString(prop.getPropertyId())); in setProperty()
309 Slog.d(TAG, "subscribeProperty propId=0x" + toHexString(mgrPropId) + ", rate=" + rate); in subscribeProperty()
314 + toHexString(mgrPropId)); in subscribeProperty()
335 Slog.d(TAG, "unsubscribeProperty propId=0x" + toHexString(mgrPropId)); in unsubscribeProperty()
340 + toHexString(mgrPropId)); in unsubscribeProperty()
393 Slog.d(TAG, "takeSupportedProperties: " + toHexString(p.prop)); in takeProperties()
[all …]
DHalClient.java113 "Failed to set property: 0x" + Integer.toHexString(propValue.prop) in setValue()
114 + " in areaId: 0x" + Integer.toHexString(propValue.areaId)); in setValue()
120 Integer.toHexString(propValue.prop), Integer.toHexString(propValue.areaId)); in getValueErrorMessage()
125 Integer.toHexString(propValue.prop), Integer.toHexString(propValue.areaId), in getPropertyErrorMessage()
149 "Failed to get property: 0x" + Integer.toHexString(requestedPropValue.prop) in getValue()
150 + " in areaId: 0x" + Integer.toHexString(requestedPropValue.areaId)); in getValue()
DDiagnosticHalService.java21 import static java.lang.Integer.toHexString;
143 .append(toHexString(vp.prop)) in takeProperties()
256 .append(toHexString(propConfig.prop)) in requestDiagnosticStart()
263 .append(toHexString(propConfig.prop)) in requestDiagnosticStart()
285 .append(toHexString(propConfig.prop)) in requestDiagnosticStop()
292 .append(toHexString(propConfig.prop)) in requestDiagnosticStop()
313 .append(toHexString(propConfig.prop)) in getCurrentDiagnosticValue()
321 "property not ready 0x" + toHexString(propConfig.prop), e); in getCurrentDiagnosticValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalClientUnitTest.java70 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(PROP)); in testSet_remoteExceptionThenFail()
71 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(AREA_ID)); in testSet_remoteExceptionThenFail()
90 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(PROP)); in testSet_invalidArgument()
91 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(AREA_ID)); in testSet_invalidArgument()
101 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(PROP)); in testSet_otherError()
102 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(AREA_ID)); in testSet_otherError()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java19 import static java.lang.Integer.toHexString;
104 Log.d(TAG, "onErrorEvent propertyId: 0x" + toHexString(propId) + " areaId:0x" in onErrorEvent()
105 + toHexString(areaId) + " ErrorCode: " + errorCode); in onErrorEvent()
425 throw new IllegalArgumentException("The property propId: 0x" + toHexString(propId) in getAreaId()
438 throw new IllegalArgumentException("The property propId: 0x" + toHexString(propId) in getAreaId()
439 + " is not available at the area: 0x" + toHexString(area)); in getAreaId()
452 Log.d(TAG, "getReadPermission, propId: 0x" + toHexString(propId)); in getReadPermission()
472 Log.d(TAG, "getWritePermission, propId: 0x" + toHexString(propId)); in getWritePermission()
702 Log.d(TAG, "getProperty, propId: 0x" + toHexString(propId) in getProperty()
703 + ", areaId: 0x" + toHexString(areaId) + ", class: " + clazz); in getProperty()
[all …]
DPropertyNotAvailableException.java19 import static java.lang.Integer.toHexString;
28 super("Property 0x" + toHexString(property) + " with area: " + toHexString(areaId) in PropertyNotAvailableException()
DPropertyNotAvailableAndRetryException.java19 import static java.lang.Integer.toHexString;
27 super("Property 0x" + toHexString(property) + " with area: " + toHexString(areaId) in PropertyNotAvailableAndRetryException()
DCarInternalErrorException.java19 import static java.lang.Integer.toHexString;
26 super("Property 0x" + toHexString(property) + " with area: " + toHexString(areaId) in CarInternalErrorException()
DPropertyAccessDeniedSecurityException.java19 import static java.lang.Integer.toHexString;
27 + toHexString(property) + " in area: " + toHexString(areaId)); in PropertyAccessDeniedSecurityException()
/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/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/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/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java669 assertEquals(Integer.toHexString(expected), Integer.toHexString(got)); in assertDhcpErrorCodes()
717 fail("bad packet: " + HexDump.toHexString(packet)); in testRandomPackets()
854 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
863 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
871 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
880 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
889 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
997 assertEquals("BCF5AC000000", HexDump.toHexString(offerPacket.getClientMac())); in testBug2136()
1034 assertEquals("9CD917000000", HexDump.toHexString(offerPacket.getClientMac())); in testUdpServerAnySourcePort()
1105 assertEquals("FC3D93000000", HexDump.toHexString(offerPacket.getClientMac())); in testMultipleRouters()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyServiceTest.java29 import static java.lang.Integer.toHexString;
126 assertWithMessage("onPropertyGet missing property: %s", toHexString(value.prop)) in onPropertyGet()
134 assertWithMessage("onPropertySubscribe missing property: %s", toHexString(property)) in onPropertySubscribe()
142 assertWithMessage("onPropertyUnsubscribe missing property: %s", toHexString(property)) in onPropertyUnsubscribe()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/
DCarPropertyManagerPublicPermissionTest.java234 assertWithMessage("Get property: 0x" + Integer.toHexString(propertyId) in testCarPropertyManagerGetter()
244 assertWithMessage("Get property : 0x " + Integer.toHexString(propertyId) in assertPropertyNotImplementedInVhal()
247 Log.w(TAG, "Property id: 0x" + Integer.toHexString(propertyId) in assertPropertyNotImplementedInVhal()
300 + Integer.toHexString(propertyId)); in testCarPropertyManagerSetter()
303 assertWithMessage("Set property: 0x" + Integer.toHexString(propertyId) in testCarPropertyManagerSetter()
307 assertWithMessage("Get property: 0x" + Integer.toHexString(propertyId) in testCarPropertyManagerSetter()
/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/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java94 Log.d(TAG, "mDefaultRoute=0x" + Integer.toHexString(mDefaultRoute)); in AidRoutingManager()
97 Log.d(TAG, "mDefaultOffHostRoute=0x" + Integer.toHexString(mDefaultOffHostRoute)); in AidRoutingManager()
105 if (DBG) Log.d(TAG, "mAidMatchingSupport=0x" + Integer.toHexString(mAidMatchingSupport)); in AidRoutingManager()
108 if (DBG) Log.d(TAG, "mDefaultIsoDepRoute=0x" + Integer.toHexString(mDefaultIsoDepRoute)); in AidRoutingManager()
258 …"AidRoutingTable is full, try to switch mDefaultRoute to 0x" + Integer.toHexString(mDefaultRoute)); in configureRouting()
449 … pw.println(" Routed to 0x" + Integer.toHexString(mAidRoutingTable.keyAt(i)) + ":"); in dump()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyValue.java19 import static java.lang.Integer.toHexString;
219 + "mPropertyId=0x" + toHexString(mPropertyId) in toString()
220 + ", mAreaId=0x" + toHexString(mAreaId) in toString()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyListAdapter.java19 import static java.lang.Integer.toHexString;
187 value.getTimestamp(), toHexString(propId), VehiclePropertyIds.toString(propId), in onChangeEvent()
203 mTvLogEvent.append("Received error event propId=0x" + toHexString(propId) in onErrorEvent()
204 + ", areaId=0x" + toHexString(areaId)); in onErrorEvent()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkConstants.java75 return toHexString(bytes, 0, bytes.length); in hexify()
80 return toHexString( in hexify()
230 public static String toHexString(byte[] array, int offset, int length) { in toHexString() method in NetlinkConstants
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java101 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid); in getChannelKey()
127 "getChannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + " as " in getChannel()
148 Log.v(TAG, "Setchannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + " to " in setChannel()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java133 .append(HexDump.toHexString(mWifiInfo)) in toString()
135 .append(HexDump.toHexString(mCellularInfo)) in toString()
137 .append(HexDump.toHexString(mDns)) in toString()
/packages/apps/SecureElement/src/com/android/se/
DCommandApduValidator.java112 "Invalid value of CLA (" + Integer.toHexString(cla) + ")"); in checkCla()
119 "Invalid value of INS (" + Integer.toHexString(ins) + "). " in checkIns()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DSignedLongLong.java88 return toHexString(); in toString()
95 public String toHexString() { in toHexString() method in SignedLongLong

1234567