/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/ |
D | NfcStateTest.java | 50 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 …]
|
D | NfcFeatureFlagTest.java | 46 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/ |
D | AidRoutingManagerTest.java | 48 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()
|
D | ForegroundUtilsTest.java | 46 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()
|
D | EnableNfcFServiceTest.java | 54 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()
|
D | NfcDiscoveryParametersTest.java | 39 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()
|
D | DeviceConfigFacadeTest.java | 48 private boolean mNfcSupported; field in DeviceConfigFacadeTest 62 mNfcSupported = false; in setUp() 65 mNfcSupported = true; in setUp() 100 if (!mNfcSupported) return; 109 if (!mNfcSupported) return;
|
D | HostNfcFEmulationManagerTest.java | 75 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()
|
D | RegisteredNfcFServicesCacheTest.java | 76 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()
|
D | RegisteredAidCacheTest.java | 47 private boolean mNfcSupported; field in RegisteredAidCacheTest 63 mNfcSupported = false; in setUp() 66 mNfcSupported = true; in setUp() 87 if (!mNfcSupported) return; in testOnPreferredForegroundServiceChanged()
|
D | NfcDispatcherTest.java | 66 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()
|
D | NfcBlockedNotificationTest.java | 56 private boolean mNfcSupported; field in NfcBlockedNotificationTest 71 mNfcSupported = false; in setUp() 74 mNfcSupported = true; in setUp() 118 if (!mNfcSupported) return; in testStartNotification()
|
D | NfcReaderConflictOccurredTest.java | 68 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()
|
D | NfcDeveloperOptionNotificationTest.java | 65 private boolean mNfcSupported; field in NfcDeveloperOptionNotificationTest 80 mNfcSupported = false; in setUp() 83 mNfcSupported = true; in setUp() 127 if (!mNfcSupported) return; in testStartNotification()
|
D | DtaServiceConnectorTest.java | 62 private boolean mNfcSupported; field in DtaServiceConnectorTest 77 mNfcSupported = false; in setUp() 80 mNfcSupported = true; in setUp() 132 if (!mNfcSupported) return; in testCreateExplicitFromImplicitIntent()
|
D | RegisteredComponentCacheTest.java | 65 private boolean mNfcSupported; field in RegisteredComponentCacheTest 75 mNfcSupported = false; in setUp() 78 mNfcSupported = true; in setUp() 151 if (!mNfcSupported) return; in testGetComponents()
|
D | NfcWifiProtectedSetupTest.java | 69 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/ |
D | NfcCardEmulationOccurredTest.java | 80 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 …]
|
D | NfcAidConflictOccurredTest.java | 60 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()
|