Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 125) sorted by relevance

12345

/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/model/
DBaseContext.java62 public synchronized <T1, T2, T3> T3 addComponent(ComponentKey<T3> key, in addComponent() argument
64 return addComponent(key, () -> supplier.apply(arg1, arg2)); in addComponent()
80 public synchronized <T1, T2, T3> T3 addComponent(ComponentKey<T3> key, in addComponent() argument
86 return addComponent(key, () -> { in addComponent()
102 …public synchronized <T1, T2> T2 addComponent(ComponentKey<T2> key, Function<T1, T2> supplier, T1 a… in addComponent() argument
103 return addComponent(key, () -> supplier.apply(arg1)); in addComponent()
117 public synchronized <T1, T2> T2 addComponent(ComponentKey<T2> key, in addComponent() argument
122 return addComponent(key, () -> { in addComponent()
137 …public synchronized <T1> T1 addComponent(ComponentKey<T1> key, Ref<Boolean> newCreated, Supplier<T…
139 return addComponent(key, () -> {
[all …]
DComponentKey.java33 public ComponentKey(Class<T> key) { in ComponentKey() argument
34 Objects.requireNonNull(key); in ComponentKey()
35 this.componentType = key; in ComponentKey()
/interface/sdk-js/api/
D@ohos.data.storage.d.ts119 getSync(key: string, defValue: ValueType): ValueType;
120 get(key: string, defValue: ValueType, callback: AsyncCallback<ValueType>): void;
121 get(key: string, defValue: ValueType): Promise<ValueType>;
134 hasSync(key: string): boolean;
135 has(key: string, callback: AsyncCallback<boolean>): boolean;
136 has(key: string): Promise<boolean>;
152 putSync(key: string, value: ValueType): void;
153 put(key: string, value: ValueType, callback: AsyncCallback<void>): void;
154 put(key: string, value: ValueType): Promise<void>;
169 deleteSync(key: string): void;
[all …]
D@ohos.systemParameterEnhance.d.ts46 function getSync(key: string, def?: string): string;
61 function get(key: string, callback: AsyncCallback<string>): void;
77 function get(key: string, def: string, callback: AsyncCallback<string>): void;
93 function get(key: string, def?: string): Promise<string>;
108 function setSync(key: string, value: string): void;
124 function set(key: string, value: string, callback: AsyncCallback<void>): void;
140 function set(key: string, value: string): Promise<void>;
D@ohos.systemparameter.d.ts43 function getSync(key: string, def?: string): string;
55 function get(key: string, callback: AsyncCallback<string>): void;
68 function get(key: string, def: string, callback: AsyncCallback<string>): void;
81 function get(key: string, def?: string): Promise<string>;
92 function setSync(key: string, value: string): void;
105 function set(key: string, value: string, callback: AsyncCallback<void>): void;
118 function set(key: string, value: string): Promise<void>;
D@ohos.util.TreeMap.d.ts116 hasKey(key: K): boolean;
156 get(key: K): V;
240 set(key: K, value: V): Object;
260 remove(key: K): V;
298 getLowerKey(key: K): K;
320 getHigherKey(key: K): K;
378 replace(key: K, newValue: V): boolean;
410 forEach(callbackFn: (value?: V, key?: K, map?: TreeMap<K, V>) => void, thisArg?: Object): void;
D@ohos.data.preferences.d.ts883 get(key: string, defValue: ValueType, callback: AsyncCallback<ValueType>): void;
927 get(key: string, defValue: ValueType): Promise<ValueType>;
958 getSync(key: string, defValue: ValueType): ValueType;
1077 has(key: string, callback: AsyncCallback<boolean>): void;
1115 has(key: string): Promise<boolean>;
1144 hasSync(key: string): boolean;
1191 put(key: string, value: ValueType, callback: AsyncCallback<void>): void;
1238 put(key: string, value: ValueType): Promise<void>;
1269 putSync(key: string, value: ValueType): void;
1310 delete(key: string, callback: AsyncCallback<void>): void;
[all …]
D@ohos.util.HashMap.d.ts104 hasKey(key: K): boolean;
144 get(key: K): V;
188 set(key: K, value: V): Object;
208 remove(key: K): V;
282 replace(key: K, newValue: V): boolean;
314 forEach(callbackFn: (value?: V, key?: K, map?: HashMap<K, V>) => void, thisArg?: Object): void;
D@ohos.util.PlainArray.d.ts88 add(key: number, value: T): void;
144 has(key: number): boolean;
166 get(key: number): T;
188 getIndexOfKey(key: number): number;
270 remove(key: number): T;
D@ohos.util.LightWeightMap.d.ts106 hasKey(key: K): boolean;
186 get(key: K): V;
206 getIndexOfKey(key: K): number;
328 set(key: K, value: V): Object;
348 remove(key: K): V;
446 …forEach(callbackFn: (value?: V, key?: K, map?: LightWeightMap<K, V>) => void, thisArg?: Object): v…
D@ohos.util.LightWeightSet.d.ts148 has(key: T): boolean;
212 getIndexOf(key: T): number;
232 remove(key: T): T;
304 …forEach(callbackFn: (value?: T, key?: T, set?: LightWeightSet<T>) => void, thisArg?: Object): void;
D@ohos.ai.intelligentVoice.d.ts695 setParameter(key: string, value: string, callback: AsyncCallback<void>): void;
709 setParameter(key: string, value: string): Promise<void>;
722 getParameter(key: string, callback: AsyncCallback<string>): void;
735 getParameter(key: string): Promise<string>;
851 setParameter(key: string, value: string, callback: AsyncCallback<void>): void;
865 setParameter(key: string, value: string): Promise<void>;
878 getParameter(key: string, callback: AsyncCallback<string>): void;
891 getParameter(key: string): Promise<string>;
D@system.storage.d.ts38 key: string; property
99 key: string; property
198 key: string; property
D@ohos.util.TreeSet.d.ts232 getLowerValue(key: T): T;
256 getHigherValue(key: T): T;
322 forEach(callbackFn: (value?: T, key?: T, set?: TreeSet<T>) => void, thisArg?: Object): void;
D@ohos.util.d.ts1189 get(key: K): V | undefined;
1202 put(key: K, value: V): V;
1236 remove(key: K): V | undefined;
1252 afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void;
1264 contains(key: K): boolean;
1276 createDefault(key: K): V;
1535 get(key: K): V | undefined;
1558 put(key: K, value: V): V;
1615 remove(key: K): V | undefined;
1644 afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void;
[all …]
D@ohos.advertising.d.ts99 [key: string]: number | boolean | string | undefined;
139 [key: string]: number | boolean | string | undefined;
196 [key: string]: number | boolean | string | undefined;
D@ohos.account.appAccount.d.ts166 options: { [key: string]: any },
687 … setAssociatedData(name: string, key: string, value: string, callback: AsyncCallback<void>): void;
701 setAssociatedData(name: string, key: string, value: string): Promise<void>;
718 setCustomData(name: string, key: string, value: string, callback: AsyncCallback<void>): void;
735 setCustomData(name: string, key: string, value: string): Promise<void>;
993 getAssociatedData(name: string, key: string, callback: AsyncCallback<string>): void;
1006 getAssociatedData(name: string, key: string): Promise<string>;
1022 getCustomData(name: string, key: string, callback: AsyncCallback<string>): void;
1038 getCustomData(name: string, key: string): Promise<string>;
1054 getCustomDataSync(name: string, key: string): string;
[all …]
/interface/sdk_c/multimedia/media_foundation/
Dnative_avformat.h126 bool OH_AVFormat_SetIntValue(struct OH_AVFormat *format, const char *key, int32_t value);
138 bool OH_AVFormat_SetLongValue(struct OH_AVFormat *format, const char *key, int64_t value);
150 bool OH_AVFormat_SetFloatValue(struct OH_AVFormat *format, const char *key, float value);
162 bool OH_AVFormat_SetDoubleValue(struct OH_AVFormat *format, const char *key, double value);
174 bool OH_AVFormat_SetStringValue(struct OH_AVFormat *format, const char *key, const char *value);
187 bool OH_AVFormat_SetBuffer(struct OH_AVFormat *format, const char *key, const uint8_t *addr, size_t…
199 bool OH_AVFormat_GetIntValue(struct OH_AVFormat *format, const char *key, int32_t *out);
211 bool OH_AVFormat_GetLongValue(struct OH_AVFormat *format, const char *key, int64_t *out);
223 bool OH_AVFormat_GetFloatValue(struct OH_AVFormat *format, const char *key, float *out);
235 bool OH_AVFormat_GetDoubleValue(struct OH_AVFormat *format, const char *key, double *out);
[all …]
/interface/sdk-js/api/@internal/component/ets/
Dstate_management.d.ts153 get(key: string): string | undefined;
164 set(key: string, val: any): void;
183 delete(key: string): void;
Dui_extension_component.d.ts57 send(data: { [key: string]: Object }): void;
70 sendSync(data: { [key: string]: Object }): { [key: string]: Object };
185 callback: import('../api/@ohos.base').Callback<{ [key: string]: Object }>
Dcommon_ts_ets_api.d.ts1186 key: string;
1250 static EnvProp<S>(key: string, value: S): boolean;
1279 static envProp<S>(key: string, value: S): boolean;
1292 key: string;
1382 key: string;
1447 static PersistProp<T>(key: string, defaultValue: T): void;
1474 static persistProp<T>(key: string, defaultValue: T): void;
1485 static DeleteProp(key: string): void;
1504 static deleteProp(key: string): void;
1517 key: string;
/interface/sdk-js/build-tools/api_check_plugin/src/
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, { word, files });
/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/utils/
DResourceFileUtil.java40 for (String key : keys) { in getChooseTypes()
41 typeMap.put(key, resourceBundle.getString(key)); in getChooseTypes()
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/diff/
Ddiff.ts43 for (const key of oldSDKApiLocations.keys()) { constant
44 const apiLocation: string[] = oldSDKApiLocations.get(key) as string[];
47 if (!newSDKApiLocations.has(key)) {
63 newSDKApiLocations.delete(key);
66 for (const key of newSDKApiLocations.keys()) { constant
67 const locations: string[] = newSDKApiLocations.get(key) as string[];
178 oldApiInfoMap.forEach((apiInfo: ApiInfo, key: string) => {
179 if (!newApiInfoMap.has(key)) {
180 oldReduceNewMap.set(key, apiInfo);
184 newApiInfoMap.forEach((apiInfo: ApiInfo, key: string) => {
[all …]
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/src/
Dnaming_check.ts51 for (const [key, value] of lowercaseNamingMap) { constant
52 const prohibitedWordIndex: number = lowIdentifier.indexOf(key);
57 const internalWord: string = lowIdentifier.substr(prohibitedWordIndex, key.length);
88 for (const [key, value] of lowercaseNamingScenarioMap) { constant
89 const prohibitedWordIndex: number = lowIdentifier.indexOf(key);
91 const internalWord = lowIdentifier.substr(prohibitedWordIndex, key.length);

12345