/foundation/ability/ability_runtime/tools/test/unittest/ability_tool/ |
D | ability_tool_test.cpp | 119 char* argv[] = { variable 122 int argc = sizeof(argv) / sizeof(argv[0]); 123 AbilityToolCommand cmd(argc, argv); 135 char* argv[] = { variable 139 int argc = sizeof(argv) / sizeof(argv[0]); 140 AbilityToolCommand cmd(argc, argv); 151 char* argv[] = { variable 155 int argc = sizeof(argv) / sizeof(argv[0]); 156 AbilityToolCommand cmd(argc, argv); 167 char* argv[] = { variable [all …]
|
/foundation/ability/ability_runtime/tools/test/unittest/aa/ |
D | aa_command_dumpsys_test.cpp | 84 char* argv[] = { variable 89 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 91 AbilityManagerShellCommand cmd(argc, argv); 103 char* argv[] = { variable 109 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 111 AbilityManagerShellCommand cmd(argc, argv); 123 char* argv[] = { variable 129 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 131 AbilityManagerShellCommand cmd(argc, argv); 143 char* argv[] = { variable [all …]
|
D | aa_command_stop_service_test.cpp | 92 char* argv[] = { variable 97 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 99 AbilityManagerShellCommand cmd(argc, argv); 110 char* argv[] = { variable 116 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 118 AbilityManagerShellCommand cmd(argc, argv); 129 char* argv[] = { variable 135 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 137 AbilityManagerShellCommand cmd(argc, argv); 148 char* argv[] = { variable [all …]
|
D | aa_command_start_test.cpp | 94 char* argv[] = { variable 99 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 101 AbilityManagerShellCommand cmd(argc, argv); 114 char* argv[] = { variable 120 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 122 AbilityManagerShellCommand cmd(argc, argv); 135 char* argv[] = { variable 141 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 143 AbilityManagerShellCommand cmd(argc, argv); 156 char* argv[] = { variable [all …]
|
D | aa_command_test.cpp | 78 char* argv[] = { variable 82 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 84 AbilityManagerShellCommand cmd(argc, argv); 95 char* argv[] = { variable 100 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 102 AbilityManagerShellCommand cmd(argc, argv); 113 char* argv[] = { variable 118 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 120 AbilityManagerShellCommand cmd(argc, argv); 131 char* argv[] = { variable [all …]
|
D | aa_command_dump_test.cpp | 83 char* argv[] = { variable 88 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 90 AbilityManagerShellCommand cmd(argc, argv); 101 char* argv[] = { variable 107 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 109 AbilityManagerShellCommand cmd(argc, argv); 120 char* argv[] = { variable 126 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 128 AbilityManagerShellCommand cmd(argc, argv); 139 char* argv[] = { variable [all …]
|
D | aa_command_screen_test.cpp | 78 char* argv[] = { variable 83 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 85 AbilityManagerShellCommand cmd(argc, argv); 96 char* argv[] = { variable 102 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 104 AbilityManagerShellCommand cmd(argc, argv); 115 char* argv[] = { variable 121 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 123 AbilityManagerShellCommand cmd(argc, argv); 134 char* argv[] = { variable [all …]
|
D | aa_command_force_timeout_test.cpp | 82 char* argv[] = { variable 87 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 89 AbilityManagerShellCommand cmd(argc, argv); 100 char* argv[] = { variable 106 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 108 AbilityManagerShellCommand cmd(argc, argv); 119 char* argv[] = { variable 125 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 127 AbilityManagerShellCommand cmd(argc, argv); 138 char* argv[] = { variable [all …]
|
/foundation/bundlemanager/bundle_tool/test/unittest/bm/ |
D | bm_command_install_test.cpp | 96 char *argv[] = { variable 101 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 103 BundleManagerShellCommand cmd(argc, argv); 118 char *argv[] = { variable 124 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 126 BundleManagerShellCommand cmd(argc, argv); 141 char *argv[] = { variable 147 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 149 BundleManagerShellCommand cmd(argc, argv); 164 char *argv[] = { variable [all …]
|
D | bm_command_test.cpp | 93 char *argv[] = { variable 97 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 99 BundleManagerShellCommand cmd(argc, argv); 114 char *argv[] = { variable 119 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 121 BundleManagerShellCommand cmd(argc, argv); 136 char *argv[] = { variable 141 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 143 BundleManagerShellCommand cmd(argc, argv); 158 char *argv[] = { variable [all …]
|
D | bm_command_uninstall_test.cpp | 95 char *argv[] = { variable 100 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 102 BundleManagerShellCommand cmd(argc, argv); 117 char *argv[] = { variable 123 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 125 BundleManagerShellCommand cmd(argc, argv); 140 char *argv[] = { variable 146 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 148 BundleManagerShellCommand cmd(argc, argv); 163 char *argv[] = { variable [all …]
|
D | bm_command_dump_test.cpp | 97 char *argv[] = { variable 102 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 104 BundleManagerShellCommand cmd(argc, argv); 119 char *argv[] = { variable 125 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 127 BundleManagerShellCommand cmd(argc, argv); 142 char *argv[] = { variable 148 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 150 BundleManagerShellCommand cmd(argc, argv); 165 char *argv[] = { variable [all …]
|
D | bm_command_overlay_test.cpp | 95 char *argv[] = { variable 100 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 102 BundleManagerShellCommand cmd(argc, argv); 117 char *argv[] = { variable 123 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 125 BundleManagerShellCommand cmd(argc, argv); 140 char *argv[] = { variable 146 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 148 BundleManagerShellCommand cmd(argc, argv); 163 char *argv[] = { variable [all …]
|
D | bm_command_dump_dependencies_test.cpp | 95 char *argv[] = { variable 100 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 102 BundleManagerShellCommand cmd(argc, argv); 117 char *argv[] = { variable 123 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 125 BundleManagerShellCommand cmd(argc, argv); 140 char *argv[] = { variable 146 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 148 BundleManagerShellCommand cmd(argc, argv); 163 char *argv[] = { variable [all …]
|
D | bm_command_quickfix_test.cpp | 66 char *argv[] = { variable 71 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 73 BundleManagerShellCommand cmd(argc, argv); 86 char *argv[] = { variable 92 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 94 BundleManagerShellCommand cmd(argc, argv); 107 char *argv[] = { variable 113 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 115 BundleManagerShellCommand cmd(argc, argv); 128 char *argv[] = { variable [all …]
|
/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/ |
D | ability_command_test.cpp | 93 char* argv[] = { variable 98 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 100 AbilityManagerShellCommand cmd(argc, argv); 112 char* argv[] = { variable 117 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 119 AbilityManagerShellCommand cmd(argc, argv); 131 char* argv[] = { variable 136 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 138 AbilityManagerShellCommand cmd(argc, argv); 150 char* argv[] = { variable [all …]
|
D | accessibility_ability_command_test.cpp | 208 char* argv[] = { variable 211 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 212 AccessibilityAbilityShellCommand cmd(argc, argv); 225 char* argv[] = { variable 228 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 229 AccessibilityAbilityShellCommand cmd(argc, argv); 242 char* argv[] = { variable 246 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 247 AccessibilityAbilityShellCommand cmd(argc, argv); 264 char* argv[] = { variable [all …]
|
/foundation/ability/ability_runtime/tools/test/moduletest/aa/ |
D | aa_command_dumpsys_module_test.cpp | 63 char* argv[] = { variable 69 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 71 AbilityManagerShellCommand cmd(argc, argv); 87 char* argv[] = { variable 93 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 95 AbilityManagerShellCommand cmd(argc, argv); 111 char* argv[] = { variable 117 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 119 AbilityManagerShellCommand cmd(argc, argv); 135 char* argv[] = { variable [all …]
|
/foundation/ability/ability_runtime/tools/test/moduletest/ability_delegator/ |
D | ability_command_module_test.cpp | 88 char* argv[] = { variable 94 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 96 AbilityManagerShellCommand cmd(argc, argv); 108 char* argv[] = { variable 114 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 116 AbilityManagerShellCommand cmd(argc, argv); 128 char* argv[] = { variable 133 int argc = sizeof(argv) / sizeof(argv[0]) - 1; 135 AbilityManagerShellCommand cmd(argc, argv); 147 char* argv[] = { variable [all …]
|
/foundation/resourceschedule/resource_schedule_service/soc_perf/test/testutil/ |
D | socperf_test.cpp | 28 static void PerfRequest(int32_t argc, char *argv[]) in PerfRequest() argument 31 char* cmdId = argv[2]; in PerfRequest() 38 static void PerfRequestEx(int32_t argc, char *argv[]) in PerfRequestEx() argument 41 char* cmdId = argv[2]; in PerfRequestEx() 42 char* onOffTag = argv[3]; in PerfRequestEx() 53 static void PowerLimitBoost(int32_t argc, char *argv[]) in PowerLimitBoost() argument 56 char* onOffTag = argv[2]; in PowerLimitBoost() 67 static void ThermalLimitBoost(int32_t argc, char *argv[]) in ThermalLimitBoost() argument 70 char* onOffTag = argv[2]; in ThermalLimitBoost() 81 static void LimitRequest(int32_t argc, char *argv[]) in LimitRequest() argument [all …]
|
/foundation/ability/ability_runtime/frameworks/simulator/test/src/ |
D | main.cpp | 51 int32_t main(int32_t argc, const char *argv[]) in main() argument 59 options.bundleName = argv[PARAM_ONE]; in main() 60 options.moduleName = argv[PARAM_TWO]; in main() 61 options.modulePath = argv[PARAM_THREE]; in main() 62 options.resourcePath = argv[PARAM_FOUR]; in main() 63 options.debugPort = atoi(argv[PARAM_FIVE]); in main() 64 options.assetPath = argv[PARAM_SIX]; in main() 65 options.systemResourcePath = argv[PARAM_SEVEN]; in main() 66 options.appResourcePath = argv[PARAM_EIGHT]; in main() 67 options.containerSdkPath = argv[PARAM_NINE]; in main() [all …]
|
/foundation/resourceschedule/resource_schedule_service/cgroup_sched/test/unittest/ |
D | process_group_test.cpp | 41 static void SetThreadSchedPolicyTest(int argc, char *argv[]) in SetThreadSchedPolicyTest() argument 44 int tid = std::stoi(argv[1]); in SetThreadSchedPolicyTest() 45 char* policyStr = argv[2]; in SetThreadSchedPolicyTest() 56 static void SetThreadGroupSchedPolicyTest(int argc, char *argv[]) in SetThreadGroupSchedPolicyTest() argument 59 int pid = std::stoi(argv[1]); in SetThreadGroupSchedPolicyTest() 60 char* policyStr = argv[2]; in SetThreadGroupSchedPolicyTest() 71 static void GetThreadSchedPolicyTest(int argc, char *argv[]) in GetThreadSchedPolicyTest() argument 74 int tid = std::stoi(argv[1]); in GetThreadSchedPolicyTest() 82 static void GetSchedPolicyShortenedNameTest(int argc, char *argv[]) in GetSchedPolicyShortenedNameTest() argument 85 int policyNum = std::stoi(argv[1]); in GetSchedPolicyShortenedNameTest() [all …]
|
/foundation/communication/wifi/wifi/test/wifi_client/ |
D | wifi_client.cpp | 44 void (*handler)(int argc, const char* argv[]); 228 static bool GetNetworkId(int argc, const char *argv[], int &nid) in GetNetworkId() argument 232 if (strncmp(argv[i], "nid=", strlen("nid=")) == 0) { in GetNetworkId() 233 (void)sscanf_s(argv[i], "nid=%d", &nid); in GetNetworkId() 237 HelpCommand(argv[CMD_IDX]); in GetNetworkId() 243 static bool GetDeviceConfig(int argc, const char *argv[], WifiDeviceConfig &config) in GetDeviceConfig() argument 253 if (strncmp(argv[i], "ssid=", strlen("ssid=")) == 0) { in GetDeviceConfig() 254 config.ssid = argv[i] + strlen("ssid="); in GetDeviceConfig() 255 } else if (strncmp(argv[i], "pwd=", strlen("pwd=")) == 0) { in GetDeviceConfig() 256 config.preSharedKey = argv[i] + strlen("pwd="); in GetDeviceConfig() [all …]
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
D | jsi_curves_module.cpp | 29 const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in CurvesInterpolate() argument 34 if (argv.size() == 0) { in CurvesInterpolate() 37 double time = argv[0]->ToDouble(runtime); in CurvesInterpolate() 44 std::vector<shared_ptr<JsValue>> argv = { runtime->NewNumber(time) }; in CurvesInterpolate() local 45 auto result = func->Call(runtime, runtime->GetGlobal(), argv, 1); in CurvesInterpolate() 59 const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in CurvesInitInternal() argument 70 curveString = argv[0]->ToString(runtime); in CurvesInitInternal() 92 const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in CurvesInit() argument 94 return CurvesInitInternal(runtime, thisObj, argv, argc); in CurvesInit() 98 const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) in InitCurve() argument [all …]
|
/foundation/multimedia/histreamer/engine/plugin/plugins/ |
D | plugin_config.py | 24 def main(argv): argument 25 if len(argv) < 3: 28 input_file = argv[1] + "/all_plugin_static.h.in" 29 output_file = argv[2] + "/all_plugin_static.h" 36 if not os.path.exists(argv[2]): 37 os.makedirs(argv[2]) 38 for i in range(3, len(argv)): 39 static_declare += "PLUGIN_REGISTER_STATIC_DECLARE(%s);" % argv[i] 40 static_register += "REGISTER_STATIC(%s, reg);" % argv[i] 41 static_unregister += "UNREGISTER_STATIC(%s);" % argv[i] [all …]
|