Home
last modified time | relevance | path

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

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNfcAdapterTest.java36 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 …]
DShadowBluetoothDeviceTest.java34 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()
DShadowBluetoothAdapterTest.java48 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in canGetAndSetAddress()
56 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in canGetAndSetMultipleAdvertisementSupport()
155 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in canGetProfileConnectionState()
DShadowBluetoothManagerTest.java24 assertThat(manager.getAdapter()).isSameInstanceAs(BluetoothAdapter.getDefaultAdapter()); in getAdapter_shouldReturnBluetoothAdapter()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBluetoothManager.java15 return BluetoothAdapter.getDefaultAdapter(); in getAdapter()
DShadowBluetoothAdapter.java39 protected static BluetoothAdapter getDefaultAdapter() { in getDefaultAdapter() method in ShadowBluetoothAdapter
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothAvrcpFacade.java50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothAvrcpFacade()
DBluetoothDiscoveryHelper.java91 BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in startDiscovery()
DBluetoothPanFacade.java50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPanFacade()
DBluetoothMapFacade.java50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMapFacade()
DBluetoothPbapClientFacade.java53 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPbapClientFacade()
DBluetoothA2dpSinkFacade.java49 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothA2dpSinkFacade()
DBluetoothA2dpFacade.java62 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothA2dpFacade()
DBluetoothMapClientFacade.java69 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMapClientFacade()
DBluetoothHfpClientFacade.java51 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHfpClientFacade()
DBluetoothHspFacade.java49 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHspFacade()
DBluetoothHidDeviceFacade.java255 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHidDeviceFacade()
DBluetoothHidFacade.java63 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHidFacade()
DBluetoothFacade.java71 return BluetoothAdapter.getDefaultAdapter(); in BluetoothFacade()
DBluetoothLeAdvertiseFacade.java67 return BluetoothAdapter.getDefaultAdapter(); in BluetoothLeAdvertiseFacade()
DBluetoothLeAdvertisingSetFacade.java70 return BluetoothAdapter.getDefaultAdapter(); in BluetoothLeAdvertisingSetFacade()
DBluetoothSocketConnFacade.java70 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothSocketConnFacade()
DBluetoothLeScanFacade.java76 return BluetoothAdapter.getDefaultAdapter(); in BluetoothLeScanFacade()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DNfcManagerFacade.java46 mNfc = mNfcManager.getDefaultAdapter(); in NfcManagerFacade()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCBluetoothManager.java249 bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in start()

12