Home
last modified time | relevance | path

Searched refs:nfc_mode (Results 1 – 7 of 7) sorted by relevance

/hardware/st/nfc/aidl/
Dhal_st21nfc.cc55 int nfc_mode = 0; variable
65 extern int hal_wrapper_close(int call_cb, int nfc_mode);
284 hal_wrapper_close(0, nfc_mode); in StNfc_hal_open()
455 if (nfc_mode == 1) { in StNfc_hal_closeForPowerOffCase()
458 return StNfc_hal_close(nfc_mode); in StNfc_hal_closeForPowerOffCase()
474 nfc_mode = 0x1; in StNfc_hal_getConfig()
534 if ((num == 1) && (nfc_mode == 0x1)) { in StNfc_hal_getConfig()
535 nfc_mode = 0x2; in StNfc_hal_getConfig()
DStNfc_hal_api.h52 int StNfc_hal_close(int nfc_mode);
/hardware/st/nfc/1.2/
Dhal_st21nfc.cc55 int nfc_mode = 0; variable
69 extern int hal_wrapper_close(int call_cb, int nfc_mode);
286 hal_wrapper_close(0, nfc_mode); in StNfc_hal_open()
438 if (nfc_mode == 1) { in StNfc_hal_closeForPowerOffCase()
441 return StNfc_hal_close(nfc_mode); in StNfc_hal_closeForPowerOffCase()
457 nfc_mode = 0x1; in StNfc_hal_getConfig()
517 if ((num == 1) && (nfc_mode == 0x1)) { in StNfc_hal_getConfig()
518 nfc_mode = 0x2; in StNfc_hal_getConfig()
DStNfc_hal_api.h41 int StNfc_hal_close(int nfc_mode);
/hardware/st/nfc/1.1/
Dhal_st21nfc.cc53 int nfc_mode = 0; variable
66 extern int hal_wrapper_close(int call_cb, int nfc_mode);
283 hal_wrapper_close(0, nfc_mode); in StNfc_hal_open()
420 return StNfc_hal_close(nfc_mode); in StNfc_hal_closeForPowerOffCase()
435 nfc_mode = 0x2; in StNfc_hal_getConfig()
DStNfc_hal_api.h40 int StNfc_hal_close(int nfc_mode);
/hardware/st/nfc/st21nfc/
Dhal_wrapper.cc137 int hal_wrapper_close(int call_cb, int nfc_mode) { in hal_wrapper_close() argument
138 STLOG_HAL_V("%s - Sending PROP_NFC_MODE_SET_CMD(%d)", __func__, nfc_mode); in hal_wrapper_close()
139 uint8_t propNfcModeSetCmdQb[] = {0x2f, 0x02, 0x02, 0x02, (uint8_t)nfc_mode}; in hal_wrapper_close()