Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 152) sorted by relevance

1234567

/hardware/ril/rild/
Drild.c59 (const struct RIL_Env *, int, char **), RIL_SOCKET_TYPE socketType, int argc, char **argv);
101 int main(int argc, char **argv) { in main() argument
126 RLOGD("**RILd param count=%d**", argc); in main()
129 for (i = 1; i < argc ;) { in main()
130 if (0 == strcmp(argv[i], "-l") && (argc - i > 1)) { in main()
137 } else if (0 == strcmp(argv[i], "-c") && (argc - i > 1)) { in main()
197 argc = argc -i + 1; in main()
203 argc = make_argv(args, rilArgv); in main()
206 rilArgv[argc++] = "-c"; in main()
207 rilArgv[argc++] = (char*)clientId; in main()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Damix.c51 int main(int argc, char **argv) in main() argument
65 if (argc == 1) { in main()
72 argc -= 2; in main()
80 if (argc) { in main()
82 r = mixer_ctl_set_value(ctl, argc, argv); in main()
/hardware/interfaces/wifi/1.0/vts/functional/
DVtsHalWifiV1_0TargetTest.cpp40 int main(int argc, char** argv) { in main() argument
42 ::testing::InitGoogleTest(&argc, argv); in main()
43 gEnv->init(&argc, argv); in main()
44 int status = gEnv->initFromOptions(argc, argv); in main()
/hardware/interfaces/wifi/1.1/vts/functional/
DVtsHalWifiV1_1TargetTest.cpp40 int main(int argc, char** argv) { in main() argument
42 ::testing::InitGoogleTest(&argc, argv); in main()
43 gEnv->init(&argc, argv); in main()
44 int status = gEnv->initFromOptions(argc, argv); in main()
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/
DVtsHalWifiSupplicantV1_1TargetTest.cpp48 int main(int argc, char** argv) { in main() argument
50 ::testing::InitGoogleTest(&argc, argv); in main()
51 gEnv->init(&argc, argv); in main()
52 int status = gEnv->initFromOptions(argc, argv); in main()
/hardware/knowles/athletico/sound_trigger_hal/tests/
Dodsp_api_test.c120 int main(int argc, char *argv[]) { in main() argument
135 if (argc <= 1) { in main()
139 while ((c = getopt_long (argc, argv, "s:g:e:d:t:", long_options, NULL)) != -1) { in main()
145 if (optind + set_param_req_arg > argc) { in main()
165 if (optind + get_param_req_arg > argc) { in main()
184 if (optind + plugin_control_arg > argc) { in main()
200 if (optind + plugin_control_arg > argc) { in main()
216 if (optind + trigger_event_req_arg > argc) { in main()
Dtunnel_test.c82 int main(int argc, char *argv[]) { argument
112 if (argc < 5) {
136 for (int i = 0; i < argc ; i++) {
138 if ((i+1) < argc) {
145 if ((i+1) < argc) {
156 if (argc != (num_tunnel_params + spec_number)) {
164 if (argc != num_tunnel_params && argc != num_tunnel_params + 1) {
170 if (argc != num_tunnel_params && argc != num_tunnel_params + 1) {
189 if (argc == num_tunnel_params) {
192 strcpy(filepath, argv[argc-1]);
Dcrash_trigger_test.c77 int main(int argc, char *argv[]) { in main() argument
84 if (argc <= 1) { in main()
88 while ((g = getopt_long (argc, argv, "chd", long_options, NULL)) != -1) { in main()
/hardware/interfaces/wifi/1.3/default/tests/
Dmain.cpp22 int main(int argc, char** argv) { in main() argument
23 ::testing::InitGoogleTest(&argc, argv); in main()
24 ::testing::InitGoogleMock(&argc, argv); in main()
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
DVtsHalWifiSupplicantV1_2TargetTest.cpp50 int main(int argc, char** argv) { in main() argument
52 ::testing::InitGoogleTest(&argc, argv); in main()
53 gEnv->init(&argc, argv); in main()
54 int status = gEnv->initFromOptions(argc, argv); in main()
/hardware/interfaces/gnss/1.1/vts/functional/
DVtsHalGnssV1_1TargetTest.cpp22 int main(int argc, char** argv) { in main() argument
24 ::testing::InitGoogleTest(&argc, argv); in main()
25 GnssHidlEnvironment::Instance()->init(&argc, argv); in main()
/hardware/interfaces/gnss/2.0/vts/functional/
DVtsHalGnssV2_0TargetTest.cpp22 int main(int argc, char** argv) { in main() argument
24 ::testing::InitGoogleTest(&argc, argv); in main()
25 GnssHidlEnvironment::Instance()->init(&argc, argv); in main()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c752 int argc; in dhd_sd_blocksize() local
758 for (argc = 0; argv[argc]; argc++); in dhd_sd_blocksize()
759 argc--; in dhd_sd_blocksize()
761 if (argc < 1 || argc > 2) { in dhd_sd_blocksize()
772 if (argc > 1) { in dhd_sd_blocksize()
780 if (argc == 1) { in dhd_sd_blocksize()
796 int argc; in dhd_sd_mode() local
800 for (argc = 0; argv[argc]; argc++); in dhd_sd_mode()
801 argc--; in dhd_sd_mode()
836 int argc; in dhd_dma_mode() local
[all …]
/hardware/interfaces/wifi/1.2/vts/functional/
DVtsHalWifiV1_2TargetTest.cpp41 int main(int argc, char** argv) { in main() argument
43 ::testing::InitGoogleTest(&argc, argv); in main()
44 gEnv->init(&argc, argv); in main()
/hardware/interfaces/light/utils/
Dmain.cpp38 int parseArgs(int argc, char* argv[], unsigned int* color) { in parseArgs() argument
39 if (argc > 2) { in parseArgs()
44 if (argc > 1) { in parseArgs()
99 int main(int argc, char* argv[]) { in main() argument
101 int result = parseArgs(argc, argv, &inputColor); in main()
/hardware/interfaces/wifi/1.3/vts/functional/
DVtsHalWifiV1_3TargetTest.cpp43 int main(int argc, char** argv) { in main() argument
45 ::testing::InitGoogleTest(&argc, argv); in main()
46 gEnv->init(&argc, argv); in main()
/hardware/google/av/codec2/hidl/1.0/mts/master/
DMtsHidlC2V1_0TargetMasterTest.cpp91 int main(int argc, char** argv) { in main() argument
93 ::testing::InitGoogleTest(&argc, argv); in main()
94 gEnv->init(&argc, argv); in main()
95 int status = gEnv->initFromOptions(argc, argv); in main()
/hardware/interfaces/confirmationui/support/test/
Dgtest_main.cpp20 int main(int argc, char* argv[]) { in main() argument
21 ::testing::InitGoogleTest(&argc, argv); in main()
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
DVtsHalWifiSupplicantP2pV1_0TargetTest.cpp24 int main(int argc, char** argv) { in main() argument
28 ::testing::InitGoogleTest(&argc, argv); in main()
/hardware/libhardware_legacy/
Dblock_suspend.cpp29 int main(int argc, char ** /* argv */) { in main() argument
30 if (argc > 1) { in main()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DTestMain.cpp20 int main(int argc, char** argv) { in main() argument
21 testing::InitGoogleTest(&argc, argv); in main()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DTestMain.cpp20 int main(int argc, char** argv) { in main() argument
21 testing::InitGoogleTest(&argc, argv); in main()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DTestMain.cpp20 int main(int argc, char** argv) { in main() argument
21 testing::InitGoogleTest(&argc, argv); in main()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DTestMain.cpp20 int main(int argc, char** argv) { in main() argument
21 testing::InitGoogleTest(&argc, argv); in main()
/hardware/interfaces/radio/1.0/vts/functional/
DVtsHalSapV1_0TargetTest.cpp28 int main(int argc, char** argv) { in main() argument
29 ::testing::InitGoogleTest(&argc, argv); in main()

1234567