Lines Matching refs:modes
1896 jint modes) { in nfcManager_doSetP2pInitiatorModes() argument
1898 << StringPrintf("%s: modes=0x%X", __func__, modes); in nfcManager_doSetP2pInitiatorModes()
1902 if (modes & 0x01) mask |= NFA_TECHNOLOGY_MASK_A; in nfcManager_doSetP2pInitiatorModes()
1903 if (modes & 0x02) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pInitiatorModes()
1904 if (modes & 0x04) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pInitiatorModes()
1905 if (modes & 0x08) mask |= NFA_TECHNOLOGY_MASK_A_ACTIVE; in nfcManager_doSetP2pInitiatorModes()
1906 if (modes & 0x10) mask |= NFA_TECHNOLOGY_MASK_F_ACTIVE; in nfcManager_doSetP2pInitiatorModes()
1907 if (modes & 0x20) mask |= NFA_TECHNOLOGY_MASK_F_ACTIVE; in nfcManager_doSetP2pInitiatorModes()
1923 static void nfcManager_doSetP2pTargetModes(JNIEnv*, jobject, jint modes) { in nfcManager_doSetP2pTargetModes() argument
1925 << StringPrintf("%s: modes=0x%X", __func__, modes); in nfcManager_doSetP2pTargetModes()
1928 if (modes & 0x01) mask |= NFA_TECHNOLOGY_MASK_A; in nfcManager_doSetP2pTargetModes()
1929 if (modes & 0x02) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pTargetModes()
1930 if (modes & 0x04) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pTargetModes()
1931 if (modes & 0x08) in nfcManager_doSetP2pTargetModes()