Lines Matching refs:nat

665   nfc_jni_native_data* nat =  in nfcManager_initNativeStruc()  local
667 if (nat == NULL) { in nfcManager_initNativeStruc()
672 memset(nat, 0, sizeof(*nat)); in nfcManager_initNativeStruc()
673 e->GetJavaVM(&(nat->vm)); in nfcManager_initNativeStruc()
674 nat->env_version = e->GetVersion(); in nfcManager_initNativeStruc()
675 nat->manager = e->NewGlobalRef(o); in nfcManager_initNativeStruc()
679 e->SetLongField(o, f, (jlong)nat); in nfcManager_initNativeStruc()
715 if (nfc_jni_cache_object(e, gNativeNfcTagClassName, &(nat->cached_NfcTag)) == in nfcManager_initNativeStruc()
722 &(nat->cached_P2pDevice)) == -1) { in nfcManager_initNativeStruc()
800 struct nfc_jni_native_data* nat = getNative(NULL, NULL); in nfaDeviceManagementCallback() local
802 ScopedAttach attach(nat->vm, &e); in nfaDeviceManagementCallback()
808 e->CallVoidMethod(nat->manager, in nfaDeviceManagementCallback()
811 e->CallVoidMethod(nat->manager, in nfaDeviceManagementCallback()
1125 struct nfc_jni_native_data* nat = getNative(e, o); in nfcManager_doInitialize() local
1126 if (nat) { in nfcManager_doInitialize()
1127 nat->tech_mask = in nfcManager_doInitialize()
1130 "%s: tag polling tech mask=0x%X", __func__, nat->tech_mask); in nfcManager_doInitialize()
1134 nat->discovery_duration = NfcConfig::getUnsigned( in nfcManager_doInitialize()
1137 NFA_SetRfDiscoveryDuration(nat->discovery_duration); in nfcManager_doInitialize()
1238 struct nfc_jni_native_data* nat = getNative(e, o); in nfcManager_enableDiscovery() local
1240 if (technologies_mask == -1 && nat) in nfcManager_enableDiscovery()
1241 tech_mask = (tNFA_TECHNOLOGY_MASK)nat->tech_mask; in nfcManager_enableDiscovery()
1288 struct nfc_jni_native_data* nat = getNative(e, o); in nfcManager_enableDiscovery() local
1295 NFA_SetRfDiscoveryDuration(nat->discovery_duration); in nfcManager_enableDiscovery()
1899 struct nfc_jni_native_data* nat = getNative(e, o); in nfcManager_doSetP2pInitiatorModes() local
1908 nat->tech_mask = mask; in nfcManager_doSetP2pInitiatorModes()