/libcore/ojluni/src/main/native/ |
UNIXProcess_md.c | 458 getBytes(JNIEnv *env, jbyteArray arr) 871 if ((pprog = getBytes(env, prog)) == NULL) goto Catch; 872 if ((pargBlock = getBytes(env, argBlock)) == NULL) goto Catch; 879 if ((penvBlock = getBytes(env, envBlock)) == NULL) goto Catch; 885 if ((c->pdir = getBytes(env, dir)) == NULL) goto Catch;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 121 public static byte[] getBytes(String in) {
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
UtilsTest.java | 327 byte[] bytes = "TESTARRAY".getBytes(); 344 outputStream.write(string.getBytes());
|
/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...] |
/packages/services/Car/TrustAgent/src/com/android/car/trust/ |
CarTrustAgentBleService.java | 237 private static byte[] getBytes(long primitive) { 277 mEnrolmentTokenHandle.setValue(getBytes(handle));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleServerService.java | 354 getCharacteristic(CHARACTERISTIC_UUID).setValue(WRITE_VALUE.getBytes()); 355 getDescriptor().setValue(WRITE_VALUE.getBytes()); 706 characteristic.setValue(WRITE_VALUE.getBytes()); 709 descriptor.setValue(WRITE_VALUE.getBytes()); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketTest.java | 606 theOutput.write(sendString.getBytes()); 642 theOutput.write(sendString.getBytes()); [all...] |
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
Parser.java | 165 hprof.getBytes(bytes); 428 hprof.getBytes(data); [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
SecurityLoggingTest.java | 533 mDevicePolicyManager.installCaCert(getWho(), TEST_CA.getBytes()); 544 mDevicePolicyManager.uninstallCaCert(getWho(), TEST_CA.getBytes()); [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TestSuiteContentReport.java | 292 md.update(entry.getContentId().getBytes(StandardCharsets.UTF_8)); 307 md.update(name.getBytes(StandardCharsets.UTF_8));
|
/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/nist-sip/java/gov/nist/javax/sip/stack/ |
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/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiAwareManagerFacade.java | 222 la.add(Base64.decode(ja.getString(i).getBytes(StandardCharsets.UTF_8), Base64.DEFAULT)); 241 builder.setServiceSpecificInfo(ssi.getBytes()); 247 j.getString("MatchFilter").getBytes(StandardCharsets.UTF_8), Base64.DEFAULT); 288 builder.setServiceSpecificInfo(ssi.getBytes()); 294 j.getString("MatchFilter").getBytes(StandardCharsets.UTF_8), Base64.DEFAULT); 550 bytes = message.getBytes(); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
NativeDaemonConnector.java | 488 mOutputStream.write(rawCmd.getBytes(StandardCharsets.UTF_8));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
XmlUtilTest.java | 294 byte[] deprecatedXmlData = xmlString.getBytes(); 342 byte[] deprecatedXmlData = xmlString.getBytes(); 412 deserializeWifiEnterpriseConfig(xmlString.getBytes(StandardCharsets.UTF_8));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
RandomAccessFileTest.java | 99 raf.write("Test".getBytes(), 0, 4); 103 raf.write("Test".getBytes(), 0, 4); 107 raf.write("Test".getBytes(), 0, 4); 162 raf.write("Test".getBytes(), 0, 4); 188 raf.write(fileString.getBytes(), 0, 1000); 200 raf.write(fileString.getBytes()); 212 fos.write(fileString.getBytes("UTF-8"), 0, fileString.length()); 227 fos.write(fileString.getBytes(), 0, fileString.length()); 246 fos.write(fileString.getBytes(), 0, fileString.length()); 372 raf.write(s.getBytes("UTF-8"), 0, s.length()) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
String2Test.java | 58 assertTrue("Failed to create string", new String(hw1.getBytes()) 79 assertTrue("Failed to create string", new String(hw1.getBytes(), 0, hw1 80 .getBytes().length).equals(hw1)); 348 * java.lang.String#getBytes() 351 // Test for method byte [] java.lang.String.getBytes() 352 byte[] sbytes = hw1.getBytes(); 367 result = string.getBytes("8859_1"); 381 result = string.getBytes("UTF8"); 424 * java.lang.String#getBytes(int, int, byte[], int) 428 // Test for method void java.lang.String.getBytes(int, int, byte [] [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
ChannelsTest.java | 96 this.fouts.write(writebuf.getBytes());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
ZipOutputStreamTest.java | 73 zos.write("Hello World".getBytes("UTF-8")); 86 zos.write("Hello World".getBytes()); 109 zos.write("Hello World".getBytes()); 152 zos.write(data.getBytes()); 157 zos.write(data.getBytes()); 169 tempCrc.update(data.getBytes()); 173 zos.write(data.getBytes()); 178 zos.write(data.getBytes()); 193 zos.write(data.getBytes()); 312 zos.write(data.getBytes()); [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ProcessBuilderTest.java | 480 outputStream.write(processInput.getBytes(Charset.defaultCharset()));
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldPreparedStatementTest.java | [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
ImapFolder.java | 450 out.write(warning.getBytes());
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
TestDeviceFuncTest.java | 462 stream.write(testString.getBytes()); [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
PduPersister.java | 326 charset, getBytes(s)); 336 headers.setTextString(getBytes(s), mapColumn); 367 return getBytes(c.getString(columnIndex)); 514 new EncodedStringValue(c.getInt(1), getBytes(addr)), 521 new EncodedStringValue(c.getInt(1), getBytes(addr)), [all...] |