Lines Matching refs:sIsNfaEnabled
132 static bool sIsNfaEnabled = false; variable
384 if (sIsDisabling || !sIsNfaEnabled) break; in nfaConnectionCallback()
481 if (!sIsDisabling && sIsNfaEnabled) { in nfaConnectionCallback()
753 sIsNfaEnabled = eventData->status == NFA_STATUS_OK; in nfaDeviceManagementCallback()
763 sIsNfaEnabled = false; in nfaDeviceManagementCallback()
851 if (!sIsDisabling && sIsNfaEnabled) { in nfaDeviceManagementCallback()
856 sIsNfaEnabled = false; in nfaDeviceManagementCallback()
1074 if (sIsNfaEnabled) { in nfcManager_doInitialize()
1102 if (sIsNfaEnabled) { in nfcManager_doInitialize()
1166 if (sIsNfaEnabled) { in nfcManager_doInitialize()
1175 if (sIsNfaEnabled) in nfcManager_doInitialize()
1178 return sIsNfaEnabled ? JNI_TRUE : JNI_FALSE; in nfcManager_doInitialize()
1479 if (sIsNfaEnabled) { in nfcManager_doDeinitialize()
1497 sIsNfaEnabled = false; in nfcManager_doDeinitialize()
1809 if (sIsDisabling || !sIsNfaEnabled || in nfcManager_doSetScreenState()
2185 bool nfcManager_isNfcActive() { return sIsNfaEnabled; } in nfcManager_isNfcActive()