Home
last modified time | relevance | path

Searched refs:act (Results 1 – 25 of 96) sorted by relevance

1234

/system/bt/stack/test/hci/
Dstack_hci_test.cc67 uint8_t act[sizeof(preamble)]; in TEST_F() local
68 preamble.Serialize(act); in TEST_F()
69 ASSERT_EQ(0, std::memcmp(exp, act, sizeof(preamble))); in TEST_F()
84 uint8_t act[sizeof(preamble)]; in TEST_F() local
85 preamble.Serialize(act); in TEST_F()
86 ASSERT_EQ(0, std::memcmp(exp, act, sizeof(preamble))); in TEST_F()
99 uint8_t act[sizeof(preamble)]; in TEST_F() local
100 preamble.Serialize(act); in TEST_F()
101 ASSERT_EQ(0, std::memcmp(exp, act, sizeof(preamble))); in TEST_F()
115 uint8_t act[sizeof(preamble)]; in TEST_F() local
[all …]
/system/unwinding/libbacktrace/
DBacktraceCurrent.cpp170 struct sigaction act, oldact; in UnwindThread() local
171 memset(&act, 0, sizeof(act)); in UnwindThread()
172 act.sa_sigaction = SignalHandler; in UnwindThread()
173 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
174 sigemptyset(&act.sa_mask); in UnwindThread()
175 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { in UnwindThread()
207 memset(&act, 0, sizeof(act)); in UnwindThread()
208 act.sa_sigaction = SignalLogOnly; in UnwindThread()
209 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in UnwindThread()
210 sigemptyset(&act.sa_mask); in UnwindThread()
[all …]
/system/memory/libmemunreachable/
DScopedAlarm.h33 struct sigaction act {}; in ScopedAlarm() struct
34 act.sa_handler = [](int) { ScopedAlarm::func_(); }; in ScopedAlarm()
35 sigaction(SIGALRM, &act, &oldact); in ScopedAlarm()
46 struct sigaction act {}; in ~ScopedAlarm() struct
47 act.sa_handler = SIG_DFL; in ~ScopedAlarm()
48 sigaction(SIGALRM, &act, NULL); in ~ScopedAlarm()
DScopedSignalHandler.h55 struct sigaction act {}; in install() struct
56 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { in install()
59 act.sa_flags = SA_SIGINFO; in install()
61 int ret = sigaction(signal, &act, &old_act_); in install()
/system/bt/stack/srvc/
Dsrvc_eng.cc206 uint8_t act = SRVC_ACT_RSP; in srvc_eng_process_read_req() local
213 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, in srvc_eng_process_read_req()
217 return act; in srvc_eng_process_read_req()
225 uint8_t act = SRVC_ACT_RSP; in srvc_eng_process_write_req() local
228 act = dis_write_attr_value(p_data, p_status); in srvc_eng_process_write_req()
232 return act; in srvc_eng_process_write_req()
249 uint8_t act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback() local
262 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, in srvc_eng_s_request_cback()
268 act = srvc_eng_process_write_req(clcb_idx, &p_data->write_req, &rsp_msg, in srvc_eng_s_request_cback()
270 if (!p_data->write_req.need_rsp) act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback()
[all …]
Dsrvc_dis.cc120 uint8_t act = SRVC_ACT_RSP; in dis_read_attr_value() local
180 return act; in dis_read_attr_value()
/system/unwinding/libunwindstack/tests/
DLocalUnwinderTest.cpp97 struct sigaction act, oldact; in LocalInnerFunction() local
98 memset(&act, 0, sizeof(act)); in LocalInnerFunction()
99 act.sa_sigaction = SignalLocalCallerHandler; in LocalInnerFunction()
100 act.sa_flags = SA_RESTART | SA_ONSTACK; in LocalInnerFunction()
101 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in LocalInnerFunction()
DUnwindTest.cpp366 struct sigaction act, oldact; in TEST_F() local
367 memset(&act, 0, sizeof(act)); in TEST_F()
368 act.sa_sigaction = SignalHandler; in TEST_F()
369 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in TEST_F()
370 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in TEST_F()
407 struct sigaction act, oldact; in RemoteThroughSignal() local
408 memset(&act, 0, sizeof(act)); in RemoteThroughSignal()
409 act.sa_sigaction = SignalCallerHandler; in RemoteThroughSignal()
410 act.sa_flags = SA_RESTART | SA_ONSTACK | sa_flags; in RemoteThroughSignal()
411 ASSERT_EQ(0, sigaction(signal, &act, &oldact)); in RemoteThroughSignal()
/system/bt/stack/gatt/
Dgatt_auth.cc270 tGATT_SEC_ACTION act = GATT_SEC_OK; in gatt_determine_sec_act() local
279 if (auth_req == GATT_AUTH_REQ_NONE) return act; in gatt_determine_sec_act()
297 if (!is_key_mitm) act = GATT_SEC_ENCRYPT_MITM; in gatt_determine_sec_act()
302 if (!is_link_key_known) act = GATT_SEC_ENCRYPT_NO_MITM; in gatt_determine_sec_act()
310 if (act == GATT_SEC_OK) { in gatt_determine_sec_act()
322 act = GATT_SEC_SIGN_DATA; in gatt_determine_sec_act()
324 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
329 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
334 return act; in gatt_determine_sec_act()
/system/nfc/src/nfa/ee/
Dnfa_ee_main.cc649 bool act = false; in nfa_ee_evt_hdlr() local
659 act = true; in nfa_ee_evt_hdlr()
664 act = true; in nfa_ee_evt_hdlr()
667 if (p_msg->event == NFA_EE_NCI_CONN_EVT) act = true; in nfa_ee_evt_hdlr()
672 if (act) { in nfa_ee_evt_hdlr()
/system/memory/libmemunreachable/tests/
DThreadCapture_test.cpp297 struct sigaction act {}; in TEST_F() struct
298 act.sa_handler = [](int) { in TEST_F()
303 sigaction(sig, &act, NULL); in TEST_F()
/system/core/init/
Dinit.cpp603 const struct sigaction act { .sa_handler = SIG_DFL }; in UnblockSignals() struct
604 sigaction(SIGCHLD, &act, nullptr); in UnblockSignals()
619 const struct sigaction act { .sa_handler = SIG_DFL, .sa_flags = SA_NOCLDSTOP }; in InstallSignalFdHandler() struct
620 sigaction(SIGCHLD, &act, nullptr); in InstallSignalFdHandler()
/system/extras/simpleperf/
Denvironment.cpp871 struct sigaction act; in SignalIsIgnored() local
872 if (sigaction(signo, nullptr, &act) != 0) { in SignalIsIgnored()
876 if ((act.sa_flags & SA_SIGINFO)) { in SignalIsIgnored()
880 return act.sa_handler == SIG_IGN; in SignalIsIgnored()
/system/sepolicy/private/
Dplatform_app.te102 # Allow platform apps to act as Perfetto producers.
Dsystem_app.te173 # Allow system apps to act as Perfetto producers.
/system/sepolicy/prebuilts/api/31.0/private/
Dplatform_app.te102 # Allow platform apps to act as Perfetto producers.
Dsystem_app.te173 # Allow system apps to act as Perfetto producers.
/system/core/fs_mgr/libfiemap/
DREADME.md10 - Creating images that will act as block devices. For example, gsid needs to
/system/extras/tests/workloads/
Ddefs.sh480 eval "${app}Activity=$act"
/system/nfc/src/nfa/include/
Dnfa_ee_int.h437 tNFA_EE_NCI_ACTION act; member
/system/extras/profcollectd/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/tests/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/squashfs_utils/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/verity/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/libgrallocusage/
DNOTICE182 License. However, in accepting such obligations, You may act only

1234