Home
last modified time | relevance | path

Searched refs:cur_state (Results 1 – 22 of 22) sorted by relevance

/external/libnfc-nxp/src/
DphLibNfc.c367 || (pLibContext->LibNfcState.cur_state in phLibNfc_Mgt_DeInitialize()
441 pLibContext->LibNfcState.cur_state = eLibNfcHalStateShutdown; in phLibNfc_ShutdownCb()
520 || (gpphLibContext->LibNfcState.cur_state in phLibNfc_Mgt_Reset()
639 gpphLibContext->LibNfcState.cur_state = eLibNfcHalStateInitandIdle; in phLibNfc_Mgt_Reset()
692 switch(pLibContext->LibNfcState.cur_state) in phLibNfc_UpdateNextState()
788 psLibContext->LibNfcState.cur_state = (uint8_t)eLibNfcHalStateConnect; in phLibNfc_UpdateCurState()
791 psLibContext->LibNfcState.cur_state in phLibNfc_UpdateCurState()
798 psLibContext->LibNfcState.cur_state in phLibNfc_UpdateCurState()
801 psLibContext->LibNfcState.cur_state); in phLibNfc_UpdateCurState()
815 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Mgt_GetstackCapabilities()
DphHciNfc_Sequence.c223 phHciNfc_eState_t cur_state = (phHciNfc_eState_t) in phHciNfc_FSM_Validate() local
224 psHciContext->hci_state.cur_state; in phHciNfc_FSM_Validate()
230 if( cur_state == (uint8_t) state ) in phHciNfc_FSM_Validate()
239 switch (cur_state) in phHciNfc_FSM_Validate()
482 psHciContext->hci_state.cur_state ); in phHciNfc_FSM_Update()
520 psHciContext->hci_state.cur_state ); in phHciNfc_FSM_Complete()
528 psHciContext->hci_state.cur_state = in phHciNfc_FSM_Complete()
539 psHciContext->hci_state.cur_state ); in phHciNfc_FSM_Complete()
553 psHciContext->hci_state.cur_state, in phHciNfc_FSM_Rollback()
580 if( (hciState_Reset != psHciContext->hci_state.cur_state ) in phHciNfc_FSM_Reset()
[all …]
DphLibNfc_target.c89 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_RemoteDev_Receive()
93 else if (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateRelease) in phLibNfc_RemoteDev_Receive()
239 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_RemoteDev_Send()
243 else if (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateRelease) in phLibNfc_RemoteDev_Send()
DphLibNfc_initiator.c298 gpphLibContext->LibNfcState.cur_state=eLibNfcHalStateConnect; in phLibNfc_NotificationRegister_Resp_Cb()
352 gpphLibContext->LibNfcState.cur_state=eLibNfcHalStateRelease; in phLibNfc_NotificationRegister_Resp_Cb()
408 (gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_NtfRegister()
457 (gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_NtfUnregister()
503 gpphLibContext->LibNfcState.cur_state)) in phLibNfc_RemoteDev_ReConnect()
592 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_RemoteDev_Connect()
802 (gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_Disconnect()
971 (gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_Transceive()
1240 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Mgt_SetP2P_ConfigParams()
DphLibNfc_SE.c92 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_NtfRegister()
326 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_NtfUnregister()
367 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_GetSecureElementList()
452 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_SE_SetMode()
DphLibNfc_discovery.c155 (gpphLibContext->LibNfcState.cur_state in phLibNfc_Mgt_ConfigureDiscovery()
229 (gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_CheckPresence()
DphLibNfc_ndef_raw.c128 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Ndef_Read()
382 (gpphLibContext->LibNfcState.cur_state in phLibNfc_Ndef_Write()
756 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Ndef_CheckNdef()
960 gpphLibContext->LibNfcState.cur_state=eLibNfcHalStateConnect; in phLibNfc_Ndef_CheckNdef_Cb()
1258 ||(gpphLibContext->LibNfcState.cur_state in phLibNfc_RemoteDev_FormatNdef()
1360 || (gpphLibContext->LibNfcState.cur_state in phLibNfc_ConvertToReadOnlyNdef()
1589 gpphLibContext->LibNfcState.cur_state =eLibNfcHalStateConnect; in phLibNfc_Ndef_format_Cb()
1651 gpphLibContext->LibNfcState.cur_state =eLibNfcHalStateConnect; in phLibNfc_Ndef_ReadOnly_Cb()
1892 (gpphLibContext->LibNfcState.cur_state in phLibNfc_Ndef_SearchNdefContent()
DphLibNfc_Ioctl.c112 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)) in phLibNfc_Mgt_IoCtl()
DphHciNfc.c125 psHciContext->hci_state.cur_state = hciState_Reset; in phHciNfc_Initialise()
832 && ( hciState_Connect == psHciContext->hci_state.cur_state) in phHciNfc_Switch_SmxMode()
840 psHciContext->hci_state.cur_state = hciState_Disconnect; in phHciNfc_Switch_SmxMode()
DphLibNfc_llcp.c56 if(gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown) in static_CheckState()
/external/libweave/examples/daemon/ledflasher/
Dledflasher.cc95 int cur_state = led_status_[led_index]; in OnFlasherSetCommand() local
98 if (cmd_value != cur_state) { in OnFlasherSetCommand()
/external/drm_hwcomposer/
Dhwcomposer.cpp142 drmModeConnection cur_state = conn->state(); in HandleEvent() local
144 if (cur_state == old_state) in HandleEvent()
148 cur_state == DRM_MODE_CONNECTED ? "Plug" : "Unplug", timestamp_us, in HandleEvent()
151 if (cur_state == DRM_MODE_CONNECTED) { in HandleEvent()
176 cur_state == DRM_MODE_CONNECTED ? 1 : 0); in HandleEvent()
/external/selinux/libsepol/src/
Dconditional.c158 new_node->cur_state = cond_evaluate_expr(p, new_node->expr); in cond_node_create()
314 if (new_state != node->cur_state) { in evaluate_cond_node()
315 node->cur_state = new_state; in evaluate_cond_node()
773 node->cur_state = le32_to_cpu(buf[0]); in cond_read_node()
Dexpand.c2076 new_cond->cur_state, state)) in cond_node_copy()
2081 !new_cond->cur_state, state)) in cond_node_copy()
2821 int cur_state, preserve_tunables = 0; in discard_tunables() local
2883 cur_state = cond_evaluate_expr(pol, cur_node->expr); in discard_tunables()
2884 if (cur_state == -1) { in discard_tunables()
2891 to_be_appended = (cur_state == 1) ? in discard_tunables()
2901 if (cur_state == 1) in discard_tunables()
Dlink.c1564 new_node->cur_state = cur->cur_state; in copy_cond_list()
Dwrite.c737 buf[0] = cpu_to_le32(node->cur_state); in cond_write_node()
/external/selinux/libsepol/include/sepol/policydb/
Dconditional.h78 int cur_state; member
/external/libnfc-nxp/inc/
DphNfcInterface.h166 uint8_t cur_state; member
/external/selinux/checkpolicy/test/
Ddismod.c556 fprintf(fp, "current state: %d\n", cur->cur_state);
603 cond->cur_state); in display_avdecl()
Ddispol.c235 fprintf(fp, "current state: %d\n", cur->cur_state); in display_cond_expressions()
/external/selinux/checkpolicy/
Dcheckpolicy.c346 printf("current state: %d\n", cur->cur_state); in display_cond_expressions()
/external/selinux/libsepol/cil/src/
Dcil_binary.c3859 cur->cur_state = new_state; in __cil_set_conditional_state_and_flags()