Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 24 of 24) 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/camera/
DHwCamera.cpp95 struct camera3_jpeg_blob blob; in compressJpeg() local
96 blob.jpeg_blob_id = CAMERA3_JPEG_BLOB_ID; in compressJpeg()
97 blob.jpeg_size = compressedSize; in compressJpeg()
99 &blob, sizeof(blob)); in compressJpeg()
/device/google/cuttlefish/guest/hals/keymaster/remote/
Dremote_keymaster4_device.cpp108 p.blob.resize(sizeof(hw_auth_token_t)); in injectAuthToken()
110 hw_auth_token_t* auth_token = reinterpret_cast<hw_auth_token_t*>(p.blob.data()); in injectAuthToken()
157 params[i] = keymaster_param_blob(tag, &keyParams[i].blob[0], in KmParamSet()
158 keyParams[i].blob.size()); in KmParamSet()
177 inline hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_key_blob_t& blob) { in kmBlob2hidlVec() argument
179 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size); in kmBlob2hidlVec()
183 inline hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_blob_t& blob) { in kmBlob2hidlVec() argument
185 result.setToExternal(const_cast<unsigned char*>(blob.data), blob.data_length); in kmBlob2hidlVec()
238 result[i].blob.setToExternal(const_cast<unsigned char*>(params[i].blob.data), in kmParamSet2Hidl()
239 params[i].blob.data_length); in kmParamSet2Hidl()
/device/generic/goldfish-opengl/system/hwc3/
DDrmConnector.cpp91 auto blob = drmModeGetPropertyBlob(drmFd.get(), edidBlobId); in loadEdid() local
92 if (!blob) { in loadEdid()
98 const uint8_t* blobStart = static_cast<uint8_t*>(blob->data); in loadEdid()
99 mEdid = std::vector<uint8_t>(blobStart, blobStart + blob->length); in loadEdid()
101 drmModeFreePropertyBlob(blob); in loadEdid()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DAddressSpaceStream.cpp179 VirtGpuBlobPtr pipe, blob; in createVirtioGpuAddressSpaceStream() local
199 blob = instance.createBlob(blobCreate); in createVirtioGpuAddressSpaceStream()
200 if (!blob) in createVirtioGpuAddressSpaceStream()
205 contextCreate.resourceId = blob->getResourceHandle(); in createVirtioGpuAddressSpaceStream()
210 ret = instance.execBuffer(exec, blob); in createVirtioGpuAddressSpaceStream()
215 ret = blob->wait(); in createVirtioGpuAddressSpaceStream()
219 blobMapping = blob->createMapping(); in createVirtioGpuAddressSpaceStream()
/device/generic/goldfish-opengl/platform/stub/
DVirtGpuBlobMapping.cpp19 VirtGpuBlobMapping::VirtGpuBlobMapping(VirtGpuBlobPtr blob, uint8_t* ptr, uint64_t size) in VirtGpuBlobMapping() argument
20 : mBlob(blob), mPtr(ptr), mSize(size) {} in VirtGpuBlobMapping()
DVirtGpuDevice.cpp46 int VirtGpuDevice::execBuffer(struct VirtGpuExecBuffer& execbuffer, VirtGpuBlobPtr blob) { in execBuffer() argument
/device/generic/goldfish-opengl/platform/linux/
DVirtGpuBlobMapping.cpp21 VirtGpuBlobMapping::VirtGpuBlobMapping(VirtGpuBlobPtr blob, uint8_t* ptr, uint64_t size) in VirtGpuBlobMapping() argument
22 : mBlob(blob), mPtr(ptr), mSize(size) {} in VirtGpuBlobMapping()
DVirtGpuDevice.cpp181 int VirtGpuDevice::execBuffer(struct VirtGpuExecBuffer& execbuffer, VirtGpuBlobPtr blob) { in execBuffer() argument
192 if (blob) { in execBuffer()
193 blobHandle = blob->getBlobHandle(); in execBuffer()
/device/generic/goldfish-opengl/system/magma/
Dmagma.cpp155 auto blob = VirtGpuDevice::getInstance(VirtGpuCapset::kCapsetGfxStream) in get_fd_for_buffer() local
160 if (!blob) { in get_fd_for_buffer()
165 int result = blob->exportBlob(handle); in get_fd_for_buffer()
/device/generic/goldfish-opengl/platform/include/
DVirtGpu.h137 VirtGpuBlobMapping(VirtGpuBlobPtr blob, uint8_t* ptr, uint64_t size);
159 int execBuffer(struct VirtGpuExecBuffer& execbuffer, VirtGpuBlobPtr blob);
/device/linaro/hikey/
Dproprietary-blobs.txt15 # This file is generated by device/common/generate-blob-lists.sh - DO NOT EDIT
/device/linaro/hikey/hikey/
DREADME55 Schematics: https://github.com/96boards/documentation/blob/master/consumer/hikey/hardware-docs/HiKe…
/device/linaro/hikey/installer/hikey960/
DREADME53 https://github.com/96boards-hikey/tools-images-hikey960/blob/master/README.md
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dapp.js480 .then(blob => blob.arrayBuffer())
/device/generic/goldfish-opengl/system/vulkan_enc/
DResourceTracker.cpp2992 auto blob = instance.createBlob(createBlob); in createCoherentMemory() local
2993 if (!blob) { in createCoherentMemory()
2998 VirtGpuBlobMappingPtr mapping = blob->createMapping(); in createCoherentMemory()
3991 auto blob = instance.createBlob(createBlob); in on_vkMapMemory() local
3992 if (!blob) { in on_vkMapMemory()
3996 mapping = blob->createMapping(); in on_vkMapMemory()