Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/compile/mclinker/lib/Support/
DLEB128.cpp20 ByteType byte = pValue & 0x7f; in encode() local
23 byte |= 0x80; in encode()
24 *pBuf++ = byte; in encode()
72 ByteType byte = pValue & 0x7f; in encode() local
75 if (((pValue == 0) && ((byte & 0x40) == 0)) || in encode()
76 ((pValue == -1) && ((byte & 0x40) == 0x40))) in encode()
79 byte |= 0x80; in encode()
81 *pBuf++ = byte; in encode()
118 ByteType byte; in decode() local
124 byte = *pBuf; in decode()
[all …]
/frameworks/libs/binary_translation/tools/nogrod/
Dleb128.cc39 uint8_t byte; in DecodeLeb128() local
54 byte = buf[size++]; in DecodeLeb128()
56 value += static_cast<uint64_t>(byte & 0x7f) << shift; in DecodeLeb128()
59 } while ((byte & 0x80) != 0); in DecodeLeb128()
70 uint8_t byte; in DecodeSleb128() local
85 byte = buf[size++]; in DecodeSleb128()
87 value += static_cast<uint64_t>(byte & 0x7f) << shift; in DecodeSleb128()
90 } while ((byte & 0x80) != 0); in DecodeSleb128()
93 if (shift < (sizeof(uint64_t) * CHAR_BIT) && (byte & 0x40) != 0) { in DecodeSleb128()
/frameworks/base/media/lib/signer/api/
Dcurrent.txt6 …aDrmSigner.Certificate provideCertificateResponse(android.media.MediaDrm, byte[]) throws android.m…
7 method public static byte[] signRSA(android.media.MediaDrm, byte[], String, byte[], byte[]);
12 method public byte[] getContent();
13 method public byte[] getWrappedPrivateKey();
17 method public byte[] getData();
/frameworks/av/media/libstagefright/include/media/stagefright/
DDataSourceBase.h53 uint8_t byte[2]; in getUInt16() local
54 if (readAt(offset, byte, 2) != 2) { in getUInt16()
58 *x = (byte[0] << 8) | byte[1]; in getUInt16()
66 uint8_t byte[3]; in getUInt24() local
67 if (readAt(offset, byte, 3) != 3) { in getUInt24()
71 *x = (byte[0] << 16) | (byte[1] << 8) | byte[2]; in getUInt24()
/frameworks/base/nfc/api/
Dcurrent.txt20 ctor public NdefMessage(byte[]) throws android.nfc.FormatException;
26 method public byte[] toByteArray();
32 ctor public NdefRecord(short, byte[], byte[], byte[]);
33 ctor @Deprecated public NdefRecord(byte[]) throws android.nfc.FormatException;
35 method public static android.nfc.NdefRecord createExternal(String, String, byte[]);
36 method public static android.nfc.NdefRecord createMime(String, byte[]);
41 method public byte[] getId();
42 method public byte[] getPayload();
44 method public byte[] getType();
45 method @Deprecated public byte[] toByteArray();
[all …]
Dlint-baseline.txt30 RequiresPermission: android.nfc.tech.IsoDep#transceive(byte[]):
32 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyA(int, byte[]):
34 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyB(int, byte[]):
48 RequiresPermission: android.nfc.tech.MifareClassic#transceive(byte[]):
52 RequiresPermission: android.nfc.tech.MifareClassic#writeBlock(int, byte[]):
60 RequiresPermission: android.nfc.tech.MifareUltralight#transceive(byte[]):
62 RequiresPermission: android.nfc.tech.MifareUltralight#writePage(int, byte[]):
80 RequiresPermission: android.nfc.tech.NfcA#transceive(byte[]):
82 RequiresPermission: android.nfc.tech.NfcB#transceive(byte[]):
88 RequiresPermission: android.nfc.tech.NfcF#transceive(byte[]):
[all …]
Dmodule-lib-lint-baseline.txt25 RequiresPermission: android.nfc.tech.IsoDep#transceive(byte[]):
27 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyA(int, byte[]):
29 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyB(int, byte[]):
43 RequiresPermission: android.nfc.tech.MifareClassic#transceive(byte[]):
47 RequiresPermission: android.nfc.tech.MifareClassic#writeBlock(int, byte[]):
55 RequiresPermission: android.nfc.tech.MifareUltralight#transceive(byte[]):
57 RequiresPermission: android.nfc.tech.MifareUltralight#writePage(int, byte[]):
75 RequiresPermission: android.nfc.tech.NfcA#transceive(byte[]):
77 RequiresPermission: android.nfc.tech.NfcB#transceive(byte[]):
83 RequiresPermission: android.nfc.tech.NfcF#transceive(byte[]):
[all …]
Dsystem-lint-baseline.txt32 RequiresPermission: android.nfc.tech.IsoDep#transceive(byte[]):
34 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyA(int, byte[]):
36 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyB(int, byte[]):
50 RequiresPermission: android.nfc.tech.MifareClassic#transceive(byte[]):
54 RequiresPermission: android.nfc.tech.MifareClassic#writeBlock(int, byte[]):
62 RequiresPermission: android.nfc.tech.MifareUltralight#transceive(byte[]):
64 RequiresPermission: android.nfc.tech.MifareUltralight#writePage(int, byte[]):
82 RequiresPermission: android.nfc.tech.NfcA#transceive(byte[]):
84 RequiresPermission: android.nfc.tech.NfcB#transceive(byte[]):
90 RequiresPermission: android.nfc.tech.NfcF#transceive(byte[]):
[all …]
/frameworks/av/media/module/codecs/m4v_h263/fuzzer/
DREADME.md16 * If the decode operation was un-successful, the input is advanced by 1 byte so that the fuzzer
85 …` 2. `VBR_1` 3. `CBR_2` 4. `VBR_2` 5. `CBR_LOWDELAY` | All the bits of 6th byte of data modulus 6 |
86 | `packetSize` | In the range `0 to 255` | All the bits of 7th byte of data |
87 | `iQuant` | In the range `1 to 31` | All the bits of 8th byte of data |
88 | `pQuant` | In the range `1 to 31` | All the bits of 9th byte of data |
89 | `rvlcEnable` | 0. `PV_OFF` 1. `PV_ON` | bit 0 of 10th byte of data |
90 | `quantType` | 0. `0` 1. `1` | bit 0 of 11th byte of data |
91 | `noFrameSkipped` | 0. `PV_OFF` 1. `PV_ON` | bit 0 of 12th byte of data |
92 | `sceneDetect` | 0. `PV_OFF` 1. `PV_ON` | bit 0 of 13th byte of data |
93 | `numIntraMB` | In the range `0 to 7` | bit 0, 1 and 2 of 14th byte of data |
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DUtils.cpp37 char byte = in_buffer[i]; in ByteArrayToHexString() local
38 out_buffer[(i * 2)] = kHexChars[(byte >> 4) & 0xf]; in ByteArrayToHexString()
39 out_buffer[(i * 2) + 1] = kHexChars[byte & 0xf]; in ByteArrayToHexString()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/fuzzer/
DREADME.md21 … 0. `AMEDIA_MIMETYPE_VIDEO_AVC` 1. `AMEDIA_MIMETYPE_VIDEO_HEVC` | Bit 0 (LSB) of 1st byte of data |
22 … `PROFILE_AVC_CONSTRAINED_BASELINE` 2. `PROFILE_AVC_MAIN`| All bits of 2nd byte of data modulus 3 |
23 | `profile` for HEVC | 0. `PROFILE_HEVC_MAIN` 1. `PROFILE_HEVC_MAIN_STILL` | All bits of 2nd byte o…
24 …2. `LEVEL_AVC_4_1` 13. `LEVEL_AVC_4_2` 14. `LEVEL_AVC_5`| All bits of 3rd byte of data modulus 15 |
25 …IN_5` 8. `LEVEL_HEVC_MAIN_5_1` 9. `LEVEL_HEVC_MAIN_5_2` | All bits of 3rd byte of data modulus 10 |
26 | `bitrate` | In the range `0` to `500000000` | All bits of 4th and 5th byte of data |
/frameworks/base/libs/protoutil/src/
DProtoFileReader.cpp115 uint8_t byte = next(); in readRawVarint() local
116 val |= (INT64_C(0x7F) & byte) << shift; in readRawVarint()
117 if ((byte & 0x80) == 0) break; in readRawVarint()
DEncodedBuffer.cpp297 uint8_t byte = readRawByte(); in readRawVarint() local
298 val |= (UINT64_C(0x7F) & byte) << shift; in readRawVarint()
299 if ((byte & 0x80) == 0) break; in readRawVarint()
411 uint8_t byte = next(); in readRawVarint() local
412 val |= (INT64_C(0x7F) & byte) << shift; in readRawVarint()
413 if ((byte & 0x80) == 0) break; in readRawVarint()
/frameworks/compile/libbcc/bcinfo/Wrap/
Dfile_wrapper_output.cpp34 bool FileWrapperOutput::Write(uint8_t byte) { in Write() argument
35 return EOF != fputc(byte, _file); in Write()
/frameworks/native/libs/binder/tests/parcel_fuzzer/include_random_parcel_seeds/fuzzseeds/
Drandom_parcel_seeds.h37 void writeReversedBuffer(std::vector<std::byte>& integralBuffer, T min, T max, T val);
42 void writeReversedBuffer(std::vector<std::byte>& integralBuffer, T val);
/frameworks/native/libs/binder/
DRecordedTransaction.cpp322 const std::byte* descriptorBytes = reinterpret_cast<const std::byte*>(&descriptor); in writeChunk()
323 const std::byte* dataBytes = reinterpret_cast<const std::byte*>(data); in writeChunk()
326 std::vector<std::byte> buffer; in writeChunk()
329 std::byte zero{0}; in writeChunk()
340 std::byte* checksumBytes = reinterpret_cast<std::byte*>(&checksumValue); in writeChunk()
/frameworks/av/include/media/
DMediaExtractorPluginHelper.h331 uint8_t byte[2]; in getUInt16() local
332 if (readAt(offset, byte, 2) != 2) { in getUInt16()
336 *x = (byte[0] << 8) | byte[1]; in getUInt16()
345 uint8_t byte[3]; in getUInt24() local
346 if (readAt(offset, byte, 3) != 3) { in getUInt24()
350 *x = (byte[0] << 16) | (byte[1] << 8) | byte[2]; in getUInt24()
/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Dbitstream_io.cpp583 UChar *ptr, byte; in BitstreamRepos() local
595 byte = *ptr++; in BitstreamRepos()
596 word = byte | (word << 8); in BitstreamRepos()
598 byte = *ptr++; in BitstreamRepos()
599 word = byte | (word << 8); in BitstreamRepos()
600 byte = *ptr++; in BitstreamRepos()
601 word = byte | (word << 8); in BitstreamRepos()
683 UChar *pSrc, *pDst, byte; in BitstreamPrependPacket() local
716 byte = (bitstream2->word) << leftover; in BitstreamPrependPacket()
718 *pDst++ = byte | (pSrc[0] >> bitused); in BitstreamPrependPacket()
Dmotion_est.cpp678 UChar *ptr, byte; in HTFMPrepareCurMB() local
697 byte = ptr[4]; in HTFMPrepareCurMB()
698 word |= (byte << 8); in HTFMPrepareCurMB()
699 byte = ptr[8]; in HTFMPrepareCurMB()
700 word |= (byte << 16); in HTFMPrepareCurMB()
701 byte = ptr[12]; in HTFMPrepareCurMB()
702 word |= (byte << 24); in HTFMPrepareCurMB()
706 byte = ptr[4]; in HTFMPrepareCurMB()
707 word |= (byte << 8); in HTFMPrepareCurMB()
708 byte = ptr[8]; in HTFMPrepareCurMB()
[all …]
/frameworks/av/media/libstagefright/writer_fuzzers/
DREADME.md32 …tion/x-id3v4` | All the bits of 2nd byte of data for first track and 11th byte of data for second …
33 | `channel-count` | In the range `0 to INT32_MAX` | All the bits of 3rd byte to 6th bytes of data i…
34 | `sample-rate` | In the range `1 to INT32_MAX` | All the bits of 7th byte to 10th bytes of data if…
35 | `height` | In the range `0 to INT32_MAX` | All the bits of 3rd byte to 6th bytes of data if first…
36 | `width` | In the range `0 to INT32_MAX` | All the bits of 7th byte to 10th bytes of data if first…
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DStatementUtils.kt120 val byte = bytes[index].toInt() and 0xFF in bytesToHexString() constant
125 hexChars[bufIndex++] = HEX_DIGITS[byte ushr 4] in bytesToHexString()
126 hexChars[bufIndex++] = HEX_DIGITS[byte and 0x0F] in bytesToHexString()
/frameworks/av/media/module/codecs/mp3dec/fuzzer/
DREADME.md14 …4. `jazz ` 5. `classical ` 6. `talk ` 7. `flat_ ` | Bits 0, 1 and 2 of first byte of input stream |
15 | `crcEnabled` | 0. `false ` 1. `true `| Bit 0 of second byte of input stream |
21 * If the decode operation was un-successful, the input is advanced by 1 byte
/frameworks/base/nfc-extras/api/
Dcurrent.txt35 method public void authenticate(byte[]);
56 method public byte[] transceive(byte[]) throws java.io.IOException;
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/authentication/data/repository/
DFakeAuthenticationRepository.kt240 credential.map { byte -> byte.toInt().toChar() - '0' } == expectedCredential in <lambda>() method
241 isPassword -> credential.map { byte -> byte.toInt().toChar() } == expectedCredential in <lambda>() method
/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
DSimpleProperties.java.txt27 * Property ID of {@code byte}.
84 mByteId = propertyMapper.mapByte("byte", R.attr.byte);

1234