/prebuilts/tools/common/m2/repository/org/sonatype/plexus/plexus-cipher/1.4/ |
plexus-cipher-1.4.jar | |
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
WapPushTest.java | 61 protected byte[] mGsmHeader = { 62 (byte) 0x00, // sc address 63 (byte) 0x40, // TP-MTI 64 (byte) 0x04, // sender address length? 65 (byte) 0x81, (byte) 0x55, (byte) 0x45, // sender address? 66 (byte) 0x00, // data schema 67 (byte) 0x00, // proto ID 68 (byte) 0x01, (byte) 0x60, (byte) 0x12, (byte) 0x31 [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
Format22b.java | 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) insn.vregA); 29 file.writeByte((byte) insn.vregB); 30 file.writeByte((byte) insn.vregC); 35 public long getA(byte[] raw) throws IOException { 40 public long getB(byte[] raw) throws IOException { 45 public long getC(byte[] raw) throws IOException {
|
Format35c.java | 29 file.writeByte((byte) insn.info.value); 30 file.writeByte((byte) (insn.invokeFormatInfo.vregG | (insn.vregA << 4))); 32 file.writeByte((byte) ((insn.invokeFormatInfo.vregD << 4) | insn.vregC)); 33 file.writeByte((byte) ((insn.invokeFormatInfo.vregF << 4) 39 public long getA(byte[] raw) throws IOException { 44 public long getB(byte[] raw) throws IOException { 49 public long getC(byte[] raw) throws IOException {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
SoundGenerator.java | 10 private final byte[] generatedSound; 38 // Convert sample to byte. 39 generatedSound = new byte[2 * sample.length]; 43 generatedSound[i++] = (byte) (val & 0x00ff); 44 generatedSound[i++] = (byte) ((val & 0xff00) >>> 8); 69 * Get generated sound in byte[]. 71 public byte[] getByte() {
|
/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 38 * byte-array based communication channel. It is left to developers to implement higher level 49 private static final byte[] SELECT_OK_SW = HexStringToByteArray("9000"); 51 private static final byte[] UNKNOWN_CMD_SW = HexStringToByteArray("0000"); 52 private static final byte[] SELECT_APDU = BuildSelectApdu(SAMPLE_LOYALTY_CARD_AID); 66 * response APDU can be provided directly by returning a byte-array in this method. In general 76 * #sendResponseApdu(byte[])} method later. 80 * @return a byte-array containing the response APDU, or null if no response APDU can be sent 85 public byte[] processCommandApdu(byte[] commandApdu, Bundle extras) { 91 byte[] accountBytes = account.getBytes() [all...] |
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 38 * byte-array based communication channel. It is left to developers to implement higher level 49 private static final byte[] SELECT_OK_SW = HexStringToByteArray("9000"); 51 private static final byte[] UNKNOWN_CMD_SW = HexStringToByteArray("0000"); 52 private static final byte[] SELECT_APDU = BuildSelectApdu(SAMPLE_LOYALTY_CARD_AID); 66 * response APDU can be provided directly by returning a byte-array in this method. In general 76 * #sendResponseApdu(byte[])} method later. 80 * @return a byte-array containing the response APDU, or null if no response APDU can be sent 85 public byte[] processCommandApdu(byte[] commandApdu, Bundle extras) { 91 byte[] accountBytes = account.getBytes() [all...] |
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
CardService.java | 38 * byte-array based communication channel. It is left to developers to implement higher level 49 private static final byte[] SELECT_OK_SW = HexStringToByteArray("9000"); 51 private static final byte[] UNKNOWN_CMD_SW = HexStringToByteArray("0000"); 52 private static final byte[] SELECT_APDU = BuildSelectApdu(SAMPLE_LOYALTY_CARD_AID); 66 * response APDU can be provided directly by returning a byte-array in this method. In general 76 * #sendResponseApdu(byte[])} method later. 80 * @return a byte-array containing the response APDU, or null if no response APDU can be sent 85 public byte[] processCommandApdu(byte[] commandApdu, Bundle extras) { 91 byte[] accountBytes = account.getBytes() [all...] |
/device/google/contexthub/firmware/src/cpu/x86/ |
atomic.c | 41 uint32_t atomicXchgByte(volatile uint8_t *byte, uint32_t newVal) 43 return __atomic_exchange_n(byte, newVal, __ATOMIC_ACQ_REL); 49 :"=r"(oldVal), "+m"(*byte) 66 :"=r"(oldVal), "+m"(*byte) 75 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal) 77 return __sync_bool_compare_and_swap (byte, prevVal, newVal); 83 :"=a"(ret), "+m"(*byte)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
BERConstructedOctetString.java | 17 * convert a vector of octet strings into a single byte string 19 static private byte[] toBytes( 51 byte[] string) 70 private static byte[] toByteArray(ASN1Primitive obj) 88 public byte[] getOctets() 122 byte[] nStr = new byte[end - i];
|
/external/conscrypt/src/test/java/org/conscrypt/ |
SSLParametersImplTest.java | 27 byte b = Byte.MIN_VALUE; 29 String byteString = Byte.toString(b); 51 } while (b != Byte.MIN_VALUE); 56 byte[] allClientCertificateTypes = new byte[512]; 58 allClientCertificateTypes[i] = (byte) i;
|
/external/lzma/C/ |
Bra.h | 27 you must start next call with first byte after block of processed bytes.
55 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding);
56 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
57 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
58 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
59 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
60 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
|
Xz.c | 11 Byte XZ_SIG[XZ_SIG_SIZE] = { 0xFD, '7', 'z', 'X', 'Z', 0 };
12 Byte XZ_FOOTER_SIG[XZ_FOOTER_SIG_SIZE] = { 'Y', 'Z' };
14 unsigned Xz_WriteVarInt(Byte *buf, UInt64 v)
19 buf[i++] = (Byte)((v & 0x7F) | 0x80);
64 case XZ_CHECK_SHA256: Sha256_Update(&p->sha, (const Byte *)data, size); break;
68 int XzCheck_Final(CXzCheck *p, Byte *digest)
80 digest[i] = (Byte)(v & 0xFF);
|
/libcore/luni/src/main/java/android/system/ |
PacketSocketAddress.java | 40 public byte sll_pkttype; 43 public byte[] sll_addr; 47 short sll_hatype, byte sll_pkttype, byte[] sll_addr) { 57 this(sll_protocol, sll_ifindex, (short) 0, (byte) 0, null); 61 public PacketSocketAddress(int sll_ifindex, byte[] sll_addr) { 62 this((short) 0, sll_ifindex, (short) 0, (byte) 0, sll_addr);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 42 private void assertReplacementBytesForEncoder(String charset, byte[] bytes) { 43 byte[] result = Charset.forName(charset).newEncoder().replacement(); 49 assertReplacementBytesForEncoder("ISO-8859-1", new byte[] { (byte) '?' }); 52 assertReplacementBytesForEncoder("US-ASCII", new byte[] { (byte) '?' }); 55 assertReplacementBytesForEncoder("UTF-16", new byte[] { (byte) 0xff, (byte) 0xfd }); 58 assertReplacementBytesForEncoder("UTF-16BE", new byte[] { (byte) 0xff, (byte) 0xfd }) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherPBEThread.java | 36 byte[] output = new byte[128]; 37 byte[] decrypted = new byte[128]; 38 byte[] input = getData().getBytes(); 39 byte[] salt = new byte[8];
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest1Test.java | 46 * java.security.MessageDigest#update(byte) 50 md.update((byte) 1); 55 * java.security.MessageDigest#update(byte[], int, int) 59 final byte[] bytes = { 1, 2, 3, 4, 5 }; 87 public void engineUpdate(byte[] arg0, int arg1, int arg2) { 99 * java.security.MessageDigest#update(byte[]) 103 byte[] b = { 1, 2, 3, 4, 5 }; 113 byte[] b = { 1, 2, 3, 4, 5 }; 133 * java.security.MessageDigest#digest(byte[]) 137 byte[] b = { 1, 2, 3, 4, 5 } [all...] |
/packages/apps/Email/provider_src/com/android/email/ |
PeekableInputStream.java | 23 * A filtering InputStream that allows single byte "peeks" without consuming the byte. The 24 * client of this stream can call peek() to see the next available byte in the stream 25 * and a subsequent read will still return the peeked byte. 55 public int read(byte[] b, int offset, int length) throws IOException { 59 b[0] = (byte)mPeekedByte; 71 public int read(byte[] b) throws IOException {
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
RetrieveConf.java | 82 public byte[] getContentType() { 92 public void setContentType(byte[] value) { 143 public byte[] getMessageClass() { 153 public void setMessageClass(byte[] value) { 162 public byte[] getMessageId() { 172 public void setMessageId(byte[] value) { 243 public byte[] getTransactionId() { 253 public void setTransactionId(byte[] value) { 260 * public byte[] getApplicId() {return null;} 261 * public void setApplicId(byte[] value) { [all...] |
/packages/services/Telephony/src/com/android/phone/common/mail/ |
PeekableInputStream.java | 23 * A filtering InputStream that allows single byte "peeks" without consuming the byte. The 24 * client of this stream can call peek() to see the next available byte in the stream 25 * and a subsequent read will still return the peeked byte. 55 public int read(byte[] b, int offset, int length) throws IOException { 59 b[0] = (byte)mPeekedByte; 71 public int read(byte[] b) throws IOException {
|
/system/media/audio_utils/spdif/ |
FrameScanner.cpp | 49 // State machine that scans for headers in a byte stream. 51 bool FrameScanner::scan(uint8_t byte) 54 ALOGV("FrameScanner: byte = 0x%02X, mCursor = %d", byte, mCursor); 58 if (byte == mSyncBytes[mCursor]) { 59 mHeaderBuffer[mCursor++] = byte; 66 mHeaderBuffer[mCursor++] = byte;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerCompareTest.java | 35 byte aBytes[] = {1, 2, 3, 4, 5, 6, 7}; 37 byte rBytes[] = {1, 2, 3, 4, 5, 6, 7}; 40 byte resBytes[] = new byte[rBytes.length]; 52 byte aBytes[] = {1, 2, 3, 4, 5, 6, 7}; 54 byte rBytes[] = {1, 2, 3, 4, 5, 6, 7}; 57 byte resBytes[] = new byte[rBytes.length]; 71 byte aBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91}; 72 byte bBytes[] = {10, 20, 30, 40, 50, 60, 70, 10, 20, 30} [all...] |
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
ApfTest.java | 73 private void assertVerdict(int expected, byte[] program, byte[] packet, int filterAge) { 77 private void assertPass(byte[] program, byte[] packet, int filterAge) { 81 private void assertDrop(byte[] program, byte[] packet, int filterAge) { 85 private void assertVerdict(int expected, ApfGenerator gen, byte[] packet, int filterAge) 90 private void assertPass(ApfGenerator gen, byte[] packet, int filterAge) 95 private void assertDrop(ApfGenerator gen, byte[] packet, int filterAge) 102 assertVerdict(PASS, gen, new byte[MIN_PKT_SIZE], 0) [all...] |
/external/boringssl/src/ssl/test/runner/ |
prf.go | 19 func splitPreMasterSecret(secret []byte) (s1, s2 []byte) { 26 func pHash(result, secret, seed []byte, hash func() hash.Hash) { 51 func prf10(result, secret, label, seed []byte) { 55 labelAndSeed := make([]byte, len(label)+len(seed)) 61 result2 := make([]byte, len(result)) 70 func prf12(hashFunc func() hash.Hash) func(result, secret, label, seed []byte) { 71 return func(result, secret, label, seed []byte) { 72 labelAndSeed := make([]byte, len(label)+len(seed)) 82 func prf30(result, secret, label, seed []byte) { [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
DerOutputStream.java | 42 * in the form of a byte array; there is no advance limit on the size of 43 * that byte array. 77 public void write(byte tag, byte[] buf) throws IOException { 92 public void write(byte tag, DerOutputStream out) throws IOException { 115 public void writeImplicit(byte tag, DerOutputStream value) 165 byte[] buf = i.toByteArray(); // least number of bytes 189 byte[] bytes = new byte[4]; 194 bytes[3] = (byte) (i & 0xff) [all...] |