| /test/xts/acts/ability/ability_runtime/actsabilitytooltest/abilitytoolfinishtest/entry/src/main/ets/MainAbility/ |
| D | MainAbility.ts | 37 let cmd: any 48 cmd = 'aa test -m entry_test -b com.acts.abilitytoolrely -s ' + 50 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 58 cmd = 'ps -ef | grep com.acts.abilitytoolrely' 59 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 68 cmd = 'aa test -m entry_test -b com.acts.abilitytoolrely -s class ' + 70 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 78 cmd = 'ps -ef | grep com.acts.abilitytoolrely' 79 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 88 cmd = 'aa test -m entry_test -b com.acts.abilitytoolrely -s ' + [all …]
|
| /test/xts/acts/ability/ability_runtime/aacommand/AACommandtest/entry/src/main/ets/MainAbility/ |
| D | MainAbility.ts | 37 let cmd: any 48 cmd = 'aa test -m entry_test -b com.example.aacommandrelyhap -s ' + 50 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 60 cmd = 'aa dump -a' 61 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 70 cmd = 'aa test -m entry_test -b com.example.aacommandrelyhap -s class ' + 72 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 83 cmd = 'aa dump -a' 84 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 93 cmd = 'aa test -m entry_test -b com.example.aacommandrelyhap -s ' + [all …]
|
| /test/xts/acts/hiviewdfx/utils/native/ |
| D | file_utils.cpp | 36 int ExecCmdWithRet(std::string cmd, std::vector<std::string> &resvec) in ExecCmdWithRet() argument 38 if (cmd.size() == 0) { in ExecCmdWithRet() 42 std::cout<< "cmd is " + cmd <<std::endl; in ExecCmdWithRet() 43 if ((cmd.find("hilog") == std::string::npos) && (cmd.find("hidumper") == std::string::npos) in ExecCmdWithRet() 44 && (cmd.find("ps") == std::string::npos) && (cmd.find("rm") == std::string::npos) && in ExecCmdWithRet() 45 … (cmd.find("hiperf") == std::string::npos) && (cmd.find("hisysevent") == std::string::npos) && in ExecCmdWithRet() 46 (cmd.find("mkdir") == std::string::npos) && (cmd.find("dd") == std::string::npos)) { in ExecCmdWithRet() 47 std::cout<<"unsupport cmd!" + cmd <<std::endl; in ExecCmdWithRet() 51 FILE *pp = popen(cmd.c_str(), "r"); in ExecCmdWithRet() 66 void ExeCmd(std::string cmd) in ExeCmd() argument [all …]
|
| /test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintOneTest/entry/src/main/ets/MainAbility/ |
| D | MainAbility.ts | 37 let cmd: any 47 …cmd = 'aa test -b com.example.aacommandrelyhap -m entry_test -s class AACommandPrintOneTest#ACTS_… 49 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 60 …cmd = 'aa test -m entry_test -b com.example.aacommandrelyhap -s class AACommandPrintOneTest#ACTS_A… 62 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 73 …cmd = 'aa test -m entry_test -b com.example.aacommandrelyhap -s class AACommandPrintOneTest#ACTS_'… 75 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 86 …cmd = 'aa test -m entry_test -b com.example.aacommandrelyhap -s class AACommandPrintOneTest#ACTS_A… 88 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 99 …cmd = 'aa test -m entry_test -b com.example.aacommandrelyhap -s class AACommandPrintOneTest#ACTS_A… [all …]
|
| /test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintSyncTest/entry/src/main/ets/MainAbility/ |
| D | MainAbility.ts | 37 let cmd: any 47 cmd = 'aa test -b com.example.aacommandprintsync -m entry_test -s class ' + 49 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 59 cmd = 'aa test -m entry_test -b com.example.aacommandprintsync -s class ' + 61 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 71 cmd = 'aa test -m entry_test -b com.example.aacommandprintsync -s class ' + 73 abilityDelegator.executeShellCommand(cmd, async (err, data) => { 83 cmd = 'aa test -m entry_test -b com.example.aacommandprintsync -s class ' + 85 abilityDelegator.executeShellCommand(cmd, async (err, data) => {
|
| /test/xts/acts/ability/ability_runtime/actscalldataabilitytest/entry/src/main/ets/TestRunner/ |
| D | OpenHarmonyTestRunner.ts | 63 var cmd = 'aa start -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName 64 cmd += ' '+translateParamsToString(abilityDelegatorArguments.parameters) 65 console.info('cmd : '+cmd) 69 cmd += ' -D' 71 console.info('cmd : '+cmd) 72 abilityDelegator.executeShellCommand(cmd,
|
| /test/testfwk/developer_test/ |
| D | ohtest | 26 cmd = "./start.sh" variable 28 cmd += " " + sys.argv[index] 29 print(cmd) 30 os.system(cmd)
|
| /test/xts/dcts/ability/dmsfwk/dmsfwkfatest/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/security/security_huks_reformed_test/huks_hmac_callback_BasicTest/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/communication/btmanager_switchoff/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/communication/bluetooth_profile/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/notification/ans_standard/actsNotificationPublishTest/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/driver/device_manager/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/global/resmgr_standard/resmgrjs/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/communication/wifi_p2p/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbmsmetadatatest/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/hiviewdfx/hisyseventtest/hisyseventboxtest/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbmsgetinfostest/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/powermgr/thermal_manager/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/dcts/notification/dcts_standard/dctsnotificationtest/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/communication/btmanager_errorcode401/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/communication/nfc_ErrorCode/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/acts/ability/dmsfwk/continuationmanagertest/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|
| /test/xts/dcts/filemanagement/fileio/client/src/main/js/TestRunner/ |
| D | OpenHarmonyTestRunner.js | 44 … var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName variable 45 cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters) 50 cmd += ' -D' 52 console.info('cmd : '+cmd) 53 abilityDelegator.executeShellCommand(cmd, (err, data) => {
|