Home
last modified time | relevance | path

Searched refs:Base64Codec (Results 1 – 5 of 5) sorted by relevance

/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java52 public class Base64Codec implements BinaryEncoder, BinaryDecoder { class
223 public Base64Codec() { in Base64Codec() method in Base64Codec
242 public Base64Codec(boolean urlSafe) { in Base64Codec() method in Base64Codec
264 public Base64Codec(int lineLength) { in Base64Codec() method in Base64Codec
290 public Base64Codec(int lineLength, byte[] lineSeparator) { in Base64Codec() method in Base64Codec
319 public Base64Codec(int lineLength, byte[] lineSeparator, boolean urlSafe) { in Base64Codec() method in Base64Codec
816Base64Codec b64 = isChunked ? new Base64Codec(urlSafe) : new Base64Codec(0, CHUNK_SEPARATOR, urlSa… in encodeBase64()
829 return new Base64Codec().decode(base64String); in decodeBase64()
840 return new Base64Codec().decode(base64Data); in decodeBase64()
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DTriggerRepository.java38 import org.apache.commons.codec.binary.Base64Codec;
150 new ByteArrayInputStream(Base64Codec.decodeBase64(triggers.getBytes())); in deserializeTriggersFromString()
165 return new String(Base64Codec.encodeBase64(outputStream.toByteArray())); in serializeTriggersToString()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiJsonParser.java24 import org.apache.commons.codec.binary.Base64Codec;
116 scanIe.bytes = Base64Codec.decodeBase64(jIe.getString("bytes")); in getScanResult()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothSocketConnFacade.java34 import org.apache.commons.codec.binary.Base64Codec;
398 conn.write(Base64Codec.decodeBase64(base64)); in bluetoothSocketConnWriteBinary()
422 return Base64Codec.encodeBase64String(conn.readBinary(bufferSize)); in bluetoothSocketConnReadBinary()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java113 import org.apache.commons.codec.binary.Base64Codec;
691 infoEle.put("bytes", Base64Codec.encodeBase64String(ie.bytes)); in buildJsonScanResult()