Searched refs:stringToBytes (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/presence/ |
D | ExtendedAdvertisementTest.java | 106 ArrayUtils.stringToBytes("DE2A89ED98474AF3E41E48487E8AEBDE"); 107 private static final byte[] AUTHENTICITY_KEY_2 = ArrayUtils.stringToBytes( 109 private static final byte[] METADATA_ENCRYPTION_KEY_2 = ArrayUtils.stringToBytes( 112 private static final DataElement DE1 = new DataElement(571, ArrayUtils.stringToBytes( 114 private static final DataElement DE2 = new DataElement(541, ArrayUtils.stringToBytes( 116 private static final DataElement DE3 = new DataElement(51, ArrayUtils.stringToBytes( 118 private static final DataElement DE4 = new DataElement(729, ArrayUtils.stringToBytes( 120 private static final DataElement DE5 = new DataElement(411, ArrayUtils.stringToBytes("B0")); 288 ArrayUtils.stringToBytes(ENCODED_ADVERTISEMENT_ENCRYPTION_INFO), in test_fromBytesCredentialElement()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsEvent.java | 460 final byte[] valueBytes = stringToBytes(value); in writeString() 514 final byte[] tagBytes = stringToBytes(tags[i]); in writeAttributionChain() 570 final byte[] valueBytes = stringToBytes(value); in writeKeyValuePairs() 702 final byte[] elementBytes = stringToBytes(elements[i]); in writeStringArray() 826 private static byte[] stringToBytes(@Nullable final String value) { in stringToBytes() method in StatsEvent.Builder
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/ |
D | Hex.java | 69 public static byte[] stringToBytes(String hex) throws IllegalArgumentException { in stringToBytes() method in Hex
|
D | ArrayUtils.java | 95 public static byte[] stringToBytes(String hex) throws IllegalArgumentException { in stringToBytes() method in ArrayUtils
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ReceiveMmsMessageAction.java | 169 MmsUtils.stringToBytes(transactionId, "UTF-8"), in doBackgroundWork()
|
D | ProcessDownloadedMmsAction.java | 229 MmsUtils.stringToBytes(transactionId, "UTF-8"), in doBackgroundWork()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 1435 public static byte[] stringToBytes(final String string, final String charsetName) { in stringToBytes() method in MmsUtils 1883 final byte[] notificationTransactionId = stringToBytes(transactionId, "UTF-8"); in insertDownloadedMessageAndSendResponse()
|