Home
last modified time | relevance | path

Searched refs:setObserveModeEnabled (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Nfc/testutils/src/com/android/nfc/emulator/
DOffHostEmulatorActivity.java41 mAdapter.setObserveModeEnabled(true); in onResume()
50 mAdapter.setObserveModeEnabled(false); in onPause()
DBaseEmulatorActivity.java203 public boolean setObserveModeEnabled(boolean enable) { in setObserveModeEnabled() method in BaseEmulatorActivity
205 return mAdapter.setObserveModeEnabled(enable); in setObserveModeEnabled()
DNfcEmulatorDeviceSnippet.java330 public boolean setObserveModeEnabled(boolean enable) { in setObserveModeEnabled() method in NfcEmulatorDeviceSnippet
332 return mActivity.setObserveModeEnabled(enable); in setObserveModeEnabled()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostEmulationManager.java197 adapter.setObserveModeEnabled(true);
271 adapter.setObserveModeEnabled(enabled); in updateForShouldDefaultToObserveMode()
556 mHandler.post(() -> adapter.setObserveModeEnabled(false)); in allowOneTransaction()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java313 verify(mNfcAdapter).setObserveModeEnabled(eq(false)); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()
972 verify(mNfcAdapter).setObserveModeEnabled(eq(true)); in testOnHostEmulationDeactivated_activeService_enableObserveModeAfterTransaction()
DCardEmulationManagerTest.java2013 verify(mNfcAdapter).setObserveModeEnabled(eq(true)); in assertUpdateForShouldDefaultToObserveMode()