Home
last modified time | relevance | path

Searched refs:commandName (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/include/
H A Dbundle_test_tool.h112 bool CheckRemovableErrorOption(int option, int counter, const std::string &commandName);
117 bool CheckSandboxErrorOption(int option, int counter, const std::string &commandName);
120 ErrCode CheckAddInstallRuleCorrectOption(int option, const std::string &commandName,
124 ErrCode CheckDeleteInstallRuleCorrectOption(int option, const std::string &commandName,
126 ErrCode CheckCleanInstallRuleCorrectOption(int option, const std::string &commandName,
128 ErrCode CheckAppRunningRuleCorrectOption(int option, const std::string &commandName,
131 ErrCode CheckGetAppRunningRuleCorrectOption(int option, const std::string &commandName,
133 ErrCode CheckGetAppRunningRuleResultCorrectOption(int option, const std::string &commandName,
146 ErrCode StringToUnsignedLongLong(std::string optarg, const std::string &commandName,
166 bool HandleUnknownOption(const std::string &commandName, bool &ret);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_test_tool.cpp1153 if (commandName == GET_RM) { in CheckRemovableErrorOption()
1202 if (commandName == GET_RM) { in CheckRemovableCorrectOption()
1241 std::string commandName = SET_RM; in RunAsSetRemovableCommand() local
1285 std::string commandName = GET_RM; in RunAsGetRemovableCommand() local
1434 std::string commandName = INSTALL_SANDBOX; in RunAsInstallSandboxCommand() local
1555 std::string commandName = DUMP_SANDBOX; in RunAsDumpSandboxCommand() local
1759 std::string commandName = "getProxyData"; in RunAsGetProxyDataCommand() local
1809 std::string commandName = "getProxyData"; in RunAsGetAllProxyDataCommand() local
1851 std::string commandName = "getStr"; in RunAsGetStringCommand() local
2101 std::string commandName = "getIcon"; in RunAsGetIconCommand() local
[all …]
/ohos5.0/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dsoft_bus_channel.cpp166 if (commandName.empty() || jsonPayload.empty()) { in ExecuteCommand()
167 … ACCESSTOKEN_LOG_ERROR(LABEL, "Invalid params, commandName: %{public}s", commandName.c_str()); in ExecuteCommand()
183 int result = PrepareBytes(REQUEST_TYPE, uuid, commandName, jsonPayload, info); in ExecuteCommand()
267 SoftBusMessage messageEntity(type, id, commandName, jsonPayload); in PrepareBytes()
380 RemoteCommandFactory::GetInstance().NewRemoteCommandFromJson(commandName, jsonPayload); in HandleRequest()
383 ACCESSTOKEN_LOG_WARN(LABEL, "Command %{public}s cannot get from json", commandName.c_str()); in HandleRequest()
395 int sendResult = PrepareBytes(RESPONSE_TYPE, id, commandName, jsonPayload, info); in HandleRequest()
424 int result = PrepareBytes(RESPONSE_TYPE, id, commandName, resultJsonPayload, info); in HandleRequest()
470 std::string commandName; in FromJson() local
479 json.at("commandName").get_to(commandName); in FromJson()
[all …]
H A Dremote_command_factory.cpp58 const std::string &commandName, const std::string &commandJsonString) in NewRemoteCommandFromJson() argument
64 if (commandName == SYNC_HAP_COMMAND_NAME) { in NewRemoteCommandFromJson()
67 if (commandName == DELETE_TOKEN_COMMAND_NAME) { in NewRemoteCommandFromJson()
70 if (commandName == UPDATE_HAP_COMMAND_NAME) { in NewRemoteCommandFromJson()
H A Dremote_command_executor.cpp187 bufferedCommand->remoteProtocol_.commandName.c_str(), in ProcessBufferedCommands()
266 responseString = ptrChannel_->ExecuteCommand(ptrCommand->remoteProtocol_.commandName, in ExecuteRemoteCommand()
286 ptrCommand->remoteProtocol_.commandName, responseString); in ExecuteRemoteCommand()
/ohos5.0/base/security/access_token/services/tokensyncmanager/include/remote/
H A Dsoft_bus_channel.h68 …std::string ExecuteCommand(const std::string &commandName, const std::string &jsonPayload) overrid…
112 int PrepareBytes(const std::string &type, const std::string &id, const std::string &commandName,
199 …int socket, const std::string &id, const std::string &commandName, const std::string &jsonPayload);
308 …const std::string &type, const std::string &id, const std::string &commandName, const std::string … in SoftBusMessage() argument
309 : type_(type), id_(id), commandName_(commandName), jsonPayload_(jsonPayload) in SoftBusMessage()
H A Drpc_channel.h45 …virtual std::string ExecuteCommand(const std::string &commandName, const std::string &jsonPayload)…
H A Dremote_command_factory.h46 const std::string &commandName, const std::string &commandJsonString);
/ohos5.0/base/security/access_token/services/tokensyncmanager/include/protocol/
H A Dremote_protocol.h23 std::string commandName; member
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dapp-takeovers-web-media.md1121 let commandName = 'play';
1122 let checkResult = this.checkCommand(commandName, 'pause');
1124 console.log(`AVPlayer ${commandName} ignored.`);
1136 }, name: commandName});
1140 let commandName = 'pause';
1141 let checkResult = this.checkCommand(commandName, 'play');
1144 console.log(`AVPlayer ${commandName} ignored.`);
1156 }, name: commandName});
/ohos5.0/base/security/access_token/services/tokensyncmanager/src/command/
H A Ddelete_remote_token_command.cpp38 remoteProtocol_.commandName = COMMAND_NAME; in DeleteRemoteTokenCommand()
H A Dupdate_remote_hap_token_command.cpp37 remoteProtocol_.commandName = COMMAND_NAME; in UpdateRemoteHapTokenCommand()
H A Dsync_remote_hap_token_command.cpp35 remoteProtocol_.commandName = COMMAND_NAME; in SyncRemoteHapTokenCommand()
H A Dbase_remote_command.cpp71 GetStringFromJson(jsonObject, JSON_COMMAND_NAME, remoteProtocol_.commandName); in FromRemoteProtocolJson()
87 j["commandName"] = remoteProtocol_.commandName; in ToRemoteProtocolJson()
/ohos5.0/docs/en/application-dev/web/
H A Dapp-takeovers-web-media.md1121 let commandName = 'play';
1122 let checkResult = this.checkCommand(commandName, 'pause');
1124 console.log(`AVPlayer ${commandName} ignored.`);
1136 }, name: commandName});
1140 let commandName = 'pause';
1141 let checkResult = this.checkCommand(commandName, 'play');
1144 console.log(`AVPlayer ${commandName} ignored.`);
1156 }, name: commandName});
/ohos5.0/docs/zh-cn/application-dev/media/avsession/
H A Dusing-avsession-controller.md321 let commandName = 'custom command';
322 …await controller.sendCommonCommand(commandName, {command : 'This is my custom command'}).then(() =…
/ohos5.0/docs/en/application-dev/media/avsession/
H A Dusing-avsession-controller.md321 let commandName = 'custom command';
322 …await controller.sendCommonCommand(commandName, {command : 'This is my custom command'}).then(() =…
/ohos5.0/base/security/access_token/services/tokensyncmanager/test/unittest/
H A Dtoken_sync_service_test.cpp876 ASSERT_EQ(deleteRemoteTokenCommand->remoteProtocol_.commandName, "DeleteRemoteTokenCommand");
905 ASSERT_EQ(command->remoteProtocol_.commandName, "UpdateRemoteHapTokenCommand");
/ohos5.0/docs/zh-cn/application-dev/reference/apis-avsession-kit/
H A Djs-apis-avsession.md6413 let commandName = "my_command";
6415 …(avSessionController as avSession.AVSessionController).sendCommonCommand(commandName, {command : "…
6480 let commandName = "my_command";
6482 …(avSessionController as avSession.AVSessionController).sendCommonCommand(commandName, {command : "…
/ohos5.0/docs/en/application-dev/reference/apis-avsession-kit/
H A Djs-apis-avsession.md6413 let commandName = "my_command";
6415 …(avSessionController as avSession.AVSessionController).sendCommonCommand(commandName, {command : "…
6480 let commandName = "my_command";
6482 …(avSessionController as avSession.AVSessionController).sendCommonCommand(commandName, {command : "…