Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 32) sorted by relevance

12

/system/core/libmincrypt/test/
Decdsa_test.c231 int success = 1; in main() local
237 success = success && !(good ^ result); \ in main()
244 success = success && result; \ in main()
248 success = success && result; \ in main()
273 success = success && result; \ in main()
281 printf("\n%s\n\n", success ? "PASS" : "FAIL"); in main()
283 return !success; in main()
Drsa_test.c813 success = success && result; \ in main()
816 int success = 1; in main() local
839 printf("\n%s\n\n", success ? "PASS" : "FAIL"); in main()
841 return !success; in main()
/system/netd/server/
DDnsProxyListener.cpp95 bool success = true; in sendhostent() local
98 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name); in sendhostent()
100 success &= sendLenAndData(c, 0, "") == 0; in sendhostent()
104 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]); in sendhostent()
106 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent()
109 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent()
112 success &= c->sendData(&buf, sizeof(buf)) == 0; in sendhostent()
115 success &= sendLenAndData(c, 16, hp->h_addr_list[i]); in sendhostent()
117 success &= sendLenAndData(c, 0, ""); // null to indicate we're done in sendhostent()
118 return success; in sendhostent()
[all …]
DTetherController.cpp97 bool success = true; in setIpFwdEnabled() local
100 success &= writeToFile(IPV4_FORWARDING_PROC_FILE, value); in setIpFwdEnabled()
101 success &= writeToFile(IPV6_FORWARDING_PROC_FILE, value); in setIpFwdEnabled()
102 return success; in setIpFwdEnabled()
DCommandListener.cpp512 bool success; in runCommand() local
532 success = sTetherCtrl->enableForwarding(argv[2]); in runCommand()
535 success = sTetherCtrl->disableForwarding(argv[2]); in runCommand()
549 success = (ret == 0); in runCommand()
558 if (success) { in runCommand()
1556 int CommandListener::NetworkCommand::success(SocketClient* client) { in success() function in CommandListener::NetworkCommand
1612 return success(client); in runCommand()
1634 return success(client); in runCommand()
1667 return success(client); in runCommand()
1680 return success(client); in runCommand()
[all …]
DCommandListener.h168 int success(SocketClient* cli);
/system/media/camera/docs/
Dmetadata_validate.py199 success = True
216 success = False
223 success = False
225 return success
243 success = True
251 success = False
263 success = False
276 success = False
282 success = False
284 return success
/system/bt/btif/co/
Dbta_hl_co.c74 BOOLEAN success = FALSE; in bta_hl_co_get_num_of_mdep() local
79 success = TRUE; in bta_hl_co_get_num_of_mdep()
84 __FUNCTION__, success, *p_num_of_mdep ); in bta_hl_co_get_num_of_mdep()
85 return success; in bta_hl_co_get_num_of_mdep()
141 BOOLEAN success = FALSE; in bta_hl_co_get_mdep_config() local
154 success = TRUE; in bta_hl_co_get_mdep_config()
158 __FUNCTION__, success, mdep_idx, mdep_id ); in bta_hl_co_get_mdep_config()
160 return success; in bta_hl_co_get_mdep_config()
181 BOOLEAN success = FALSE; in bta_hl_co_get_echo_config() local
193 success = TRUE; in bta_hl_co_get_echo_config()
[all …]
/system/core/libsuspend/
Dautosuspend_wakeup_count.c42 static void (*wakeup_func)(bool success) = NULL;
50 bool success; in suspend_thread_func() local
77 success = true; in suspend_thread_func()
87 success = false; in suspend_thread_func()
89 void (*func)(bool success) = wakeup_func; in suspend_thread_func()
91 (*func)(success); in suspend_thread_func()
143 void set_wakeup_callback(void (*func)(bool success)) in set_wakeup_callback() argument
/system/core/adb/
Dremount_service.cpp114 bool success = true; in remount_service() local
115 success &= remount_partition(fd, "/system"); in remount_service()
116 success &= remount_partition(fd, "/vendor"); in remount_service()
117 success &= remount_partition(fd, "/oem"); in remount_service()
119 WriteFdExactly(fd, success ? "remount succeeded\n" : "remount failed\n"); in remount_service()
Dcommandline.cpp1658 int success = 1; in install_multiple_app() local
1663 success = 0; in install_multiple_app()
1680 success = 0; in install_multiple_app()
1689 success = 0; in install_multiple_app()
1702 success = 0; in install_multiple_app()
1711 success ? "commit" : "abandon", session_id); in install_multiple_app()
/system/bt/test/suite/support/
Dhal.c61 bool success = (bt_interface->init(callbacks) == BT_STATUS_SUCCESS); in hal_open() local
62 success = success && (bt_interface->set_os_callouts(&callouts) == BT_STATUS_SUCCESS); in hal_open()
63 return success; in hal_open()
/system/bt/hci/src/
Dlow_power_manager.c49 static void vendor_enable_disable_callback(bool success);
215 static void vendor_enable_disable_callback(bool success) { in vendor_enable_disable_callback() argument
216 if (success) in vendor_enable_disable_callback()
Dhci_layer.c145 static void firmware_config_callback(bool success);
149 static void sco_config_callback(bool success);
152 static void epilog_finished_callback(bool success);
405 static void firmware_config_callback(UNUSED_ATTR bool success) { in firmware_config_callback() argument
432 static void sco_config_callback(UNUSED_ATTR bool success) { in sco_config_callback() argument
442 static void epilog_finished_callback(UNUSED_ATTR bool success) { in epilog_finished_callback() argument
/system/bt/btcore/src/
Dmodule.c184 bool success; member
209 wrapper->success = module_start_up(wrapper->module); in run_wrapped_start_up()
221 void *result = wrapper->success ? FUTURE_SUCCESS : FUTURE_FAIL; in post_result_to_callback()
/system/core/logd/
Dmain.cpp362 static const char success[] = "success"; in main() local
363 char buffer[sizeof(success) - 1]; in main()
369 return strncmp(buffer, success, sizeof(success) - 1) != 0; in main()
/system/core/libsuspend/include/suspend/
Dautosuspend.h54 void set_wakeup_callback(void (*func)(bool success));
/system/core/fastboot/
Dusb_osx.c55 int success; member
222 handle->success = 1; in try_interfaces()
389 h.success = 0; in init_usb()
434 if (h.success) { in init_usb()
Dfastboot_protocol.txt62 c. OKAY -> success. Go to #5
84 Client: "OKAY" success
90 "OKAY" indicate success
/system/bt/hci/include/
Dvendor.h45 typedef void (*vendor_cb)(bool success);
/system/bt/bta/hl/
Dbta_hl_utils.c53 BOOLEAN success = TRUE, update_ctrl_psm = FALSE; in bta_hl_set_ctrl_psm_for_dch() local
61 success = FALSE; in bta_hl_set_ctrl_psm_for_dch()
70 if (success && update_ctrl_psm) in bta_hl_set_ctrl_psm_for_dch()
77 if (!success) in bta_hl_set_ctrl_psm_for_dch()
80 p_mcb->sdp.num_recs, success, update_ctrl_psm, ctrl_psm ); in bta_hl_set_ctrl_psm_for_dch()
84 return success; in bta_hl_set_ctrl_psm_for_dch()
1700 BOOLEAN success = FALSE; in bta_hl_delete_mdl_cfg() local
1715 success = TRUE; in bta_hl_delete_mdl_cfg()
1723 success = TRUE; in bta_hl_delete_mdl_cfg()
1728 return success; in bta_hl_delete_mdl_cfg()
[all …]
/system/extras/tests/bionic/libc/
DREADME.TXT10 with a status code of 0 in case of success, and 1 in case of failure.
/system/core/libnativebridge/
Dnative_bridge.cc354 jint success = env->PushLocalFrame(16); // That should be small and large enough. in SetupEnvironment() local
355 if (success < 0) { in SetupEnvironment()
/system/core/libnetutils/
Difc_utils.c600 int result, success; in ifc_reset_connections() local
629 success = ioctl(ifc_ctl_sock6, SIOCKILLADDR, &ifr6); in ifc_reset_connections()
631 result = success; in ifc_reset_connections()
/system/vold/
DExt4Crypt.cpp77 bool success = props.Set<int>(tag::magic, crypt_ftr.magic) in put_crypt_ftr_and_key() local
102 return success ? 0 : -1; in put_crypt_ftr_and_key()

12