Home
last modified time | relevance | path

Searched refs:keyType (Results 1 - 25 of 53) sorted by relevance

123

/foundation/communication/dsoftbus/core/authentication/src/virtual/
H A Dauth_device_common_key_virtual.c24 void AuthUpdateCreateTime(const char *udidHash, int32_t keyType, bool isServer) in AuthUpdateCreateTime() argument
27 (void)keyType; in AuthUpdateCreateTime()
44 int32_t AuthFindDeviceKey(const char *udidHash, int32_t keyType, AuthDeviceKeyInfo *deviceKey) in AuthFindDeviceKey() argument
47 (void)keyType; in AuthFindDeviceKey()
82 void AuthUpdateKeyIndex(const char *udidHash, int32_t keyType, int64_t index, bool isServer) in AuthUpdateKeyIndex() argument
85 (void)keyType; in AuthUpdateKeyIndex()
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_device_common_key.h35 int32_t keyType; member
43 void AuthUpdateCreateTime(const char *udidHash, int32_t keyType, bool isServer);
46 int32_t AuthFindDeviceKey(const char *udidHash, int32_t keyType, AuthDeviceKeyInfo *deviceKey);
47 void AuthUpdateKeyIndex(const char *udidHash, int32_t keyType, int64_t index, bool isServer);
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_map_type.h28 inline void SetKeyType(const AutoPtr<ASTType> &keyType) in SetKeyType() argument
30 keyType_ = keyType; in SetKeyType()
/foundation/ability/idl_tool/ast/
H A Dast_map_type.h27 void SetKeyType(ASTType* keyType) in SetKeyType() argument
29 keyType_ = keyType; in SetKeyType()
/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_key_parser.cpp159 keyParam.keyType = KeyType::MCC; in ParseMcc()
173 keyParam.keyType = KeyType::MNC; in ParseMnc()
175 keyParam.keyType = KeyType::MNC_SHORT_LEN; in ParseMnc()
188 keyParam.keyType = KeyType::SCREENSHAPE; in ParseScreenShape()
201 keyParam.keyType = KeyType::LONGSCREEN; in ParseLongScreen()
214 keyParam.keyType = KeyType::ORIENTATION; in ParseOrientation()
227 keyParam.keyType = KeyType::COLOR_MODE; in ParseColorMode()
240 keyParam.keyType = KeyType::DECLARATIVE_COLOR_MODE; in ParseDeclarativeColorMode()
253 keyParam.keyType = KeyType::DEVICETYPE; in ParseDeviceType()
266 keyParam.keyType in ParseResolution()
[all...]
H A Dace_res_data_struct.h39 KeyType keyType; member
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp441 bool GetEventType(napi_env env, napi_callback_info info, sptr<KeyEventMonitorInfo> event, std::string &keyType) in GetEventType() argument
478 keyType = eventType; in GetEventType()
479 if (keyType != SUBSCRIBE_TYPE && keyType != HOTKEY_SUBSCRIBE_TYPE) { in GetEventType()
494 std::string keyType; in JsOn() local
506 if (!GetEventType(env, info, event, keyType)) { in JsOn()
510 event->name = keyType; in JsOn()
511 if (keyType == HOTKEY_SUBSCRIBE_TYPE) { in JsOn()
532 std::string keyType; in JsOff() local
533 if (!GetEventType(env, info, event, keyType)) { in JsOff()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp242 uint32_t keyType = GetTypeFromDir(); in StoreKey() local
243 if (keyType == TYPE_EL1 || keyType == TYPE_GLOBAL_EL1) { in StoreKey()
255 if (!EncryptEceSece(auth, keyType, keyCtx)) { in StoreKey()
450 bool BaseKey::EncryptEceSece(const UserAuth &auth, const uint32_t keyType, KeyContext &keyCtx) in StoreKey() argument
465 if (keyType == TYPE_EL3 || keyType == TYPE_EL4) { in StoreKey()
625 bool BaseKey::DoRestoreKeyCeEceSece(const UserAuth &auth, const std::string &path, const uint32_t keyType) in StoreKey() argument
649 return DecryptReal(auth, keyType, ctxNone); in StoreKey()
685 uint32_t keyType in StoreKey() local
729 DecryptReal(const UserAuth &auth, const uint32_t keyType, KeyContext &keyCtx) StoreKey() argument
[all...]
H A Drecover_manager.cpp268 bool RecoveryManager::InstallKeyDescToKeyring(size_t keyType, const KeyBlob &key2Blob, const KeyBlob &keyDesc) in InstallKeyDescToKeyring() argument
270 if (keyType == TYPE_EL3 || keyType == TYPE_EL4) { in InstallKeyDescToKeyring()
272 if (keyType == TYPE_EL3) { in InstallKeyDescToKeyring()
H A Dkey_manager.cpp1238 const std::vector<uint8_t> &token, KeyType keyType, in UpdateCeEceSeceUserAuth()
1250 LOGE("Restore el failed, type: %{public}u", keyType); in UpdateCeEceSeceUserAuth()
1255 if (TryToFixUserCeEceSeceKey(user, keyType, token, secret) != E_OK) { in UpdateCeEceSeceUserAuth()
1256 LOGE("TryToFixUserCeEceSeceKey elx failed, type %{public}u", keyType); in UpdateCeEceSeceUserAuth()
1260 std::string NEED_UPDATE_PATH = GetKeyDirByUserAndType(user, keyType) + PATH_LATEST + SUFFIX_NEED_UPDATE; in UpdateCeEceSeceUserAuth()
1261 std::string NEED_RESTORE_PATH = GetKeyDirByUserAndType(user, keyType) + PATH_LATEST + SUFFIX_NEED_RESTORE; in UpdateCeEceSeceUserAuth()
1881 KeyType keyType, in UpdateCeEceSeceUserAuth()
1901 if (UpdateCeEceSeceUserAuth(userId, userTokenSecret, keyType, false) != E_OK) { in UpdateCeEceSeceUserAuth()
1903 if (UpdateCeEceSeceUserAuth(userId, userTokenSecret, keyType) != E_OK) { in UpdateCeEceSeceUserAuth()
1908 if (UpdateCeEceSeceKeyContext(userId, keyType) ! in UpdateCeEceSeceUserAuth()
1237 ActiveElXUserKey(unsigned int user, const std::vector<uint8_t> &token, KeyType keyType, const std::vector<uint8_t> &secret, std::shared_ptr<BaseKey> elKey) UpdateCeEceSeceUserAuth() argument
1880 TryToFixUserCeEceSeceKey(unsigned int userId, KeyType keyType, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) UpdateCeEceSeceUserAuth() argument
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dbase_key.h101 bool DoRestoreKeyCeEceSece(const UserAuth &auth, const std::string &path, const uint32_t keyType);
108 bool EncryptEceSece(const UserAuth &auth, const uint32_t keyType, KeyContext &keyCtx);
110 bool DecryptReal(const UserAuth &auth, const uint32_t keyType, KeyContext &keyCtx);
H A Drecover_manager.h93 bool InstallKeyDescToKeyring(size_t keyType, const KeyBlob &key2Blob, const KeyBlob &keyDesc);
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dvirtual_input_device_test.cpp47 KeyboardType keyType { KeyboardType::KEYBOARD_TYPE_NONE };
48 auto keyboardCallback = [&keyType] (int32_t keyboardType) {
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_le.h351 * @param[in] keyType remote encryption key type
355 int GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType);
362 * @param[in] keyType local encryption key type
366 int GAP_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType);
H A Dgap_le_sec.c533 if (deviceInfo->keyType == LE_KEY_TYPE_AUTHENTICATION) { in GapLeEncryptionComplete()
571 int GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) in GAP_LeRemoteEncryptionKeyRsp() argument
573 LOG_INFO("%{public}s:" BT_ADDR_FMT "accept:%hhu keyType:%hhu", in GAP_LeRemoteEncryptionKeyRsp()
574 __FUNCTION__, BT_ADDR_FMT_OUTPUT(addr->addr), accept, keyType); in GAP_LeRemoteEncryptionKeyRsp()
587 deviceInfo->keyType = keyType; in GAP_LeRemoteEncryptionKeyRsp()
596 if (keyType == LE_KEY_TYPE_AUTHENTICATION) { in GAP_LeRemoteEncryptionKeyRsp()
617 int GAP_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) in GAP_LeLocalEncryptionKeyRsp() argument
619 LOG_INFO("%{public}s:" BT_ADDR_FMT "accept:%hhu keyType:%hhu", in GAP_LeLocalEncryptionKeyRsp()
620 __FUNCTION__, BT_ADDR_FMT_OUTPUT(addr->addr), accept, keyType); in GAP_LeLocalEncryptionKeyRsp()
[all...]
H A Dgap.h249 * @param[in] keyType link key type
253 int GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType);
H A Dgap_le_if.c140 uint8_t keyType; member
1177 info->result = GAP_LeRemoteEncryptionKeyRsp(info->addr, info->accept, info->encKey, info->keyType); in GapLeRemoteEncryptionKeyRspTask()
1180 int GAPIF_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey remoteEncKey, uint8_t keyType) in GAPIF_LeRemoteEncryptionKeyRsp() argument
1182 LOG_INFO("%{public}s: " BT_ADDR_FMT " accept:%hhu keyType:%hhu", in GAPIF_LeRemoteEncryptionKeyRsp()
1183 __FUNCTION__, BT_ADDR_FMT_OUTPUT(addr->addr), accept, keyType); in GAPIF_LeRemoteEncryptionKeyRsp()
1194 ctx->keyType = keyType; in GAPIF_LeRemoteEncryptionKeyRsp()
1208 info->result = GAP_LeLocalEncryptionKeyRsp(info->addr, info->accept, info->encKey, info->keyType); in GapLeLocalEncryptionKeyRspTask()
1211 int GAPIF_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey localEncKey, uint8_t keyType) in GAPIF_LeLocalEncryptionKeyRsp() argument
1213 LOG_INFO("%{public}s: " BT_ADDR_FMT " accept:%hhu keyType in GAPIF_LeLocalEncryptionKeyRsp()
[all...]
H A Dgap_if.c143 uint8_t keyType; member
926 info->result = GAP_LinkKeyRsp(info->addr, info->accept, info->linkKey, info->keyType); in GapLinkKeyRspTask()
929 int GAPIF_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) in GAPIF_LinkKeyRsp() argument
932 "%{public}s: " BT_ADDR_FMT " accept:%hhu keyType:%hhu", in GAPIF_LinkKeyRsp()
933 __FUNCTION__, BT_ADDR_FMT_OUTPUT(addr->addr), accept, keyType); in GAPIF_LinkKeyRsp()
944 ctx->keyType = keyType; in GAPIF_LinkKeyRsp()
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/
H A Dsa_code_emitter.cpp194 AutoPtr<ASTType> keyType = (static_cast<ASTMapType*>(astType.Get()))->GetKeyType(); in ResolveDirectory() local
196 AutoPtr<SaTypeEmitter> keyEmitter = GetTypeEmitter(keyType); in ResolveDirectory()
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dgap_if.h192 const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context);
441 * @param[in] keyType link key type
446 const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType);
H A Dgap_le_if.h410 void (*lePairComplete)(const BtAddr *addr, uint8_t result, uint8_t keyType, void *context);
748 * @param[in] keyType remote encryption key type
753 const BtAddr *addr, uint8_t accept, LeEncKey remoteEncKey, uint8_t keyType);
760 * @param[in] keyType local encryption key type
765 const BtAddr *addr, uint8_t accept, LeEncKey localEncKey, uint8_t keyType);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_security.h87 static void LePairComplete(const BtAddr *addr, uint8_t result, uint8_t keyType, void *context);
/foundation/deviceprofile/device_info_manager/old/services/core/include/dbstorage/
H A Ddevice_profile_storage_manager.h73 std::string GenerateKey(const std::string& udid, const std::string& key, KeyType keyType);
/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_policy_server.cpp263 bool AudioPolicyServer::MaxOrMinVolumeOption(const int32_t &volLevel, const int32_t keyType, in MaxOrMinVolumeOption() argument
266 bool volLevelCheck = (keyType == OHOS::MMI::KeyEvent::KEYCODE_VOLUME_UP) ? in MaxOrMinVolumeOption()
285 int32_t AudioPolicyServer::RegisterVolumeKeyEvents(const int32_t keyType) in RegisterVolumeKeyEvents() argument
287 if ((keyType != OHOS::MMI::KeyEvent::KEYCODE_VOLUME_UP) && (keyType != OHOS::MMI::KeyEvent::KEYCODE_VOLUME_DOWN)) { in RegisterVolumeKeyEvents()
288 AUDIO_ERR_LOG("VolumeKeyEvents: invalid key type : %{public}d", keyType); in RegisterVolumeKeyEvents()
292 (keyType == OHOS::MMI::KeyEvent::KEYCODE_VOLUME_UP) ? "up" : "down"); in RegisterVolumeKeyEvents()
301 keyOption->SetFinalKey(keyType); in RegisterVolumeKeyEvents()
306 (keyType == OHOS::MMI::KeyEvent::KEYCODE_VOLUME_UP) ? "up" : "down"); in RegisterVolumeKeyEvents()
314 if (keyType in RegisterVolumeKeyEvents()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp1687 KeyType keyType = EL1_KEY; in HWTEST_F() local
1693 auto ret = KeyManager::GetInstance()->GenerateUserKeyByType(userId, keyType, badToken, badSecret); in HWTEST_F()
1708 KeyType keyType = EL1_KEY; in HWTEST_F() local
1714 auto ret = KeyManager::GetInstance()->GenerateUserKeyByType(userId, keyType, badToken, badSecret); in HWTEST_F()
1718 std::string elPath = KeyManager::GetInstance()->GetKeyDirByType(keyType); in HWTEST_F()
1720 ret = KeyManager::GetInstance()->GenerateUserKeyByType(userId, keyType, badToken, badSecret); in HWTEST_F()
1724 elPath = KeyManager::GetInstance()->GetKeyDirByType(keyType); in HWTEST_F()
1728 ret = KeyManager::GetInstance()->GenerateUserKeyByType(userId, keyType, badToken, badSecret); in HWTEST_F()
1745 KeyType keyType = EL2_KEY; in HWTEST_F() local
1748 auto ret = KeyManager::GetInstance()->UpdateCeEceSeceUserAuth(userId, userTokenSecret, keyType, fals in HWTEST_F()
[all...]

Completed in 23 milliseconds

123