/libcore/luni/src/test/java/libcore/java/io/ |
OldDataInputStreamTest.java | 63 os.write(fileString.getBytes()); 94 os.write(fileString.getBytes()); 124 os.write(fileString.getBytes()); 153 os.write(fileString.getBytes()); 182 os.write(fileString.getBytes());
|
OldByteArrayInputStreamTest.java | 33 .getBytes()); 46 byte[] zz = fileString.getBytes(); 210 is = new ByteArrayInputStream(fileString.getBytes());
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SFTPv3Client.java | 298 sendMessage(Packet.SSH_FXP_CLOSE, req_id, tw.getBytes()); 386 sendMessage(Packet.SSH_FXP_FSTAT, req_id, tw.getBytes()); 425 sendMessage(statMethod, req_id, tw.getBytes()); 501 sendMessage(Packet.SSH_FXP_READLINK, req_id, tw.getBytes()); 588 sendMessage(Packet.SSH_FXP_SETSTAT, req_id, tw.getBytes()); 613 sendMessage(Packet.SSH_FXP_FSETSTAT, req_id, tw.getBytes()); 639 sendMessage(Packet.SSH_FXP_SYMLINK, req_id, tw.getBytes()); 661 sendMessage(Packet.SSH_FXP_REALPATH, req_id, tw.getBytes()); 713 sendMessage(Packet.SSH_FXP_READDIR, req_id, tw.getBytes()); 775 sendMessage(Packet.SSH_FXP_OPENDIR, req_id, tw.getBytes()); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
DataOutputStreamTest.java | 61 os.write(fileString.getBytes(), 0, 150); 74 os.write(fileString.getBytes(), 0, 150); 124 os.write(fileString.getBytes());
|
OutputStreamTesterTest.java | 89 public byte[] getBytes() throws IOException { 108 public byte[] getBytes() throws IOException { 138 public byte[] getBytes() throws Exception {
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
TypesWriter.java | 41 public byte[] getBytes() 48 public void getBytes(byte dst[]) 139 byte[] b = StringEncoder.GetBytes(v); 147 byte[] b = (charsetName == null) ? StringEncoder.GetBytes(v) : v.getBytes(charsetName);
|
/external/smack/src/org/apache/qpid/management/common/sasl/ |
PlainSaslClient.java | 69 authorizationID == null ? null : authorizationID.getBytes("UTF8"); 70 byte authnid[] = authenticationID.getBytes("UTF8"); 192 pwbytes = (new String(pwchars)).getBytes("UTF8");
|
/external/smack/src/org/jivesoftware/smack/proxy/ |
Socks5ProxySocketFactory.java | 173 System.arraycopy(user.getBytes(), 0, buf, index, 177 System.arraycopy(passwd.getBytes(), 0, buf, index, 251 byte[] hostb=host.getBytes();
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ContainerEncryptionParamsTest.java | 31 private static final byte[] IV_BYTES = "FOOBAR".getBytes(); 35 private static final byte[] ENC_KEY_BYTES = "abcd1234wxyz7890".getBytes(); 41 private static final byte[] MAC_KEY_BYTES = "4wxyzabcd1237890".getBytes(); 45 private static final byte[] MAC_TAG = "faketag".getBytes(); 125 new String(ENC_ALGORITHM), new IvParameterSpec("BLAHBLAH".getBytes()), 140 new SecretKeySpec("BLAHBLAH".getBytes(), "RAW"), new String(MAC_ALGORITHM), null, 169 new SecretKeySpec("FAKE_MAC_KEY".getBytes(), "RAW"), MAC_TAG, AUTHENTICATED_START, 183 new SecretKeySpec(MAC_KEY_BYTES.clone(), "RAW"), "broken".getBytes(), 265 new String(ENC_ALGORITHM), new IvParameterSpec("BLAHBLAH".getBytes()), 280 new SecretKeySpec("BLAHBLAH".getBytes(), "RAW"), new String(MAC_ALGORITHM), null [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
PackageManagerSettingsTests.java | 99 + "</packages>").getBytes()); 109 .getBytes()); 117 .getBytes());
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pDnsSdServiceInfo.java | 129 byte[] data = instanceName.getBytes(); 219 sb.append(WifiP2pServiceInfo.bin2HexStr(dnsName.getBytes())); 229 sb.append(WifiP2pServiceInfo.bin2HexStr(name.getBytes()));
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
PduPart.java | 96 static final byte[] DISPOSITION_FROM_DATA = "from-data".getBytes(); 97 static final byte[] DISPOSITION_ATTACHMENT = "attachment".getBytes(); 98 static final byte[] DISPOSITION_INLINE = "inline".getBytes();
|
/libcore/luni/src/test/java/libcore/io/ |
OsTest.java | 52 byte[] path = "/abstract_name_unix_socket".getBytes("UTF-8"); 83 byte[] response = s.toUpperCase(Locale.ROOT).getBytes("UTF-8"); 101 byte[] request = string.getBytes("UTF-8");
|
/libcore/luni/src/test/java/tests/api/java/lang/ |
ProcessTest.java | 59 os.write(str1.getBytes()); 65 os.write(str2.getBytes()); 66 os.write(str3.getBytes());
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
X509KeyManagerImpl.java | 42 .getBytes()); 61 .getBytes()); 85 .getBytes());
|
/libcore/support/src/test/java/tests/security/ |
MessageDigestTest.java | 171 digest.update(source1.getBytes(), 0, source1.length()); 187 digest.update(source2.getBytes(), 0, source2.length()); 203 digest.update(source3.getBytes(), 0, source3.length());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapAppParams.java | 373 length += getFilterRecipient().getBytes("UTF-8").length; 375 length += getFilterOriginator().getBytes("UTF-8").length; 409 appParamBuf.put((byte) getFilterPeriodBeginString().getBytes("UTF-8").length); 410 appParamBuf.put(getFilterPeriodBeginString().getBytes("UTF-8")); 414 appParamBuf.put((byte) getFilterPeriodEndString().getBytes("UTF-8").length); 415 appParamBuf.put(getFilterPeriodEndString().getBytes("UTF-8")); 424 appParamBuf.put((byte) getFilterRecipient().getBytes("UTF-8").length); 425 appParamBuf.put(getFilterRecipient().getBytes("UTF-8")); 429 appParamBuf.put((byte) getFilterOriginator().getBytes("UTF-8").length); 430 appParamBuf.put(getFilterOriginator().getBytes("UTF-8")) [all...] |
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
SnepValidationServerTests.java | 70 new byte[0], "http://android.com".getBytes()); 80 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(), 81 new byte[0], string.toString().getBytes());
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
AttributeListParser.java | 70 int size = cf.getBytes().getUnsignedShort(offset); 126 ByteArray bytes = cf.getBytes();
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStream2Test.java | 158 "This is a test string for digesting".getBytes("UTF-8")); 160 "This is a test string for digesting".getBytes("UTF-8"));
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpTests.java | 148 out.write(toWrite.getBytes("ISO8859_1")); 174 out.write(toWrite.getBytes("ISO8859_1")); 203 os.write(message.getBytes("ISO8859_1")); 231 os.write(message1.getBytes("ISO8859_1")); 233 os.write(message2.getBytes("ISO8859_1")); 260 os.write(message1.getBytes("ISO8859_1")); 262 os.write(message2.getBytes("ISO8859_1")); 290 os.write(message.getBytes("ISO8859_1"));
|
/external/apache-http/src/org/apache/http/impl/conn/ |
Wire.java | 150 output(s.getBytes()); 158 input(s.getBytes());
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
SampleToGroupBox.java | 64 byteBuffer.put(groupingType.getBytes()); 66 byteBuffer.put(groupingTypeParameter.getBytes());
|
/external/okhttp/src/test/java/com/squareup/okhttp/ |
RequestTest.java | 30 Request.Body body = Request.Body.create(contentType, "abc".getBytes(Util.UTF_8)); 55 Request.Body body = Request.Body.create(contentType, "abc".getBytes(Util.UTF_8));
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
ByteStringMicro.java | 102 return new ByteStringMicro(text.getBytes(charsetName)); 111 return new ByteStringMicro(text.getBytes("UTF-8"));
|