/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageCache.java | 583 mDigest.update(key.getBytes());
|
/external/deqp/modules/glshared/ |
glsMemoryStressCase.cpp | 445 deUint32 getBytes (void) const { return m_bytesRequired; } 885 log << TestLog::Message << "Got error when allocation object count: " << allocator.getObjectCount() << " bytes: " << allocator.getBytes() << TestLog::EndMessage;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
TrieMap.java | 133 int limit = ByteConverter.getBytes(c, bytes, 0); 147 // int limit = ByteConverter.getBytes(c, bytes, 0); 238 int limit = ByteConverter.getBytes(c, bytes, 0); 301 limit = ByteConverter.getBytes(c, bytes, limit); 507 public static int getBytes(char source, byte[] bytes, int limit) { 524 public static int getBytes(CharSequence source, byte[] bytes, int limit) { 526 limit = getBytes(source.charAt(i), bytes, limit); 532 * Transform a sequence of bytes into a string, according to the format in getBytes. No error checking.
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
TCPMessageChannel.java | 388 this.sendMessage(badReqRes.getBytes(), this.getPeerInetAddress(), this 612 hispipe.write("\r\n\r\n".getBytes("UTF-8")); 631 hispipe.write("\r\n\r\n".getBytes("UTF-8"));
|
UDPMessageChannel.java | 363 this.sendMessage(badReqRes.getBytes(), peerAddress, 389 byte[] retval = "\r\n\r\n".getBytes(); [all...] |
TLSMessageChannel.java | 364 this.sendMessage(badReqRes.getBytes(), this.getPeerInetAddress(), this 592 hispipe.write("\r\n\r\n".getBytes("UTF-8")); 611 hispipe.write("\r\n\r\n".getBytes("UTF-8"));
|
/external/okhttp/okio/okio/src/test/java/okio/ |
BufferedSourceTest.java | 348 assertByteArraysEquals(string.getBytes(UTF_8), source.readByteArray());
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
ProxyServer.java | 242 os.write(line.getBytes());
|
/frameworks/base/services/core/java/com/android/server/ |
NativeDaemonConnector.java | 417 mOutputStream.write(rawCmd.getBytes(StandardCharsets.UTF_8));
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
AutomaticActivity.java | 226 outputStream.write(outputString.getBytes());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
BufferedInputStreamTest.java | 444 new ByteArrayInputStream("1234567890".getBytes())); 485 byte[] input = "12345678900".getBytes(); 498 byte[] input = "12345678900".getBytes(); 544 fos.write(INPUT.getBytes(StandardCharsets.US_ASCII));
|
PrintStreamTest.java | 540 os.write(fileString.getBytes(), 0, fileString.length());
|
/libcore/luni/src/main/java/java/sql/ |
ResultSet.java | 462 public byte[] getBytes(int columnIndex) throws SQLException; 474 public byte[] getBytes(String columnName) throws SQLException; [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest2Test.java | 206 sha.update(MESSAGE.getBytes());
|
Signature2Test.java | 342 sig.update(MESSAGE.getBytes()); 361 byte[] bytes = MESSAGE.getBytes(); 366 sig2.update(MESSAGE.getBytes()); 377 byte[] bytes = MESSAGE.getBytes(); 412 sig.update(MESSAGE.getBytes()[0]); 447 sig.update(MESSAGE.getBytes()); 451 sig.update(MESSAGE.getBytes()); 461 sig.update(MESSAGE.getBytes()); 465 sig.update(MESSAGE.getBytes());
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 121 public static byte[] getBytes(String in) {
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
ExifTag.java | 332 byte[] buf = value.getBytes(US_ASCII); 834 * Equivalent to getBytes(buffer, 0, buffer.length). 836 protected void getBytes(byte[] buf) { 837 getBytes(buf, 0, buf.length); 850 protected void getBytes(byte[] buf, int offset, int length) { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ScannerTest.java | 104 fos.write("test".getBytes()); 274 os.write(sampleData.getBytes()); 764 os.write(" ".getBytes()); 766 os.write(" 1 2 ".getBytes()); 770 os.write(" 1 2".getBytes()); 819 os.write("aab 2".getBytes()); 864 os.write("aab 2".getBytes()); 909 os.write("true false".getBytes()); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketTest.java | 605 theOutput.write(sendString.getBytes()); 641 theOutput.write(sendString.getBytes()); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleClientService.java | 167 descriptor.setValue(writeValue.getBytes());
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
Impl_RowSet.java | 347 public byte[] getBytes(int columnIndex) throws SQLException { 351 public byte[] getBytes(String columnName) throws SQLException {
|
/external/fonttools/Lib/fontTools/misc/ |
psCharStrings.py | 337 def getBytes(self, index, nBytes): 580 hintMaskBytes, index = self.callingStack[-1].getBytes(index, self.hintMaskBytes)
|
/external/guava/guava-tests/test/com/google/common/io/ |
ByteStreamsTest.java | 188 "This is a line\r\nThis too\rand this\nand also this".getBytes(Charsets.UTF_8.name())); 211 System.arraycopy("Kilroy was here".getBytes(Charsets.UTF_8.name()), 0, data, 2, 15); 217 byte[] data = "qed".getBytes(Charsets.UTF_16BE.name()); 355 byte[] expected = Arrays.copyOfRange("r\u00C9sum\u00C9".getBytes(UTF_16.name()), 2, 14); 362 byte[] expected ="r\u00C9sum\u00C9".getBytes(Charsets.UTF_8.name()); 391 ByteStreams.newInputStreamSupplier(ASCII.getBytes(Charsets.US_ASCII.name())); 393 ByteStreams.newInputStreamSupplier(I18N.getBytes(Charsets.UTF_8.name())); 502 nos.write(test.getBytes()); 503 nos.write(test.getBytes(), 2, 10);
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
MultiPartInputStream.java | 227 public byte[] getBytes() 486 byte[] byteBoundary=(boundary+"--").getBytes(StringUtil.__ISO_8859_1); 833 _buffer=(_line+"\r\n").getBytes(); //boundary marking end of part 835 _buffer="\r\n".getBytes(); //blank line
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 175 fos.write(pFileOut.getBytes()); 182 int count = pFileOut.getBytes().length; 268 return sbuffer.getBytes();
|