HomeSort by relevance Sort by last modified time
    Searched full:getbytes (Results 226 - 250 of 2163) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Messaging/tests/src/com/android/messaging/util/
FakeBuglePrefs.java 48 public byte[] getBytes(String key) {
  /device/google/contexthub/util/nanotool/
nanomessage.h 58 virtual std::vector<uint8_t> GetBytes() const = 0;
121 std::vector<uint8_t> GetBytes() const override;
172 std::vector<uint8_t> GetBytes() const override;
  /external/boringssl/src/crypto/hmac/
hmac_test.cc 100 if (!t->GetBytes(&key, "Key") ||
101 !t->GetBytes(&input, "Input") ||
102 !t->GetBytes(&output, "Output")) {
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/
ContentTypeDetectorTest.java 122 zip.write("Hello Zip!".getBytes());
134 zip.write("Hello Zip!".getBytes());
150 gz.write("Hello gz!".getBytes());
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
GZipIntegrationTest.java 95 InputStream data = new ByteArrayInputStream("This is a test".getBytes("UTF-8"));
137 InputStream data = new ByteArrayInputStream("This is a test".getBytes("UTF-8"));
158 testServer.response.addHeader("Content-Length", "" + ("This is a test".getBytes("UTF-8").length));
  /external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
AppNanolets.java 97 ByteArrayInputStream inp = new ByteArrayInputStream(text.getBytes());
98 int size = text.getBytes().length;
118 return new ByteArrayInputStream("a stream of data ;-)".getBytes());
  /external/nist-sip/java/gov/nist/javax/sip/
Utils.java 73 signature = toHexString(Integer.toString(Math.abs( rand.nextInt() % 1000 )).getBytes());
139 byte cid[] = digester.digest(date.getBytes());
175 byte bid[] = digester.digest(Long.toString(num).getBytes());
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
TestHttpResponse.java 39 this.responseBody = responseBody.getBytes();
43 this(statusCode, responseBody.getBytes(), headers);
53 this.responseBody = responseBody.getBytes();
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DumpFields.java 123 outStream.write(className.getBytes());
126 outStream.write(field.getBytes());
128 outStream.write("\n".getBytes());
DumpVtables.java 121 outStream.write(className.getBytes());
130 outStream.write(methodString.getBytes());
132 outStream.write("\n".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()));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ByteArrayInputStreamTest.java 35 InputStream bis = new ByteArrayInputStream(fileString.getBytes());
45 byte[] zz = fileString.getBytes();
166 is = new ByteArrayInputStream(fileString.getBytes());
DataOutputStreamTest.java 61 os.write(fileString.getBytes(), 0, 150);
74 os.write(fileString.getBytes(), 0, 150);
124 os.write(fileString.getBytes());
OutputStreamTesterTest.java 90 public byte[] getBytes() throws IOException {
109 public byte[] getBytes() throws IOException {
140 public byte[] getBytes() throws Exception {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ProcessTest.java 62 os.write(str1.getBytes());
68 os.write(str2.getBytes());
69 os.write(str3.getBytes());
  /libcore/luni/src/test/java/libcore/java/io/
OldByteArrayInputStreamTest.java 33 .getBytes());
46 byte[] zz = fileString.getBytes();
210 is = new ByteArrayInputStream(fileString.getBytes());
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());
  /libcore/ojluni/src/main/java/java/util/zip/
ZipCoder.java 76 byte[] getBytes(String s) {
108 return getBytes(s);
111 return utf8.getBytes(s);
  /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 149 digest.update(source1.getBytes(), 0, source1.length());
165 digest.update(source2.getBytes(), 0, source2.length());
181 digest.update(source3.getBytes(), 0, source3.length());
  /packages/apps/Nfc/tests/src/com/android/nfc/snep/
SnepValidationClientTests.java 183 new byte[] { 'A' }, "http://android.com".getBytes());
193 NdefRecord rec = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, "text/plain".getBytes(),
194 new byte[] { 'B' }, string.toString().getBytes());
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 56 byte[] langBytes = locale.getLanguage().getBytes(StandardCharsets.US_ASCII);
59 byte[] textBytes = text.getBytes(utfEncoding);
77 byte[] typeBytes = type.getBytes(StandardCharsets.US_ASCII);
  /cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
MyDocumentsProvider.java 119 file1.contents = "fileone".getBytes();
127 file2.contents = "filetwo".getBytes();
137 virtualFile.contents = "Converted contents.".getBytes();
147 file3.contents = "filethree".getBytes();
157 file4.contents = "filefour".getBytes();
  /external/opencv/otherlibs/highgui/
grfmt_sunras.cpp 127 m_strm.GetBytes( buffer, m_maplength, &readed );
211 m_strm.GetBytes( src, src_pitch );
280 m_strm.GetBytes( src, src_pitch );
358 m_strm.GetBytes( color ? data : bgr, src_pitch );
379 m_strm.GetBytes( src + 3, src_pitch );
  /external/opencv3/modules/imgcodecs/src/
grfmt_sunras.cpp 107 if( m_strm.getBytes( buffer, m_maplength ) == m_maplength )
190 m_strm.getBytes( src, src_pitch );
259 m_strm.getBytes( src, src_pitch );
337 m_strm.getBytes( color ? data : bgr, src_pitch );
358 m_strm.getBytes( src + 3, src_pitch );

Completed in 4109 milliseconds

1 2 3 4 5 6 7 8 91011>>