Home
last modified time | relevance | path

Searched refs:hton (Results 1 – 8 of 8) sorted by relevance

/aosp12/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
H A Dconfirmationui_utils.h193 inline static IntType hton(const IntType& value) {
206 inline static IntType hton(const IntType& value) { return value; }
210 inline IntType hton(const IntType& value) {
211 return choose_hton<IntType, __BYTE_ORDER__>::hton(value);
217 return choose_hton<IntType, __BYTE_ORDER__>::hton(value);
/aosp12/system/keymaster/tests/
H A Dkeymaster_enforcement_test.cpp589 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
612 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
641 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
665 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
692 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
721 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
750 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
773 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()
827 token.timestamp = hton(kmen.current_time()); in TEST_F()
852 token.timestamp = hton(static_cast<uint64_t>(kmen.current_time())); in TEST_F()
[all …]
/aosp12/system/keymaster/km_openssl/
H A Dckdf.cpp48 const uint32_t net_order_L = hton(L); in DEFINE_OPENSSL_OBJECT_POINTER()
77 uint32_t net_order_i = hton(i); in DEFINE_OPENSSL_OBJECT_POINTER()
/aosp12/system/keymaster/ng/
H A DKeyMintUtils.cpp26 using keymaster::hton;
119 pos = copy_bytes_to_iterator(hton(static_cast<uint32_t>(token->authenticatorType)), pos); in authToken2AidlVec()
120 pos = copy_bytes_to_iterator(hton(token->timestamp.milliSeconds), pos); in authToken2AidlVec()
/aosp12/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
H A DGenericOperation.h136 bytes_cast(hton(secureInputToken.authenticatorType)), in deliverSecureInputEvent()
137 bytes_cast(hton(secureInputToken.timestamp))); in deliverSecureInputEvent()
/aosp12/system/teeui/libteeui/include/teeui/
H A Dutils.h144 inline static IntType hton(const IntType& value) {
156 inline static IntType hton(const IntType& value) { return value; }
159 template <typename IntType> inline IntType hton(const IntType& value) {
160 return choose_hton<IntType, __BYTE_ORDER__>::hton(value);
165 return choose_hton<IntType, __BYTE_ORDER__>::hton(value);
/aosp12/hardware/interfaces/confirmationui/1.0/vts/functional/
H A DVtsHalConfirmationUIV1_0TargetTest.cpp120 toBytes(support::hton(auth_token.authenticatorType)), //
121 toBytes(support::hton(auth_token.timestamp))); //
/aosp12/system/keymaster/include/keymaster/
H A Dandroid_keymaster_utils.h73 template <typename T> T hton(T t) { in hton() function