/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/include/ |
H A D | bundle_test_tool.h | 112 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 D | bundle_test_tool.cpp | 1153 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 D | soft_bus_channel.cpp | 166 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 D | remote_command_factory.cpp | 58 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 D | remote_command_executor.cpp | 187 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 D | soft_bus_channel.h | 68 …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 D | rpc_channel.h | 45 …virtual std::string ExecuteCommand(const std::string &commandName, const std::string &jsonPayload)…
|
H A D | remote_command_factory.h | 46 const std::string &commandName, const std::string &commandJsonString);
|
/ohos5.0/base/security/access_token/services/tokensyncmanager/include/protocol/ |
H A D | remote_protocol.h | 23 std::string commandName; member
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | app-takeovers-web-media.md | 1121 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 D | delete_remote_token_command.cpp | 38 remoteProtocol_.commandName = COMMAND_NAME; in DeleteRemoteTokenCommand()
|
H A D | update_remote_hap_token_command.cpp | 37 remoteProtocol_.commandName = COMMAND_NAME; in UpdateRemoteHapTokenCommand()
|
H A D | sync_remote_hap_token_command.cpp | 35 remoteProtocol_.commandName = COMMAND_NAME; in SyncRemoteHapTokenCommand()
|
H A D | base_remote_command.cpp | 71 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 D | app-takeovers-web-media.md | 1121 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 D | using-avsession-controller.md | 321 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 D | using-avsession-controller.md | 321 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 D | token_sync_service_test.cpp | 876 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 D | js-apis-avsession.md | 6413 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 D | js-apis-avsession.md | 6413 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 : "…
|