Home
last modified time | relevance | path

Searched refs:isControllerAlwaysOn (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/
DNfcStateTest.java82 mIsAlwaysOnEnabled = mNfcAdapter.isControllerAlwaysOn(); in setUp()
97 if (mNfcAdapter.isControllerAlwaysOn()) { in testSetControllerAlwaysOnTrueFromFalseWhenDisabled()
100 assertThat(mNfcAdapter.isControllerAlwaysOn()).isEqualTo(false); in testSetControllerAlwaysOnTrueFromFalseWhenDisabled()
108 assertThat(mNfcAdapter.isControllerAlwaysOn()).isEqualTo(true); in testSetControllerAlwaysOnTrueFromFalseWhenDisabled()
114 if (!mNfcAdapter.isControllerAlwaysOn()) { in testSetControllerAlwaysOnFalseFromTrueWhenDisabled()
117 assertThat(mNfcAdapter.isControllerAlwaysOn()).isEqualTo(true); in testSetControllerAlwaysOnFalseFromTrueWhenDisabled()
125 assertThat(mNfcAdapter.isControllerAlwaysOn()).isEqualTo(false); in testSetControllerAlwaysOnFalseFromTrueWhenDisabled()
131 if (!mNfcAdapter.isControllerAlwaysOn()) { in testSetControllerAlwaysOnFalseFromFalseWhenDisabled()
134 assertThat(mNfcAdapter.isControllerAlwaysOn()).isEqualTo(false); in testSetControllerAlwaysOnFalseFromFalseWhenDisabled()
142 assertThat(mNfcAdapter.isControllerAlwaysOn()).isEqualTo(false); in testSetControllerAlwaysOnFalseFromFalseWhenDisabled()
[all …]
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNfcPermissionTest.java80 mNfcAdapter.isControllerAlwaysOn(); in testIsControllerAlwaysOn()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java2422 public boolean isControllerAlwaysOn() throws RemoteException { in isControllerAlwaysOn() method in NfcService.NfcAdapterService