Home
last modified time | relevance | path

Searched refs:uint8_t (Results 1 – 25 of 1082) sorted by relevance

12345678910>>...44

/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h34 bool isCryptoSchemeSupported(const uint8_t uuid[16]);
36 status_t createDrmPlugin(const uint8_t uuid[16],
45 bool isCryptoSchemeSupported(const uint8_t uuid[16]) const;
47 const uint8_t uuid[16], const void *data, size_t size,
59 status_t openSession(Vector<uint8_t> &sessionId);
60 status_t closeSession(Vector<uint8_t> const &sessionId);
62 status_t getKeyRequest(Vector<uint8_t> const &sessionId,
63 Vector<uint8_t> const &initData,
66 Vector<uint8_t> &request, String8 &defaultUrl,
69 status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
[all …]
DMockDrmCryptoPlugin.cpp40 const uint8_t mock_uuid[16] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
46 bool MockDrmFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) in isCryptoSchemeSupported()
59 status_t MockDrmFactory::createDrmPlugin(const uint8_t /* uuid */[16], in createDrmPlugin()
67 bool MockCryptoFactory::isCryptoSchemeSupported(const uint8_t uuid[16]) const in isCryptoSchemeSupported()
72 status_t MockCryptoFactory::createPlugin(const uint8_t /* uuid */[16], in createPlugin()
83 status_t MockDrmPlugin::openSession(Vector<uint8_t> &sessionId) in openSession()
90 sessionId.appendArray((uint8_t *)&r, sizeof(long)); in openSession()
98 status_t MockDrmPlugin::closeSession(Vector<uint8_t> const &sessionId) in closeSession()
112 status_t MockDrmPlugin::getKeyRequest(Vector<uint8_t> const &sessionId, in getKeyRequest()
113 Vector<uint8_t> const &initData, in getKeyRequest()
[all …]
/frameworks/av/media/libmedia/include/media/
DIDrm.h35 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) = 0;
37 virtual status_t createPlugin(const uint8_t uuid[16],
42 virtual status_t openSession(Vector<uint8_t> &sessionId) = 0;
44 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0;
47 getKeyRequest(Vector<uint8_t> const &sessionId,
48 Vector<uint8_t> const &initData,
51 Vector<uint8_t> &request, String8 &defaultUrl,
54 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
55 Vector<uint8_t> const &response,
56 Vector<uint8_t> &keySetId) = 0;
[all …]
DDrm.h41 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
43 virtual status_t createPlugin(const uint8_t uuid[16], const String8 &appPackageName);
47 virtual status_t openSession(Vector<uint8_t> &sessionId);
49 virtual status_t closeSession(Vector<uint8_t> const &sessionId);
52 getKeyRequest(Vector<uint8_t> const &sessionId,
53 Vector<uint8_t> const &initData,
56 Vector<uint8_t> &request, String8 &defaultUrl,
59 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
60 Vector<uint8_t> const &response,
61 Vector<uint8_t> &keySetId);
[all …]
DDrmHal.h42 inline bool operator==(const Vector<uint8_t> &l, const Vector<uint8_t> &r) {
55 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
57 virtual status_t createPlugin(const uint8_t uuid[16],
62 virtual status_t openSession(Vector<uint8_t> &sessionId);
64 virtual status_t closeSession(Vector<uint8_t> const &sessionId);
67 getKeyRequest(Vector<uint8_t> const &sessionId,
68 Vector<uint8_t> const &initData,
71 Vector<uint8_t> &request, String8 &defaultUrl,
74 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
75 Vector<uint8_t> const &response,
[all …]
/frameworks/av/include/media/
DIDrm.h35 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) = 0;
37 virtual status_t createPlugin(const uint8_t uuid[16],
42 virtual status_t openSession(Vector<uint8_t> &sessionId) = 0;
44 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0;
47 getKeyRequest(Vector<uint8_t> const &sessionId,
48 Vector<uint8_t> const &initData,
51 Vector<uint8_t> &request, String8 &defaultUrl,
54 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
55 Vector<uint8_t> const &response,
56 Vector<uint8_t> &keySetId) = 0;
[all …]
DDrm.h41 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
43 virtual status_t createPlugin(const uint8_t uuid[16], const String8 &appPackageName);
47 virtual status_t openSession(Vector<uint8_t> &sessionId);
49 virtual status_t closeSession(Vector<uint8_t> const &sessionId);
52 getKeyRequest(Vector<uint8_t> const &sessionId,
53 Vector<uint8_t> const &initData,
56 Vector<uint8_t> &request, String8 &defaultUrl,
59 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
60 Vector<uint8_t> const &response,
61 Vector<uint8_t> &keySetId);
[all …]
DDrmHal.h42 inline bool operator==(const Vector<uint8_t> &l, const Vector<uint8_t> &r) {
55 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType);
57 virtual status_t createPlugin(const uint8_t uuid[16],
62 virtual status_t openSession(Vector<uint8_t> &sessionId);
64 virtual status_t closeSession(Vector<uint8_t> const &sessionId);
67 getKeyRequest(Vector<uint8_t> const &sessionId,
68 Vector<uint8_t> const &initData,
71 Vector<uint8_t> &request, String8 &defaultUrl,
74 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
75 Vector<uint8_t> const &response,
[all …]
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h61 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16]) = 0;
70 const uint8_t uuid[16], DrmPlugin **plugin) = 0;
122 Vector<uint8_t> mKeyId;
131 virtual status_t openSession(Vector<uint8_t> &sessionId) = 0;
134 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0;
164 getKeyRequest(Vector<uint8_t> const &scope,
165 Vector<uint8_t> const &initData,
168 Vector<uint8_t> &request, String8 &defaultUrl,
185 virtual status_t provideKeyResponse(Vector<uint8_t> const &scope,
186 Vector<uint8_t> const &response,
[all …]
/frameworks/base/tools/aapt2/compile/
DNinePatch_test.cpp35 static uint8_t* k2x2[] = {
36 (uint8_t*)WHITE WHITE, (uint8_t*)WHITE WHITE,
39 static uint8_t* kMixedNeutralColor3x3[] = {
40 (uint8_t*)WHITE BLACK TRANS, (uint8_t*)TRANS RED TRANS,
41 (uint8_t*)WHITE WHITE WHITE,
44 static uint8_t* kTransparentNeutralColor3x3[] = {
45 (uint8_t*)TRANS BLACK TRANS, (uint8_t*)BLACK RED BLACK,
46 (uint8_t*)TRANS BLACK TRANS,
49 static uint8_t* kSingleStretch7x6[] = {
50 (uint8_t*)WHITE WHITE BLACK BLACK BLACK WHITE WHITE,
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/
DDrmPlugin.h46 virtual status_t openSession(Vector<uint8_t>& sessionId);
48 virtual status_t closeSession(const Vector<uint8_t>& sessionId);
51 const Vector<uint8_t>& scope,
52 const Vector<uint8_t>& mimeType,
56 Vector<uint8_t>& request,
61 const Vector<uint8_t>& scope,
62 const Vector<uint8_t>& response,
63 Vector<uint8_t>& keySetId);
65 virtual status_t removeKeys(const Vector<uint8_t>& sessionId) { in removeKeys()
74 const Vector<uint8_t>& sessionId, in restoreKeys()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DYUVImage.h60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer);
81 uint8_t *yPtr, uint8_t *uPtr, uint8_t *vPtr) const;
87 uint8_t yValue, uint8_t uValue, uint8_t vValue);
109 void yuv2rgb(uint8_t yValue, uint8_t uValue, uint8_t vValue,
110 uint8_t *r, uint8_t *g, uint8_t *b) const;
124 uint8_t *mBuffer;
130 uint8_t *mYdata;
134 uint8_t *mUdata;
138 uint8_t *mVdata;
162 uint8_t* getYAddress(int32_t offset) const;
[all …]
/frameworks/av/media/ndk/include/media/
DNdkMediaDrm.h46 const uint8_t *ptr;
84 AMediaDrmEventType eventType, int extra, const uint8_t *data, size_t dataSize);
95 bool AMediaDrm_isCryptoSchemeSupported(const uint8_t *uuid, const char *mimeType);
101 AMediaDrm* AMediaDrm_createByUUID(const uint8_t *uuid);
204 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType,
206 const uint8_t **keyRequest, size_t *keyRequestSize);
226 const uint8_t *response, size_t responseSize, AMediaDrmKeySetId *keySetId);
277 media_status_t AMediaDrm_getProvisionRequest(AMediaDrm *, const uint8_t **provisionRequest,
293 const uint8_t *response, size_t responseSize);
387 const uint8_t *value, size_t valueSize);
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
DAesCtrDecryptorUnittest.cpp31 typedef uint8_t Key[kBlockSize];
33 status_t attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, in attemptDecrypt()
34 uint8_t* destination, const SubSample* subSamples, in attemptDecrypt()
36 Vector<uint8_t> keyVector; in attemptDecrypt()
37 keyVector.appendArray(key, sizeof(key) / sizeof(uint8_t)); in attemptDecrypt()
46 const uint8_t* encrypted, in attemptDecryptExpectingSuccess()
47 const uint8_t* decrypted, in attemptDecryptExpectingSuccess()
50 uint8_t outputBuffer[totalSize] = {}; in attemptDecryptExpectingSuccess()
70 uint8_t source[kTotalSize] = { 0 }; in TEST_F()
71 uint8_t destination[kTotalSize] = { 0 }; in TEST_F()
[all …]
DInitDataParserUnittest.cpp40 status_t attemptParse(const Vector<uint8_t>& initData, in attemptParse()
42 Vector<uint8_t>* licenseRequest) { in attemptParse()
47 void attemptParseExpectingSuccess(const Vector<uint8_t>& initData, in attemptParseExpectingSuccess()
52 Vector<uint8_t> request; in attemptParseExpectingSuccess()
70 void attemptParseExpectingFailure(const Vector<uint8_t>& initData, in attemptParseExpectingFailure()
72 Vector<uint8_t> request; in attemptParseExpectingFailure()
79 uint8_t pssh[52] = { in TEST_F()
90 Vector<uint8_t> initData; in TEST_F()
100 uint8_t pssh[84] = { in TEST_F()
115 Vector<uint8_t> initData; in TEST_F()
[all …]
/frameworks/ml/nn/common/include/
DOperations.h41 bool addQuant8(const uint8_t* in1, const Shape& shape1,
42 const uint8_t* in2, const Shape& shape2,
44 uint8_t* out, const Shape& shapeOut);
50 bool mulQuant8(const uint8_t* in1, const Shape& shape1,
51 const uint8_t* in2, const Shape& shape2,
53 uint8_t* out, const Shape& shapeOut);
59 bool dequantizeQuant8ToFloat32(const uint8_t* inputData,
71 bool depthwiseConvQuant8(const uint8_t* inputData, const Shape& inputShape,
72 const uint8_t* filterData, const Shape& filterShape,
78 uint8_t* outputData, const Shape& outputShape);
[all …]
/frameworks/rs/
DrsStream.h29 IStream(const uint8_t *, bool use64);
55 inline uint8_t loadU8() { in loadU8()
56 uint8_t tmp = reinterpret_cast<const uint8_t *>(&mData[mPos])[0]; in loadU8()
57 mPos += sizeof(uint8_t); in loadU8()
73 const uint8_t * getPtr() const { in getPtr()
77 const uint8_t * mData;
103 mData[mPos++] = (uint8_t)(v & 0xff); in addI32()
104 mData[mPos++] = (uint8_t)((v >> 8) & 0xff); in addI32()
105 mData[mPos++] = (uint8_t)((v >> 16) & 0xff); in addI32()
106 mData[mPos++] = (uint8_t)((v >> 24) & 0xff); in addI32()
[all …]
DrsStream.cpp24 IStream::IStream(const uint8_t *buf, bool use64) { in IStream()
55 mData = (uint8_t*)malloc(len); in OStream()
80 mData[mPos++] = (uint8_t)(v & 0xff); in addOffset()
81 mData[mPos++] = (uint8_t)((v >> 8) & 0xff); in addOffset()
82 mData[mPos++] = (uint8_t)((v >> 16) & 0xff); in addOffset()
83 mData[mPos++] = (uint8_t)((v >> 24) & 0xff); in addOffset()
84 mData[mPos++] = (uint8_t)((v >> 32) & 0xff); in addOffset()
85 mData[mPos++] = (uint8_t)((v >> 40) & 0xff); in addOffset()
86 mData[mPos++] = (uint8_t)((v >> 48) & 0xff); in addOffset()
87 mData[mPos++] = (uint8_t)((v >> 56) & 0xff); in addOffset()
[all …]
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.h45 uint8_t* yuv, int* offsets) = 0;
55 void deinterleaveYuv(uint8_t* yuv, int width, int height,
56 uint8_t*& yPlanar, uint8_t*& uPlanar, uint8_t*& vPlanar);
57 void deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows,
59 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
69 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
70 void deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows,
71 uint8_t* vRows, int rowIndex, int width, int height);
DYuvToJpegEncoder.cpp45 compress(&cinfo, (uint8_t*) inYuv, offsets); in encode()
74 uint8_t* yuv, int* offsets) { in compress()
86 uint8_t* yPlanar = yuv + offsets[0]; in compress()
87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; in compress()
88 uint8_t* uRows = new uint8_t [8 * (width >> 1)]; in compress()
89 uint8_t* vRows = new uint8_t [8 * (width >> 1)]; in compress()
117 void Yuv420SpToJpegEncoder::deinterleave(uint8_t* vuPlanar, uint8_t* uRows, in deinterleave()
118 uint8_t* vRows, int rowIndex, int width, int height) { in deinterleave()
123 uint8_t* vu = vuPlanar + offset; in deinterleave()
150 uint8_t* yuv, int* offsets) { in compress()
[all …]
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp72 static const Vector<uint8_t> toVector(const hidl_vec<uint8_t> &vec) { in toVector()
73 Vector<uint8_t> vector; in toVector()
75 return *const_cast<const Vector<uint8_t> *>(&vector); in toVector()
78 static hidl_vec<uint8_t> toHidlVec(const Vector<uint8_t> &vector) { in toHidlVec()
79 hidl_vec<uint8_t> vec; in toHidlVec()
80 vec.setToExternal(const_cast<uint8_t *>(vector.array()), vector.size()); in toHidlVec()
115 static List<Vector<uint8_t>> toSecureStops(const hidl_vec<SecureStop>& in toSecureStops()
117 List<Vector<uint8_t>> secureStops; in toSecureStops()
169 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { in reclaimSession()
179 toHidlVec(sessionId), hidl_vec<uint8_t>()); in reclaimSession()
[all …]
DIDrm.cpp77 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) { in isCryptoSchemeSupported()
91 virtual status_t createPlugin(const uint8_t uuid[16], in createPlugin()
117 virtual status_t openSession(Vector<uint8_t> &sessionId) { in openSession()
130 virtual status_t closeSession(Vector<uint8_t> const &sessionId) { in closeSession()
144 getKeyRequest(Vector<uint8_t> const &sessionId, in getKeyRequest()
145 Vector<uint8_t> const &initData, in getKeyRequest()
148 Vector<uint8_t> &request, String8 &defaultUrl, in getKeyRequest()
176 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId, in provideKeyResponse()
177 Vector<uint8_t> const &response, in provideKeyResponse()
178 Vector<uint8_t> &keySetId) { in provideKeyResponse()
[all …]
/frameworks/minikin/libs/minikin/
DFontLanguage.h41 enum EmojiStyle : uint8_t {
110 static const uint8_t kBopomofoFlag = 1u;
111 static const uint8_t kHanFlag = 1u << 1;
112 static const uint8_t kHangulFlag = 1u << 2;
113 static const uint8_t kHiraganaFlag = 1u << 3;
114 static const uint8_t kKatakanaFlag = 1u << 4;
115 static const uint8_t kSimplifiedChineseFlag = 1u << 5;
116 static const uint8_t kTraditionalChineseFlag = 1u << 6;
117 uint8_t mSubScriptBits;
121 static uint8_t scriptToSubScriptBits(uint32_t script);
[all …]
/frameworks/base/libs/common_time/
Dcommon_time_server_packets.h54 ssize_t serializePacket(uint8_t* data, uint32_t length);
73 ssize_t serializeHeader(uint8_t* data, uint32_t length);
74 ssize_t deserializeHeader(const uint8_t* data, uint32_t length);
85 uint8_t senderDevicePriority;
93 ssize_t serializePacket(uint8_t* data, uint32_t length);
94 ssize_t deserializePacket(const uint8_t* data, uint32_t length);
101 uint8_t devicePriority;
108 ssize_t serializePacket(uint8_t* data, uint32_t length);
109 ssize_t deserializePacket(const uint8_t* data, uint32_t length);
124 ssize_t serializePacket(uint8_t* data, uint32_t length);
[all …]
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp37 typedef Vector<uint8_t> idvec_t;
55 Vector<uint8_t> mKeyRequest;
56 Vector<uint8_t> mProvisionRequest;
59 Vector<uint8_t> mPropertyByteArray;
60 List<Vector<uint8_t> > mSecureStops;
72 uint8_t *sessionIdData = new uint8_t[sessionIdSize]; in notify()
79 uint8_t *data = NULL; in notify()
81 data = new uint8_t[dataSize]; in notify()
242 Vector<uint8_t> session; in AMediaDrm_openSession()
273 const uint8_t *init, size_t initSize, const char *mimeType, AMediaDrmKeyType keyType, in AMediaDrm_getKeyRequest()
[all …]

12345678910>>...44