Home
last modified time | relevance | path

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

12345678910>>...66

/hardware/interfaces/identity/support/include/android/hardware/identity/support/
DIdentityCredentialSupport.h52 void hexdump(const string& name, const vector<uint8_t>& data);
56 string encodeHex(const vector<uint8_t>& data);
58 string encodeHex(const uint8_t* data, size_t dataLen);
60 optional<vector<uint8_t>> decodeHex(const string& hexEncoded);
77 string cborPrettyPrint(const vector<uint8_t>& encodedCbor, size_t maxBStrSize = 32,
89 optional<vector<uint8_t>> getRandom(size_t numBytes);
92 vector<uint8_t> sha256(const vector<uint8_t>& data);
97 optional<vector<uint8_t>> decryptAes128Gcm(const vector<uint8_t>& key,
98 const vector<uint8_t>& encryptedData,
99 const vector<uint8_t>& additionalAuthenticatedData);
[all …]
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dipa_qmi_service_v01.h180 uint8_t platform_type_valid; /**< Must be set to true if platform_type
187 uint8_t hdr_tbl_info_valid;
194 uint8_t v4_route_tbl_info_valid;
201 uint8_t v6_route_tbl_info_valid; /**< Must be set to true if
208 uint8_t v4_filter_tbl_start_addr_valid; /**< Must be set to true
218 uint8_t v6_filter_tbl_start_addr_valid;
228 uint8_t modem_mem_info_valid;
238 uint8_t ctrl_comm_dest_end_pt_valid; /**< Must be set to true if
249 uint8_t is_ssr_bootup_valid; /**< Must be set to true if
251 uint8_t is_ssr_bootup;
[all …]
Dmsm_ipa.h507 uint8_t type;
508 uint8_t code;
509 uint8_t tos_value;
510 uint8_t tos_mask;
516 uint8_t src_mac_addr[ETH_ALEN];
517 uint8_t src_mac_addr_mask[ETH_ALEN];
518 uint8_t dst_mac_addr[ETH_ALEN];
519 uint8_t dst_mac_addr_mask[ETH_ALEN];
523 uint8_t tos;
524 uint8_t protocol;
[all …]
/hardware/qcom/msm8998/kernel-headers/linux/
Dipa_qmi_service_v01.h101 uint8_t platform_type_valid;
104 uint8_t hdr_tbl_info_valid;
106 uint8_t v4_route_tbl_info_valid;
109 uint8_t v6_route_tbl_info_valid;
111 uint8_t v4_filter_tbl_start_addr_valid;
114 uint8_t v6_filter_tbl_start_addr_valid;
116 uint8_t modem_mem_info_valid;
119 uint8_t ctrl_comm_dest_end_pt_valid;
121 uint8_t is_ssr_bootup_valid;
122 uint8_t is_ssr_bootup;
[all …]
Dmsm_ipa.h366 uint8_t type;
367 uint8_t code;
369 uint8_t tos_value;
370 uint8_t tos_mask;
377 uint8_t src_mac_addr[ETH_ALEN];
379 uint8_t src_mac_addr_mask[ETH_ALEN];
380 uint8_t dst_mac_addr[ETH_ALEN];
381 uint8_t dst_mac_addr_mask[ETH_ALEN];
386 uint8_t tos;
387 uint8_t protocol;
[all …]
/hardware/broadcom/libbt/include/
Duipc_msg.h49 typedef uint8_t tUIPC_STATUS;
63 uint8_t opcode; /* UIPC_OPEN_REQ */
70 uint8_t opcode; /* UIPC_OPEN_RESP */
74uint8_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/st/nfc/1.0/gki/common/
Dgki.h322 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 …]
/hardware/st/nfc/st21nfc/gki/common/
Dgki.h322 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 …]
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Diso7816_t1.h41 uint8_t ifsc; /* IFS for card */
42 uint8_t ifsd; /* IFS for device */
43 uint8_t nad; /* NAD byte for device */
44 uint8_t nadc; /* NAD byte for card */
45 uint8_t wtx; /* Read timeout scaler */
49 uint8_t chk_algo; /* One of CHECKSUM_LRC or CHECKSUM_CRC */
50 uint8_t retries; /* Remaining retries in case of incorrect block */
51 uint8_t request; /* Current pending request, valid only during request */
57 uint8_t need_reset; /* Need to send a reset on first start */
58 uint8_t need_resync; /* Need to send a reset on first start */
[all …]
/hardware/interfaces/drm/1.0/default/
DDrmPlugin.h55 Return<Status> closeSession(const hidl_vec<uint8_t>& sessionId) override;
57 Return<void> getKeyRequest(const hidl_vec<uint8_t>& scope,
58 const hidl_vec<uint8_t>& initData, const hidl_string& mimeType,
62 Return<void> provideKeyResponse(const hidl_vec<uint8_t>& scope,
63 const hidl_vec<uint8_t>& response, provideKeyResponse_cb _hidl_cb)
66 Return<Status> removeKeys(const hidl_vec<uint8_t>& sessionId) override;
68 Return<Status> restoreKeys(const hidl_vec<uint8_t>& sessionId,
69 const hidl_vec<uint8_t>& keySetId) override;
71 Return<void> queryKeyStatus(const hidl_vec<uint8_t>& sessionId,
78 Return<void> provideProvisionResponse(const hidl_vec<uint8_t>& response,
[all …]
DDrmPlugin.cpp33 Vector<uint8_t> legacySessionId; in openSession()
39 Return<Status> DrmPlugin::closeSession(const hidl_vec<uint8_t>& sessionId) { in closeSession()
43 Return<void> DrmPlugin::getKeyRequest(const hidl_vec<uint8_t>& scope, in getKeyRequest()
44 const hidl_vec<uint8_t>& initData, const hidl_string& mimeType, in getKeyRequest()
66 Vector<uint8_t> legacyRequest; in getKeyRequest()
106 Return<void> DrmPlugin::provideKeyResponse(const hidl_vec<uint8_t>& scope, in provideKeyResponse()
107 const hidl_vec<uint8_t>& response, provideKeyResponse_cb _hidl_cb) { in provideKeyResponse()
109 Vector<uint8_t> keySetId; in provideKeyResponse()
116 Return<Status> DrmPlugin::removeKeys(const hidl_vec<uint8_t>& sessionId) { in removeKeys()
120 Return<Status> DrmPlugin::restoreKeys(const hidl_vec<uint8_t>& sessionId, in restoreKeys()
[all …]
/hardware/nxp/secure_element/ls_client/inc/
DLsLib.h29 uint8_t channel_id;
35 uint8_t sRecvData[1024];
36 uint8_t sSendData[1024];
39 uint8_t sTemp_recvbuf[1024];
52 uint8_t channel_cnt;
53 uint8_t initChannelNum;
58 uint8_t* lsRawScriptBuf = nullptr;
59 uint8_t* lsScriptHash = nullptr;
60 uint8_t* readBuffHash = nullptr;
70 static uint8_t OpenChannel[] = {0x00, 0x70, 0x00, 0x00, 0x01};
[all …]
/hardware/interfaces/identity/support/tests/
DIdentityCredentialSupportTest.cpp38 EXPECT_EQ("", support::encodeHex(vector<uint8_t>({}))); in TEST()
39 EXPECT_EQ("01", support::encodeHex(vector<uint8_t>({1}))); in TEST()
42 vector<uint8_t>({0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}))); in TEST()
43 EXPECT_EQ("0102ffe060", support::encodeHex(vector<uint8_t>({1, 2, 255, 224, 96}))); in TEST()
47 EXPECT_EQ(vector<uint8_t>({}), support::decodeHex("")); in TEST()
48 EXPECT_EQ(vector<uint8_t>({1}), support::decodeHex("01")); in TEST()
50 EXPECT_EQ(vector<uint8_t>({0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}), in TEST()
65 cppbor::Bstr(vector<uint8_t>({1, 0, 2, 240, 255, 64})).encode())); in TEST()
67 EXPECT_EQ("{}", support::cborPrettyPrint(cppbor::Bstr(vector<uint8_t>()).encode())); in TEST()
142 support::cborPrettyPrint(cppbor::Array(cppbor::Bstr(vector<uint8_t>{10, 11}), in TEST()
[all …]
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_ipa.h350 uint8_t type;
351 uint8_t code;
352 uint8_t tos_value;
354 uint8_t tos_mask;
361 uint8_t src_mac_addr[ETH_ALEN];
362 uint8_t src_mac_addr_mask[ETH_ALEN];
364 uint8_t dst_mac_addr[ETH_ALEN];
365 uint8_t dst_mac_addr_mask[ETH_ALEN];
370 uint8_t tos;
371 uint8_t protocol;
[all …]
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_ipa.h487 uint8_t type;
488 uint8_t code;
489 uint8_t tos_value;
490 uint8_t tos_mask;
496 uint8_t src_mac_addr[ETH_ALEN];
497 uint8_t src_mac_addr_mask[ETH_ALEN];
498 uint8_t dst_mac_addr[ETH_ALEN];
499 uint8_t dst_mac_addr_mask[ETH_ALEN];
503 uint8_t tos;
504 uint8_t protocol;
[all …]
/hardware/interfaces/identity/aidl/default/
DIdentityCredential.h43 IdentityCredential(const vector<uint8_t>& credentialData) in IdentityCredential()
54 ndk::ScopedAStatus deleteCredential(vector<uint8_t>* outProofOfDeletionSignature) override;
55 ndk::ScopedAStatus createEphemeralKeyPair(vector<uint8_t>* outKeyPair) override;
56 ndk::ScopedAStatus setReaderEphemeralPublicKey(const vector<uint8_t>& publicKey) override;
63 const HardwareAuthToken& authToken, const vector<uint8_t>& itemsRequest,
64 const vector<uint8_t>& signingKeyBlob, const vector<uint8_t>& sessionTranscript,
65 const vector<uint8_t>& readerSignature, const vector<int32_t>& requestCounts) override;
69 ndk::ScopedAStatus retrieveEntryValue(const vector<uint8_t>& encryptedContent,
70 vector<uint8_t>* outContent) override;
71 ndk::ScopedAStatus finishRetrieval(vector<uint8_t>* outMac,
[all …]
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal.h58 uint8_t p_data[NCI_MAX_DATA_LEN];
78 uint8_t values[2];
85 uint8_t nci_version;
92 uint8_t thread_running; /* Thread running if set to 1, else set to 0 */
96 uint8_t* p_rx_data;
100 uint8_t* p_rx_ese_data;
114 uint8_t hal_ext_enabled;
121 uint8_t p_cmd_data[NCI_MAX_DATA_LEN];
123 uint8_t p_rsp_data[NCI_MAX_DATA_LEN];
127 uint8_t read_retry_cnt;
[all …]
/hardware/interfaces/identity/support/include/cppbor/
Dcppbor_parse.h23 using ParseResult = std::tuple<std::unique_ptr<Item> /* result */, const uint8_t* /* newPos */,
37 ParseResult parse(const uint8_t* begin, const uint8_t* end);
50 inline ParseResult parse(const std::vector<uint8_t>& encoding) { in parse()
65 inline ParseResult parse(const uint8_t* begin, size_t size) { in parse()
75 void parse(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient);
81 inline void parse(const std::vector<uint8_t>& encoding, ParseClient* parseClient) { in parse()
108 virtual ParseClient* item(std::unique_ptr<Item>& item, const uint8_t* hdrBegin,
109 const uint8_t* valueBegin, const uint8_t* end) = 0;
122 virtual ParseClient* itemEnd(std::unique_ptr<Item>& item, const uint8_t* hdrBegin,
123 const uint8_t* valueBegin, const uint8_t* end) = 0;
[all …]
/hardware/interfaces/identity/support/src/
Dcppbor_parse.cpp38 std::tuple<bool, uint64_t, const uint8_t*> parseLength(const uint8_t* pos, const uint8_t* end, in parseLength()
45 const uint8_t* intEnd = pos + sizeof(T); in parseLength()
53 std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin, const uint8_t* end,
56 std::tuple<const uint8_t*, ParseClient*> handleUint(uint64_t value, const uint8_t* hdrBegin, in handleUint()
57 const uint8_t* hdrEnd, in handleUint()
64 std::tuple<const uint8_t*, ParseClient*> handleNint(uint64_t value, const uint8_t* hdrBegin, in handleNint()
65 const uint8_t* hdrEnd, in handleNint()
76 std::tuple<const uint8_t*, ParseClient*> handleBool(uint64_t value, const uint8_t* hdrBegin, in handleBool()
77 const uint8_t* hdrEnd, in handleBool()
84 std::tuple<const uint8_t*, ParseClient*> handleNull(const uint8_t* hdrBegin, const uint8_t* hdrEnd, in handleNull()
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dkeymaster_utils.h38 inline static hidl_vec<uint8_t> blob2hidlVec(const uint8_t* data, const size_t length) { in blob2hidlVec()
39 hidl_vec<uint8_t> result(data, data + length); in blob2hidlVec()
43 inline static hidl_vec<uint8_t> blob2hidlVec(const std::string& value) { in blob2hidlVec()
44 hidl_vec<uint8_t> result(reinterpret_cast<const uint8_t*>(value.data()), in blob2hidlVec()
45 reinterpret_cast<const uint8_t*>(value.data()) + value.size()); in blob2hidlVec()
49 inline static hidl_vec<uint8_t> blob2hidlVec(const std::vector<uint8_t>& blob) { in blob2hidlVec()
50 hidl_vec<uint8_t> result(blob.data(), blob.data() + static_cast<size_t>(blob.size())); in blob2hidlVec()
54 HardwareAuthToken hidlVec2AuthToken(const hidl_vec<uint8_t>& buffer);
55 hidl_vec<uint8_t> authToken2HidlVec(const HardwareAuthToken& token);
63 const std::vector<uint8_t>& serializedToken);
[all …]
/hardware/interfaces/boot/1.1/default/boot_control/include/private/
Dboot_control_definition.h62 uint8_t priority : 4;
64 uint8_t tries_remaining : 3;
66 uint8_t successful_boot : 1;
69 uint8_t verity_corrupted : 1;
71 uint8_t reserved : 7;
88 uint8_t version;
90 uint8_t nb_slot : 3;
92 uint8_t recovery_tries_remaining : 3;
94 uint8_t merge_status : 3;
96 uint8_t reserved0[1];
[all …]
/hardware/st/secure_element/ese-spi-driver/
DT1protocol.cc31 uint8_t SEQ_NUM_MASTER;
32 uint8_t SEQ_NUM_SLAVE;
33 uint8_t recoveryStatus;
53 uint8_t T1protocol_getValidPcb(TpduType type, RBlockType subtype, in T1protocol_getValidPcb()
54 uint8_t numSeqMaster, uint8_t numseqSlave, in T1protocol_getValidPcb()
56 uint8_t pcb = 0xFF; in T1protocol_getValidPcb()
63 pcb |= (uint8_t)IBLOCK_NS_BIT_MASK; in T1protocol_getValidPcb()
76 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
80 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
84 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
[all …]
/hardware/st/secure_element/ese-spi-driver/utils-lib/
DTpdu.h47 uint8_t nad;
48 uint8_t pcb;
49 uint8_t len;
50 uint8_t *data;
68 uint16_t Tpdu_toByteArray(Tpdu *structTpdu, uint8_t *baTpdu);
90 int Tpdu_formTpdu(uint8_t nad, uint8_t pcb, uint8_t len, uint8_t *data,
99 void Tpdu_getChecksumBytes(Tpdu *tpdu, uint8_t *checksumBytes);
109 uint16_t Tpdu_getChecksumValue(uint8_t *array, int checksumStartPosition,
137 void Tpdu_toHexString(Tpdu *tpdu, uint8_t *hexStringBuffer);
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/
Ddrm_hal_common.h88 hidl_array<uint8_t, 16> getUUID();
89 hidl_array<uint8_t, 16> getVendorUUID();
90 hidl_array<uint8_t, 16> GetParamUUID() { return GetParam().scheme_; } in GetParamUUID()
96 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId,
98 hidl_vec<uint8_t> loadKeys(const SessionId& sessionId,
101 hidl_vec<uint8_t> getKeyRequest(const SessionId& sessionId,
104 hidl_vec<uint8_t> provideKeyResponse(const SessionId& sessionId,
105 const hidl_vec<uint8_t>& keyResponse);
110 hidl_array<uint8_t, 16> toHidlArray(const vector<uint8_t>& vec);
115 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv,
[all …]
/hardware/libhardware/modules/camera/3_4/
Dv4l2_metadata_factory.cpp60 components.insert(NoEffectMenuControl<uint8_t>( in GetV4L2Metadata()
92 NoEffectMenuControl<uint8_t>(ANDROID_CONTROL_AF_MODE, in GetV4L2Metadata()
99 components.insert(FixedState<uint8_t>(ANDROID_CONTROL_AF_STATE, in GetV4L2Metadata()
107 NoEffectMenuControl<uint8_t>(ANDROID_CONTROL_AF_TRIGGER, in GetV4L2Metadata()
112 components.insert(NoEffectMenuControl<uint8_t>( in GetV4L2Metadata()
118 components.insert(V4L2ControlOrDefault<uint8_t>( in GetV4L2Metadata()
124 std::shared_ptr<ConverterInterface<uint8_t, int32_t>>( in GetV4L2Metadata()
157 std::multimap<int32_t, uint8_t> ae_mode_mapping = { in GetV4L2Metadata()
166 components.insert(V4L2ControlOrDefault<uint8_t>( in GetV4L2Metadata()
172 std::shared_ptr<ConverterInterface<uint8_t, int32_t>>( in GetV4L2Metadata()
[all …]

12345678910>>...66