Searched refs:getDefaultAdapter (Results 1 – 25 of 28) sorted by relevance
12
36 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); in setNdefPushMesageCallback_shouldUseCallback()47 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); in setOnNdefPushCompleteCallback_shouldUseCallback()59 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); in setOnNdefPushCompleteCallback_throwsOnNullActivity()72 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); in setOnNdefPushCompleteCallback_throwsOnNullInActivities()82 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); in isEnabled_shouldReturnEnabledState()94 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); in getNfcAdapter_returnsNonNull()101 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); in getNfcAdapter_hardwareExists_returnsNonNull()108 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); in getNfcAdapter_hardwareDoesNotExist_returnsNull()115 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); in setNdefPushMessage_setsNullMessage()125 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); in setNdefPushMessage_setsNonNullMessage()[all …]
34 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(MOCK_MAC_ADDRESS); in canSetAndGetUuids()47 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(MOCK_MAC_ADDRESS); in getUuids_setUuidsNotCalled_shouldReturnNull()53 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(MOCK_MAC_ADDRESS); in canSetAndGetBondState()63 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(MOCK_MAC_ADDRESS); in canSetAndGetCreatedBond()73 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(MOCK_MAC_ADDRESS); in canSetAndGetFetchUuidsWithSdpResult()82 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(MOCK_MAC_ADDRESS); in getCorrectFetchUuidsWithSdpCount()
48 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in canGetAndSetAddress()56 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in canGetAndSetMultipleAdvertisementSupport()155 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in canGetProfileConnectionState()
24 assertThat(manager.getAdapter()).isSameInstanceAs(BluetoothAdapter.getDefaultAdapter()); in getAdapter_shouldReturnBluetoothAdapter()
15 return BluetoothAdapter.getDefaultAdapter(); in getAdapter()
39 protected static BluetoothAdapter getDefaultAdapter() { in getDefaultAdapter() method in ShadowBluetoothAdapter
50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothAvrcpFacade()
91 BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in startDiscovery()
50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPanFacade()
50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMapFacade()
53 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPbapClientFacade()
49 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothA2dpSinkFacade()
62 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothA2dpFacade()
69 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMapClientFacade()
51 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHfpClientFacade()
49 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHspFacade()
255 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHidDeviceFacade()
63 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHidFacade()
71 return BluetoothAdapter.getDefaultAdapter(); in BluetoothFacade()
67 return BluetoothAdapter.getDefaultAdapter(); in BluetoothLeAdvertiseFacade()
70 return BluetoothAdapter.getDefaultAdapter(); in BluetoothLeAdvertisingSetFacade()
70 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothSocketConnFacade()
76 return BluetoothAdapter.getDefaultAdapter(); in BluetoothLeScanFacade()
46 mNfc = mNfcManager.getDefaultAdapter(); in NfcManagerFacade()
249 bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in start()