Home
last modified time | relevance | path

Searched refs:mHasBluetooth (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothHeadsetTest.java62 private boolean mHasBluetooth; field in BluetoothHeadsetTest
76 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
78 if (!mHasBluetooth) return; in setUp()
101 if (!(mHasBluetooth && mIsHeadsetSupported)) { in tearDown()
115 assumeTrue(mHasBluetooth && mIsHeadsetSupported); in closeProfileProxy()
127 assumeTrue(mHasBluetooth && mIsHeadsetSupported); in getConnectedDevices()
137 assumeTrue(mHasBluetooth && mIsHeadsetSupported); in getDevicesMatchingConnectionStates()
148 assumeTrue(mHasBluetooth && mIsHeadsetSupported); in getConnectionState()
160 assumeTrue(mHasBluetooth && mIsHeadsetSupported); in isAudioConnected()
176 assumeTrue(mHasBluetooth && mIsHeadsetSupported); in isNoiseReductionSupported()
[all …]
DBluetoothDeviceTest.java75 private boolean mHasBluetooth; field in BluetoothDeviceTest
93 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
99 if (mHasBluetooth && mHasCompanionDevice) { in setUp()
111 if (mHasBluetooth && mHasCompanionDevice) { in tearDown()
120 assumeTrue(mHasBluetooth && mHasCompanionDevice); in setAlias_getAlias()
173 assumeTrue(mHasBluetooth && mHasCompanionDevice); in getAddressType()
181 assumeTrue(mHasBluetooth && mHasCompanionDevice); in getIdentityAddress()
191 assumeTrue(mHasBluetooth && mHasCompanionDevice); in getConnectionHandle()
206 assumeTrue(mHasBluetooth && mHasCompanionDevice); in getAnonymizedAddress()
214 assumeTrue(mHasBluetooth && mHasCompanionDevice); in getBatteryLevel()
[all …]
DBluetoothA2dpTest.java71 private boolean mHasBluetooth; field in BluetoothA2dpTest
84 mHasBluetooth = TestUtils.hasBluetooth(); in setUp()
85 if (!mHasBluetooth) return; in setUp()
109 if (!(mHasBluetooth && mIsA2dpSupported)) { in tearDown()
123 assumeTrue(mHasBluetooth && mIsA2dpSupported); in closeProfileProxy()
135 if (!(mHasBluetooth && mIsA2dpSupported)) return; in closeProfileProxy_onDifferentAdapter()
155 assumeTrue(mHasBluetooth && mIsA2dpSupported); in getConnectedDevices()
165 assumeTrue(mHasBluetooth && mIsA2dpSupported); in getDevicesMatchingConnectionStates()
176 assumeTrue(mHasBluetooth && mIsA2dpSupported); in getConnectionState()
188 assumeTrue(mHasBluetooth && mIsA2dpSupported); in isA2dpPlaying()
[all …]
DBluetoothServerSocketTest.java39 private boolean mHasBluetooth; field in BluetoothServerSocketTest
44 mHasBluetooth = getContext().getPackageManager().hasSystemFeature( in setUp()
46 if (!mHasBluetooth) return; in setUp()
58 if (mHasBluetooth) { in tearDown()
60 if (mHasBluetooth && mBluetoothServerSocket != null) { in tearDown()
DBluetoothVolumeControlTest.java68 private boolean mHasBluetooth; field in BluetoothVolumeControlTest
145 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
148 if (!mHasBluetooth) return; in setUp()
184 if (mHasBluetooth) { in tearDown()
204 assumeTrue(mHasBluetooth && mIsVolumeControlSupported); in closeProfileProxy()
216 assumeTrue(mHasBluetooth && mIsVolumeControlSupported); in getConnectedDevices()
229 assumeTrue(mHasBluetooth && mIsVolumeControlSupported); in getDevicesMatchingConnectionStates()
243 assumeTrue(mHasBluetooth && mIsVolumeControlSupported); in registerUnregisterCallback()
269 assumeTrue(mHasBluetooth && mIsVolumeControlSupported); in setVolumeOffset()
283 assumeTrue(mHasBluetooth && mIsVolumeControlSupported); in setDeviceVolume()
[all …]
DBluetoothHidDeviceTest.java72 private boolean mHasBluetooth; field in BluetoothHidDeviceTest
86 mHasBluetooth = in setUp()
88 if (!mHasBluetooth) return; in setUp()
111 if (!(mHasBluetooth && mIsHidSupported)) { in tearDown()
125 assumeTrue(mHasBluetooth && mIsHidSupported); in closeProfileProxy()
137 assumeTrue(mHasBluetooth && mIsHidSupported); in getDevicesMatchingConnectionStates()
155 assumeTrue(mHasBluetooth && mIsHidSupported); in getConnectionState()
174 assumeTrue(mHasBluetooth && mIsHidSupported); in connect()
187 assumeTrue(mHasBluetooth && mIsHidSupported); in disconnect()
200 assumeTrue(mHasBluetooth && mIsHidSupported); in getConnectedDevices()
[all …]
DBluetoothA2dpSinkTest.java59 private boolean mHasBluetooth; field in BluetoothA2dpSinkTest
73 mHasBluetooth = TestUtils.hasBluetooth(); in setUp()
74 if (!mHasBluetooth) return; in setUp()
97 if (!(mHasBluetooth && mIsA2dpSinkSupported)) { in tearDown()
111 assumeTrue(mHasBluetooth && mIsA2dpSinkSupported); in closeProfileProxy()
123 assumeTrue(mHasBluetooth && mIsA2dpSinkSupported); in getConnectedDevices()
135 assumeTrue(mHasBluetooth && mIsA2dpSinkSupported); in getDevicesMatchingConnectionStates()
146 assumeTrue(mHasBluetooth && mIsA2dpSinkSupported); in getConnectionState()
162 assumeTrue(mHasBluetooth && mIsA2dpSinkSupported); in getConnectionPolicy()
181 assumeTrue(mHasBluetooth && mIsA2dpSinkSupported); in setConnectionPolicy()
[all …]
DBluetoothHeadsetClientTest.java62 private boolean mHasBluetooth; field in BluetoothHeadsetClientTest
76 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
78 if (!mHasBluetooth) return; in setUp()
101 if (!(mHasBluetooth && mIsHeadsetClientSupported)) { in tearDown()
115 assumeTrue(mHasBluetooth && mIsHeadsetClientSupported); in closeProfileProxy()
127 assumeTrue(mHasBluetooth && mIsHeadsetClientSupported); in getConnectedDevices()
140 assumeTrue(mHasBluetooth && mIsHeadsetClientSupported); in getDevicesMatchingConnectionStates()
154 assumeTrue(mHasBluetooth && mIsHeadsetClientSupported); in getConnectionState()
173 assumeTrue(mHasBluetooth && mIsHeadsetClientSupported); in getConnectionPolicy()
192 assumeTrue(mHasBluetooth && mIsHeadsetClientSupported); in setConnectionPolicy()
[all …]
DBluetoothPbapClientTest.java61 private boolean mHasBluetooth; field in BluetoothPbapClientTest
75 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
77 if (!mHasBluetooth) return; in setUp()
100 if (!(mHasBluetooth && mIsPbapClientSupported)) { in tearDown()
114 assumeTrue(mHasBluetooth && mIsPbapClientSupported); in closeProfileProxy()
126 assumeTrue(mHasBluetooth && mIsPbapClientSupported); in getConnectedDevices()
139 assumeTrue(mHasBluetooth && mIsPbapClientSupported); in getConnectionPolicy()
158 assumeTrue(mHasBluetooth && mIsPbapClientSupported); in getConnectionState()
177 assumeTrue(mHasBluetooth && mIsPbapClientSupported); in getDevicesMatchingConnectionStates()
191 assumeTrue(mHasBluetooth && mIsPbapClientSupported); in setConnectionPolicy()
DBluetoothPanTest.java61 private boolean mHasBluetooth; field in BluetoothPanTest
74 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
76 if (!mHasBluetooth) return; in setUp()
99 if (!(mHasBluetooth && mIsPanSupported)) { in tearDown()
113 assumeTrue(mHasBluetooth && mIsPanSupported); in closeProfileProxy()
125 assumeTrue(mHasBluetooth && mIsPanSupported); in getConnectedDevices()
138 assumeTrue(mHasBluetooth && mIsPanSupported); in getDevicesMatchingConnectionStates()
152 assumeTrue(mHasBluetooth && mIsPanSupported); in getConnectionState()
171 assumeTrue(mHasBluetooth && mIsPanSupported); in setConnectionPolicy()
192 assumeTrue(mHasBluetooth && mIsPanSupported); in setAndCheckBluetoothTethering()
DBluetoothAdapterTest.java93 private boolean mHasBluetooth; field in BluetoothAdapterTest
104 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
106 if (mHasBluetooth) { in setUp()
119 if (mHasBluetooth) { in tearDown()
130 if (mHasBluetooth) { in getDefaultAdapter()
184 assumeTrue(mHasBluetooth); in enableDisable()
194 assumeTrue(mHasBluetooth); in getAddress()
206 assumeTrue(mHasBluetooth); in setName_getName()
239 assumeTrue(mHasBluetooth); in getBondedDevices()
262 assumeTrue(mHasBluetooth); in getProfileConnectionState()
[all …]
DBluetoothHidHostTest.java73 private boolean mHasBluetooth; field in BluetoothHidHostTest
88 mHasBluetooth = in setUp()
90 if (!mHasBluetooth) return; in setUp()
113 if (!(mHasBluetooth && mIsHidHostSupported)) { in tearDown()
130 assumeTrue(mHasBluetooth && mIsHidHostSupported); in closeProfileProxy()
142 assumeTrue(mHasBluetooth && mIsHidHostSupported); in getConnectedDevices()
155 assumeTrue(mHasBluetooth && mIsHidHostSupported); in getDevicesMatchingConnectionStates()
168 assumeTrue(mHasBluetooth && mIsHidHostSupported); in getConnectionState()
188 assumeTrue(mHasBluetooth && mIsHidHostSupported); in getConnectionPolicy()
210 assumeTrue(mHasBluetooth && mIsHidHostSupported); in setConnectionPolicy()
[all …]
DBluetoothPbapTest.java63 private boolean mHasBluetooth; field in BluetoothPbapTest
77 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
80 if (!mHasBluetooth) return; in setUp()
103 if (!(mHasBluetooth && mIsPbapSupported)) { in tearDown()
117 assumeTrue(mHasBluetooth && mIsPbapSupported); in closeProfileProxy()
129 assumeTrue(mHasBluetooth && mIsPbapSupported); in getConnectedDevices()
142 assumeTrue(mHasBluetooth && mIsPbapSupported); in getConnectionState()
161 assumeTrue(mHasBluetooth && mIsPbapSupported); in getDevicesMatchingConnectionStates()
175 assumeTrue(mHasBluetooth && mIsPbapSupported); in setConnectionPolicy()
DBluetoothSapTest.java59 private boolean mHasBluetooth; field in BluetoothSapTest
74 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
77 if (!mHasBluetooth) return; in setUp()
99 if (mHasBluetooth && mIsSapSupported) { in tearDown()
112 assumeTrue(mHasBluetooth && mIsSapSupported); in closeProfileProxy()
126 assumeTrue(mHasBluetooth && mIsSapSupported); in getConnectedDevices()
140 assumeTrue(mHasBluetooth && mIsSapSupported); in getDevicesMatchingConnectionStates()
157 assumeTrue(mHasBluetooth && mIsSapSupported); in getConnectionState()
175 assumeTrue(mHasBluetooth && mIsSapSupported); in setgetConnectionPolicy()
DBluetoothMapTest.java63 private boolean mHasBluetooth; field in BluetoothMapTest
79 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
81 if (!mHasBluetooth) return; in setUp()
104 if (!(mHasBluetooth && mIsMapSupported)) { in tearDown()
117 assumeTrue(mHasBluetooth && mIsMapSupported); in closeProfileProxy()
129 assumeTrue(mHasBluetooth && mIsMapSupported); in getConnectedDevices()
142 assumeTrue(mHasBluetooth && mIsMapSupported); in getConnectionPolicy()
161 assumeTrue(mHasBluetooth && mIsMapSupported); in getConnectionState()
180 assumeTrue(mHasBluetooth && mIsMapSupported); in getDevicesMatchingConnectionStates()
194 assumeTrue(mHasBluetooth && mIsMapSupported); in setConnectionPolicy()
DBluetoothMapClientTest.java74 private boolean mHasBluetooth; field in BluetoothMapClientTest
90 mHasBluetooth = mContext.getPackageManager().hasSystemFeature( in setUp()
92 if (!mHasBluetooth) return; in setUp()
115 if (!(mHasBluetooth && mIsMapClientSupported)) { in tearDown()
129 assumeTrue(mHasBluetooth && mIsMapClientSupported); in closeProfileProxy()
141 assumeTrue(mHasBluetooth && mIsMapClientSupported); in getConnectedDevices()
154 assumeTrue(mHasBluetooth && mIsMapClientSupported); in getConnectionPolicy()
173 assumeTrue(mHasBluetooth && mIsMapClientSupported); in getConnectionState()
192 assumeTrue(mHasBluetooth && mIsMapClientSupported); in getDevicesMatchingConnectionStates()
206 assumeTrue(mHasBluetooth && mIsMapClientSupported); in sendMessage()
[all …]
DBluetoothConfigTest.java53 private boolean mHasBluetooth; field in BluetoothConfigTest
61 mHasBluetooth = TestUtils.hasBluetooth(); in setUp()
62 if (!mHasBluetooth) return; in setUp()
74 if (!mHasBluetooth) return; in tearDown()
97 assumeTrue(mHasBluetooth); in profileEnabledValueInList()
145 assumeTrue(mHasBluetooth); in profileEnabledValue()
161 assumeTrue(mHasBluetooth); in bleCDDRequirement()
DBluetoothServiceManagerTest.java31 private boolean mHasBluetooth; field in BluetoothServiceManagerTest
36 mHasBluetooth = getContext().getPackageManager().hasSystemFeature( in setUp()
41 if (!mHasBluetooth) { in test_ServiceRegisterer()
DBufferConstraintsTest.java41 private boolean mHasBluetooth; field in BufferConstraintsTest
49 mHasBluetooth = context.getPackageManager().hasSystemFeature( in setUp()
57 assumeTrue(mHasBluetooth); in forCodec()
DBluetoothCddTest.java51 private boolean mHasBluetooth; field in BluetoothCddTest
57 mHasBluetooth = TestUtils.hasBluetooth(); in setUp()
58 Assume.assumeTrue(mHasBluetooth); in setUp()
68 if (!mHasBluetooth) { in tearDown()
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsPanelTest.java63 private boolean mHasBluetooth; field in SettingsPanelTest
76 mHasBluetooth = packageManager.hasSystemFeature(PackageManager.FEATURE_BLUETOOTH); in setUp()