Home
last modified time | relevance | path

Searched refs:bluetoothManager (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DNonUiInCallServiceTest.java114 BluetoothManager bluetoothManager = mContext.getSystemService(BluetoothManager.class); in testMidCallComponentEnablementWithNoneAvailableAtStart() local
125 bluetoothManager.getAdapter().disable(false); in testMidCallComponentEnablementWithNoneAvailableAtStart()
174 bluetoothManager.getAdapter().enable(); in testMidCallComponentEnablementWithNoneAvailableAtStart()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39626/src/android/security/cts/CVE_2021_39626/
DPocActivity.java49 BluetoothManager bluetoothManager = getSystemService(BluetoothManager.class); in onCreate() local
50 BluetoothAdapter bluetoothAdapter = bluetoothManager.getAdapter(); in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/TestBluetoothDiscoverable/src/android/security/cts/TestBluetoothDiscoverable/
DPocActivity.java51 BluetoothManager bluetoothManager = getSystemService(BluetoothManager.class); in onCreate() local
52 BluetoothAdapter bluetoothAdapter = bluetoothManager.getAdapter(); in onCreate()
/cts/tests/tests/security/src/android/security/cts/CVE_2022_20429/
DPocActivity.java50 BluetoothManager bluetoothManager = getSystemService(BluetoothManager.class); in onResume() local
51 BluetoothAdapter bluetoothAdapter = bluetoothManager.getAdapter(); in onResume()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/
DBleRssiPrecisionActivity.java110 BluetoothManager bluetoothManager = getSystemService(BluetoothManager.class); in onCreate() local
111 mBluetoothAdapter = bluetoothManager.getAdapter(); in onCreate()
DBleRxTxOffsetPrecisionActivity.java125 BluetoothManager bluetoothManager = getSystemService(BluetoothManager.class); in onCreate() local
126 mBluetoothAdapter = bluetoothManager.getAdapter(); in onCreate()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DBrailleDisplayControllerTest.java202 BluetoothManager bluetoothManager = in setup() local
204 assumeTrue(bluetoothManager != null); in setup()
205 mBluetoothDevice1 = bluetoothManager.getAdapter().getRemoteDevice(BT_ADDRESS1); in setup()
206 mBluetoothDevice2 = bluetoothManager.getAdapter().getRemoteDevice(BT_ADDRESS2); in setup()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DUiAutomationTestBase.kt82 private val bluetoothManager = context.getSystemService(BluetoothManager::class.java)!! in <lambda>() constant
83 private val bluetoothAdapter: BluetoothAdapter = bluetoothManager.adapter in <lambda>()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DBluetoothTest.java174 () -> sDeviceState.dpc().bluetoothManager().getAdapter().disable()) in disable_bluetoothIsDisabled()
181 () -> sDeviceState.dpc().bluetoothManager().getAdapter().isEnabled()) in disable_bluetoothIsDisabled()
206 () -> sDeviceState.dpc().bluetoothManager().getAdapter().enable()) in enable_bluetoothIsEnabled()
212 () -> sDeviceState.dpc().bluetoothManager().getAdapter().isEnabled()) in enable_bluetoothIsEnabled()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java435 assertThat(testAppInstance.bluetoothManager().getConnectedDevices(/* profile= */ 7)) in bluetoothManager_returnsUsableInstance()
460 testAppInstance.bluetoothManager().getAdapter().isEnabled(); in bluetoothManager_getAdapter_returnsUsableInstance()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppInstance.java430 public RemoteBluetoothManager bluetoothManager() { in bluetoothManager() method in TestAppInstance