Home
last modified time | relevance | path

Searched refs:getDefaultAdapter (Results 1 – 25 of 47) sorted by relevance

12

/cts/tests/tests/nfc/src/android/nfc/cts/
DNfcAdapterTest.java80 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in setUp()
91 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in tearDown()
100 NfcAdapter adapter = getDefaultAdapter(); in testGetDefaultAdapter()
106 NfcAdapter adapter = getDefaultAdapter(); in testAddNfcUnlockHandler()
112 NfcAdapter adapter = getDefaultAdapter(); in testDisableWithNoParams()
121 NfcAdapter adapter = getDefaultAdapter(); in testDisableWithParam()
128 NfcAdapter adapter = getDefaultAdapter(); in testDisableForegroundDispatch()
135 NfcAdapter adapter = getDefaultAdapter(); in testDisableReaderMode()
142 NfcAdapter adapter = getDefaultAdapter(); in testEnable()
149 NfcAdapter adapter = getDefaultAdapter(); in testEnableForegroundDispatch()
[all …]
DCardEmulationTest.java103 mAdapter = NfcAdapter.getDefaultAdapter(mContext); in setUp()
375 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAPollingLoopToDefault()
402 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAPollingLoopToWalletHolder()
425 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testCustomFrameToCustomInTwoFullLoops()
460 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAPollingLoopToForeground()
488 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testSetShouldDefaultToObserveModeShouldDefaultToObserveMode()
521 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAOneLoopPollingLoopToForeground()
561 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeABNoOffPollingLoopToDefault()
587 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAPollingLoopToForegroundWithWalletHolder()
616 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); in ensurePreferredService()
[all …]
DDefaultPaymentProviderTestUtils.java62 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); in setDefaultPaymentService()
95 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context);
DNfcAntennaLocationApiTest.java54 mAdapter = NfcAdapter.getDefaultAdapter(mContext); in setUp()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanResultTest.java67 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(DEVICE_ADDRESS); in scanResultParceling()
87 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(DEVICE_ADDRESS); in describeContents()
98 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(DEVICE_ADDRESS); in constructor()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0591/src/android/security/cts/CVE_2021_0591/
DPocActivity.java36 BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleCocInsecureClientTestListActivity.java40 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleCocSecureClientTestListActivity.java40 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleCocSecureServerTestListActivity.java38 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleCocInsecureServerTestListActivity.java38 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleInsecureClientTestListActivity.java40 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleInsecureServerTestListActivity.java38 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleSecureServerTestListActivity.java38 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleScannerTestActivity.java41 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleAdvertiserTestActivity.java41 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBleSecureClientTestListActivity.java41 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBluetoothTestActivity.java41 BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DHidHostActivity.java55 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
DBluetoothToggleActivity.java67 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DHceFEmulatorTestActivity.java42 NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate()
DHceFEmulatorActivity.java55 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate()
DHceFReaderActivity.java48 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ble/
DBleScanner.java40 BluetoothAdapter.getDefaultAdapter().getBluetoothLeScanner();
DBleAdvertiser.java44 BluetoothAdapter.getDefaultAdapter().getBluetoothLeAdvertiser();
/cts/tests/tests/security/src/android/security/cts/
DCVE_2024_34719.java63 final BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testPocCVE_2024_34719()

12