Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 21 of 21) sorted by relevance

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_attestation_record.cpp58 bool matchAttestationId(keymaster_blob_t blob, const std::vector<uint8_t>& id) { in matchAttestationId() argument
59 if (blob.data_length != id.size()) { in matchAttestationId()
62 if (memcmp(blob.data, id.data(), id.size())) { in matchAttestationId()
76 found_mismatch |= !matchAttestationId(entry.blob, ids.brand); in VerifyAndCopyDeviceIds()
81 found_mismatch |= !matchAttestationId(entry.blob, ids.device); in VerifyAndCopyDeviceIds()
86 found_mismatch |= !matchAttestationId(entry.blob, ids.product); in VerifyAndCopyDeviceIds()
91 found_mismatch |= !matchAttestationId(entry.blob, ids.serial); in VerifyAndCopyDeviceIds()
96 found_mismatch |= !matchAttestationId(entry.blob, ids.imei); in VerifyAndCopyDeviceIds()
101 found_mismatch |= !matchAttestationId(entry.blob, ids.meid); in VerifyAndCopyDeviceIds()
106 found_mismatch |= !matchAttestationId(entry.blob, ids.manufacturer); in VerifyAndCopyDeviceIds()
[all …]
Dtpm_key_blob_maker.cpp187 KeymasterKeyBlob* blob, in CreateKeyBlob() argument
211 hidden, blob); in CreateKeyBlob()
217 KeymasterKeyBlob* blob) const { in UnvalidatedCreateKeyBlob()
237 *blob = generated_blob; in UnvalidatedCreateKeyBlob()
245 const keymaster_key_blob_t& blob, AuthorizationSet* hw_enforced, in UnwrapKeyBlob() argument
248 keymaster::Buffer key_material_buffer(blob.key_material_size); in UnwrapKeyBlob()
257 auto buf = blob.key_material; in UnwrapKeyBlob()
258 auto buf_end = buf + blob.key_material_size; in UnwrapKeyBlob()
Dtpm_key_blob_maker.h42 keymaster::KeymasterKeyBlob* blob,
51 keymaster::KeymasterKeyBlob* blob) const;
65 const keymaster_key_blob_t& blob,
Dproxy_keymaster_context.h85 const keymaster::KeymasterKeyBlob& blob, in ParseKeyBlob() argument
88 return wrapped_.ParseKeyBlob(blob, additional_params, key); in ParseKeyBlob()
Dtpm_keymaster_context.cpp234 const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params, in ParseKeyBlob() argument
242 auto rc = key_blob_maker_->UnwrapKeyBlob(blob, &hw_enforced, &sw_enforced, in ParseKeyBlob()
Dtpm_keymaster_context.h86 const keymaster::KeymasterKeyBlob& blob,
/device/google/cuttlefish/guest/hals/camera/
Dvsock_frame_provider.cpp133 struct camera3_jpeg_blob* blob = reinterpret_cast<struct camera3_jpeg_blob*>( in copyJpegData() local
135 blob->jpeg_blob_id = CAMERA3_JPEG_BLOB_ID; in copyJpegData()
136 blob->jpeg_size = cached_jpeg_.size(); in copyJpegData()
141 bool VsockFrameProvider::isBlob(const std::vector<char>& blob) { in isBlob() argument
142 bool is_png = blob.size() > 4 && (blob[0] & 0xff) == 0x89 && in isBlob()
143 (blob[1] & 0xff) == 0x50 && (blob[2] & 0xff) == 0x4e && in isBlob()
144 (blob[3] & 0xff) == 0x47; in isBlob()
146 blob.size() > 2 && (blob[0] & 0xff) == 0xff && (blob[1] & 0xff) == 0xd8; in isBlob()
Dvsock_frame_provider.h51 bool isBlob(const std::vector<char>& blob);
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/notifications/
DTvNotification.java170 private static Bitmap getBitmapFromBytes(byte[] blob) { in getBitmapFromBytes() argument
171 if (blob != null) { in getBitmapFromBytes()
172 Bitmap bitmap = BitmapFactory.decodeByteArray(blob, 0, blob.length); in getBitmapFromBytes()
179 private static Icon getIconFromBytes(byte[] blob) { in getIconFromBytes() argument
182 if (blob != null) { in getIconFromBytes()
183 in.unmarshall(blob, 0, blob.length); in getIconFromBytes()
/device/generic/goldfish-opengl/system/hwc3/
DEdidInfo.cpp6 std::optional<EdidInfo> EdidInfo::parse(std::span<const uint8_t> blob) { in parse() argument
10 blob = blob.subspan(kEdidDescriptorOffset); in parse()
13 byte_view descriptor(blob.data(), kEdidDescriptorLength); in parse()
DDrmConnector.cpp102 auto blob = drmModeGetPropertyBlob(drmFd.get(), static_cast<uint32_t>(edidBlobId)); in loadEdid() local
103 if (!blob) { in loadEdid()
109 const uint8_t* blobStart = static_cast<uint8_t*>(blob->data); in loadEdid()
110 mEdid = std::vector<uint8_t>(blobStart, blobStart + blob->length); in loadEdid()
112 drmModeFreePropertyBlob(blob); in loadEdid()
DEdidInfo.h13 static std::optional<EdidInfo> parse(std::span<const uint8_t> blob);
/device/generic/goldfish/camera/
DHwCamera.cpp117 struct camera3_jpeg_blob blob; in compressJpeg() local
118 blob.jpeg_blob_id = CAMERA3_JPEG_BLOB_ID; in compressJpeg()
119 blob.jpeg_size = compressedSize; in compressJpeg()
121 &blob, sizeof(blob)); in compressJpeg()
/device/linaro/hikey/
Dproprietary-blobs.txt15 # This file is generated by device/common/generate-blob-lists.sh - DO NOT EDIT
/device/linaro/hikey/installer/hikey960/
DREADME53 https://github.com/96boards-hikey/tools-images-hikey960/blob/master/README.md
/device/linaro/hikey/hikey/
DREADME55 Schematics: https://github.com/96boards/documentation/blob/master/consumer/hikey/hardware-docs/HiKe…
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dapp.js582 .then(blob => blob.arrayBuffer())
/device/google/atv/products/lowram_boot_profiles/
Dpreloaded-classes1726 android.app.blob.BlobHandle
1727 android.app.blob.BlobHandle$1
1728 android.app.blob.BlobStoreManager
1729 android.app.blob.BlobStoreManagerFrameworkInitializer
1730 android.app.blob.BlobStoreManagerFrameworkInitializer$$ExternalSyntheticLambda0
1731 android.app.blob.IBlobStoreManager
1732 android.app.blob.IBlobStoreManager$Stub
1733 android.app.blob.IBlobStoreManager$Stub$Proxy
1734 android.app.blob.IBlobStoreSession
1735 android.app.blob.LeaseInfo
[all …]
Dboot-image-profile.txt1018 Landroid/app/blob/BlobHandle$1;
1019 Landroid/app/blob/BlobHandle;
1020 Landroid/app/blob/BlobStoreManager;
1021 Landroid/app/blob/BlobStoreManagerFrameworkInitializer$$ExternalSyntheticLambda0;
1022 Landroid/app/blob/BlobStoreManagerFrameworkInitializer;
1023 Landroid/app/blob/IBlobStoreManager$Stub$Proxy;
1024 Landroid/app/blob/IBlobStoreManager$Stub;
1025 Landroid/app/blob/IBlobStoreManager;
1026 Landroid/app/blob/IBlobStoreSession;
1027 Landroid/app/blob/LeaseInfo$1;
[all …]
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all791 tpm_emulator_get_state_blob(uint8_t type, uint32_t size, uint32_t flags) "got state blob type %d, %…
792 tpm_emulator_set_state_blob(uint8_t type, uint32_t size, uint32_t flags) "set state blob type %d, %…
3637 spapr_update_dt(unsigned cb) "New blob %u bytes"
3638 …failed_size(unsigned cbold, unsigned cbnew, unsigned magic) "Old blob %u bytes, new blob %u bytes,…
3639 …ailed_check(unsigned cbold, unsigned cbnew, unsigned magic) "Old blob %u bytes, new blob %u bytes,…
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all791 tpm_emulator_get_state_blob(uint8_t type, uint32_t size, uint32_t flags) "got state blob type %d, %…
792 tpm_emulator_set_state_blob(uint8_t type, uint32_t size, uint32_t flags) "set state blob type %d, %…
3637 spapr_update_dt(unsigned cb) "New blob %u bytes"
3638 …failed_size(unsigned cbold, unsigned cbnew, unsigned magic) "Old blob %u bytes, new blob %u bytes,…
3639 …ailed_check(unsigned cbold, unsigned cbnew, unsigned magic) "Old blob %u bytes, new blob %u bytes,…