/hardware/interfaces/identity/support/include/android/hardware/identity/support/ |
D | IdentityCredentialSupport.h | 60 void hexdump(const string& name, const vector<uint8_t>& data); 64 string encodeHex(const vector<uint8_t>& data); 66 string encodeHex(const uint8_t* data, size_t dataLen); 68 optional<vector<uint8_t>> decodeHex(const string& hexEncoded); 85 string cborPrettyPrint(const vector<uint8_t>& encodedCbor, size_t maxBStrSize = 32, 97 optional<vector<uint8_t>> getRandom(size_t numBytes); 100 vector<uint8_t> sha256(const vector<uint8_t>& data); 105 optional<vector<uint8_t>> decryptAes128Gcm(const vector<uint8_t>& key, 106 const vector<uint8_t>& encryptedData, 107 const vector<uint8_t>& additionalAuthenticatedData); [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_s3tc.h | 51 const uint8_t *src, 53 uint8_t *dst ); 58 const uint8_t *src, 60 uint8_t *dst, 72 util_format_dxt1_rgb_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8… 75 util_format_dxt1_rgb_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t… 78 util_format_dxt1_rgb_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsigned… 81 util_format_dxt1_rgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint… 84 util_format_dxt1_rgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_… 87 util_format_dxt1_rgba_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsigne… [all …]
|
D | u_format_zs.h | 42 util_format_s8_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *r… 46 util_format_s8_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *res… 50 util_format_z16_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *r… 54 util_format_z16_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *res… 58 …_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row… 62 util_format_z16_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t… 66 util_format_z32_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *r… 70 util_format_z32_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *res… 74 …_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row… 78 util_format_z32_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t… [all …]
|
D | u_format_rgtc.h | 34 util_format_rgtc1_unorm_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsig… 37 util_format_rgtc1_unorm_unpack_r_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8… 40 util_format_rgtc1_unorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const ui… 43 util_format_rgtc1_unorm_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint… 46 …orm_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row… 49 util_format_rgtc1_unorm_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float… 52 util_format_rgtc1_unorm_fetch_rgba(void *restrict dst, const uint8_t *restrict src, unsigned i, uns… 57 util_format_rgtc1_snorm_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsig… 60 util_format_rgtc1_snorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const ui… 63 …orm_unpack_r_8snorm(int8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row… [all …]
|
D | u_format_yuv.h | 60 uint8_t *y, uint8_t *u, uint8_t *v) in util_format_rgb_float_to_yuv() 79 util_format_yuv_to_rgb_float(uint8_t y, uint8_t u, uint8_t v, in util_format_yuv_to_rgb_float() 97 util_format_rgb_8unorm_to_yuv(uint8_t r, uint8_t g, uint8_t b, in util_format_rgb_8unorm_to_yuv() 98 uint8_t *y, uint8_t *u, uint8_t *v) in util_format_rgb_8unorm_to_yuv() 107 util_format_yuv_to_rgb_8unorm(uint8_t y, uint8_t u, uint8_t v, in util_format_yuv_to_rgb_8unorm() 108 uint8_t *r, uint8_t *g, uint8_t *b) in util_format_yuv_to_rgb_8unorm() 127 const uint8_t *restrict src_row, unsigned src_stride, 131 util_format_uyvy_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, 132 const uint8_t *restrict src_row, unsigned src_stride, 136 util_format_uyvy_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, [all …]
|
D | u_format_latc.h | 34 util_format_latc1_unorm_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsig… 37 util_format_latc1_unorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const ui… 40 util_format_latc1_unorm_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint… 43 …orm_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row… 46 util_format_latc1_unorm_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float… 49 util_format_latc1_unorm_fetch_rgba(void *restrict dst, const uint8_t *restrict src, unsigned i, uns… 54 util_format_latc1_snorm_fetch_rgba_8unorm(uint8_t *restrict dst, const uint8_t *restrict src, unsig… 57 util_format_latc1_snorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const ui… 60 util_format_latc1_snorm_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint… 63 util_format_latc1_snorm_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float… [all …]
|
D | u_format_bptc.h | 42 util_format_bptc_rgba_unorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, 43 const uint8_t *restrict src_row, unsigned src_stride, 46 util_format_bptc_rgba_unorm_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, 47 const uint8_t *restrict src_row, unsigned src_stride, 51 const uint8_t *restrict src_row, unsigned src_stride, 54 util_format_bptc_rgba_unorm_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, 58 util_format_bptc_rgba_unorm_fetch_rgba(void *restrict dst, const uint8_t *restrict src, 62 util_format_bptc_srgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, 63 const uint8_t *restrict src_row, unsigned src_stride, 66 util_format_bptc_srgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, [all …]
|
D | u_format_other.h | 39 const uint8_t *restrict src_row, 43 util_format_r9g9b9e5_float_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, 48 util_format_r9g9b9e5_float_fetch_rgba(void *restrict dst, const uint8_t *restrict src, 52 util_format_r9g9b9e5_float_unpack_rgba_8unorm(uint8_t *restrict dst_row, 53 const uint8_t *restrict src_row, 57 util_format_r9g9b9e5_float_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, 58 const uint8_t *restrict src_row, unsigned src_stride, 64 const uint8_t *restrict src_row, 68 util_format_r11g11b10_float_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, 73 util_format_r11g11b10_float_fetch_rgba(void *restrict dst, const uint8_t *restrict src, [all …]
|
/hardware/interfaces/identity/aidl/default/libeic/ |
D | EicOps.h | 80 uint8_t reserved[EIC_SHA256_CONTEXT_SIZE]; 85 uint8_t reserved[EIC_HMAC_SHA256_CONTEXT_SIZE]; 117 void eicHexdump(const char* message, const uint8_t* data, size_t dataSize); 119 inline void eicHexdump(const char*, const uint8_t*, size_t) {} in eicHexdump() argument 130 void eicCborPrettyPrint(const uint8_t* cborData, size_t cborDataSize, size_t maxBStrSize); 132 inline void eicCborPrettyPrint(const uint8_t*, size_t, size_t) {} in eicCborPrettyPrint() argument 145 void* eicMemMem(const uint8_t* haystack, size_t haystackLen, const uint8_t* needle, 156 bool eicOpsRandom(uint8_t* buf, size_t numBytes); 168 const uint8_t* eicOpsGetHardwareBoundKey(bool testCredential); 174 const uint8_t* key, // Must be 16 bytes [all …]
|
D | EicPresentation.h | 42 uint8_t storageKey[EIC_AES_128_KEY_SIZE]; 43 uint8_t credentialPrivateKey[EIC_P256_PRIV_KEY_SIZE]; 45 uint8_t ephemeralPrivateKey[EIC_P256_PRIV_KEY_SIZE]; 67 uint8_t readerPublicKey[EIC_PRESENTATION_MAX_READER_PUBLIC_KEY_SIZE]; 97 uint8_t additionalDataSha256[EIC_SHA256_DIGEST_SIZE]; 101 uint8_t proofOfProvisioningSha256[EIC_SHA256_DIGEST_SIZE]; 107 uint8_t deviceKeyPriv[EIC_P256_PRIV_KEY_SIZE]; 118 const uint8_t* encryptedCredentialKeys, 127 uint8_t* publicKeyCert, size_t* publicKeyCertSize, 128 uint8_t signingKeyBlob[60]); [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/blake3/ |
D | blake3_impl.h | 76 static const uint8_t MSG_SCHEDULE[7][16] = { 144 const uint8_t *p = (const uint8_t *)src; in load32() 149 INLINE void load_key_words(const uint8_t key[BLAKE3_KEY_LEN], in load_key_words() 162 uint8_t *p = (uint8_t *)dst; in store32() 163 p[0] = (uint8_t)(w >> 0); in store32() 164 p[1] = (uint8_t)(w >> 8); in store32() 165 p[2] = (uint8_t)(w >> 16); in store32() 166 p[3] = (uint8_t)(w >> 24); in store32() 169 INLINE void store_cv_words(uint8_t bytes_out[32], uint32_t cv_words[8]) { in store_cv_words() 181 const uint8_t block[BLAKE3_BLOCK_LEN], [all …]
|
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/ |
D | XI2proto.h | 134 uint8_t enabled; /**< TRUE if device is enabled. */ 135 uint8_t pad; 188 uint8_t mode; /**< ModeRelative or ModeAbsolute */ 189 uint8_t pad1; 216 uint8_t mode; /**< DirectTouch or DependentTouch */ 217 uint8_t num_touches; /**< Maximum number of touches (0==unlimited) */ 251 uint8_t base_group; /**< Logically "pressed" group */ 252 uint8_t latched_group; /**< Logically latched group */ 253 uint8_t locked_group; /**< Logically locked group */ 254 uint8_t effective_group; /**< Effective group */ [all …]
|
/hardware/google/gfxstream/guest/mesa/include/vk_video/ |
D | vulkan_video_codec_h265std.h | 124 uint8_t max_dec_pic_buffering_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]; 125 uint8_t max_num_reorder_pics[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]; 148 uint8_t tick_divisor_minus2; 149 uint8_t du_cpb_removal_delay_increment_length_minus1; 150 uint8_t dpb_output_delay_du_length_minus1; 151 uint8_t bit_rate_scale; 152 uint8_t cpb_size_scale; 153 uint8_t cpb_size_du_scale; 154 uint8_t initial_cpb_removal_delay_length_minus1; 155 uint8_t au_cpb_removal_delay_length_minus1; [all …]
|
/hardware/broadcom/libbt/include/ |
D | uipc_msg.h | 49 typedef uint8_t tUIPC_STATUS; 63 uint8_t opcode; /* UIPC_OPEN_REQ */ 70 uint8_t opcode; /* UIPC_OPEN_RESP */ 74 …uint8_t num_streams; /* Number of simultaneous streams supported by the light sta… 81 uint8_t opcode; /* UIPC_CLOSE_REQ */ 88 uint8_t opcode; /* UIPC_CLOSE_RSP */ 95 uint8_t opcode; 107 uint8_t msg[IPC_LOG_MSG_LEN]; 130 uint8_t op_code; 131 uint8_t status; [all …]
|
/hardware/google/gfxstream/common/vulkan/include/vk_video/ |
D | vulkan_video_codec_h265std.h | 127 uint8_t max_dec_pic_buffering_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]; 128 uint8_t max_num_reorder_pics[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE]; 151 uint8_t tick_divisor_minus2; 152 uint8_t du_cpb_removal_delay_increment_length_minus1; 153 uint8_t dpb_output_delay_du_length_minus1; 154 uint8_t bit_rate_scale; 155 uint8_t cpb_size_scale; 156 uint8_t cpb_size_du_scale; 157 uint8_t initial_cpb_removal_delay_length_minus1; 158 uint8_t au_cpb_removal_delay_length_minus1; [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/files/ |
D | Stream.cpp | 23 void Stream::putByte(uint8_t value) { in putByte() 27 uint8_t Stream::getByte() { in getByte() 28 uint8_t value[1] = { 0 }; in getByte() 34 uint8_t b[2] = { (uint8_t)(value >> 8), (uint8_t)value }; in putBe16() 39 uint8_t b[2] = { 0, 0 }; in getBe16() 45 uint8_t b[4] = { in putBe32() 46 (uint8_t)(value >> 24), in putBe32() 47 (uint8_t)(value >> 16), in putBe32() 48 (uint8_t)(value >> 8), in putBe32() 49 (uint8_t)value }; in putBe32() [all …]
|
/hardware/google/aemu/base/ |
D | Stream.cpp | 23 void Stream::putByte(uint8_t value) { in putByte() 27 uint8_t Stream::getByte() { in getByte() 28 uint8_t value[1] = { 0 }; in getByte() 34 uint8_t b[2] = { (uint8_t)(value >> 8), (uint8_t)value }; in putBe16() 39 uint8_t b[2] = { 0, 0 }; in getBe16() 45 uint8_t b[4] = { in putBe32() 46 (uint8_t)(value >> 24), in putBe32() 47 (uint8_t)(value >> 16), in putBe32() 48 (uint8_t)(value >> 8), in putBe32() 49 (uint8_t)value }; in putBe32() [all …]
|
/hardware/nxp/nfc/snxxx/halimpl/hal/ |
D | phNxpNciHal.h | 63 #define NCI2_0_CORE_RESET_TRIGGER_TYPE_OVER_TEMPERATURE ((uint8_t)0xA1) 65 #define CORE_RESET_TRIGGER_TYPE_FW_ASSERT ((uint8_t)0xA0) 66 #define CORE_RESET_TRIGGER_TYPE_WATCHDOG_RESET ((uint8_t)0xA3) 67 #define CORE_RESET_TRIGGER_TYPE_INPUT_CLOCK_LOST ((uint8_t)0xA4) 85 uint8_t p_data[NCI_MAX_DATA_LEN]; 114 uint8_t values[2]; 121 uint8_t nci_version; 123 uint8_t lastResetNtfReason; 129 uint8_t thread_running; /* Thread running if set to 1, else set to 0 */ 133 uint8_t* p_rx_data; [all …]
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | goldfish_vk_reserved_marshaling_guest.h | 54 const VkExtent2D* forMarshaling, uint8_t** ptr); 57 const VkExtent3D* forMarshaling, uint8_t** ptr); 60 const VkOffset2D* forMarshaling, uint8_t** ptr); 63 const VkOffset3D* forMarshaling, uint8_t** ptr); 66 const VkRect2D* forMarshaling, uint8_t** ptr); 69 const VkBaseInStructure* forMarshaling, uint8_t** ptr); 72 const VkBaseOutStructure* forMarshaling, uint8_t** ptr); 76 uint8_t** ptr); 81 uint8_t** ptr); 86 uint8_t** ptr); [all …]
|
/hardware/google/pixel/vibrator/cs40l26/ |
D | DspMemChunk.h | 28 constexpr uint8_t PWLE_CHIRP_BIT = 0x8; // Dynamic/frequency and voltage 29 constexpr uint8_t PWLE_BRAKE_BIT = 0x4; 30 constexpr uint8_t PWLE_AMP_REG_BIT = 0x2; 32 static constexpr uint8_t PWLE_WT_TYPE = 12; 33 static constexpr uint8_t PWLE_HEADER_WORD_COUNT = 3; 34 static constexpr uint8_t PWLE_HEADER_FTR_SHIFT = 8; 35 static constexpr uint8_t PWLE_SVC_METADATA_WORD_COUNT = 3; 37 static constexpr uint8_t PWLE_SEGMENT_WORD_COUNT = 2; 38 static constexpr uint8_t PWLE_HEADER_WCOUNT_WORD_OFFSET = 2; 39 static constexpr uint8_t PWLE_WORD_SIZE = sizeof(uint32_t); [all …]
|
/hardware/google/gfxstream/host/vulkan/cereal/common/ |
D | goldfish_vk_reserved_marshaling.h | 46 VkExtent2D* forUnmarshaling, uint8_t** ptr); 49 VkExtent3D* forUnmarshaling, uint8_t** ptr); 52 VkOffset2D* forUnmarshaling, uint8_t** ptr); 55 VkOffset3D* forUnmarshaling, uint8_t** ptr); 58 VkRect2D* forUnmarshaling, uint8_t** ptr); 61 VkBaseInStructure* forUnmarshaling, uint8_t** ptr); 64 VkBaseOutStructure* forUnmarshaling, uint8_t** ptr); 67 VkBufferMemoryBarrier* forUnmarshaling, uint8_t** ptr); 71 uint8_t** ptr); 76 uint8_t** ptr); [all …]
|
/hardware/st/nfc/st21nfc/hal/ |
D | hal_fwlog.h | 31 static const uint8_t PROPRIETARY_GID = 0x6F; 32 static const uint8_t ANDROID_OID = 0x0C; 33 static const uint8_t TYPE_REMOTE_FIELD = 0x00; 34 static const uint8_t TYPE_A = 0x01; 35 static const uint8_t TYPE_B = 0x02; 36 static const uint8_t TYPE_F = 0x03; 37 static const uint8_t TYPE_V = 0x04; 39 static const uint8_t TYPE_UNKNOWN = 0x07; 42 uint8_t ts1; 43 uint8_t ts2; [all …]
|
/hardware/nxp/nfc/snxxx/halimpl/observe_mode/ |
D | ReaderPollConfigParser.h | 21 typedef void(reader_poll_info_callback_t)(uint16_t data_len, uint8_t* p_data); 33 uint8_t lastKnownGain = 0x00; 34 uint8_t lastKnownModEvent = 0x00; 50 vector<uint8_t> getWellKnownModEventData(uint8_t event, 51 vector<uint8_t> timeStamp, 52 uint8_t gain, vector<uint8_t> data); 67 vector<uint8_t> getRFEventData(vector<uint8_t> timeStamp, uint8_t gain, 83 vector<uint8_t> getUnknownEvent(vector<uint8_t> data, 84 vector<uint8_t> timeStamp, uint8_t gain); 100 vector<uint8_t> getEvent(vector<uint8_t> p_event, bool isCmaEvent); [all …]
|
/hardware/interfaces/identity/aidl/default/ |
D | EicOpsImpl.cc | 70 void* eicMemMem(const uint8_t* haystack, size_t haystackLen, const uint8_t* needle, in eicMemMem() 79 void eicOpsHmacSha256Init(EicHmacSha256Ctx* ctx, const uint8_t* key, size_t keySize) { in eicOpsHmacSha256Init() 87 void eicOpsHmacSha256Update(EicHmacSha256Ctx* ctx, const uint8_t* data, size_t len) { in eicOpsHmacSha256Update() 94 void eicOpsHmacSha256Final(EicHmacSha256Ctx* ctx, uint8_t digest[EIC_SHA256_DIGEST_SIZE]) { in eicOpsHmacSha256Final() 111 void eicOpsSha256Update(EicSha256Ctx* ctx, const uint8_t* data, size_t len) { in eicOpsSha256Update() 116 void eicOpsSha256Final(EicSha256Ctx* ctx, uint8_t digest[EIC_SHA256_DIGEST_SIZE]) { in eicOpsSha256Final() 121 bool eicOpsRandom(uint8_t* buf, size_t numBytes) { in eicOpsRandom() 122 optional<vector<uint8_t>> bytes = ::android::hardware::identity::support::getRandom(numBytes); in eicOpsRandom() 136 uint8_t value8; in eicNextId() 150 const uint8_t* key, // Must be 16 bytes in eicOpsEncryptAes128Gcm() [all …]
|
/hardware/st/nfc/st21nfc/gki/common/ |
D | gki.h | 322 uint8_t in_use; 363 extern uint8_t GKI_create_task(TASKPTR, uint8_t, int8_t*, uint16_t*, uint16_t, 365 extern void GKI_exit_task(uint8_t); 366 extern uint8_t GKI_get_taskid(void); 368 extern uint8_t* GKI_map_taskname(uint8_t); 369 extern uint8_t GKI_resume_task(uint8_t); 372 extern uint8_t GKI_suspend_task(uint8_t); 373 extern uint8_t GKI_is_task_running(uint8_t); 378 extern void GKI_shiftdown(uint8_t* p_mem, uint32_t len, uint32_t shift_amount); 379 extern void GKI_shiftup(uint8_t* p_dest, uint8_t* p_src, uint32_t len); [all …]
|