Home
last modified time | relevance | path

Searched refs:mNfcSupported (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/
DNfcStateTest.java50 private boolean mNfcSupported; field in NfcStateTest
67 mNfcSupported = false; in setUp()
70 mNfcSupported = true; in setUp()
89 if (mNfcSupported && mNfcAdapter.isControllerAlwaysOnSupported()) { in tearDown()
96 if (!mNfcSupported || !mNfcAdapter.isControllerAlwaysOnSupported()) return; in testSetControllerAlwaysOnTrueFromFalseWhenDisabled()
113 if (!mNfcSupported || !mNfcAdapter.isControllerAlwaysOnSupported()) return; in testSetControllerAlwaysOnFalseFromTrueWhenDisabled()
130 if (!mNfcSupported || !mNfcAdapter.isControllerAlwaysOnSupported()) return; in testSetControllerAlwaysOnFalseFromFalseWhenDisabled()
147 if (!mNfcSupported || !mNfcAdapter.isControllerAlwaysOnSupported()) return; in testSetControllerAlwaysOnTrueFromTrueWhenDisabled()
164 if (!mNfcSupported || !mNfcAdapter.isControllerAlwaysOnSupported()) return; in testSetControllerAlwaysOnTrueFromFalseWhenEnabled()
181 if (!mNfcSupported || !mNfcAdapter.isControllerAlwaysOnSupported()) return; in testSetAlwaysOnFalseFromTrueWhenEnabled()
[all …]
DNfcFeatureFlagTest.java46 private boolean mNfcSupported; field in NfcFeatureFlagTest
53 mNfcSupported = false; in setUp()
56 mNfcSupported = true; in setUp()
67 if (!mNfcSupported) return; in testIsSecureNfcSupported()
80 if (!mNfcSupported) return; in testIsControllerAlwaysOnSupported()
88 if (!mNfcSupported) return; in testIsTagIntentAppPreferenceSupported()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DAidRoutingManagerTest.java48 private boolean mNfcSupported; field in AidRoutingManagerTest
64 mNfcSupported = false; in setUp()
67 mNfcSupported = true; in setUp()
83 if (!mNfcSupported) return; in testCalculateAidRouteSize()
96 if (!mNfcSupported) return; in testOnNfccRoutingTableCleared()
105 if (!mNfcSupported) return; in testSupportsAidPrefixRouting()
113 if (!mNfcSupported) return; in testSupportsAidSubsetRouting()
121 if (!mNfcSupported) return; in testConfigureRoutingErrorOccurred()
138 if (!mNfcSupported) return; in testConfigureRouting()
DForegroundUtilsTest.java46 private boolean mNfcSupported; field in ForegroundUtilsTest
60 mNfcSupported = false; in setUp()
63 mNfcSupported = true; in setUp()
79 if (!mNfcSupported) return; in testRegisterUidToBackgroundCallback()
92 if (!mNfcSupported) return; in testIsInForeground()
104 if (!mNfcSupported) return; in testOnUidImportance()
121 if (!mNfcSupported) return; in testOnUidImportanceBackground()
147 if (!mNfcSupported) return; in testGetForegroundUids()
DEnableNfcFServiceTest.java54 private boolean mNfcSupported; field in EnableNfcFServiceTest
75 mNfcSupported = false; in setUp()
78 mNfcSupported = true; in setUp()
115 if (!mNfcSupported) return; in testOnHostEmulationActivated()
126 if (!mNfcSupported) return; in testOnHostEmulationDeactivated()
138 if (!mNfcSupported) return; in testRegisterEnabledForegroundService()
156 if (!mNfcSupported) return; in testOnNfcDisabled()
165 if (!mNfcSupported) return; in testOnUserSwitched()
DNfcDiscoveryParametersTest.java39 private boolean mNfcSupported; field in NfcDiscoveryParametersTest
51 mNfcSupported = false; in setUp()
54 mNfcSupported = true; in setUp()
75 if (!mNfcSupported) return; in testGetTechMask()
84 if (!mNfcSupported) return; in testDiscoveryParameters()
DDeviceConfigFacadeTest.java48 private boolean mNfcSupported; field in DeviceConfigFacadeTest
62 mNfcSupported = false; in setUp()
65 mNfcSupported = true; in setUp()
100 if (!mNfcSupported) return;
109 if (!mNfcSupported) return;
DHostNfcFEmulationManagerTest.java75 private boolean mNfcSupported; field in HostNfcFEmulationManagerTest
92 mNfcSupported = false; in setUp()
95 mNfcSupported = true; in setUp()
156 if (!mNfcSupported) return; in testOnEnabledForegroundNfcFServiceChanged()
170 if (!mNfcSupported) return; in testOnHostEmulationData()
182 if (!mNfcSupported) return; in testOnNfcDisabled()
200 if (!mNfcSupported) return; in testOnUserSwitched()
219 if (!mNfcSupported) return; in testOnHostEmulationDeactivated()
DRegisteredNfcFServicesCacheTest.java76 private boolean mNfcSupported; field in RegisteredNfcFServicesCacheTest
94 mNfcSupported = false; in setUp()
97 mNfcSupported = true; in setUp()
179 if (!mNfcSupported) return; in testOnHostEmulationActivated()
190 if (!mNfcSupported) return; in testOnHostEmulationDeactivated()
202 if (!mNfcSupported) return; in testOnNfcDisabled()
214 if (!mNfcSupported) return; in testInvalidateCache()
230 if (!mNfcSupported) return; in testGetServices()
DRegisteredAidCacheTest.java47 private boolean mNfcSupported; field in RegisteredAidCacheTest
63 mNfcSupported = false; in setUp()
66 mNfcSupported = true; in setUp()
87 if (!mNfcSupported) return; in testOnPreferredForegroundServiceChanged()
DNfcDispatcherTest.java66 private boolean mNfcSupported; field in NfcDispatcherTest
85 mNfcSupported = false; in setUp()
88 mNfcSupported = true; in setUp()
133 if (!mNfcSupported) return; in testLogOthers()
147 if (!mNfcSupported) return; in testSetForegroundDispatchForWifiConnect()
176 if (!mNfcSupported) return; in testPeripheralHandoverBTParing()
DNfcBlockedNotificationTest.java56 private boolean mNfcSupported; field in NfcBlockedNotificationTest
71 mNfcSupported = false; in setUp()
74 mNfcSupported = true; in setUp()
118 if (!mNfcSupported) return; in testStartNotification()
DNfcReaderConflictOccurredTest.java68 private boolean mNfcSupported; field in NfcReaderConflictOccurredTest
83 mNfcSupported = false; in setUp()
86 mNfcSupported = true; in setUp()
143 if (!mNfcSupported) return; in testLogReaderConflict()
154 if (!mNfcSupported) return; in testLogReaderSuccess()
DNfcDeveloperOptionNotificationTest.java65 private boolean mNfcSupported; field in NfcDeveloperOptionNotificationTest
80 mNfcSupported = false; in setUp()
83 mNfcSupported = true; in setUp()
127 if (!mNfcSupported) return; in testStartNotification()
DDtaServiceConnectorTest.java62 private boolean mNfcSupported; field in DtaServiceConnectorTest
77 mNfcSupported = false; in setUp()
80 mNfcSupported = true; in setUp()
132 if (!mNfcSupported) return; in testCreateExplicitFromImplicitIntent()
DRegisteredComponentCacheTest.java65 private boolean mNfcSupported; field in RegisteredComponentCacheTest
75 mNfcSupported = false; in setUp()
78 mNfcSupported = true; in setUp()
151 if (!mNfcSupported) return; in testGetComponents()
DNfcWifiProtectedSetupTest.java69 private boolean mNfcSupported; field in NfcWifiProtectedSetupTest
95 mNfcSupported = false; in setUp()
98 mNfcSupported = true; in setUp()
139 if (!mNfcSupported) return; in testTryNfcWifiSetupFailed()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DNfcCardEmulationOccurredTest.java80 private boolean mNfcSupported; field in NfcCardEmulationOccurredTest
106 mNfcSupported = false; in setUp()
109 mNfcSupported = true; in setUp()
173 if (!mNfcSupported) return; in testHCEOther()
192 if (!mNfcSupported) return; in testOnHostEmulationActivated()
201 if (!mNfcSupported) return; in testOnPollingLoopDetected()
217 if (!mNfcSupported) return; in testOnPollingLoopDetectedServiceBound()
247 if (!mNfcSupported) return; in testOnPollingLoopDetectedSTATE_XFER()
271 if (!mNfcSupported) return; in testOnOffHostAidSelected()
280 if (!mNfcSupported) return; in testOnPreferredPaymentServiceChanged()
[all …]
DNfcAidConflictOccurredTest.java60 private boolean mNfcSupported; field in NfcAidConflictOccurredTest
77 mNfcSupported = false; in setUp()
80 mNfcSupported = true; in setUp()
117 if (!mNfcSupported) return; in testHCEOther()
135 if (!mNfcSupported) return; in testHCEOtherWithTestFlagEnabled()