Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 112) sorted by relevance

12345

/developtools/ace_ets2bundle/
Dbuild_ets_loader_library.py68 options = parser.parse_args()
69 return options
78 options = parse_args()
80 options.node, options.babel_js, options.ets_loader_src_dir
82 build_cmd.extend(['--out-dir', options.output_dir])
84 build_cmd.extend(['--config-file', options.babel_config_js])
85 depfile_deps = [options.node, options.babel_js, options.babel_config_js]
86 depfile_deps.extend(build_utils.get_all_files(options.ets_loader_src_dir))
88 uglify_cmd = [options.node, options.uglify_source_js, options.output_dir]
89 depfile_deps.append(options.uglify_source_js)
[all …]
/developtools/ace_js2bundle/
Dbuild_ace_loader_library.py47 options = parser.parse_args()
48 return options
57 options = parse_args()
59 options.node, options.babel_js, options.ace_loader_src_dir
61 build_cmd.extend(['--out-dir', options.output_dir])
62 build_cmd.extend(['--config-file', options.babel_config_js])
63 depfile_deps = [options.node, options.babel_js, options.babel_config_js]
64 depfile_deps.extend(build_utils.get_all_files(options.ace_loader_src_dir))
66 copy_cmd = [options.node, options.module_source_js, options.output_dir]
67 depfile_deps.append(options.module_source_js)
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/adapter/
DLocalizationAdapter.java62 private final Options options; field in LocalizationAdapter
79 public LocalizationAdapter(Options options) { in LocalizationAdapter() argument
80 this.options = options; in LocalizationAdapter()
107 return options; in getOptions()
118 keyStore = options.getString(Options.ISSUER_KEY_STORE_FILE, ""); in initKeyStore()
119 … keyStoreHelper = new KeyStoreHelper(keyStore, options.getChars(Options.ISSUER_KEY_STORE_RIGHTS)); in initKeyStore()
121 keyStore = options.getString(Options.KEY_STORE_FILE, ""); in initKeyStore()
122 … keyStoreHelper = new KeyStoreHelper(keyStore, options.getChars(Options.KEY_STORE_RIGHTS)); in initKeyStore()
134 return getKeyPair(options.getString(Options.KEY_ALIAS), in getAliasKey()
135 options.getChars(Options.KEY_RIGHTS), autoCreate); in getAliasKey()
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/api/
DServiceApi.java32 boolean generateKeyStore(Options options); in generateKeyStore() argument
40 boolean generateCsr(Options options); in generateCsr() argument
48 boolean generateCert(Options options); in generateCert() argument
56 boolean generateCA(Options options); in generateCA() argument
64 boolean generateAppCert(Options options); in generateAppCert() argument
72 boolean generateProfileCert(Options options); in generateProfileCert() argument
80 boolean signProfile(Options options); in signProfile() argument
88 boolean verifyProfile(Options options); in verifyProfile() argument
96 boolean signHap(Options options); in signHap() argument
104 boolean verifyHap(Options options); in verifyHap() argument
DSignToolServiceImpl.java85 public boolean generateKeyStore(Options options) { in generateKeyStore() argument
86 LocalizationAdapter adapter = new LocalizationAdapter(options); in generateKeyStore()
87 adapter.errorOnExist(options.getString(Options.KEY_ALIAS)); in generateKeyStore()
100 public boolean generateCsr(Options options) { in generateCsr() argument
101 LocalizationAdapter adapter = new LocalizationAdapter(options); in generateCsr()
120 public boolean generateCert(Options options) { in generateCert() argument
121 LocalizationAdapter adapter = new LocalizationAdapter(options); in generateCert()
127 if (options.containsKey(Options.ISSUER_KEY_STORE_FILE)) { in generateCert()
146 public boolean generateCA(Options options) { in generateCA() argument
147 LocalizationAdapter adapter = new LocalizationAdapter(options); in generateCA()
[all …]
/developtools/smartperf_host/ide/src/base-ui/chart/scatter/
DLitChartScatter.ts31 options: LitChartScatterConfig | undefined; property in LitChartScatter
34 this.options = LitChartScatterConfig;
38 if (this.options) {
42 this.drawScatterChart(this.options);
45 this.labelsEL!.innerText = this.options.title;
65 if (this.options) {
66 this.options!.globalGradient = color;
76 drawScatterChart(options: LitChartScatterConfig): void {
77 this.drawAxis(options); //绘制坐标轴
78 this.drawYLabels(options); //绘制y轴坐标
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/entity/
DSignAppParameters.java125 Options options = new Options(); in toOptions() local
129 options.put(Options.MODE, mode.getValue()); in toOptions()
134 options.put(Options.KEY_ALIAS, keyAlias); in toOptions()
137 options.put(Options.KEY_RIGHTS, keyPwd); in toOptions()
143 options.put(Options.PROFILE_FILE, profileFile); in toOptions()
146 options.put(Options.PROFILE_SIGNED, profileSigned.getValue()); in toOptions()
150 options.put(Options.IN_FORM, inForm.getValue()); in toOptions()
156 options.put(Options.IN_FILE, inFile); in toOptions()
161 options.put(Options.SIGN_ALG, signAlg); in toOptions()
164 options.put(Options.KEY_STORE_RIGHTS, keystorePwd); in toOptions()
[all …]
DSignProfileParameters.java74 Options options = new Options(); in toOptions() local
78 options.put(Options.MODE, mode.getValue()); in toOptions()
83 options.put(Options.KEY_ALIAS, keyAlias); in toOptions()
86 options.put(Options.KEY_RIGHTS, keyPwd); in toOptions()
92 options.put(Options.PROFILE_CERT_FILE, profileCertFile); in toOptions()
97 options.put(Options.IN_FILE, inFile); in toOptions()
102 options.put(Options.SIGN_ALG, signAlg); in toOptions()
107 options.put(Options.KEY_STORE_FILE, keyStoreFile); in toOptions()
110 options.put(Options.KEY_STORE_RIGHTS, keystorePwd); in toOptions()
116 options.put(Options.OUT_FILE, outFile); in toOptions()
[all …]
DVerifyAppParameters.java49 Options options = new Options(); in toOptions() local
53 options.put(Options.IN_FILE, inFile); in toOptions()
58 options.put(Options.OUT_CERT_CHAIN, outCertChain); in toOptions()
63 options.put(Options.OUT_PROFILE, outProfile); in toOptions()
66 options.put(Options.IN_FORM, inForm.getValue()); in toOptions()
68 return options; in toOptions()
DVerifyProfileParameters.java39 Options options = new Options(); in toOptions() local
43 options.put(Options.IN_FILE, inFile); in toOptions()
46 options.put(Options.OUT_FILE, outFile); in toOptions()
48 return options; in toOptions()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/test/java/com/ohos/hapsigntool/
DCertTest.java106 Options options = new Options(); in testRootCaCert() local
107 options.put(Options.ISSUER, subject); in testRootCaCert()
108 options.put(Options.SIGN_ALG, SHA_384_WITH_RSA); in testRootCaCert()
109 options.put(Options.VALIDITY, VALIDITY_365); in testRootCaCert()
110 options.put(Options.BASIC_CONSTRAINTS_PATH_LEN, 0); in testRootCaCert()
111 …tificate rootCaCert = CertTools.generateRootCaCert(keyPair, csr, new LocalizationAdapter(options)); in testRootCaCert()
129 options.put(Options.ISSUER, null); in testRootCaCert()
130 options.put(Options.SIGN_ALG, ""); in testRootCaCert()
131 … rootCaCert = CertTools.generateRootCaCert(keyPair, csr, new LocalizationAdapter(options)); in testRootCaCert()
146 Options options = new Options(); in testSubCaCert() local
[all …]
DProfileTest.java126 Options options = new Options(); in testProfile() local
127 LocalizationAdapter adapter = new LocalizationAdapter(options); in testProfile()
138 Options options = new Options(); in testProfile() local
139 putParams(options); in testProfile()
140 LocalizationAdapter adapter = new LocalizationAdapter(options); in testProfile()
156 options.put(Options.MODE, REMOTE_SIGN); in testProfile()
157 adapter = new LocalizationAdapter(options); in testProfile()
183 private void putParams(Options options) { in putParams() argument
184 options.put(Options.KEY_ALIAS, KEY_ALIAS); in putParams()
185 options.put(Options.KEY_RIGHTS, PWD.toCharArray()); in putParams()
[all …]
/developtools/smartperf_host/ide/test/base-ui/chart/scatter/
DLitChartScatter.test.ts33 litChartScatter.options = {
87 let options = litChartScatter.options!; variable
124 expect(litChartScatter.drawScatterChart(litChartScatter.options!)).toBeUndefined();
125 expect(litChartScatter.drawAxis(litChartScatter.options!)).toBeUndefined();
126 expect(litChartScatter.drawYLabels(litChartScatter.options!)).toBeUndefined();
127 expect(litChartScatter.drawXLabels(litChartScatter.options!)).toBeUndefined();
128 expect(litChartScatter.drawData(litChartScatter.options!)).toBeUndefined();
130 expect(litChartScatter.drawLoadLine(litChartScatter.options!.load)).toBeUndefined();
131 expect(litChartScatter.drawBalanceLine(litChartScatter.options!.load)).toBeUndefined();
146 litChartScatter.drawAxis(litChartScatter.options!);
[all …]
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dprocess_ark_config.ts186 if (mergedObConfig.options.disableObfuscation) {
190 if (mergedObConfig.options.enableFileNameObfuscation) {
203 …const isCompact = projectConfig.obfuscationOptions ? mergedObConfig.options.compact : isHarCompile…
213 drop_console: mergedObConfig.options.removeLog
217 toplevel: mergedObConfig.options.enableToplevelObfuscation
220 const applyNameCache: string | undefined = mergedObConfig.options.applyNameCache;
238 if (mergedObConfig.options.enablePropertyObfuscation) {
241 keep_quoted: !mergedObConfig.options.enableStringPropertyObfuscation
249 mCompact: mergedObConfig.options.compact,
251 mDisableConsole: mergedObConfig.options.removeLog,
[all …]
Dob_config_resolver.ts144 options: ObOptions = new ObOptions(); property in MergedConfig
158 this.options.merge(other.options);
183 const keys = Object.keys(this.options);
186 if (this.options[key] === true && ObConfigResolver.exportedSwitchMap.has(String(key))) {
231 enableObfuscation = !selfConfig.options.disableObfuscation;
233 selfConfig.options.disableObfuscation = true;
245 enableObfuscation = enableObfuscation && !dependencyConfigs.options.disableObfuscation;
250 … let needKeepSystemApi = enableObfuscation && (mergedConfigs.options.enablePropertyObfuscation ||
251 …(mergedConfigs.options.enableExportObfuscation && mergedConfigs.options.enableToplevelObfuscation)…
294 if (mergedConfigs.options.enablePropertyObfuscation && mergedConfigs.reservedPropertyNames) {
[all …]
/developtools/hdc/hdc_rust/src/host/
Dunittest.rs30 options: vec![], in if_parse_cmd_param_works()
38 assert_eq!(actual.options, expected.options); in if_parse_cmd_param_works()
50 options: vec!["-l5".to_string()], in if_parse_opt_cmd_works()
55 assert_eq!(actual.options, expected.options); in if_parse_opt_cmd_works()
66 options: vec!["-l5".to_string()], in if_parse_opt_cmd_param_works()
74 assert_eq!(actual.options, expected.options); in if_parse_opt_cmd_param_works()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/config/
DSignerConfig.java39 private Options options; field in SignerConfig
77 return options; in getOptions()
85 public void setOptions(Options options) { in setOptions() argument
86 this.options = options; in setOptions()
174 signer = new SignerFactory().getSigner(new LocalizationAdapter(options)); in getSigner()
/developtools/hdc/src/daemon/
Ddaemon_app.cpp81 string options = ""; in CommandDispatch() local
87 options += " " + seg; in CommandDispatch()
92 PackageShell(false, options.c_str(), packages); in CommandDispatch()
122 void HdcDaemonApp::PackageShell(bool installOrUninstall, const char *options, const string package) in PackageShell() argument
128 string opts = string(options); in PackageShell()
134 doBuf = Base::StringFormat("bm install %s -p %s", options, package.c_str()); in PackageShell()
137 doBuf = Base::StringFormat("bm install %s %s", options, package.c_str()); in PackageShell()
144 doBuf = Base::StringFormat("bm uninstall %s -n %s", options, package.c_str()); in PackageShell()
147 doBuf = Base::StringFormat("bm uninstall %s %s", options, package.c_str()); in PackageShell()
184 PackageShell(true, context->transferConfig.options.c_str(), context->localPath.c_str()); in WhenTransferFinish()
/developtools/ace_js2bundle/ace-loader/src/lite/
Dlite-snapshot-plugin.js28 constructor(options) { argument
29 this.options = options;
51 const buildPath = this.options.build;
Dlite-image-coverter-plugin.js30 constructor(options) { argument
31 this.options = options;
64 const buildPath = this.options.build;
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/
DTabPaneDataCut.ts92 let options = [];
94 options.push(
115 options.push({
119 this.currentTabKey = options[0].name;
122 this.tabSelector!.dataSource = options;
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntoolcmd/
DParams.java36 private final Options options = new Options(); field in Params
52 return options; in getOptions()
61 for (Map.Entry<String, Object> item : options.entrySet()) { in toString()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/
DLocalJKSSignProvider.java88 public void checkParams(Options options) throws InvalidParamsException, MissingParamsException { in checkParams() argument
89 super.checkParams(options); in checkParams()
98 for (String paramKey : options.keySet()) { in checkParams()
101 signParams.put(paramKey, new String(options.getChars(paramKey))); in checkParams()
103 signParams.put(paramKey, options.getString(paramKey)); in checkParams()
/developtools/smartperf_host/ide/src/base-ui/chart/pagenation/
DPageNation.ts29 constructor(selector: unknown, options = {}) {
51 this.setPageOptions(options);
58 setPageOptions(options: unknown): void {
61 this.pageInfo.current = options.current || 1;
64 this.pageInfo.pageSize = options.pageSize || 15; // @ts-ignore
65 if (options.totalpage) {
68 this.pageInfo.totalpage = options.totalpage;
72 if (options.total) {
75 this.pageInfo.totalpage = Math.ceil(options.total / this.pageInfo.pageSize);
82 this.pageInfo.first = options.first || '<<';
[all …]
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/
Dconfig_parser_mgr.py54 options = args_parser.parse_args() variable
56 mgr.load_all_parser(options.input, options.target_cpu)

12345