Lines Matching refs:modes
1868 jint modes) { in nfcManager_doSetP2pInitiatorModes() argument
1870 << StringPrintf("%s: modes=0x%X", __func__, modes); in nfcManager_doSetP2pInitiatorModes()
1874 if (modes & 0x01) mask |= NFA_TECHNOLOGY_MASK_A; in nfcManager_doSetP2pInitiatorModes()
1875 if (modes & 0x02) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pInitiatorModes()
1876 if (modes & 0x04) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pInitiatorModes()
1877 if (modes & 0x08) mask |= NFA_TECHNOLOGY_MASK_A_ACTIVE; in nfcManager_doSetP2pInitiatorModes()
1878 if (modes & 0x10) mask |= NFA_TECHNOLOGY_MASK_F_ACTIVE; in nfcManager_doSetP2pInitiatorModes()
1879 if (modes & 0x20) mask |= NFA_TECHNOLOGY_MASK_F_ACTIVE; in nfcManager_doSetP2pInitiatorModes()
1895 static void nfcManager_doSetP2pTargetModes(JNIEnv*, jobject, jint modes) { in nfcManager_doSetP2pTargetModes() argument
1897 << StringPrintf("%s: modes=0x%X", __func__, modes); in nfcManager_doSetP2pTargetModes()
1900 if (modes & 0x01) mask |= NFA_TECHNOLOGY_MASK_A; in nfcManager_doSetP2pTargetModes()
1901 if (modes & 0x02) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pTargetModes()
1902 if (modes & 0x04) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pTargetModes()
1903 if (modes & 0x08) in nfcManager_doSetP2pTargetModes()