Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 103) sorted by relevance

12345

/developtools/hdc/src/common/
Dtransfer.cpp305 FileMode &mode = context->fileMode; in OnFileOpen() local
307 … WRITE_LOG(LOG_DEBUG, "file mode: %o u_id = %u, g_id = %u", mode.perm, mode.u_id, mode.g_id); in OnFileOpen()
308 uv_fs_chmod(nullptr, &fs, context->localPath.c_str(), mode.perm, nullptr); in OnFileOpen()
309 uv_fs_chown(nullptr, &fs, context->localPath.c_str(), mode.u_id, mode.g_id, nullptr); in OnFileOpen()
313 if (!mode.context.empty()) { in OnFileOpen()
314 WRITE_LOG(LOG_DEBUG, "setfilecon from master = %s", mode.context.c_str()); in OnFileOpen()
315 setfilecon(context->localPath.c_str(), mode.context.c_str()); in OnFileOpen()
396 FileMode mode; in GetSubFilesRecursively() local
397 mode.fullName = currentDirname; in GetSubFilesRecursively()
398 mode.perm = fs.statbuf.st_mode; in GetSubFilesRecursively()
[all …]
Dfile.cpp125 mode_t mode = mode_t(~S_IFMT); in SetMasterParameters() local
126 …if (!Base::CheckDirectoryOrPath(context->localPath.c_str(), true, true, errStr, mode) && (mode & S… in SetMasterParameters()
194 auto mode = ctxNow.dirMode.back(); in FileModeSync() local
196 mode.fullName.c_str(), mode.perm, mode.u_id, mode.g_id, mode.context.c_str()); in FileModeSync()
197 string s = SerialStruct::SerializeToString(mode); in FileModeSync()
/developtools/packing_tool/adapter/ohos/
DREADME22 For example: --mode hap --mode app
23 the mode value is app.
25 For example: --mode hap app
26 the mode value is hap.
28 5.Command must be lowercase(such as:--mode), and file's suffix is case insensitive,
38 9.In app package mode, signature and certificate may be resource files later,
42 java -jar hmos_app_packing_tool.jar --mode <option> --json-path <option> --maple-so-path [option]
47 --mode not null must be hap.
71 java -jar hmos_app_packing_tool.jar --mode <options> --json-path <option>
75 --mode not null must be har.
[all …]
DUtility.java43 private String mode = ""; field in Utility
130 return mode; in getMode()
133 public void setMode(String mode) { in setMode() argument
134 if (!mode.startsWith(CMD_PREFIX)) { in setMode()
135 this.mode = mode; in setMode()
/developtools/profiler/host/smartperf/trace_streamer/src/base/
Dfile.cpp55 int OpenFile(const std::string& path, int flags, uint32_t mode) in OpenFile() argument
57 TS_ASSERT((flags & O_CREAT) == 0 || mode != kFileModeInvalid); in OpenFile()
59 int fd(_open(path.c_str(), flags | O_BINARY, mode)); in OpenFile()
61 int fd(open(path.c_str(), flags | O_CLOEXEC, mode)); in OpenFile()
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dsimple_yaml_tool.py25 def read_yaml(cls, file_name: str, mode: str = "r", encoding: str = "utf-8") -> Dict:
26 with open(file_name, mode, encoding=encoding) as f:
/developtools/hdc/src/daemon/
Ddaemon_app.cpp95 if (mode == APPMOD_INSTALL) { in AsyncInstallFinish()
102 vecBuf.push_back(mode); in AsyncInstallFinish()
128 mode = APPMOD_INSTALL; in PackageShell()
130 mode = APPMOD_UNINSTALL; in PackageShell()
138 mode = APPMOD_SIDELOAD; in Sideload()
/developtools/packing_tool/
DREADME_zh.md21 java -jar path\app_packing_tool.jar --mode hap --json-path <option> --resources-path <option> --ets…
28 java -jar app_packing_tool.jar --mode hap --json-path <option> --maple-so-path [option] --profile-p…
35 | --mode | 是 | hap | 打包类型。 …
57 java -jar app_packing_tool.jar --mode har --json-path [option] --jar-path [option>]--lib-path [opti…
64 | --mode | 是 | har | 打包类型。 …
77 java -jar app_packing_tool.jar --mode app --hap-path <option> --out-path [option] --signature-path …
84 | --mode | 是 | app | 多个hap需满足hap的合法性校验。 …
101 java -jar app_packing_tool.jar --mode multiApp --hap-list 1.hap,2.hap --app-list 1.app,2.app --out-…
108 | --mode | 是 | multiApp | 打包类型,在将多个hap打入同一个app时,需保证每个hap满足合法性校验规则。 |
124 java -jar app_unpacking_tool.jar --mode <option> --hap-path <options> --out-path [option] --force […
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/resources/
Dhelp.txt143 -mode : signature mode, required fields, including localSign/remoteSign;
149 … -keystoreFile : keystore file, if signature mode is localSign, required fields, JKS or P12 format;
155 …sign-profile -mode localSign -keyAlias "oh-profile-key-v1" -keyPwd ****** -profileCertFile "D:\OH\…
166 -mode : signature mode, required fields, including localSign/remoteSign/remoteResign;
168 -keyPwd : key password, optional fields on localSign mode;
169 … signature certificate file, required fields on localSign mode, optional fields on remoteSign mode;
174 …-keystoreFile : keystore file, if signature mode is localSign, required fields on localSign mode, …
175 -keystorePwd : keystore password, optional fields on localSign mode;
180 -signServer : remote signer plugin, required fields on remoteSign mode;
181 -signerPlugin : remote sign service url, required fields on remoteSign mode;
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/
DHapSignTool.java266 String mode = params.getString(Options.MODE); in runSignApp() local
267 if (!LOCAL_SIGN.equalsIgnoreCase(mode) in runSignApp()
268 && !REMOTE_SIGN.equalsIgnoreCase(mode) in runSignApp()
269 && !"remoteResign".equalsIgnoreCase(mode)) { in runSignApp()
273 if (LOCAL_SIGN.equalsIgnoreCase(mode)) { in runSignApp()
303 String mode = params.getString(Options.MODE); in runSignProfile() local
304 if (!LOCAL_SIGN.equalsIgnoreCase(mode) && !REMOTE_SIGN.equalsIgnoreCase(mode)) { in runSignProfile()
307 if (LOCAL_SIGN.equalsIgnoreCase(mode)) { in runSignProfile()
/developtools/hdc/src/host/
Dhost_app.cpp119 bool HdcHostApp::CheckInstallContinue(AppModType mode, bool lastResult, const char *msg) in CheckInstallContinue() argument
122 switch (mode) { in CheckInstallContinue()
162 AppModType mode = static_cast<AppModType>(payload[0]); in CommandDispatch() local
165 ret = CheckInstallContinue(mode, result, s.c_str()); in CommandDispatch()
/developtools/hapsigner/
DREADME_ZH.md78 … sign-profile -keyAlias "oh-profile1-key-v1" -signAlg "SHA256withECDSA" -mode "localSign" -profil…
83 ├── -mode #签名模式,必填项,包括localSign,remoteSign
99 java -jar hap-sign-tool.jar sign-app -keyAlias "oh-app1-key-v1" -signAlg "SHA256withECDSA" -mode "l…
104 ├── -mode #签名模式,必填项,包括localSign,remoteSign
258 ├── -mode # 签名模式,必填项,包括localSign,remoteSign
277 ├── -mode # 签名模式,必填项,包括localSign,remoteSign,remoteResign
DREADME.md68 … sign-profile -keyAlias "oh-profile1-key-v1" -signAlg "SHA256withECDSA" -mode "localSign" -profil…
73 … ├── -mode # Signing mode, which can be localSign or remoteSign. It is mandatory.
79 …eystoreFile # KS file, in JKS or P12 format. It is mandatory if the signing mode is localSign.
89 java -jar hap-sign-tool.jar sign-app -keyAlias "oh-app1-key-v1" -signAlg "SHA256withECDSA" -mode "l…
94 … ├── -mode # Signing mode, which can be localSign or remoteSign. It is mandatory.
103 … # KeyStore (KS) file, in JKS or P12 format. It is mandatory if the signing mode is localSign.
248 … ├── -mode # Signing mode, which can be localSign or remoteSign. It is mandatory.
254 …├── -keystoreFile # KS file, in JKS or P12 format. It is mandatory if the signing mode is local…
267 …├── -mode # Signing mode, which can be localSign, remoteSign, or remoteResign. It is mand…
276 …├── -keystoreFile # KS file, in JKS or P12 format. It is mandatory if the signing mode is localSi…
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/pages/
DLightAdjust.ets44 .onChange((value: number, mode: SliderChangeMode) => {
47 console.info('value:' + value + 'mode:' + mode.toString())
/developtools/profiler/host/smartperf/ide/test/trace/component/
DFrameChart.test.ts184 expect(frameChart.mode).toBeUndefined()
189 frameChart.mode =false
190 expect(frameChart.mode).toBeFalsy()
/developtools/profiler/host/smartperf/trace_streamer/src/protos/services/
Dprofiler_service_types.proto54 string result_file = 3; // for OFFLINE mode, result file path
55 uint32 result_max_size = 4; // for OFFLINE mode, result file max size in KB
56 uint32 sample_duration = 5; // for OFFLINE mode, sample duration in ms
/developtools/profiler/host/smartperf/ide/src/trace/proto/
Dprofiler_service_types.proto54 string result_file = 3; // for OFFLINE mode, result file path
55 uint32 result_max_size = 4; // for OFFLINE mode, result file max size in KB
56 uint32 sample_duration = 5; // for OFFLINE mode, sample duration in ms
/developtools/hapsigner/tools/
Dauto_test.py289 with open("log.txt", mode='a+', encoding='utf-8') as f:
297 with open("error.txt", mode='a+', encoding='utf-8') as f:
359 with open("test_result.log", mode='w', encoding='utf-8') as tr:
476 with open("test_result.log", mode='w', encoding='utf-8') as file_result:
/developtools/profiler/host/smartperf/ide/src/base-ui/table/
Dlit-table-group.ts22 const shadowRoot = this.attachShadow({mode: 'open'});
Dlit-table-column.ts26 const shadowRoot = this.attachShadow({mode: 'open'});
/developtools/ace_js2bundle/ace-loader/test/card/testcase/common/
Dmedia.css1 @media (dark-mode:true) {
/developtools/profiler/host/smartperf/ide/test/trace/component/chart/
DFrameChart.test.ts189 expect(frameChart.mode).toBeUndefined()
194 frameChart.mode =false
195 expect(frameChart.mode).toBeFalsy()
/developtools/profiler/protos/services/
Dprofiler_service_types.proto54 string result_file = 3; // for OFFLINE mode, result file path
55 uint32 result_max_size = 4; // for OFFLINE mode, result file max size in KB
56 uint32 sample_duration = 5; // for OFFLINE mode, sample duration in ms
/developtools/profiler/host/smartperf/ide/src/base-ui/
DBaseElement.ts31 this.attachShadow({mode: 'open'}).innerHTML = this.initHtml();
/developtools/profiler/device/etc/
Dhiprofiler_plugins.cfg11 "start-mode" : "condition",

12345