/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothSummaryUpdaterTest.java | 76 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in BluetoothSummaryUpdaterTest 91 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 92 mShadowBluetoothAdapter.setEnabled(mAdapterEnabled[0]); in setUp() 93 mShadowBluetoothAdapter.setBondedDevices(mBondedDevices); in setUp() 94 mShadowBluetoothAdapter.setConnectionState(mAdapterConnectionState[0]); in setUp() 113 mShadowBluetoothAdapter.setEnabled(true); in register_true_shouldSendSummaryChange() 114 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_CONNECTED); in register_true_shouldSendSummaryChange() 116 mShadowBluetoothAdapter.setBondedDevices(mBondedDevices); in register_true_shouldSendSummaryChange() 128 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_CONNECTED); in onBluetoothStateChanged_btDisabled_shouldSendDisabledSummary() 130 mShadowBluetoothAdapter.setBondedDevices(mBondedDevices); in onBluetoothStateChanged_btDisabled_shouldSendDisabledSummary() [all …]
|
D | BluetoothEnablerTest.java | 84 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in BluetoothEnablerTest 102 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 192 mShadowBluetoothAdapter.setState(BluetoothAdapter.STATE_OFF); in startWithBluetoothOff_switchIsOff() 200 mShadowBluetoothAdapter.setState(BluetoothAdapter.STATE_ON); in startWithBluetoothOn_switchIsOn() 212 mShadowBluetoothAdapter.setState(BluetoothAdapter.STATE_ON); in bluetoothTurnsOff_switchTurnsOff() 236 mShadowBluetoothAdapter.setState(BluetoothAdapter.STATE_OFF); in bluetoothTurnsOn_switchTurnsOn()
|
D | BluetoothDeviceRenamePreferenceControllerTest.java | 66 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in BluetoothDeviceRenamePreferenceControllerTest 76 mShadowBluetoothAdapter = Shadow.extract(mBluetoothAdapter); in setUp() 111 mShadowBluetoothAdapter.setEnabled(true); in updatePreferenceState_whenBTisOnPreferenceShouldBeVisible() 120 mShadowBluetoothAdapter.setEnabled(false); in updatePreferenceState_whenBTisOffPreferenceShouldBeHide()
|
D | BluetoothDeviceUpdaterTest.java | 84 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in BluetoothDeviceUpdaterTest 92 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 219 mShadowBluetoothAdapter.setEnabled(false); in forceUpdate_bluetoothDisabled_removeAllDevicesFromPreference() 230 mShadowBluetoothAdapter.setEnabled(true); in forceUpdate_bluetoothEnabled_addPreference() 238 mShadowBluetoothAdapter.setEnabled(true); in onBluetoothStateChanged_bluetoothStateIsOn_forceUpdate()
|
D | BluetoothPairingDetailTest.java | 74 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in BluetoothPairingDetailTest 89 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 146 mShadowBluetoothAdapter.setEnabled(false); in updateBluetooth_bluetoothOff_turnOnBluetooth() 155 mShadowBluetoothAdapter.setEnabled(true); in updateBluetooth_bluetoothOn_updateState()
|
D | AvailableMediaBluetoothDeviceUpdaterTest.java | 71 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in AvailableMediaBluetoothDeviceUpdaterTest 80 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 81 mShadowBluetoothAdapter.setEnabled(true); in setUp()
|
D | ConnectedBluetoothDeviceUpdaterTest.java | 73 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in ConnectedBluetoothDeviceUpdaterTest 82 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 83 mShadowBluetoothAdapter.setEnabled(true); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputSliceTest.java | 84 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in MediaOutputSliceTest 97 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 98 mShadowBluetoothAdapter.setEnabled(true); in setUp() 123 mShadowBluetoothAdapter.setEnabled(false); in getSlice_bluetoothIsDisable_shouldReturnZeroRow()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceControllerTest.java | 72 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in AccessibilityHearingAidPreferenceControllerTest 171 mShadowBluetoothAdapter.clearSupportedProfiles(); in onNotSupportHearingAidProfile_doNotDoReceiverOperation() 205 mShadowBluetoothAdapter = Shadow.extract(mBluetoothAdapter); in setupHearingAidEnvironment() 208 mShadowBluetoothAdapter.addSupportedProfiles(BluetoothProfile.HEARING_AID); in setupHearingAidEnvironment()
|
/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/ |
D | MessengerDelegateTest.java | 47 private ShadowBluetoothAdapter mShadowBluetoothAdapter; field in MessengerDelegateTest 65 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp() 152 mShadowBluetoothAdapter.setBondedDevices( in testConnectedDevices_areNotAddedFromBTAdapterBondedDevices()
|