/hardware/libhardware/include/hardware/ |
D | keymaster_defs.h | 321 keymaster_blob_t blob; /* KM_BIGNUM and KM_BYTES*/ member 527 param.blob.data = (uint8_t*)bytes; in keymaster_param_blob() 528 param.blob.data_length = bytes_len; in keymaster_param_blob() 574 if (a->blob.data_length != 0 && b->blob.data_length == 0) in keymaster_param_compare() 576 if (a->blob.data_length == 0 && b->blob.data_length == 0) in keymaster_param_compare() 578 if (a->blob.data_length == 0 && b->blob.data_length > 0) in keymaster_param_compare() 581 retval = memcmp(a->blob.data, b->blob.data, a->blob.data_length < b->blob.data_length in keymaster_param_compare() 582 ? a->blob.data_length in keymaster_param_compare() 583 : b->blob.data_length); in keymaster_param_compare() 586 else if (a->blob.data_length != b->blob.data_length) { in keymaster_param_compare() [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | authorization_set.cpp | 54 if (a.blob.size() == 0) return b.blob.size() != 0; in keyParamLess() 55 if (b.blob.size() == 0) return false; in keyParamLess() 57 retval = memcmp(&a.blob[0], &b.blob[0], std::min(a.blob.size(), b.blob.size())); in keyParamLess() 60 return a.blob.size() < b.blob.size(); in keyParamLess() 87 if (a.blob.size() != b.blob.size()) return false; in keyParamEqual() 88 return a.blob.size() == 0 || memcmp(&a.blob[0], &b.blob[0], a.blob.size()) == 0; in keyParamEqual() 207 OutStreams& serializeParamValue(OutStreams& out, const hidl_vec<uint8_t>& blob) { in serializeParamValue() argument 211 auto blob_length = blob.size(); in serializeParamValue() 231 if (blob_length) out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length); in serializeParamValue() 320 InStreams& deserializeParamValue(InStreams& in, hidl_vec<uint8_t>* blob) { in deserializeParamValue() argument [all …]
|
D | key_param_output.cpp | 109 for (size_t i = 0; i < param.blob.size(); ++i) { in operator <<() 110 os << ::std::hex << ::std::setw(2) << static_cast<int>(param.blob[i]) << ::std::dec; in operator <<() 115 for (size_t i = 0; i < param.blob.size(); ++i) { in operator <<() 116 os << ::std::hex << ::std::setw(2) << static_cast<int>(param.blob[i]) << ::std::dec; in operator <<()
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | keymaster_utils.h | 47 inline static hidl_vec<uint8_t> blob2hidlVec(const std::vector<uint8_t>& blob) { in blob2hidlVec() argument 48 hidl_vec<uint8_t> result(blob.data(), blob.data() + static_cast<size_t>(blob.size())); in blob2hidlVec()
|
D | keymaster_tags.h | 199 MAKE_TAG_VALUE_ACCESSOR(TagType::BYTES, blob) in MAKE_TAG_VALUE_ACCESSOR() argument 200 MAKE_TAG_VALUE_ACCESSOR(TagType::BIGNUM, blob) in MAKE_TAG_VALUE_ACCESSOR() 411 return a.blob == b.blob;
|
/hardware/interfaces/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/ |
D | ComposerCommandBuffer.h | 97 size_t metadataSize = metadataBlob.blob.size() / sizeof(uint32_t); in setLayerPerFrameMetadataBlobs() 100 (metadataBlob.blob.size() - (metadataSize * sizeof(uint32_t)) > 0) ? 1 : 0; in setLayerPerFrameMetadataBlobs() 115 write(static_cast<uint32_t>(metadataBlob.blob.size())); in setLayerPerFrameMetadataBlobs() 116 writeBlob(static_cast<uint32_t>(metadataBlob.blob.size()), metadataBlob.blob.data()); in setLayerPerFrameMetadataBlobs() 127 void writeBlob(uint32_t length, const unsigned char* blob) { in writeBlob() argument 128 memcpy(&mData[mDataWritten], blob, length); in writeBlob()
|
/hardware/interfaces/keymaster/4.0/support/ |
D | authorization_set.cpp | 48 if (a.blob.size() == 0) return b.blob.size() != 0; in keyParamLess() 49 if (b.blob.size() == 0) return false; in keyParamLess() 51 retval = memcmp(&a.blob[0], &b.blob[0], std::min(a.blob.size(), b.blob.size())); in keyParamLess() 53 if (retval == 0) return a.blob.size() < b.blob.size(); in keyParamLess() 80 if (a.blob.size() != b.blob.size()) return false; in keyParamEqual() 81 return a.blob.size() == 0 || memcmp(&a.blob[0], &b.blob[0], a.blob.size()) == 0; in keyParamEqual() 209 OutStreams& serializeParamValue(OutStreams& out, const hidl_vec<uint8_t>& blob) { in serializeParamValue() argument 213 auto blob_length = blob.size(); in serializeParamValue() 232 if (blob_length) out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length); in serializeParamValue() 335 InStreams& deserializeParamValue(InStreams& in, hidl_vec<uint8_t>* blob) { in deserializeParamValue() argument [all …]
|
D | key_param_output.cpp | 81 for (size_t i = 0; i < param.blob.size(); ++i) { in operator <<() 82 os << std::hex << ::std::setw(2) << static_cast<int>(param.blob[i]) << ::std::dec; in operator <<() 87 for (size_t i = 0; i < param.blob.size(); ++i) { in operator <<() 88 os << ::std::hex << ::std::setw(2) << static_cast<int>(param.blob[i]) << ::std::dec; in operator <<()
|
D | Keymaster3.cpp | 50 converted.blob = param.blob; in convert() 59 converted.blob = param.blob; in convert() 92 converted[params.size()].blob = authToken2HidlVec(authToken); in convertAndAddAuthToken()
|
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | types.h | 230 const hidl_vec<uint8_t> &blob); 241 hidl_vec<uint8_t> *blob, 244 hidl_vec<uint8_t> *blob, 247 hidl_vec<uint8_t> *blob, 250 hidl_vec<uint8_t> *blob, 263 Params blob); 274 const Params& blob);
|
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ |
D | ComposerCommandEngine.h | 95 metadataBlob.blob.resize(blobSize); in executeSetLayerPerFrameMetadataBlobs() 96 readBlob(blobSize, metadataBlob.blob.data()); in executeSetLayerPerFrameMetadataBlobs() 105 void readBlob(uint32_t size, void* blob) { in readBlob() argument 106 memcpy(blob, &mData[mDataRead], size); in readBlob()
|
/hardware/google/av/codec2/vndk/include/util/ |
D | C2ParamUtils.h | 38 C2Param *ParseFirst(const uint8_t *blob, size_t size);
|
/hardware/google/av/media/sfplugin/tests/ |
D | ReflectedParamUpdater_test.cpp | 58 uint8_t blob[8]; member 67 C2FIELD(blob, "blob") 276 EXPECT_EQ(0, memcmp("\0\0\0\0\0\0\0\0", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F() 284 EXPECT_EQ(0, memcmp("buffer08", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F() 286 hexdump(CastParam<C2CompositeInfo>(params[0])->m.blob, 8, 0, &hex); in TEST_F() 297 EXPECT_EQ(0, memcmp("buf05\0\0\0", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F() 306 EXPECT_EQ(0, memcmp("ReallyLo", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F()
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | types.cpp | 1415 c2_status_t parseParamsBlob(std::vector<C2Param*> *params, const hidl_vec<uint8_t> &blob) { in parseParamsBlob() argument 1417 size_t size = blob.size(); in parseParamsBlob() 1419 const uint8_t *data = blob.data(); in parseParamsBlob() 1445 Status _createParamsBlob(hidl_vec<uint8_t> *blob, const T ¶ms) { in _createParamsBlob() argument 1455 blob->resize(size); in _createParamsBlob() 1466 &(*blob)[ix]); in _createParamsBlob() 1470 blob->resize(ix); in _createParamsBlob() 1478 hidl_vec<uint8_t> *blob, in createParamsBlob() argument 1480 return _createParamsBlob(blob, params); in createParamsBlob() 1485 hidl_vec<uint8_t> *blob, in createParamsBlob() argument [all …]
|
/hardware/google/av/codec2/vndk/util/ |
D | C2ParamUtils.cpp | 197 C2Param *C2ParamUtils::ParseFirst(const uint8_t *blob, size_t size) { in ParseFirst() argument 203 C2Param *param = (C2Param*)blob; in ParseFirst()
|
/hardware/interfaces/broadcastradio/1.1/ |
D | IBroadcastRadio.hal | 34 * passing an image data blob in the MetadataType.RAW field, the HAL 60 * @return image A binary blob with image data
|
/hardware/interfaces/graphics/composer/2.3/ |
D | IComposerClient.hal | 74 * A set of PerFrameMetadataKey pertains specifically to blob-formatted 81 * Specifies a metadata blob adhering to 91 * of keys representing blob-formatted metadata 101 * This struct encapsulates blob 103 * associated with blob-type metadata key 104 * and the blob must adhere to the format specified by 109 vec<uint8_t> blob; 162 * associated layer. The metadata structure follows a {key, blob} 165 * be part of the list of keys associated with blob-type metadata 176 * for display output. The data blob is parsed to determine its format, [all …]
|
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/ |
D | HwcHal.h | 255 sizes.push_back(metadataBlob.blob.size()); in setLayerPerFrameMetadataBlobs() 258 blobs.resize(blobs.size() + metadataBlob.blob.size()); in setLayerPerFrameMetadataBlobs() 259 memcpy(blobs.data() + writeIndex, metadataBlob.blob.data(), metadataBlob.blob.size()); in setLayerPerFrameMetadataBlobs()
|
/hardware/interfaces/gatekeeper/1.0/ |
D | types.hal | 41 /** optional crypto blob. Opaque to Android system. */
|
/hardware/interfaces/camera/device/3.5/ |
D | types.hal | 147 * APP segments blob, which contains JPEG APP1 to APPn (Application Marker) 150 * To capture a JPEG APP segments blob, a stream is created using the pixel format 159 * structure inside the output stream buffer. The camera blob ID field must be
|
/hardware/qcom/sdm845/display/libhistogram/ |
D | histogram_collector.cpp | 544 drmModePropertyBlobPtr blob = drmModeGetPropertyBlob(*drm, blob_id); in collecting_thread() local 545 histogram->insert(*static_cast<struct drm_msm_hist*>(blob->data)); in collecting_thread() 546 drmModeFreePropertyBlob(blob); in collecting_thread()
|
/hardware/libhardware/tests/keymaster/ |
D | keymaster_test.cpp | 72 friend std::ostream &operator<<(std::ostream &stream, const UniqueBlob& blob); 78 std::ostream &operator<<(std::ostream &stream, const UniqueBlob& blob) { in operator <<() argument 79 const size_t length = blob.mLength; in operator <<() 82 const uint8_t* data = blob.get(); in operator <<() 729 UniqueBlob blob(key_blob, key_blob_length); in TEST_F() local
|
/hardware/interfaces/authsecret/1.0/ |
D | IAuthSecret.hal | 43 * @param secret blob derived from the primary user's credential.
|
/hardware/interfaces/drm/1.2/ |
D | IDrmPlugin.hal | 105 * getKeyRequest_1_2() is used to obtain an opaque key request blob that is 137 * @return request if successful, the opaque key request blob is returned 158 * is used to obtain an opaque provisioning request blob that is delivered 176 * @return request if successful the opaque certificate request blob
|
/hardware/interfaces/keymaster/3.0/ |
D | types.hal | 374 * Discriminates the uinon/blob field used. The blob cannot be coincided with the union, but 375 * only one of "f" and "blob" is ever used at a time. */ 397 vec<uint8_t> blob;
|