Home
last modified time | relevance | path

Searched refs:key (Results 1 - 25 of 52) sorted by relevance

123

/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/model/
H A DBaseContext.java53 * @param key key
62 public synchronized <T1, T2, T3> T3 addComponent(ComponentKey<T3> key, in addComponent() argument
64 return addComponent(key, () -> supplier.apply(arg1, arg2)); in addComponent()
70 * @param key key
80 public synchronized <T1, T2, T3> T3 addComponent(ComponentKey<T3> key, in addComponent() argument
86 return addComponent(key, () -> { in addComponent()
95 * @param key key
102 addComponent(ComponentKey<T2> key, Function<T1, T2> supplier, T1 arg1) addComponent() argument
117 addComponent(ComponentKey<T2> key, Ref<Boolean> newCreated, Function<T1, T2> supplier, T1 arg1) addComponent() argument
137 addComponent(ComponentKey<T1> key, Ref<Boolean> newCreated, Supplier<T1> supplier) addComponent() argument
153 addComponent(ComponentKey<T1> key, Supplier<T1> supplier) addComponent() argument
174 getComponent(ComponentKey<T1> key) getComponent() argument
188 removeComponent(ComponentKey<T1> key) removeComponent() argument
206 updateComponent(ComponentKey<T3> key, BiFunction<T1, T2, T3> supplier, T1 arg1, T2 arg2) updateComponent() argument
223 updateComponent(ComponentKey<T2> key, Function<T1, T2> supplier, T1 arg1) updateComponent() argument
235 updateComponent(ComponentKey<T1> key, Supplier<T1> supplier) updateComponent() argument
[all...]
H A DComponentKey.java31 * @param key key
33 public ComponentKey(Class<T> key) { in ComponentKey() argument
34 Objects.requireNonNull(key); in ComponentKey()
35 this.componentType = key; in ComponentKey()
/interface/sdk_c/multimedia/media_foundation/
H A Dnative_avformat.h139 * @param key key to write data
142 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
146 bool OH_AVFormat_SetIntValue(struct OH_AVFormat *format, const char *key, int32_t value);
152 * @param key key to write data
155 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
159 bool OH_AVFormat_SetLongValue(struct OH_AVFormat *format, const char *key, int64_t value);
165 * @param key key t
[all...]
/interface/sdk_c/BasicServicesKit/commonevent/
H A Doh_commonevent.h245 * @brief Check whether the parameters contains a key.
248 * @param key Indicates the key of parameter.
252 bool OH_CommonEvent_HasKeyInParameters(const CommonEvent_Parameters* para, const char* key);
255 * @brief Get int data from parameters data by key.
258 * @param key Indicates the key of parameters data.
260 * @return Returns the int data of the key in the parameters.
263 int OH_CommonEvent_GetIntFromParameters(const CommonEvent_Parameters* para, const char* key, const int defaultValue);
266 * @brief Get int array data from parameters data by key
[all...]
/interface/sdk_c/distributeddatamgr/preferences/include/
H A Doh_preferences.h20 * @brief Provides APIs for processing data in the form of key-value (KV) pairs.
22 * The key is of the string type, and the value can be a number, a string, a boolean value.
103 * @brief Obtains the integer value in a Preferences object based on the given key.
106 * @param key Pointer to the key of the value to obtain.
113 * {@link PREFERENCES_ERROR_KEY_NOT_FOUND} indicates the key does not exist.
117 int OH_Preferences_GetInt(OH_Preferences *preference, const char *key, int *value);
120 * @brief Obtains the Boolean value in a Preferences object based on the given key.
123 * @param key Pointer to the key o
[all...]
/interface/sdk-js/build-tools/api_check_plugin/src/
H A Dcheck_naming.js60 for (const [key, value] of lowercaseNamingMap) {
61 const prohibitedWordIndex = lowIdentifier.indexOf(key);
66 const internalWord = node.getText().substr(prohibitedWordIndex, key.length);
107 for (const [key, value] of lowercaseNamingScenarioMap) {
108 const prohibitedWordIndex = lowIdentifier.indexOf(key);
113 const internalWord = node.getText().substr(prohibitedWordIndex, key.length);
125 const key = item.badWord.toLowerCase();
127 lowercaseNamingMap.set(key, { badWord, suggestion, ignore });
135 const key = item.word.toLowerCase();
137 lowercaseNamingScenarioMap.set(key, { wor
[all...]
/interface/sdk_c/tee/include/
H A Dtee_hw_ext_api_legacy.h49 * @brief Derive key from device root key.
53 * @param key [OUT] Indicates the pointer where key is saved.
54 * @param key_size [IN] Indicates the size of the key, which must be integer times of 16.
63 TEE_Result TEE_EXT_DeriveTARootKey(const uint8_t *salt, uint32_t size, uint8_t *key, uint32_t key_size);
66 * @brief Derive key from device root key by HUK2.
67 * @attention If the device does not support HUK2, the key is derived by HUK.
71 * @param key [OU
[all...]
H A Dtee_hw_ext_api.h72 * @brief Derive key from device rootkey and UUID of the current task for iteration.
75 * @param key [OUT] Indicates the pointer where key is saved.
85 TEE_Result tee_ext_derive_key_iter(const struct meminfo_t *salt, struct meminfo_t *key,
/interface/sdk_c/distributeddatamgr/udmf/include/
H A Dudmf.h51 * @brief The key minimum memory space size of Unified Data.
623 * @brief Get integer value by key from the {@link OH_UdmfProperty}.
626 * @param key Represents key-value pair's key
628 * @return Returns value associated with the key in successfully, otherwise return defaultValue.
633 const char* key, int defaultValue);
639 * @param key Represents key-value pair's key
[all...]
/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/utils/
H A DResourceFileUtil.java40 for (String key : keys) { in getChooseTypes()
41 typeMap.put(key, resourceBundle.getString(key)); in getChooseTypes()
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/diff/
H A Ddiff_processor_node.py104 key = 1
108 member["name"] = '{}{}'.format(name, key)
109 key += 1
343 for key in all_key_result:
344 if old_member_result.get(key) is None:
346 new_member_content = new_member_result.get(key)['node_content']['content']
349 diff_info = wrap_diff_info(old_member_result.get(key), new_member_result.get(key),
352 elif new_member_result.get(key) is None:
353 old_member_content = old_member_result.get(key)['node_conten
[all...]
H A Ddiff_file.py63 key = 0
67 if 0 == key:
81 key = 1
332 for key in all_key_list:
333 diff_info_list.extend(judgment_entrance(old_file_result_map.get(key), new_file_result_map.get(key)))
/interface/sdk_c/inputmethod/include/
H A Dinputmethod_private_command_capi.h56 * @param key The key of the private command.
57 * @param keyLength The length of the key.
62 InputMethod_PrivateCommand *OH_PrivateCommand_Create(char key[], size_t keyLength);
71 * @brief Set key value into {@link InputMethod_PrivateCommand}.
74 * @param key Represents key value.
75 * @param keyLength Represents key length.
82 InputMethod_ErrorCode OH_PrivateCommand_SetKey(InputMethod_PrivateCommand *command, char key[], size_t keyLength);
123 * @brief Get key valu
[all...]
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/
H A Dgenerating_tables.py35 key = 0
38 key = 1
41 if key == 0:
53 key = 0
57 key = 1
59 if key == 0:
H A Dparse_include.py263 def processing_special_node(cursor, data, key, directory_path): # 处理需要特殊处理的节点
264 if key == 0:
282 if key == 0:
358 key = 0
369 if 0 == key:
371 key = 1
377 def parser_data_assignment(cursor, current_file, directory_path, comment=None, key=0):
380 if key == 0:
399 processing_special_node(cursor, data, key, directory_path) # 节点处理
405 def ast_to_dict(cursor, current_file, last_data, directory_path, comment=None, key
[all...]
/interface/sdk_c/multimedia/image_effect/
H A Dimage_effect_filter.h56 * @brief Define the brightness filter name that contain the parameter matched with the key refer to
66 * @brief Define the contrast filter name that contain the parameter matched with the key refer to
76 * @brief Define the crop filter name that contain the parameter matched with the key refer to
86 * @brief Define the key that means intensity
94 * @brief Define the key that means region and matches the value ref to {@link ImageEffect_Any} contain the data type of
524 * @param key Indicates the key of the filter
525 * @param value Indicates the value corresponding to the key of the filter
529 typedef bool (*OH_EffectFilterDelegate_SetValue)(OH_EffectFilter *filter, const char *key,
650 * @param key Indicate
[all...]
/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/action/view/
H A DConstString.java60 * @param key key
63 public static String get(@NotNull String key) { in get() argument
67 return properties.getProperty(key); in get()
/interface/sdk-js/build-tools/api_diff/src/
H A Dreporter.js250 const key = `${api.dtsPath}#${this.formatApiText(api.rawText)}`;
251 if (this.diffs.get(key)) {
252 this.diffs.get(key).push(api);
254 this.diffs.set(key, [api]);
/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/action/
H A DUpdateCheckService.java91 * @param key key
96 public synchronized <T1> T1 addComponent(ComponentKey<T1> key, Function<? super Project, T1> supplier) { in addComponent() argument
97 return super.addComponent(key, supplier, this.project); in addComponent()
/interface/sdk_c/CryptoArchitectureKit/
H A Dcrypto_asym_key.h20 * @brief Describe the features provided by the openHarmony asymmetric key related interface for applications.
46 * @brief Define the key pair structure.
60 * @brief Define the asymmetric key parameter types.
71 /** Indicates the DSA private key. */
73 /** Indicates the DSA public key. */
90 /** Indicates the private value of the ECC private key. */
92 /** Indicates the affine x-coordinate of a point, which is the public point of an ECC public key. */
94 /** Indicates the affine y-coordinate of a point, which is the public point of an ECC public key. */
114 /** Indicates the number of bits of the private key length used in the DH algorithm. */
116 /** Indicates the private value of the DH private key
[all...]
/interface/sdk_c/build-tools/capi_parser/src/bin/
H A Dwrite_md.py30 kit_list = sorted(result_info_list, key=lambda obj: obj.kit_name)
59 file_list = sorted(result_info_list_kit, key=lambda obj: obj.api_file_path)
83 sorted_by_type_list = sorted(result_info_list_file, key=lambda obj: obj.diff_type.name)
/interface/sdk_c/security/huks/include/
H A Dnative_huks_api.h23 * @brief Describes the OpenHarmony Universal KeyStore (HUKS) capabilities, including key management and
62 * @brief Generates a key.
64 * @param keyAlias Indicates the pointer to the alias of the key to generate.
65 * The alias must be unique in the process of the service. Otherwise, the key will be overwritten.
66 * @param paramSetIn Indicates the pointer to the parameter set for generating the key.
67 * @param paramSetOut Indicates the pointer to a temporary key generated. If the generated key is
75 * {@link OH_Huks_ErrCode#OH_HUKS_ERR_CODE_INVALID_CRYPTO_ALG_ARGUMENT} 12000003 - If the key argument
77 * {@link OH_Huks_ErrCode#OH_HUKS_ERR_CODE_ITEM_NOT_EXIST} 12000011 - If the base key file is not exit.
79 * get key argumen
[all...]
/interface/sdk_c/multimedia/image_framework/include/image/
H A Dimage_common.h127 * @brief Defines the property string (in key-value format) of the image source.
218 * @param key The property's key.
222 * {@link IMAGE_BAD_PARAMETER} metadata is nullptr, or key is nullptr, or value is nullptr.
227 Image_ErrorCode OH_PictureMetadata_GetProperty(OH_PictureMetadata *metadata, Image_String *key, Image_String *value);
233 * @param key The property's key.
237 * {@link IMAGE_BAD_PARAMETER} metadata is nullptr, or key is nullptr, or value is nullptr.
242 Image_ErrorCode OH_PictureMetadata_SetProperty(OH_PictureMetadata *metadata, Image_String *key, Image_String *value);
H A Dimage_source_native.h425 * @param key Indicates a pointer to the property. For details, see {@link Image_String}., key is an exif constant.
432 Image_ErrorCode OH_ImageSourceNative_GetImageProperty(OH_ImageSourceNative *source, Image_String *key,
438 * @param key Indicates a pointer to the property. For details, see {@link Image_String}., key is an exif constant.
444 Image_ErrorCode OH_ImageSourceNative_ModifyImageProperty(OH_ImageSourceNative *source, Image_String *key,
/interface/sdk_c/graphic/graphic_2d/native_window/
H A Dexternal_window.h358 OHHDRMetadataKey key; member
638 * @param key Indicates the enum value to <b>OHHDRMetadataKey</b>
646 int32_t OH_NativeWindow_NativeWindowSetMetaDataSet(OHNativeWindow *window, uint32_t sequence, OHHDRMetadataKey key,
838 * {@link NATIVE_ERROR_UNSUPPORTED} 50102000 - Unsupported metadata key.
857 * {@link NATIVE_ERROR_UNSUPPORTED} 50102000 - Unsupported metadata key.

Completed in 16 milliseconds

123