/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | res_desc_test.cpp | 116 void TestKeyParam(KeyType keyType, int value, std::string expectStr) in TestKeyParam() 132 TestKeyParam(KeyType::LANGUAGES, 25966, "en"); 133 TestKeyParam(KeyType::LANGUAGES, 31336, "zh"); 135 TestKeyParam(KeyType::REGION, 21843, "US"); 136 TestKeyParam(KeyType::REGION, 17230, "CN"); 138 TestKeyParam(KeyType::DIRECTION, 0, VERTICAL); 139 TestKeyParam(KeyType::DIRECTION, 1, HORIZONTAL); 143 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_CAR, CAR_STR); 145 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_TV, TV_STR); 157 TestKeyParam(KeyType::COLORMODE, ColorMode::LIGHT, LIGHT_STR); [all …]
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | res_desc_test.cpp | 116 void TestKeyParam(KeyType keyType, int value, std::string expectStr) in TestKeyParam() 132 TestKeyParam(KeyType::LANGUAGES, 25966, "en"); 133 TestKeyParam(KeyType::LANGUAGES, 31336, "zh"); 135 TestKeyParam(KeyType::REGION, 21843, "US"); 136 TestKeyParam(KeyType::REGION, 17230, "CN"); 138 TestKeyParam(KeyType::DIRECTION, 0, VERTICAL); 139 TestKeyParam(KeyType::DIRECTION, 1, HORIZONTAL); 141 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PHONE, PHONE_STR); 143 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_CAR, CAR_STR); 144 TestKeyParam(KeyType::DEVICETYPE, DeviceType::DEVICE_PAD, PAD_STR); [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | key_manager.h | 66 KeyType type, bool needGenerateShield); 70 KeyType type); 78 int SetDirectoryElPolicy(unsigned int user, KeyType type, 81 int UpdateCeEceSeceKeyContext(uint32_t userId, KeyType type); 92 int RestoreUserKey(uint32_t userId, KeyType type); 95 std::string GetKeyDirByType(KeyType type); 96 int GenerateUserKeyByType(unsigned int user, KeyType type, 99 int TryToFixUserCeEceSeceKey(unsigned int userId, KeyType type, 118 bool HasElkey(uint32_t userId, KeyType type); 146 bool HashElxActived(unsigned int user, KeyType type); [all …]
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | res_desc.cpp | 69 if (type_ == KeyType::DEVICETYPE) { in GetDeviceTypeStr() 102 if (type_ == KeyType::COLORMODE) { in GetColorModeStr() 120 if (type_ == KeyType::INPUTDEVICE) { in GetInputDeviceStr() 131 if (type_ == KeyType::MCC) { in GetMccStr() 140 if (type_ == KeyType::MNC) { in GetMncStr() 148 if ((type_ == KeyType::LANGUAGES) || (type_ == KeyType::REGION) || (type_ == KeyType::SCRIPT)) { in ConvertToStr() 165 if (type_ == KeyType::DIRECTION) { in ConvertToStr() 168 if (type_ == KeyType::DEVICETYPE) { in ConvertToStr() 171 if (type_ == KeyType::COLORMODE) { in ConvertToStr() 177 if (type_ == KeyType::MCC) { in ConvertToStr() [all …]
|
H A D | hap_resource.cpp | 446 std::vector<bool> keyTypes(KeyType::KEY_TYPE_MAX - 1, false); in GetResourceLimitKeys() 469 if (keyParam->type_ < KeyType::KEY_TYPE_MAX && !keyTypes[typeValue]) { in GetLimitPathsKeys() 494 KeyType keyType = keyParams[i]->type_; in GetKeyParamsLocales() 495 if (keyType == KeyType::MCC || keyType == KeyType::MNC) { in GetKeyParamsLocales() 498 if (keyType == KeyType::LANGUAGES) { in GetKeyParamsLocales() 503 if (keyType == KeyType::SCRIPT) { in GetKeyParamsLocales() 508 if (keyType == KeyType::REGION) { in GetKeyParamsLocales()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/resource/ |
H A D | ace_res_config.cpp | 642 case KeyType::ORIENTATION: in GetConfigString() 646 case KeyType::DEVICETYPE: in GetConfigString() 649 case KeyType::RESOLUTION: in GetConfigString() 652 case KeyType::COLOR_MODE: in GetConfigString() 659 case KeyType::MCC: in GetConfigString() 662 case KeyType::MNC_SHORT_LEN: in GetConfigString() 665 case KeyType::MNC: in GetConfigString() 668 case KeyType::SCREENSHAPE: in GetConfigString() 671 case KeyType::LONGSCREEN: in GetConfigString() 914 case KeyType::MCC: in ParseConfig() [all …]
|
H A D | ace_res_key_parser.cpp | 159 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 = KeyType::RESOLUTION; in ParseResolution()
|
H A D | ace_res_data_struct.h | 25 enum class KeyType : int32_t { enum 39 KeyType keyType;
|
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/include/ |
H A D | tls_key.h | 44 EncodingFormat format = PEM, KeyType type = PRIVATE_KEY); 57 …void DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData… 58 …void DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData… 60 void SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio); 72 KeyType keyType_ = PUBLIC_KEY;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-events-key.md | 64 | type | [KeyType](ts-appendix-enums.md#keytype) | 按键的类型。 … 101 if (event.type === KeyType.Down) { 104 if (event.type === KeyType.Up) { 107 …this.text = 'KeyType:' + this.eventType + '\nkeyCode:' + event.keyCode + '\nkeyText:' + event.keyT… 136 if (event.type === KeyType.Down) { 139 if (event.type === KeyType.Up) { 149 …this.text = 'KeyType:' + this.eventType + '\nUnicode:' + event.unicode + '\nkeyCode:' + event.keyC…
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-common-events-device-input-event.md | 363 if (event.type === KeyType.Down) { 366 if (event.type === KeyType.Up) { 384 if (event.type === KeyType.Down) { 387 if (event.type === KeyType.Up) { 391 'KeyType:' + this.buttonType + '\n' + 412 2. 每个按键都有2次回调,分别对应KeyType.Down和KeyType.Up,表示按键被按下、然后抬起。 439 if (event.type === KeyType.Down) { 442 if (event.type === KeyType.Up) { 460 if (event.type === KeyType.Down) { 463 if (event.type === KeyType.Up) { [all …]
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
H A D | sandbox_json_manager.cpp | 46 typedef enum KeyType { enum 51 } KeyType; typedef 418 case KeyType::NUMBER: in CheckJsonElement() 420 case KeyType::STRING: in CheckJsonElement() 422 case KeyType::ARRAY: in CheckJsonElement() 424 case KeyType::BOOL: in CheckJsonElement() 440 if (!CheckJsonElement(APPINDEX, retentionJson, KeyType::NUMBER) || in FromJson() 442 !CheckJsonElement(TOKENID, retentionJson, KeyType::NUMBER) || in FromJson() 443 !CheckJsonElement(DOCURISET, retentionJson, KeyType::ARRAY) || in FromJson() 444 !CheckJsonElement(USERID, retentionJson, KeyType::NUMBER) || in FromJson() [all …]
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | res_desc.cpp | 27 if (type_ == KeyType::SCREEN_DENSITY) { in GetScreenDensityStr() 56 if (type_ == KeyType::DEVICETYPE) { in GetDeviceTypeStr() 84 if ((type_ == KeyType::LANGUAGES) || (type_ == KeyType::REGION) || (type_ == KeyType::SCRIPT)) { in ConvertToStr() 102 if (type_ == KeyType::DIRECTION) { in ConvertToStr() 105 if (type_ == KeyType::DEVICETYPE) { in ConvertToStr() 108 if (type_ == KeyType::SCREEN_DENSITY) { in ConvertToStr()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/key_mgr/inc/ |
H A D | sign_param.h | 26 typedef enum KeyType { enum 31 } KeyType; typedef 35 KeyType keyType;
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/ |
H A D | storage_daemon.h | 105 std::string GetNeedRestoreFilePathByType(int32_t userId, KeyType type); 106 int32_t PrepareUserDirsAndUpdateUserAuth(uint32_t userId, KeyType type, 112 int32_t RestoreOneUserKey(int32_t userId, KeyType type); 114 int32_t GetCryptoFlag(KeyType type, uint32_t &flags); 115 int32_t GenerateKeyAndPrepareUserDirs(uint32_t userId, KeyType type, 118 int32_t ActiveUserKeyAndPrepare(uint32_t userId, KeyType type,
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | global_utils.h | 30 typedef enum KeyType { enum 38 } KeyType; typedef 68 KeyType type;
|
H A D | res_common.h | 43 typedef enum KeyType { enum 55 } KeyType; typedef
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/ |
H A D | key_manager_mock.cpp | 88 int32_t KeyManager::SetDirectoryElPolicy(unsigned int user, KeyType type, in SetDirectoryElPolicy() 99 int KeyManager::GenerateUserKeyByType(unsigned int user, KeyType type, in GenerateUserKeyByType() 106 int KeyManager::ActiveCeSceSeceUserKey(unsigned int user, KeyType type, in ActiveCeSceSeceUserKey()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-events-key.md | 64 | type | [KeyType](ts-appendix-enums.md#keytype) | Key type. … 99 if (event.type === KeyType.Down) { 102 if (event.type === KeyType.Up) { 105 …this.text = 'KeyType:' + this.eventType + '\nkeyCode:' + event.keyCode + '\nkeyText:' + event.keyT… 133 if (event.type === KeyType.Down) { 136 if (event.type === KeyType.Up) { 146 …this.text = 'KeyType:' + this.eventType + '\nUnicode:' + event.unicode + '\nkeyCode:' + event.keyC…
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/interfaces/ |
H A D | counter.js | 1680 if (g18.type === KeyType.Down && 1686 if (g18.type === KeyType.Down && 2782 if (t9.type === KeyType.Down && 2788 if (t9.type === KeyType.Down && 2794 if (t9.type === KeyType.Down && 2799 if (t9.type === KeyType.Down && 2804 if (t9.type === KeyType.Down && 2808 if (t9.type === KeyType.Down && 2812 if (t9.type === KeyType.Down && 2925 if (b9.type === KeyType.Down && [all …]
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/ |
H A D | device_profile_storage_manager.cpp | 133 const std::string& key, KeyType keyType) in GenerateKey() 155 keys.emplace_back(GenerateKey(localUdid_, serviceId, KeyType::SERVICE)); in PutDeviceProfile() 162 keys.emplace_back(GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST)); in PutDeviceProfile() 211 key = GenerateKey(localUdid_, serviceId, KeyType::SERVICE); in GetDeviceProfile() 220 key = GenerateKey(queryUdid, serviceId, KeyType::SERVICE); in GetDeviceProfile() 261 std::string key = GenerateKey(udid, SERVICES, KeyType::SERVICE_LIST); in SetServiceType() 296 std::string servicesKey = GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST); in DeleteDeviceProfile() 299 std::string serviceKey = GenerateKey(localUdid_, serviceId, KeyType::SERVICE); in DeleteDeviceProfile() 511 std::string servicesKey = GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST); in FlushProfileItems()
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/source/ |
H A D | counter.ets | 1830 if (event.type === KeyType.Down && 1835 if (event.type === KeyType.Down && 1840 if (event.type === KeyType.Down && 1845 if (event.type === KeyType.Down && 1850 if (event.type === KeyType.Down && 1855 if (event.type === KeyType.Down && 1959 if (event.type === KeyType.Down && 1965 if (event.type === KeyType.Down && 1971 if (event.type === KeyType.Down && 1976 if (event.type === KeyType.Down && [all …]
|
/ohos5.0/foundation/arkui/advanced_ui_component/source/TabTitleBar/ |
H A D | TabTitleBar.ets | 221 if (event.type === KeyType.Down) { 224 if (event.type === KeyType.Up) { 313 if (event.type === KeyType.Down) { 316 if (event.type === KeyType.Up) { 350 if (event.type === KeyType.Down) { 353 if (event.type === KeyType.Up) { 456 if (event.type === KeyType.Down) { 459 if (event.type === KeyType.Up) {
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | key_manager.cpp | 313 bool KeyManager::HasElkey(uint32_t userId, KeyType type) in HasElkey() 604 int KeyManager::GenerateIntegrityDirs(int32_t userId, KeyType type) in GenerateIntegrityDirs() 650 int KeyManager::GenerateUserKeyByType(unsigned int user, KeyType type, in GenerateUserKeyByType() 886 KeyType type) in UpdateCeEceSeceUserAuth() 988 std::string KeyManager::GetKeyDirByType(KeyType type) in UpdateCeEceSeceUserAuth() 1090 KeyType type, in UpdateCeEceSeceUserAuth() 1143 bool KeyManager::HashElxActived(unsigned int user, KeyType type) in UpdateCeEceSeceUserAuth() 1170 KeyType type, in UpdateCeEceSeceUserAuth() 1627 int KeyManager::UpdateCeEceSeceKeyContext(uint32_t userId, KeyType type) in UpdateCeEceSeceUserAuth() 1788 KeyType keyType, in UpdateCeEceSeceUserAuth() [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-events-device-input-event.md | 363 if (event.type === KeyType.Down) { 366 if (event.type === KeyType.Up) { 370 'KeyType:' + this.buttonType + '\n' + 384 if (event.type === KeyType.Down) { 387 if (event.type === KeyType.Up) { 391 'KeyType:' + this.buttonType + '\n' + 439 if (event.type === KeyType.Down) { 442 if (event.type === KeyType.Up) { 460 if (event.type === KeyType.Down) { 463 if (event.type === KeyType.Up) { [all …]
|